/* Dorian Recovery — "Deep ocean" site styles (from the approved index-ocean.html sample).
   Inner pages also load ocean-pages.css.
   White-dominant layout; deep navy carries headlines and primary actions,
   one brighter ocean blue is used sparingly (links, dots, glow).
   Contrast (on #FDFCFC / #F4F6F9):
     ink #1B2330 ~15:1, slate #5B6574 ~5.5:1, navy #0A2540 ~15:1,
     link #1A5FC4 ~5.6:1 on card, white on navy ~15:1. */

@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/CrimsonPro-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #fdfcfc;
  --surface: #f4f6f9;
  --surface-2: #eef2f7;
  --white: #ffffff;
  --line: rgba(10, 20, 40, 0.07);
  --line-strong: rgba(10, 20, 40, 0.12);

  --ink: #1b2330;
  --slate: #5b6574;
  --navy: #0a2540;
  --navy-2: #133a63;
  --navy-deep: #071a2e;
  --ocean: #2b7fff;      /* marks, dots, glow only */
  --ocean-ink: #1a5fc4;  /* links and small blue text */
  --ocean-soft: #e8f1ff;
  --on-navy: #ffffff;
  --on-navy-soft: #c3d2e6;
  --on-navy-link: #a9cbff;

  --font-display: "Crimson Pro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: 20px;
  --section: 72px;
  --header-h: 64px;
  --radius: 24px;
  --radius-inner: 14px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; --section: 96px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
body.dialog-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ocean-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--ocean-ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; color: var(--navy); }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4rem); max-width: 15ch; }
h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); max-width: 22ch; line-height: 1.08; }
h3 {
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: calc(var(--header-h) + 8px); color: var(--on-navy); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ocean);
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.14);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-2); color: var(--on-navy); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(10, 20, 40, 0.06);
}
.btn-secondary:hover { color: var(--navy); box-shadow: 0 0 0 1px rgba(10, 37, 64, 0.28), 0 2px 6px rgba(10, 20, 40, 0.08); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ocean-soft); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .preview-tab, .nav-links a, .dialog-close {
    transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 120ms var(--ease);
  }
  .btn:active, .dialog-close:active { transform: scale(0.98); }
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 252, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}
.logo:hover { color: var(--navy); }
.logo img { width: 28px; height: 28px; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav { order: 2; flex: 1; display: flex; justify-content: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--surface); color: var(--navy); }
.header-end { order: 3; display: flex; align-items: center; gap: 8px; flex: none; }
.nav-burger { display: none; }
.when-open { display: none; }

@media (max-width: 1239px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
  }
  .logo { order: 0; }
  .header-end { order: 1; }
  .nav { order: 2; }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line-strong);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
  }
  .burger-lines {
    position: relative;
    width: 16px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }
  .burger-lines::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 2.75px;
    border-top: 1.5px solid currentColor;
  }
  .nav-toggle:focus-visible ~ .header-end .nav-burger { outline: 3px solid var(--ocean-ink); outline-offset: 3px; }
  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 4px 0 16px;
  }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav-toggle:checked ~ .header-end .when-closed { display: none; }
  .nav-toggle:checked ~ .header-end .when-open { display: inline; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { display: flex; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 0.9375rem; }
}
@media (max-width: 479px) {
  .logo { gap: 8px; }
  .wordmark { font-size: 1.1rem; }
  .header-end .nav-cta { padding: 0 14px; min-height: 44px; font-size: 0.8125rem; }
  .nav-burger { padding: 0; width: 44px; }
  .burger-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 359px) { .wordmark { display: none; } }

