/* ============================================================
   Ocuro — marketing site
   Dark + green, matching the extension's brand language:
   cream #faf9f5 · near-black #141413 · green accent
   ============================================================ */

:root {
  --bg: #0d0d0c;
  --bg-2: #121211;
  --surface: #161615;
  --surface-2: #1c1c1a;
  --border: #262624;
  --border-2: #33332f;
  --cream: #faf9f5;
  --text: #f2f1ec;
  --text-2: #b0aea6;
  --text-3: #797770;
  --green: #3cbe74;
  --green-bright: #4fd88a;
  --green-deep: #2a9d5c;
  --green-dim: rgba(60, 190, 116, 0.12);
  --green-glow: rgba(60, 190, 116, 0.25);
  --red: #fe8181;
  --amber: #e0a832;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --r: 10px;
  --r-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green-glow); color: var(--cream); }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-bright); }

img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo img { height: 22px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--green);
  color: #101110 !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--green-bright); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(60, 190, 116, 0.09) 0%, transparent 62%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(60, 190, 116, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  max-width: 820px;
  margin: 0 auto 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--green);
  color: #101110;
  box-shadow: 0 0 0 1px rgba(60, 190, 116, 0.35), 0 8px 24px rgba(42, 157, 92, 0.25);
}
.btn-primary:hover { background: var(--green-bright); color: #101110; transform: translateY(-2px); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover { border-color: var(--text-3); color: var(--cream); }
.hero-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-2);
}
.hero-note strong { color: var(--cream); font-weight: 500; }

/* ---------- hero mock ---------- */
.hero-mock {
  margin: 64px auto 0;
  max-width: 920px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(250, 249, 245, 0.02);
  overflow: hidden;
  text-align: left;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mock-titlebar .tb-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.mock-titlebar .tb-url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  flex: 1;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
}
.mock-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.mock-sheet { padding: 18px 0 18px 20px; border-right: 1px solid var(--border); min-width: 0; }
.sheet-row {
  display: grid;
  grid-template-columns: 1.15fr 1.5fr 0.9fr;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  align-items: center;
  white-space: nowrap;
}
.sheet-row > span { overflow: hidden; text-overflow: ellipsis; }
.sheet-row.head { color: var(--text-3); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--border-2); }
.chip {
  display: inline-block;
  font-size: 9.5px;
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  justify-self: start;
}
.chip.sent { background: var(--green-dim); color: var(--green-bright); }
.chip.replied { background: rgba(79, 216, 138, 0.2); color: var(--green-bright); font-weight: 600; }
.chip.drafted { background: rgba(224, 168, 50, 0.12); color: var(--amber); }
.chip.queued { background: rgba(176, 174, 166, 0.1); color: var(--text-3); }
.mock-panel { padding: 20px; background: var(--surface); }
.mock-panel-logo { height: 15px; width: auto; margin-bottom: 18px; opacity: 0.95; }
.panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.pstat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.pstat .n { font-family: var(--mono); font-size: 19px; color: var(--cream); font-weight: 500; }
.pstat .l { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; }
.pstat.hl .n { color: var(--green-bright); }
.panel-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-dim);
  border: 1px solid rgba(60, 190, 116, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.panel-go .go-label { font-size: 13px; font-weight: 600; color: var(--green-bright); }
.panel-go .go-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.panel-next {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  line-height: 1.7;
}
.panel-next b { color: var(--text-2); font-weight: 500; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
  max-width: 640px;
  margin-bottom: 16px;
}
.sec-sub {
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: 48px;
}

/* ---------- how it works ---------- */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hiw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.hiw-card:hover { border-color: rgba(60, 190, 116, 0.4); transform: translateY(-3px); }
.hiw-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  background: var(--green-dim);
  border-radius: 100px;
  padding: 3px 11px;
  display: inline-block;
  margin-bottom: 16px;
}
.hiw-card h3 { font-size: 17.5px; font-weight: 600; color: var(--cream); margin-bottom: 8px; letter-spacing: -0.01em; }
.hiw-card p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }

