/* ============================================================
   DriveByView — shared design system
   Consumer smart-home trust aesthetic: calm, warm, generous.
   Mobile-first. No build step. Works from 375px up.
   ============================================================ */

:root {
  /* Palette — warm cream + deep pine + golden hour */
  --ink:        #22332e;   /* primary text, deep pine */
  --ink-soft:   #55655f;   /* secondary text */
  --ink-faint:  #8a978f;   /* tertiary / captions */
  --paper:      #faf7f1;   /* page background, warm cream */
  --card:       #ffffff;
  --line:       #e8e2d6;   /* hairlines */
  --pine:       #1f4d3f;   /* brand primary */
  --pine-deep:  #143528;
  --gold:       #e8a13d;   /* golden-hour accent */
  --gold-soft:  #fdf0da;
  --sage:       #e4ede6;   /* soft green fill */
  --sky-eve:    #3b3f63;   /* evening tone */

  /* Status */
  --ok:         #2f7d54;
  --ok-bg:      #e3f2e8;
  --warn:       #b0691c;
  --warn-bg:    #fbeed7;
  --bad:        #b03a2e;
  --bad-bg:     #f9e4e1;
  --info:       #2f5d7d;
  --info-bg:    #e2eef6;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(34,51,46,.05), 0 8px 28px rgba(34,51,46,.07);
  --shadow-lift:0 2px 4px rgba(34,51,46,.06), 0 16px 44px rgba(34,51,46,.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 650; }
p  { margin: 0 0 1em; }
a  { color: var(--pine); }
img { max-width: 100%; display: block; }

.muted  { color: var(--ink-soft); }
.faint  { color: var(--ink-faint); font-size: .85rem; }
.center { text-align: center; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.logo-mark { width: 30px; height: 30px; flex: none; }
[data-logo] { display: inline-flex; flex: none; }
.brand .fam { color: var(--ink-faint); font-weight: 500; font-size: .8rem; display: block; line-height: 1; margin-top: 2px; }
.nav-links { display: none; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--pine); }
.nav-toggle { background: none; border: 0; padding: 6px; cursor: pointer; display: block; }
.nav-toggle svg { display: block; }
.nav-drawer { display: none; border-top: 1px solid var(--line); padding: 10px 20px 18px; }
.nav-drawer.open { display: block; }
.nav-drawer a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-drawer { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .97rem/1 var(--font-body);
  padding: 14px 24px; border-radius: 999px;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--pine-deep); box-shadow: var(--shadow-lift); }