/* Sections */
.section { padding-block: var(--section) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 + p { margin-top: 20px; color: var(--slate); max-width: 60ch; }
@media (max-width: 767px) { .section-head { margin-bottom: 32px; } }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.nowrap { white-space: nowrap; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
}
.hero-title { grid-column: 1 / span 7; }
.hero-copy { grid-column: 8 / span 5; padding-bottom: 6px; }
.lede { color: var(--slate); font-size: 1.125rem; line-height: 1.55; margin-bottom: 28px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 16px; color: var(--slate); font-size: 0.875rem; }

.hero-shot { position: relative; margin: clamp(48px, 6vw, 80px) 0 0; }
.hero-shot::before {
  /* Ocean glow behind the product panel */
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6% -4% 6%;
  background:
    radial-gradient(38% 52% at 22% 38%, rgba(43, 127, 255, 0.30), transparent 70%),
    radial-gradient(34% 48% at 80% 30%, rgba(10, 37, 64, 0.22), transparent 70%),
    radial-gradient(40% 50% at 55% 80%, rgba(110, 184, 255, 0.30), transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  padding: clamp(14px, 3.4vw, 48px) clamp(14px, 3.4vw, 48px) 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(110, 184, 255, 0.55), transparent 60%),
    radial-gradient(55% 80% at 95% 10%, rgba(43, 127, 255, 0.45), transparent 62%),
    linear-gradient(160deg, #1e5fb8 0%, #0f3a72 45%, #0a2540 100%);
}
.hero-stage img {
  width: 100%;
  border-radius: var(--radius-inner) var(--radius-inner) 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.35), 0 30px 70px rgba(3, 14, 32, 0.45);
  background: var(--white);
}
.shot-fallback { display: none; }
.hero-shot[data-state="error"] .hero-stage img { display: none; }
.hero-shot[data-state="error"] .shot-fallback {
  display: block;
  margin: 0 0 clamp(14px, 3.4vw, 48px);
  padding: 32px;
  border-radius: var(--radius-inner);
  background: var(--white);
}
.shot-fallback-title { font-weight: 600; color: var(--navy); }

.shot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.hero-shot .shot-meta { justify-content: center; }
.shot-caption { margin: 0; color: var(--slate); font-size: 0.875rem; }

/* Preview */
.preview-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
}
.preview-tab {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--slate);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.preview-tab:hover { color: var(--navy); }
.preview-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 3px rgba(10, 20, 40, 0.08);
}
.preview-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.preview-shot { grid-column: span 8; margin: 0; padding: 12px; }
.preview-shot img,
.flow-shot img {
  width: 100%;
  border-radius: var(--radius-inner);
  border: 1px solid var(--line);
  background: var(--white);
}
.preview-copy {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}
.preview-copy h3,
.flow-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 14px;
}
.preview-copy p { color: var(--slate); }
.preview-copy .enlarge { margin-top: auto; }
.preview-copy p + .enlarge { margin-top: 24px; }
.preview-disclosure { margin-top: 16px; }

/* Daily work */
.flow-list { display: grid; gap: 24px; }
.flow {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  padding: clamp(20px, 3.4vw, 48px);
}
.flow .flow-copy { grid-column: span 5; }
.flow .flow-shot { grid-column: span 7; margin: 0; }
.flow-copy p { color: var(--slate); }
.flow-index {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ocean-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.limit-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.flow-copy .limit-note { color: var(--ink); }

/* Pricing */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.fact { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.fact strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
}
.fact span { color: var(--slate); font-size: 0.9375rem; }
.buyer-explain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.explain-card { padding: 32px; }
.explain-card h3 { margin-bottom: 12px; }
.explain-card p { color: var(--slate); }
.explain-example { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-strong); color: var(--slate); }
.explain-example a { font-weight: 500; white-space: nowrap; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 22px; color: var(--slate); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ocean);
}

