/* The Visual Narrative — marketing site styles.
   All colours, type and spacing live here as variables. Use them in new CSS. */

:root {
  /* Brand */
  --paper: #FCFBF9;
  --bone: #F3F0EA;
  --bone-hover: #ECE8E0;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --muted: #6B665E;
  --stone: #8A857C;
  --rule: #E3DFD7;
  --rule-soft: #EEEBE5;
  --accent: #2D5F5D;
  --accent-dark: #1F4644;
  --accent-soft: #E1ECEA;

  /* Feature sections (light). Names kept from the old dark "film" set so every rule follows. */
  --stage: #EEE9E0;
  --film: #1A1A1A;
  --film-75: #4A4741;
  --film-55: #6B665E;
  --film-line: rgba(26, 26, 26, .12);
  --brass: #8A6A3F;
  --brass-soft: #D6B48C;
  --field-line: #D6D0C4;

  /* Data */
  --hot: #E34948;

  /* Type */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-film: 'Newsreader', Georgia, serif;
  --f-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-film-body: 'Hanken Grotesk', system-ui, sans-serif;

  --fs-hero: clamp(52px, 8vw, 100px);
  --fs-mega: clamp(52px, 9vw, 128px);
  --fs-h2: clamp(38px, 6vw, 80px);
  --fs-h3: 20px;
  --fs-lead: clamp(18px, 2vw, 22px);
  --fs-body: 16px;
  --fs-small: 13px;

  /* Layout */
  --maxw: 1200px;
  --gutter: 32px;
  --sec: 176px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow: 0 16px 40px rgba(26, 26, 26, .08);
  --shadow-deep: 0 30px 60px rgba(26, 26, 26, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
main { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 var(--fs-body)/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-md); }
.skip:focus { top: 16px; color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.paper { background: var(--paper); }
.bone { background: var(--bone); }
.stage { background: var(--stage); color: var(--film); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Type */
.eyebrow { margin: 0 0 20px; font: 500 13px/1.4 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stage .eyebrow { color: var(--brass); }
.h2 { font: 400 var(--fs-h2)/1.02 var(--f-display); letter-spacing: -0.025em; color: var(--ink); }
.film-h { font: 300 var(--fs-mega)/.96 var(--f-film); letter-spacing: -0.02em; color: var(--film); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.film-lead { font: 400 var(--fs-lead)/1.55 var(--f-film-body); color: var(--film-75); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-md); font: 500 15px/1 var(--f-ui); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); }
.btn-film { border-radius: 999px; border-color: rgba(26, 26, 26, .28); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-film:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; }

/* Header / nav */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--ink); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 70% 50% at 50% 0%, rgba(214, 180, 140, .32) 0%, rgba(214, 180, 140, 0) 70%),
  radial-gradient(ellipse 60% 42% at 50% 80%, rgba(45, 95, 93, .16) 0%, rgba(45, 95, 93, 0) 70%),
  linear-gradient(180deg, #F6F1E8 0%, var(--paper) 55%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(180deg, rgba(252, 251, 249, 0) 0%, var(--paper) 100%); }
.horizon { position: absolute; left: 10%; right: 10%; top: 62%; height: 1px; z-index: -1; background: linear-gradient(90deg, rgba(26, 26, 26, 0), rgba(26, 26, 26, .1), rgba(26, 26, 26, 0)); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; position: relative; z-index: 5; }
.brand { color: var(--ink); text-decoration: none; font: 400 22px/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.navlinks { display: flex; gap: 36px; font-size: 14px; }
.navlink { color: var(--film-75); text-decoration: none; }
.navlink:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.signin { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(26, 26, 26, .28); background: rgba(255, 255, 255, .6); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

.hero-copy { padding-top: 120px; }
.kicker { font: 400 18px/1.4 var(--f-film-body); color: var(--brass); margin-bottom: 28px; }
.hero h1 { font: 300 var(--fs-hero)/.92 var(--f-film); letter-spacing: -0.025em; color: var(--ink); max-width: 6.8em; }
.hero-sub { margin-top: 44px; max-width: 40ch; font: 400 22px/1.5 var(--f-film); color: var(--film-75); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }

/* Devices */
.devices { padding-top: 112px; }
.laptop { position: relative; width: 100%; max-width: 980px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(26, 26, 26, .16)); }
.lt-screen { background: #141518; border: 1px solid #2A2C30; border-radius: 18px 18px 0 0; padding: 14px 14px 18px; }
.lt-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; }
.lt-base { position: relative; height: 16px; width: 112%; margin-left: -6%; background: linear-gradient(180deg, #D9D6D0, #9E9A93); border-radius: 0 0 16px 16px; }
.lt-base::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #8A867F; border-radius: 0 0 8px 8px; }
.phone { position: absolute; right: -4%; bottom: -6%; width: 21%; background: #141518; border: 1px solid #2A2C30; border-radius: 34px; padding: 8px; box-shadow: 0 30px 60px rgba(26, 26, 26, .25); }
.phone img { width: 100%; border-radius: 27px; }
.hero-end { height: 140px; }

/* Grids */
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; align-items: center; }

/* Cards */
.ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.pcard { padding: 44px 40px; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ico-dark { width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.num { font: 500 12px/1 var(--f-ui); letter-spacing: .1em; color: var(--stone); }
.pcard h3 { margin-top: 12px; font: 400 34px/1.08 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.card h3.sm { font: 600 var(--fs-h3)/1.3 var(--f-ui); color: var(--ink); }
.card p.desc { font-size: 17px; color: var(--muted); }
.card p.desc-sm { font-size: 16px; color: var(--muted); }
.stat-box { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 6px; }
.stat { font: 400 56px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.stat.hot { color: var(--hot); }
.stat.teal { color: var(--accent); }
.stat-l { font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.src { font-size: 12px; line-height: 1.4; color: var(--stone); }

/* Problem heading */
.problem-a { font: 400 clamp(36px, 5.4vw, 72px)/1.05 var(--f-display); letter-spacing: -0.025em; color: var(--ink-2); max-width: 14ch; }
.problem-b { margin-top: 8px; font: 400 clamp(46px, 7.4vw, 100px)/1.02 var(--f-display); letter-spacing: -0.025em; color: var(--ink); }

/* Full-bleed film sections */
.bleed { position: relative; overflow: hidden; background: var(--bone); color: var(--ink); }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed .scrim { position: absolute; inset: 0; }
.bleed .wrap { position: relative; }
.glow { isolation: isolate; background:
  radial-gradient(ellipse 60% 55% at 50% 0%, rgba(214, 180, 140, .3) 0%, rgba(214, 180, 140, 0) 70%),
  radial-gradient(ellipse 50% 45% at 50% 100%, rgba(45, 95, 93, .12) 0%, rgba(45, 95, 93, 0) 70%),
  linear-gradient(180deg, #F3EEE5 0%, var(--bone) 100%); }
.glow-cta { background:
  radial-gradient(ellipse 55% 40% at 50% 0%, rgba(214, 180, 140, .34) 0%, rgba(214, 180, 140, 0) 70%),
  radial-gradient(ellipse 60% 40% at 50% 70%, rgba(45, 95, 93, .1) 0%, rgba(45, 95, 93, 0) 70%),
  linear-gradient(180deg, #F3EEE5 0%, var(--paper) 100%); }
.turn { padding-block: 220px 200px; }
.turn-stat { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--film-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.turn-stat .big { font: 300 72px/1 var(--f-film); color: var(--film); }
.turn-stat .txt { max-width: 30ch; text-align: left; font: 400 17px/1.45 var(--f-film-body); color: var(--film-75); }
.turn-stat .txt small { display: block; font-size: 12px; color: var(--film-55); }

/* How it works */
.step { display: flex; flex-direction: column; gap: 24px; }
.step .num { color: var(--accent); margin-bottom: 8px; }
.step h3 { font: 600 var(--fs-h3)/1.3 var(--f-ui); color: var(--ink); }
.step p { margin-top: 8px; color: var(--muted); }
.shot { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.divider { height: 1px; background: var(--rule-soft); margin-top: 8px; }

/* Dashboard list */
.ilist { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.ilist li { display: flex; gap: 16px; align-items: center; color: var(--ink); }
.ilist .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bone); }

/* Trust */
.trust { padding: 176px 0; }
.trust .split { grid-template-columns: 1fr 1fr; align-items: end; }
.trust h2 { max-width: 12ch; font: 300 clamp(48px, 7.5vw, 96px)/.98 var(--f-film); letter-spacing: -0.01em; color: var(--film); }
.trust p { max-width: 40ch; font: 400 18px/1.6 var(--f-film-body); color: var(--film-75); }

/* Pricing */
.pricecard { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 40px 36px; display: flex; flex-direction: column; gap: 20px; }
.pricecard.feat { background: var(--white); border: 2px solid var(--accent); color: var(--ink); box-shadow: var(--shadow-deep); }
.badge { position: absolute; top: -14px; left: 36px; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.plabel { font-size: 15px; font-weight: 600; color: var(--ink); }
.feat .plabel { color: var(--film); }
.price { font: 400 64px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.price.word { font-size: 44px; line-height: 1.1; }
.feat .price { color: var(--film); }
.punit { margin-top: 10px; font-size: 14px; color: var(--muted); }
.feat .punit { color: var(--muted); }
.pdesc { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pdesc strong { color: var(--ink); font-weight: 600; }
.feat .pdesc { color: var(--ink-2); }
.plist { margin: 0; padding: 24px 0 0; list-style: none; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--rule-soft); color: var(--ink-2); }
.plist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plist svg { flex: none; margin-top: 1px; }
.feat .plist { border-top-color: var(--rule-soft); color: var(--ink-2); }
.pricecard .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 880px; }
.faq-list { margin-top: 80px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 26px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 500; color: var(--ink); min-height: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { color: var(--accent); font-size: 26px; line-height: 1; font-weight: 300; transition: transform .2s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-top: 14px; max-width: 60ch; color: var(--muted); }

/* Final CTA + form */
.cta { padding-block: 200px 180px; }
.incl { margin: 40px 0 0; padding: 32px 36px; list-style: none; max-width: 720px; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; text-align: left; border: 1px solid var(--rule); border-radius: var(--r-lg); background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.incl li { display: flex; gap: 12px; align-items: flex-start; font: 400 17px/1.45 var(--f-film-body); color: var(--ink); }
.incl svg { flex: none; margin-top: 1px; }
.form { margin-top: 40px; width: 100%; max-width: 720px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font: 500 13px/1.3 var(--f-ui); letter-spacing: .02em; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--field-line); background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--f-ui); letter-spacing: 0; }
.field textarea { padding: 14px 16px; min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .opt { color: var(--film-55); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.promise { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--film-75); }
.form-msg { grid-column: 1 / -1; padding: 16px 20px; border-radius: var(--r-md); font-size: 15px; }
.form-msg.ok { background: #EEF7F1; border: 1px solid #BFDCC9; color: var(--ink); }
.form-msg.err { background: #FCE9E8; border: 1px solid #F1B9B8; color: var(--ink); }
.form-msg a { color: var(--accent); }
.privacy-note { font-size: 12px; color: var(--film-55); }
.privacy-note a { color: var(--accent); }

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--rule); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.footer .brand-d { font: 400 18px/1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: var(--fs-small); }
.footer a, .footer span { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Simple pages */
.page { padding: 160px 0 120px; }
.page .wrap { max-width: 760px; }
.page h1 { font: 400 clamp(40px, 6vw, 64px)/1.05 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.page h2 { margin-top: 40px; font: 600 20px/1.3 var(--f-ui); color: var(--ink); }
.page p, .page li { margin-top: 12px; }
.page-nav { background: var(--paper); border-bottom: 1px solid var(--rule); }

/* Fade up on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .g3, .split, .trust .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .navlinks, .nav-right .btn-film { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 88px; left: 16px; right: 16px; z-index: 20; padding: 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow-deep); }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--film); text-decoration: none; font-size: 17px; border-radius: var(--r-md); }
  .mobile-menu a:not(.btn):hover { background: var(--bone); }
  .mobile-menu .btn { margin-top: 8px; }
  .phone { right: -2%; width: 26%; }
}
@media (max-width: 760px) {
  .incl, .form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --sec: 96px; }
  .hero-copy { padding-top: 64px; }
  .devices { padding-top: 72px; }
  .hero-end { height: 80px; }
  .turn, .cta { padding-block: 120px; }
  .trust { padding: 96px 0; }
  .pcard, .card, .pricecard { padding: 32px 24px; }
  .incl { padding: 24px; }
  .signin span { display: none; }
}