.btn-gold { background: var(--gold); color: var(--pine-deep); box-shadow: var(--shadow); }
.btn-gold:hover { filter: brightness(1.05); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
.btn-ghost:hover { background: var(--sage); }
.btn-quiet { background: var(--sage); color: var(--pine-deep); }
.btn-quiet:hover { background: #d6e3d9; }
.btn-sm { padding: 9px 16px; font-size: .87rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; gap: 36px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); color: var(--warn);
  font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trustline { margin-top: 18px; font-size: .85rem; color: var(--ink-faint); max-width: 36em; }
.hero-trustline svg { vertical-align: -2px; margin-right: 5px; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

/* ---------- Placeholder imagery (pure CSS/SVG, golden-hour) ---------- */
.ph-scene {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f6d9a0 0%, #f0b96b 42%, #dd9a4e 58%, #6d7f6a 58.2%, #5c6f5b 100%);
}
.ph-scene.evening {
  background: linear-gradient(180deg, #474b74 0%, #3b3f63 40%, #6a5580 58%, #2c3540 58.2%, #232b33 100%);
}
.ph-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-scene .scene-label {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255,255,255,.88); color: var(--ink);
  font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.ph-scene.evening .scene-label { background: rgba(20,25,32,.75); color: #f2ead9; }
.ph-thumb { aspect-ratio: 16 / 10; border-radius: 10px; box-shadow: none; }

/* Private-snapshot badging over a scene: the whole image IS the kept
   snapshot — no inner crop box, just the promise labels. */
.zone-band { position: absolute; inset: 0; pointer-events: none; }
.zone-band::after {
  content: "🔒 Your private snapshot";
  position: absolute; top: 10px; left: 10px;
  background: var(--pine); color: #fff; font-size: .72rem; font-weight: 650;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .03em;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.zone-band .zone-sub {
  position: absolute; top: 12px; right: 10px;
  background: rgba(255,255,255,.92); color: var(--pine-deep);
  font-size: .62rem; font-weight: 650; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
@media (max-width: 640px) { .zone-band .zone-sub { display: none; } }

/* Redaction blur chips (privacy visual) */
.blur-chip {
  position: absolute; border-radius: 6px;
  backdrop-filter: blur(7px); background: rgba(255,255,255,.28);
  border: 1.5px solid rgba(255,255,255,.75);
}
.blur-chip::after {
  content: attr(data-label);
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 5px; white-space: nowrap;
  background: rgba(20,25,32,.8); color: #fff; font-size: .62rem; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: #fffdf9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pine { background: var(--pine-deep); color: #eef3ee; }
.section-pine h2 { color: #fff; }
.section-pine .muted { color: #b9c9bf; }
.section-head { max-width: 620px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); }
                             .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage); color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card.card-quiet { box-shadow: none; background: #fffdf9; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--gold-soft); color: var(--warn);
  font: 700 1rem var(--font-display); margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Pills / status badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 650; padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.pill-ok   { background: var(--ok-bg);   color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad  { background: var(--bad-bg);  color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-day  { background: var(--gold-soft); color: var(--warn); }
.pill-eve  { background: #e6e7f2; color: var(--sky-eve); }
.pill .dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: .8rem; color: var(--ink-faint); margin-top: 6px; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 15px;
  font: 400 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(31,77,63,.12); }
.input.input-error { border-color: var(--bad); }
.field .error-msg { color: var(--bad); font-size: .82rem; margin-top: 6px; display: none; }
.field.has-error .error-msg { display: block; }

/* Code entry (SMS) */
.code-inputs { display: flex; gap: 10px; justify-content: center; }
.code-inputs input {
  width: 48px; height: 58px; text-align: center;
  font: 600 1.5rem var(--font-body);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.code-inputs input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(31,77,63,.12); }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 27px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px;
  background: #d4d0c5; transition: background .15s ease; cursor: pointer;
}
.switch .track::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s ease;
}
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::before { transform: translateX(19px); }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; }
.notice svg { flex: none; margin-top: 2px; }
.notice-ok   { background: var(--ok-bg);   color: #1d5c3c; }
.notice-warn { background: var(--warn-bg); color: #7d4a12; }
.notice-bad  { background: var(--bad-bg);  color: #7e2a22; }
.notice-info { background: var(--info-bg); color: #24485f; }

/* ---------- Marketing extras ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; opacity: .85; }
.logo-strip .plogo {
  font-weight: 700; font-size: .95rem; color: var(--ink-faint);
  border: 1.5px dashed var(--line); padding: 10px 18px; border-radius: 10px;
  background: #fff;
}

.pricing-note {
  text-align: center; font-size: .82rem; color: var(--ink-faint);
  margin-top: 18px;
}
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .tier { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.price-card .price { font: 600 2.2rem var(--font-display); margin: 8px 0 2px; }
.price-card .per { color: var(--ink-faint); font-size: .85rem; }
.price-card ul { padding-left: 0; list-style: none; margin: 18px 0 24px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; font-size: .92rem; color: var(--ink-soft); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--ok); font-weight: 700;
}
.price-card.featured { border: 2px solid var(--pine); box-shadow: var(--shadow-lift); }
.price-card .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pine); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px;
}

/* FAQ / details */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 0 16px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: #b9c9bf; padding: 48px 0 32px; margin-top: 72px; font-size: .9rem; }
.site-footer a { color: #dce8de; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; margin-bottom: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .8rem; color: #8ba394; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ============================================================
   PRODUCT PROTOTYPE (app/ screens)
   ============================================================ */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.app-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--pine-deep); color: #fff;
  padding: 0 16px;
}
.app-header .inner {
  max-width: 860px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; height: 58px; gap: 12px;
}
.app-header .brand { color: #fff; font-size: .95rem; }
.app-header .brand .fam { color: #8ba394; }
.app-header .session { font-size: .8rem; color: #b9c9bf; display: flex; align-items: center; gap: 10px; }
.app-header .session a { color: #f2d9a8; }
.app-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 22px 16px 80px; }

/* App tab bar (mobile-first bottom nav) */
.app-tabs {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 6px 0 max(8px, env(safe-area-inset-bottom));
}
.app-tabs a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: .68rem; font-weight: 600; color: var(--ink-faint); text-decoration: none;
  padding: 4px 14px; border-radius: 10px;
}
.app-tabs a.active { color: var(--pine); }
.app-tabs svg { display: block; }
@media (min-width: 860px) {
  .app-tabs { position: sticky; top: 58px; bottom: auto; border-top: 0; border-bottom: 1px solid var(--line); justify-content: center; gap: 22px; }
  .app-tabs a { flex-direction: row; font-size: .85rem; }
  .app-main { padding-bottom: 40px; }
}

/* Address switcher */
.addr-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.addr-bar .addr { font-weight: 650; font-size: .97rem; }
.addr-bar .addr .faint { display: block; font-weight: 400; }

/* Timeline of drive-bys */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.timeline li { position: relative; padding: 0 0 14px 48px; }
.timeline .t-dot {
  position: absolute; left: 9px; top: 6px; width: 18px; height: 18px;
  border-radius: 999px; background: #fff; border: 3px solid var(--gold);
}
.timeline li.eve .t-dot { border-color: var(--sky-eve); }
.timeline li.flagged .t-dot { border-color: var(--warn); background: var(--warn-bg); }
.timeline .t-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); transition: box-shadow .12s ease;
}
.timeline a.t-card:hover { box-shadow: var(--shadow-lift); }
.timeline .t-when { font-weight: 650; font-size: .92rem; }
.timeline .t-meta { font-size: .8rem; color: var(--ink-faint); }
.timeline .t-thumb {
  width: 74px; flex: none; border-radius: 8px; overflow: hidden;
  aspect-ratio: 16/10; position: relative;
}
.timeline .t-right { margin-left: auto; text-align: right; flex: none; }
.timeline .week-sep {
  padding: 6px 0 12px 48px; font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint);
}

/* Thumbnail strip */
.thumb-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.thumb-strip .ph-scene { flex: 0 0 132px; scroll-snap-align: start; cursor: pointer; }
.thumb-strip .ph-scene.sel { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Baseline vs latest comparison */
.compare { display: grid; gap: 12px; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare figure { margin: 0; }
.compare figcaption { font-size: .8rem; font-weight: 650; color: var(--ink-soft); margin-top: 8px; display: flex; align-items: center; gap: 8px; }

/* Annotation markers on scenes */
.anno-marker {
  position: absolute; width: 26px; height: 26px; border-radius: 999px;
  background: var(--warn); color: #fff; border: 2.5px solid #fff;
  font: 700 .8rem/21px var(--font-body); text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.35); cursor: default;
}
.anno-list { list-style: none; margin: 0; padding: 0; }
.anno-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.anno-list li:last-child { border-bottom: 0; }
.anno-list .n {
  flex: none; width: 24px; height: 24px; border-radius: 999px;
  background: var(--warn); color: #fff; font: 700 .75rem/24px var(--font-body); text-align: center;
}
.anno-list li.ok .n { background: var(--ok); }

/* Day/evening segmented toggle */
.seg {
  display: inline-flex; background: #efeadf; border-radius: 999px; padding: 4px;
}
.seg button {
  border: 0; background: transparent; cursor: pointer;
  font: 600 .85rem var(--font-body); color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
}
.seg button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* Verification progress (register flow) */
.flow-steps { display: flex; align-items: center; margin: 0 0 30px; padding: 0; list-style: none; }
.flow-steps li { flex: 1; text-align: center; position: relative; font-size: .72rem; font-weight: 650; color: var(--ink-faint); }
.flow-steps li::before {
  content: attr(data-n);
  display: block; width: 30px; height: 30px; line-height: 28px; margin: 0 auto 6px;
  border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink-faint);
  font-size: .85rem;
}
.flow-steps li:not(:first-child)::after {
  content: ""; position: absolute; top: 15px; right: 50%; left: -50%;
  height: 2px; background: var(--line); z-index: -1;
}
.flow-steps li.done::before { background: var(--ok); border-color: var(--ok); color: #fff; content: "✓"; }
.flow-steps li.now { color: var(--pine); }
.flow-steps li.now::before { border-color: var(--pine); color: var(--pine); }

/* Auth card layout */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 40px 20px 80px; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; }

/* Settings rows */
.setting-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.setting-row:last-child { border-bottom: 0; }
.setting-row .s-label { font-weight: 650; font-size: .95rem; }
.setting-row .s-desc { font-size: .84rem; color: var(--ink-soft); margin-top: 3px; max-width: 42em; }

/* Video placeholder player */
.video-ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; background: #1c242a; box-shadow: var(--shadow-lift);
  display: flex; align-items: center; justify-content: center;
}
.video-ph .play {
  width: 66px; height: 66px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--pine-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift); z-index: 2;
}
.video-ph .vp-note {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  color: #cfd8cf; font-size: .75rem; text-align: center; z-index: 2;
}

/* Utility */
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