/* ---------- walkthrough ---------- */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr 340px;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  border: 1px solid rgba(60, 190, 116, 0.35);
  background: var(--green-dim);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 90px;
}
.step-body, .step-visual { min-width: 0; }
.step-body h3 { font-size: 21px; font-weight: 600; color: var(--cream); margin-bottom: 10px; letter-spacing: -0.015em; }
.step-body p { color: var(--text-2); font-size: 16px; max-width: 480px; }
.step-body p + p { margin-top: 10px; }
.step-body .tip {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--green-dim);
  border-left: 3px solid var(--green-deep);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  max-width: 480px;
}
.step-body .tip b { color: var(--green-bright); font-weight: 600; }

/* step visuals — mock mini-UIs */
.step-visual {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.sv-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.sv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cream);
  color: #141413;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px;
}
.sv-btn.green { background: var(--green-deep); color: var(--cream); }
.sv-field {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-field.focus { border-color: var(--green-deep); color: var(--text-2); }
.sv-row { display: flex; align-items: center; gap: 10px; }
.sv-row .sv-field { flex: 1; }
.sv-mini-btn {
  background: var(--green-deep);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
}
.sv-draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 13px 15px;
}
.sv-draft .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.sv-draft .d-to { font-size: 12.5px; color: var(--cream); font-weight: 600; }
.sv-draft .d-subj { font-size: 12px; color: var(--text-2); margin-top: 1px; }
.sv-draft .d-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-top: 5px;
}
.sv-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.sv-check .ck {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.sv-seq { display: flex; align-items: center; gap: 6px; }
.sv-seq .node {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-deep);
  flex-shrink: 0;
}
.sv-seq .node.empty { background: var(--border-2); }
.sv-seq .line { flex: 1; height: 2px; background: var(--border-2); min-width: 6px; }
.sv-seq .line.done { background: var(--green-deep); }
.sv-seq-label { font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-top: 4px; }

/* ---------- controls strip ---------- */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ctrl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ctrl .ic {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--green-bright);
}
.ctrl .ic svg { width: 17px; height: 17px; }
.ctrl h3 { font-size: 15px; font-weight: 600; color: var(--cream); margin-bottom: 3px; }
.ctrl p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

/* ---------- features ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color 0.2s;
}
.feat:hover { border-color: rgba(60, 190, 116, 0.35); }
.feat .f-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-bright);
  margin-bottom: 16px;
}
.feat .f-ic svg { width: 19px; height: 19px; }
.feat h3 { font-size: 16.5px; font-weight: 600; color: var(--cream); margin-bottom: 7px; letter-spacing: -0.01em; }
.feat p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-bright); }
.faq-item summary .plus {
  font-family: var(--mono);
  color: var(--green);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 4px 24px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 660px;
}
.faq-item .faq-a a, .legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final cta ---------- */
.final-cta {
  text-align: center;
  padding: 100px 0 110px;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(60, 190, 116, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta .wing {
  height: 64px;
  width: auto;
  margin: 0 auto 28px;
  opacity: 0.9;
}
.final-cta h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 14px;
}
.final-cta p { color: var(--text-2); margin-bottom: 34px; font-size: 18px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-2);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img.wm { height: 16px; width: auto; opacity: 0.85; }
.foot-links { display: flex; gap: 24px; align-items: center; }
.foot-links a { color: var(--text-2); font-size: 14px; transition: color 0.15s; }
.foot-links a:hover { color: var(--cream); }
.foot-copy { font-family: var(--mono); font-size: 12px; color: var(--text-2); }

/* ---------- privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 10px;
}
.legal .effective {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.legal strong { color: var(--text); }
.legal .contact-box {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 24px;
}
.legal .contact-box p { margin: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel-go .go-dot { animation: none; }
  .nav-cta:hover, .btn-primary:hover, .btn-secondary:hover, .hiw-card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .controls-grid { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 56px 1fr; }
  .step-visual { grid-column: 2; max-width: 420px; }
  .step-num { width: 44px; height: 44px; font-size: 13.5px; position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sheet { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 0 14px 14px; }
  .sheet-row { grid-template-columns: 1fr 1fr 0.9fr; }
  .sheet-row > span:nth-child(2) { display: none; }
  .sheet-row.head > span:nth-child(2) { display: none; }
  .hero { padding: 64px 0 48px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .controls-grid { grid-template-columns: 1fr; }
  .step { gap: 18px; padding: 32px 0; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