/* Setup */
.config-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { padding: clamp(24px, 3vw, 40px); }
.panel h3 { margin-bottom: 12px; font-size: 1.25rem; }
.panel p { color: var(--slate); }
.panel .check-list { margin: 4px 0 20px; }

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.founder-mark { grid-column: span 5; }
.founder-copy { grid-column: 7 / span 6; padding: clamp(24px, 3vw, 40px); color: var(--slate); }
.founder-copy p:first-child { color: var(--ink); font-size: 1.125rem; }
.founder-id { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.founder-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.founder-name { margin: 0; font-weight: 600; color: var(--ink); }
.founder-role { margin: 0; color: var(--slate); font-size: 0.9375rem; }

/* FAQ */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.faq-list article { padding: 32px; }
.faq-list h3 { margin-bottom: 12px; }
.faq-list p { color: var(--slate); }

/* Closing CTA */
.section-next { padding-bottom: var(--section); }
.next-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  text-align: center;
  color: var(--on-navy-soft);
  background:
    radial-gradient(50% 70% at 50% 120%, rgba(43, 127, 255, 0.55), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(110, 184, 255, 0.16), transparent 70%),
    var(--navy);
}
.next-panel h2 { margin-inline: auto; color: var(--on-navy); max-width: 18ch; margin-bottom: 20px; }
.next-panel p { max-width: 56ch; margin-inline: auto; }
.next-panel a:not(.btn) { color: var(--on-navy-link); }
.next-panel a:not(.btn):hover { color: var(--on-navy); }
.next-panel .cta-row { justify-content: center; margin-top: 32px; }
.next-panel :focus-visible { outline-color: var(--on-navy-link); }
.eyebrow-on-dark { color: var(--on-navy-soft); }
.eyebrow-on-dark::before { background: var(--on-navy-link); box-shadow: 0 0 0 4px rgba(169, 203, 255, 0.18); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h2 {
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.site-footer p { color: var(--slate); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.site-footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--slate);
  text-decoration: none;
}
.site-footer ul a:hover { color: var(--navy); text-decoration: underline; }
.footer-contact a { color: var(--ink); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.fine {
  margin: 0;
  color: var(--slate);
  font-size: 0.8125rem;
  max-width: 110ch;
}

/* Dialogs */
.media-dialog {
  width: min(1040px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: auto;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(7, 26, 46, 0.35);
  overflow: auto;
}
.media-dialog::backdrop { background: rgba(7, 26, 46, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.dialog-bar h2 { font-size: 1.5rem; max-width: none; }
.dialog-close {
  flex: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(10, 20, 40, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.dialog-close:hover { color: var(--navy); }
.dialog-note { margin: 0 0 12px; color: var(--slate); font-size: 0.9375rem; }
.demo-player { display: block; width: 100%; height: auto; border-radius: var(--radius-inner); background: var(--navy-deep); }
.player-status { margin: 12px 0 0; color: var(--ink); }
.dialog-more { margin: 8px 0 0; }
.dialog-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.media-dialog-shot img { width: 100%; border-radius: var(--radius-inner); border: 1px solid var(--line); background: var(--white); }

/* Responsive */
@media (max-width: 1099px) {
  .hero-title, .hero-copy { grid-column: 1 / -1; }
  .hero-grid { gap: 24px; }
  .preview-shot, .preview-copy { grid-column: 1 / -1; }
  .preview-copy { padding: 28px; }
  .flow .flow-copy, .flow .flow-shot { grid-column: 1 / -1; }
  .flow { gap: 28px; }
  .flow-flip .flow-shot { order: 2; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-mark, .founder-copy { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .buyer-explain, .config-split, .faq-list { grid-template-columns: 1fr; }
  .fact-grid { gap: 16px; }
  .fact { padding: 22px; }
  .faq-list article, .explain-card { padding: 24px; }
  .flow-list, .buyer-explain, .config-split, .faq-list { gap: 16px; }
  .hero-stage { border-radius: 18px; }
  .hero-stage img { border-radius: 10px 10px 0 0; }
  .shot-meta { flex-wrap: wrap; }
  .preview-tabs { display: flex; }
  .preview-tab { flex: 1 1 auto; padding: 0 12px; }
  .card { border-radius: 20px; }
  .lede { font-size: 1.0625rem; }
}
@media (max-width: 479px) {
  .fact { padding: 18px; }
  .fact strong { font-size: 2.25rem; }
  .fact span { font-size: 0.875rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
  .next-panel { border-radius: 24px; }
}

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


/* v2 Preview Refinements: CTA hierarchy, Founder photo-ready frame, and quiet metadata pills */
.btn-ghost {
  background: transparent;
  color: var(--ocean-ink);
  padding-inline: 14px;
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--navy);
}
@media (max-width: 767px) {
  .header-end .nav-inquiry { display: none; }
}
.shot-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}
.shot-caption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean);
  opacity: 0.65;
  flex: none;
}
.limit-note {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--slate) !important;
  font-size: 0.84375rem;
  line-height: 1.45;
}
.founder-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.06);
}
.founder-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(110, 184, 255, 0.38), transparent 55%),
    linear-gradient(145deg, #133a63 0%, #0a2540 65%, #071a2e 100%);
  color: var(--on-navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px rgba(43, 127, 255, 0.28), 0 8px 20px rgba(10, 37, 64, 0.18);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}
.founder-avatar.has-photo .founder-monogram {
  opacity: 0;
}
.founder-meta {
  display: grid;
  gap: 3px;
}
.founder-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}
.founder-role {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}
.founder-cred {
  margin: 2px 0 0;
  color: var(--slate);
  font-size: 0.8125rem;
}
.dialog-more {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.dialog-more .dialog-more-link {
  margin-left: auto;
  padding: 0 10px;
  font-size: 0.875rem;
  color: var(--ocean-ink);
}

/* v2.1 Earth-Tone & 3D Depth Refinements */
:root {
  --earth-tray-top: #e8dfd1;
  --earth-tray-bot: #efe8dc;
  --earth-btn-top: #fdfbf8;
  --earth-btn-bot: #ebe1d0;
  --earth-btn-hover-bot: #e2d4be;
  --earth-card-top: #fcfaf6;
  --earth-card-bot: #f3ece0;
  --earth-border: rgba(110, 86, 56, 0.32);
  --earth-border-soft: rgba(110, 86, 56, 0.20);
  --earth-border-strong: rgba(132, 94, 50, 0.52);
  --earth-bronze-ring: rgba(186, 134, 68, 0.52);
}

/* Primary, Secondary, Enlarge & Dialog 3D Tactile Buttons */
.btn-primary {
  background: linear-gradient(180deg, #163e6c 0%, #0a2540 100%);
  color: var(--on-navy);
  font-weight: 600;
  border: 1px solid #071a2e;
  box-shadow:
    0 3px 8px rgba(10, 37, 64, 0.26),
    0 1px 2px rgba(10, 37, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #1c4d84 0%, #0f3156 100%);
  color: var(--on-navy);
  transform: translateY(-1px);
  box-shadow:
    0 5px 12px rgba(10, 37, 64, 0.32),
    0 2px 4px rgba(10, 37, 64, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.btn-secondary,
.enlarge,
.dialog-close,
.nav-burger {
  background: linear-gradient(180deg, #ffffff 0%, var(--earth-btn-bot) 100%);
  color: var(--ink);
  font-weight: 600;
  border: 1px solid var(--earth-border);
  box-shadow:
    0 2px 5px rgba(27, 35, 48, 0.11),
    0 1px 0 rgba(110, 86, 56, 0.16),
    inset 0 1px 0 #ffffff;
}
.btn-secondary:hover,
.enlarge:hover,
.dialog-close:hover,
.nav-burger:hover {
  background: linear-gradient(180deg, #ffffff 0%, var(--earth-btn-hover-bot) 100%);
  color: var(--navy);
  border-color: var(--earth-border-strong);
  transform: translateY(-1px);
  box-shadow:
    0 4px 9px rgba(27, 35, 48, 0.15),
    0 1px 2px rgba(110, 86, 56, 0.20),
    inset 0 1px 0 #ffffff;
}

.btn-ghost {
  background: linear-gradient(180deg, #fcfaf6 0%, #eee5d6 100%);
  color: var(--navy);
  font-weight: 600;
  padding-inline: 18px;
  border: 1px solid rgba(110, 86, 56, 0.28);
  box-shadow:
    0 2px 4px rgba(42, 32, 20, 0.09),
    inset 0 1px 0 #ffffff;
}
.btn-ghost:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e4d7c3 100%);
  color: var(--navy);
  border-color: var(--earth-border-strong);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(42, 32, 20, 0.13),
    inset 0 1px 0 #ffffff;
}

.btn-light {
  background: linear-gradient(180deg, #ffffff 0%, #f1e8d9 100%);
  color: var(--navy);
  font-weight: 600;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 #ffffff;
}
.btn-light:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e6d9c4 100%);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.09);
  color: var(--on-navy);
  font-weight: 600;
  box-shadow:
    inset 0 0 0 1px rgba(238, 225, 204, 0.48),
    0 2px 6px rgba(0, 0, 0, 0.22);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--on-navy);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 4px 10px rgba(0, 0, 0, 0.28);
}

/* Header Nav Links with Warm Earth-Tone Hover / Active Pill */
.nav-links a {
  font-weight: 550;
  border: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: linear-gradient(180deg, #fcfaf6 0%, #ede3d3 100%);
  border-color: rgba(110, 86, 56, 0.26);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(42, 32, 20, 0.09), inset 0 1px 0 #ffffff;
}

/* Preview Tabs ("See Dorian in action" & inner program tabs): 3D Earth-Tone Tray & Buttons */
.preview-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--earth-tray-top) 0%, var(--earth-tray-bot) 100%);
  border: 1px solid rgba(110, 86, 56, 0.28);
  box-shadow:
    inset 0 2px 4px rgba(42, 32, 20, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.85);
}
.preview-tab {
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(115, 90, 58, 0.34);
  background: linear-gradient(180deg, var(--earth-btn-top) 0%, var(--earth-btn-bot) 100%);
  color: #1b2330;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 2px 5px rgba(42, 32, 20, 0.12),
    0 1px 0 rgba(115, 90, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}
.preview-tab:hover:not([aria-selected="true"]) {
  background: linear-gradient(180deg, #ffffff 0%, var(--earth-btn-hover-bot) 100%);
  border-color: var(--earth-border-strong);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(42, 32, 20, 0.16),
    0 1px 2px rgba(115, 90, 58, 0.22),
    inset 0 1px 0 #ffffff;
}
.preview-tab[aria-selected="true"] {
  background: linear-gradient(180deg, #173d68 0%, #0a2540 100%);
  color: #ffffff;
  border-color: #071a2e;
  box-shadow:
    0 3px 9px rgba(10, 37, 64, 0.30),
    0 0 0 2px var(--earth-bronze-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

/* Warm Earth-Tone Cards & Preview Stage Harmonization */
.card {
  background: linear-gradient(180deg, var(--earth-card-top) 0%, var(--earth-card-bot) 100%);
  border: 1px solid var(--earth-border-soft);
  box-shadow:
    0 4px 14px rgba(27, 35, 48, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.preview-shot.card {
  background: linear-gradient(180deg, #f6f0e6 0%, #ebe1d2 100%);
  border: 1px solid rgba(110, 86, 56, 0.26);
  box-shadow:
    0 8px 24px rgba(27, 35, 48, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.preview-copy.card {
  background: linear-gradient(180deg, #fdfbf7 0%, #f1e9dc 100%);
  border: 1px solid rgba(110, 86, 56, 0.24);
  box-shadow:
    0 6px 18px rgba(27, 35, 48, 0.07),
    inset 0 1px 0 #ffffff;
}
.flow-index,
.shot-caption {
  background: linear-gradient(180deg, #ffffff 0%, #efe6d7 100%);
  border: 1px solid rgba(110, 86, 56, 0.26);
  box-shadow: 0 1px 3px rgba(42, 32, 20, 0.08), inset 0 1px 0 #ffffff;
}

/* v2.2 Deep-Navy Radial-Glow Focal Accents & Opening Hero */
.hero {
  padding-top: clamp(44px, 5.8vw, 72px);
  padding-bottom: clamp(48px, 6.2vw, 80px);
  background:
    radial-gradient(760px 360px at 86% 8%, rgba(28, 126, 214, 0.32), transparent 62%),
    radial-gradient(560px 280px at 12% 88%, rgba(186, 134, 68, 0.18), transparent 64%),
    linear-gradient(145deg, #0d2e4f 0%, #0a2540 56%, #071a2e 100%);
  color: var(--on-navy);
  border-bottom: 1px solid rgba(124, 196, 250, 0.24);
  box-shadow: 0 14px 36px rgba(7, 26, 46, 0.16);
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(124, 196, 250, 0.14);
  border: 1px solid rgba(124, 196, 250, 0.34);
  color: #9fd6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero .eyebrow::before {
  background: #38a3f1;
  box-shadow: 0 0 0 3px rgba(56, 163, 241, 0.28);
}
.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}
.hero .lede {
  color: #dce8f6;
}
.hero .cta-note {
  color: #b8cce4;
}
.hero .cta-row .btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #efe3cf 100%);
  color: #0a2540;
  font-weight: 650;
  border: 1px solid rgba(232, 191, 128, 0.72);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.34),
    0 0 0 2px rgba(186, 134, 68, 0.36),
    inset 0 1px 0 #ffffff;
}
.hero .cta-row .btn-primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e5d4b8 100%);
  color: #071a2e;
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.40),
    0 0 0 2px rgba(212, 158, 84, 0.52),
    inset 0 1px 0 #ffffff;
}
.hero .cta-row .btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  color: #ffffff;
  border: 1px solid rgba(235, 220, 195, 0.46);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.hero .cta-row .btn-secondary:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}
.hero .cta-row .btn-ghost {
  background: linear-gradient(180deg, rgba(232, 191, 128, 0.20) 0%, rgba(232, 191, 128, 0.09) 100%);
  color: #f7e9d2;
  border: 1px solid rgba(232, 191, 128, 0.44);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.hero .cta-row .btn-ghost:hover {
  background: linear-gradient(180deg, rgba(232, 191, 128, 0.30) 0%, rgba(232, 191, 128, 0.15) 100%);
  color: #ffffff;
  border-color: rgba(232, 191, 128, 0.72);
  transform: translateY(-1px);
}
.hero-stage {
  padding: 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(232, 191, 128, 0.08) 100%);
  border: 1px solid rgba(232, 191, 128, 0.38);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(124, 196, 250, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.hero .shot-caption {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2ecf8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero .shot-caption::before {
  background: #38a3f1;
}
.hero .enlarge {
  background: linear-gradient(180deg, #fcfaf6 0%, #eadfcd 100%);
  color: #0a2540;
  border: 1px solid rgba(232, 191, 128, 0.65);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 #ffffff;
}
.hero .enlarge:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e2d2b8 100%);
  color: #071a2e;
}

#pricing-summary .fact-grid .fact:first-child {
  background:
    radial-gradient(360px 200px at 88% 12%, rgba(28, 126, 214, 0.32), transparent 64%),
    radial-gradient(280px 180px at 12% 90%, rgba(186, 134, 68, 0.15), transparent 66%),
    linear-gradient(145deg, #0e3154 0%, #0a2540 58%, #071a2e 100%);
  border: 1px solid rgba(124, 196, 250, 0.30);
  box-shadow:
    0 12px 28px rgba(7, 26, 46, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
#pricing-summary .fact-grid .fact:first-child strong {
  color: #ffffff;
}
#pricing-summary .fact-grid .fact:first-child span {
  color: #d6e3f3;
}

.founder-id {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(480px 220px at 88% 12%, rgba(28, 126, 214, 0.30), transparent 62%),
    radial-gradient(340px 200px at 10% 90%, rgba(186, 134, 68, 0.16), transparent 65%),
    linear-gradient(145deg, #0e3154 0%, #0a2540 58%, #071a2e 100%);
  border: 1px solid rgba(124, 196, 250, 0.28);
  box-shadow:
    0 14px 32px rgba(7, 26, 46, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.founder-id .founder-avatar.has-photo {
  border: 2px solid rgba(232, 191, 128, 0.78);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.34),
    0 0 0 3px rgba(124, 196, 250, 0.22);
}
.founder-id .founder-name {
  color: #ffffff;
  font-size: 1.0625rem;
}
.founder-id .founder-role {
  color: #dce8f7;
}
.founder-id .founder-cred {
  color: #b8cce4;
}
