/* TradeReel marketing site — gettradereel.com
   Same palette as the app (css/styles.css): charcoal, warm ivory, clay rose for
   small touches — no green, no blue (2026-10-21). The register is established
   and executive: serif headlines (Newsreader), the app's own Jakarta for body,
   self-hosted from ./fonts. Clay rose is a thin rule or a number, never a fill. */

@font-face { font-family: 'Jakarta'; font-weight: 400; font-display: swap; src: url('../fonts/jakarta-400.woff2') format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 500; font-display: swap; src: url('../fonts/jakarta-500.woff2') format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 600; font-display: swap; src: url('../fonts/jakarta-600.woff2') format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 700; font-display: swap; src: url('../fonts/jakarta-700.woff2') format('woff2'); }
@font-face { font-family: 'Jakarta'; font-weight: 800; font-display: swap; src: url('../fonts/jakarta-800.woff2') format('woff2'); }

:root {
  --paper: #F5F2EC;
  --panel: #FFFFFF;
  --ink: #24201C;
  --ink-2: #6B655E;
  --ink-3: #9C958C;
  --line: #E7E1D7;
  --line-2: #D7CFC2;
  --accent: #38332F;          /* charcoal — the app's accent */
  --accent-hover: #2E2A26;
  --accent-edge: #221E1B;
  --accent-soft: rgba(56,51,47,.07);
  --rose: #A57A6B;            /* clay rose — rules, numbers, one figure */
  --rose-deep: #6B4A3F;
  --rose-light: #D3B7AA;      /* rose on the dark sections */
  --rose-soft: rgba(165,122,107,.13);
  --cream: #F4F1EB;
  --mark: #FFD400;            /* the crew's default pen — only inside app shots */
  --editor: #1B2126;          /* the app's editor chrome, for the device mock */
  --dark: #1F1C19;            /* the site's dark sections: warm graphite-black */
  --dark-2: #2A2622;
  --dark-3: #36312C;
  --dark-line: rgba(255,255,255,.10);
  --dark-ink: #F2EEE7;
  --dark-ink-2: #A8A097;
  --danger: #C62F2F;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-btn: 12px;
  --r-card: 18px;
  --shadow-1: 0 1px 2px rgba(36,32,28,.06);
  --shadow-2: 0 18px 36px -16px rgba(36,32,28,.26);
  --shadow-3: 0 44px 90px -34px rgba(36,32,28,.48);
  --wrap: 1180px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(var(--wrap), 100% - 36px); } }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -.028em; }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.35rem); line-height: 1.06; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--rose); }
.dark .eyebrow { color: var(--rose-light); }
.dark .eyebrow::before { background: var(--rose-light); }
.small { font-size: .9rem; color: var(--ink-2); }
.tiny { font-size: .8rem; color: var(--ink-3); }

/* marker-circled word — one per page, the site's own bit of markup */
.mk { position: relative; display: inline-block; white-space: nowrap; }
.mk svg { position: absolute; inset: -14% -8% -18% -8%; width: 116%; height: 132%; overflow: visible; pointer-events: none; }
.mk svg path { fill: none; stroke: var(--mark); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .mk svg path, .mk.in svg path { animation: draw 1.1s .5s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .mk svg path { stroke-dashoffset: 0; animation: none; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--accent); --fg: #FFFDF9; --edge: var(--accent-edge); --bg-hover: var(--accent-hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: var(--r-btn); border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 0 var(--edge), var(--shadow-1);
  transition: transform .12s ease, background .15s ease, box-shadow .12s ease;
  cursor: pointer;
}
.btn:hover { background: var(--bg-hover); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--edge); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; border-radius: 14px; }
.btn-ghost { --bg: var(--panel); --fg: var(--ink); --edge: var(--line-2); --bg-hover: var(--paper); }
.btn-dark { --bg: var(--dark-2); --fg: var(--dark-ink); --edge: #120F0D; --bg-hover: var(--dark-3); }
/* The light button for dark grounds (name kept from when it was the yellow pen). */
.btn-mark { --bg: var(--cream); --fg: var(--ink); --edge: #B9B1A4; --bg-hover: #FFFFFF; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(245,242,236,.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); background: rgba(36,32,28,.05); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { min-height: 42px; padding: 0 16px; font-size: .93rem; border-radius: 12px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-menu { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    box-shadow: var(--shadow-2);
  }
  .nav.open .nav-menu { display: block; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu a:not(.btn) { display: block; padding: 13px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { width: 100%; margin-top: 14px; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 760px; display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lede { max-width: none; }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark .lede, .dark .small { color: var(--dark-ink-2); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lede { max-width: 30em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; }
.fact { display: inline-flex; gap: 8px; align-items: center; font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.fact svg { width: 18px; height: 18px; color: var(--rose); flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: none; }
}
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn-lg { width: 100%; }
  .btn-lg { padding: 0 20px; font-size: 1rem; }
  .device { transform: none; padding: 10px; border-radius: 22px; }
  .device-screen { border-radius: 12px; }
}

/* Hero headline: circle, pin, bell — in that order, each on its own line. */
.hero-h1 .hl { display: block; }
.hero-h1 .nw { white-space: nowrap; }
.hero-h1 .mk svg { inset: -46% -12% -36% -15%; width: 127%; height: 182%; }
/* Pins 1-2-3 dropped a little off a straight line, like they landed on a photo —
   the crew's own yellow with a dark halo, exactly as the app draws a pin. The
   circle above is the same pen. */
.h-pins { display: inline-block; margin-left: .14em; }
.h-pins i {
  display: inline-block; margin-left: .3em;
  font-family: var(--font-body); font-style: normal; font-weight: 800; font-size: .62em; line-height: 1; letter-spacing: -.02em;
  color: var(--mark); -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill;
  opacity: 0; transform: translateY(var(--y)) scale(.3); transform-origin: 50% 70%;
}
.h-pins i:nth-child(1) { --y: -.38em; }
.h-pins i:nth-child(2) { --y: -.08em; }
.h-pins i:nth-child(3) { --y: -.52em; }
.h-bell {
  position: relative; display: inline-grid; place-items: center; margin-left: .2em; vertical-align: .02em;
  width: .8em; height: .8em; border-radius: 50%;
  background: var(--panel); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-1);
  opacity: 0; transform: scale(.6); transform-origin: 50% 8%;
}
.h-bell svg { width: .42em; height: .42em; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-bell i {
  /* sized in its own em (the count's font size), not the headline's */
  position: absolute; top: -.5em; right: -.6em; min-width: 1.9em; height: 1.9em; padding: 0 .4em;
  display: grid; place-items: center; border-radius: 999px; border: 2px solid var(--paper);
  background: #946656; color: #fff; font: 800 .19em/1 var(--font-body); font-style: normal;
  opacity: 0; transform: scale(.3);
}
.hero.in .h-pins i { animation: pin-pop .38s cubic-bezier(.2,.9,.3,1.4) forwards; }
.hero.in .h-pins i:nth-child(1) { animation-delay: 1.7s; }
.hero.in .h-pins i:nth-child(2) { animation-delay: 2s; }
.hero.in .h-pins i:nth-child(3) { animation-delay: 2.3s; }
@keyframes pin-pop { from { opacity: 0; transform: translateY(var(--y)) scale(.3); } to { opacity: 1; transform: translateY(var(--y)) scale(1); } }
.hero.in .h-bell { animation: bell-in .3s 2.85s ease-out forwards, ring .9s 3.15s ease-in-out; }
.hero.in .h-bell i { animation: pop .32s 3.4s cubic-bezier(.2,.9,.3,1.4) forwards; }
@keyframes bell-in { to { opacity: 1; transform: none; } }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  12% { transform: rotate(16deg); } 26% { transform: rotate(-14deg); }
  40% { transform: rotate(10deg); } 54% { transform: rotate(-7deg); } 68% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .h-bell, .h-bell i { animation: none !important; opacity: 1; transform: none; }
  .h-pins i { animation: none !important; opacity: 1; transform: translateY(var(--y)); }
}

/* the device — an iPad running the editor */
.device {
  position: relative;
  background: #0E0C0B;
  border-radius: 30px;
  padding: 16px;
  box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-1.2deg);
}
.device-screen { border-radius: 16px; overflow: hidden; background: var(--editor); }
.device-bar {
  height: 46px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: var(--editor); border-bottom: 1px solid var(--dark-line);
  color: var(--dark-ink-2); font-size: .78rem; font-weight: 600;
}
.device-bar .tool { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--dark-ink-2); }
.device-bar .tool svg { width: 18px; height: 18px; }
.device-bar .tool.on { background: var(--cream); color: var(--accent); }
.device-bar .counter { margin-left: auto; letter-spacing: .02em; }
.device-bar .sep { width: 1px; height: 20px; background: var(--dark-line); margin: 0 4px; }
.device-photo { position: relative; aspect-ratio: 4 / 3; }
.device-photo img { width: 100%; height: 100%; object-fit: cover; }
.device-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-path { fill: none; stroke: var(--mark); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mk-head { fill: var(--mark); opacity: 0; }
.mk-pin { font-family: var(--font-body); font-weight: 800; font-size: 70px; fill: var(--mark); paint-order: stroke; stroke: #1B2126; stroke-width: 10px; stroke-linejoin: round; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mk-text { font-family: var(--font-body); font-weight: 700; font-size: 30px; fill: #fff; paint-order: stroke; stroke: rgba(27,33,38,.85); stroke-width: 8px; stroke-linejoin: round; opacity: 0; }
.hero.in .mk-path.c1 { animation: draw 1.1s .6s cubic-bezier(.4,0,.2,1) forwards; }
.hero.in .mk-path.a1 { animation: draw .7s 1.9s cubic-bezier(.4,0,.2,1) forwards; }
.hero.in .mk-head { animation: pop .3s 2.55s ease-out forwards; }
.hero.in .mk-text { animation: fade .4s 2.7s ease-out forwards; }
.hero.in .mk-pin.p1 { animation: pop .35s .25s cubic-bezier(.2,.9,.3,1.3) forwards; }
.hero.in .mk-pin.p2 { animation: pop .35s 3.1s cubic-bezier(.2,.9,.3,1.3) forwards; }
.hero.in .mk-pin.p3 { animation: pop .35s 3.4s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mk-path, .mk-head, .mk-pin, .mk-text { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}
.device-caption { margin-top: 18px; display: flex; justify-content: center; }
.device-caption .small { display: inline; text-align: center; }
.device-caption b { color: var(--ink); }

/* ---------- trade strip ---------- */
.strip { padding: 0 0 clamp(48px, 7vw, 96px); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--dark); }
.strip figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 9px;
  background: rgba(31,28,25,.78); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.strip-note { margin-top: 18px; text-align: center; }
.trades { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 22px; }
.trades h2 { max-width: 20ch; }
.trade-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trade-list li { padding: 8px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature blocks ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 88px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-media { order: -1; }
.feature-copy { display: grid; gap: 18px; }
.feature-copy h2 { max-width: 16ch; }
.feature-copy .lede { font-size: 1.1rem; }
.feature-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.feature-copy li b { color: var(--ink); font-weight: 700; }
.feature-copy li svg { width: 22px; height: 22px; color: var(--rose); margin-top: 1px; }
.feature-media { position: relative; }
.shot { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-2); background: var(--dark); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-media { order: 0; }
  .feature-copy h2 { max-width: none; }
}

/* tool chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-2);
  font-size: .86rem; font-weight: 600; color: var(--ink);
}
.chip svg { width: 15px; height: 15px; color: var(--ink-2); }
.dark .chip { background: var(--dark-2); border-color: var(--dark-line); color: var(--dark-ink); }
.dark .chip svg { color: var(--dark-ink-2); }

/* floating UI cards laid over photos */
.ui {
  position: absolute; background: var(--panel); border-radius: 16px; box-shadow: var(--shadow-2), 0 0 0 1px rgba(36,32,28,.06);
  padding: 14px 16px; font-size: .9rem; max-width: min(320px, 78%);
}
.ui-title { font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.ui-row:first-of-type { border-top: 0; }
.ui-row b { font-weight: 700; }
.ui-row .val { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ui-row .val.on { color: var(--accent); font-weight: 700; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-deep); font-weight: 700; font-size: .78rem; }

/* video size picker mock */
.sizes { display: grid; gap: 8px; }
.size { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 600; }
.size.on { border-color: var(--accent); background: var(--accent-soft); }
.size span:last-child { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.size.on span:last-child { color: var(--accent); }

/* chat mock */
.chat { display: grid; gap: 10px; }
.msg { display: grid; gap: 4px; }
.msg .who { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.msg .who b { color: var(--ink); }
.msg .bubble { background: var(--paper); border-radius: 12px; padding: 9px 12px; line-height: 1.4; font-size: .9rem; }
.msg .bubble .at { color: var(--rose-deep); font-weight: 700; }
.bell { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 12px; background: var(--dark); display: grid; place-items: center; box-shadow: var(--shadow-2); }
.bell svg { width: 20px; height: 20px; color: #fff; }
.bell i { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--rose); color: #fff; font: 700 .72rem/20px var(--font-body); text-align: center; padding: 0 5px; font-style: normal; }

/* offline stat */
.stat { display: grid; gap: 2px; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.stat .num small { font-size: .45em; color: var(--ink-2); letter-spacing: -.01em; margin-left: .15em; }
.stat .lab { color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; padding: 22px 0 4px; }

/* ---------- AI section (dark) ---------- */
.ai .sec-head { max-width: 820px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.step { position: relative; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-card); padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; }
.step .pin { font-family: var(--font-display); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--rose-light); letter-spacing: -.02em; }
.step h3 { color: var(--dark-ink); }
.step p { color: var(--dark-ink-2); font-size: .98rem; }
.step ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--dark-ink-2); font-size: .93rem; }
.step li { padding-left: 18px; position: relative; }
.step li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-light); }
.step li b { color: var(--dark-ink); font-weight: 700; }
/* The flow strip above carries the sequence; the 2×2 cards don't need arrows. */
.step .arrow { display: none; }
.step:last-child .arrow { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step .arrow { display: none; } }
.ai-foot { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.ai-media { width: 100%; border-radius: var(--r-card); overflow: hidden; min-height: 300px; aspect-ratio: 16/6; position: relative; }
.ai-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ai-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-card); padding: 26px; display: grid; gap: 14px; align-content: start; }
.ai-card .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -.02em; line-height: 1; color: #fff; }
.ai-card .num small { font-size: .42em; color: var(--dark-ink-2); font-weight: 700; letter-spacing: 0; margin-left: .2em; }
.ai-card p { color: var(--dark-ink-2); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .ai-foot { grid-template-columns: 1fr; } }
/* min-height + a 16:6 ratio forced the photo to 800px wide on phones, and the
   whole page scrolled sideways. Narrow screens get a taller ratio instead. */
@media (max-width: 760px) { .ai-media { aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- team ---------- */
.roles { display: grid; gap: 10px; }
.role { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.role .sw { width: 46px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; }
.role .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.role .sw.on { background: var(--accent); }
.role .sw.on::after { left: 23px; }
.role b { display: block; }
.role span { color: var(--ink-2); font-size: .9rem; }

/* ---------- pricing ---------- */
.pricing { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.price-card {
  position: relative; background: var(--paper); border-radius: 24px; padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-2); display: grid; gap: 18px;
}
.price-card .amount { display: flex; align-items: baseline; gap: 8px; }
.price-card .amount .cur { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; color: var(--ink-2); align-self: start; margin-top: .4em; }
.price-card .amount .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(4.2rem, 7vw, 5.8rem); letter-spacing: -.03em; line-height: .9; }
.price-card .amount .per { color: var(--ink-2); font-weight: 600; line-height: 1.2; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.price-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.price-card li svg { width: 22px; height: 22px; color: var(--rose); }
.price-card li b { font-weight: 700; }
.price-card .btn { width: 100%; }
.price-card .tag { position: absolute; top: -14px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--cream); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.calc { display: grid; gap: 22px; }
.calc-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; }
.calc-head label { font-weight: 700; font-size: 1.05rem; }
.calc-head output { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; letter-spacing: -.02em; line-height: 1; }
.calc-head output small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }
input[type=range].seats { width: 100%; height: 44px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
input[type=range].seats::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--accent) 0 var(--pct, 20%), var(--line-2) var(--pct, 20%) 100%); }
input[type=range].seats::-moz-range-track { height: 8px; border-radius: 4px; background: var(--line-2); }
input[type=range].seats::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--accent); }
input[type=range].seats::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -11px; box-shadow: var(--shadow-2); }
input[type=range].seats::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: var(--shadow-2); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center; }
.bar .who { font-weight: 700; font-size: .95rem; }
.bar .who small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.bar .track { height: 30px; border-radius: 8px; background: var(--paper); overflow: hidden; position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 40%); background: var(--line-2); border-radius: 8px; transition: width .35s cubic-bezier(.2,.7,.2,1); }
.bar.me .fill { background: var(--accent); }
.bar .amt { font-variant-numeric: tabular-nums; font-weight: 700; font-family: var(--font-body); font-size: 1.1rem; letter-spacing: -.01em; min-width: 5.2ch; text-align: right; }
.bar .amt small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--ink-3); letter-spacing: 0; }
.bar.me .amt { color: var(--ink); }
.save { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--rose-soft); border: 1px solid rgba(165,122,107,.35); }
.save .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.02em; line-height: 1; color: var(--rose-deep); }
.save p { color: var(--ink); font-size: .95rem; }
.save p b { color: var(--rose-deep); }
@media (max-width: 560px) { .save { grid-template-columns: 1fr; gap: 8px; } }
.also { display: flex; gap: 10px; align-items: flex-start; margin: 0 2px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.also svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rose); }
.also b { color: var(--ink); }
.foot-note { font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .bar { grid-template-columns: 110px 1fr auto; } }
@media (max-width: 480px) { .bar { grid-template-columns: 1fr auto; } .bar .track { grid-column: 1 / -1; order: 3; } }

/* ---------- compare table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--panel); }
table.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; background: var(--paper); position: sticky; top: 0; }
.cmp thead th:first-child { width: 28%; }
.cmp th.me, .cmp td.me { background: rgba(56,51,47,.05); }
.cmp thead th.me { background: var(--accent); color: var(--cream); }
.cmp tbody th { font-weight: 700; color: var(--ink); }
.cmp td { color: var(--ink-2); }
.cmp td.me { color: var(--ink); font-weight: 600; }
.cmp td small, .cmp th small { display: block; color: var(--ink-3); font-weight: 500; font-size: .8rem; margin-top: 2px; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.yes { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.yes svg { color: var(--rose); }
.yes svg { width: 18px; height: 18px; }
.no { color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--rose); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }
.faq details p a { color: var(--accent); font-weight: 600; text-decoration-color: var(--rose); text-underline-offset: 3px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 12vw, 160px) 0; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,28,25,.86) 0%, rgba(31,28,25,.58) 55%, rgba(31,28,25,.26) 100%); }
.cta .wrap { position: relative; display: grid; gap: 22px; max-width: 760px; margin-left: max(24px, (100% - var(--wrap)) / 2); }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
/* The photo reads light behind the copy (fog and sky), so the copy is dark ink. */
.cta p { color: var(--ink); font-weight: 600; font-size: 1.15rem; max-width: 34em; }
.cta .small { color: var(--ink); justify-self: start; padding: 8px 12px; border-radius: 10px; background: rgba(245,242,236,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- footer ---------- */
footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }
footer .brand { font-size: 1.05rem; color: var(--ink); }
footer .brand img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- install page ---------- */
.install-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 56px); }
.install-hero .wrap { display: grid; gap: 22px; max-width: 760px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--panel); font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: var(--cream); }
.panel[hidden] { display: none; }
.steps-list { counter-reset: s; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.steps-list li::before { content: counter(s); font-family: var(--font-display); font-weight: 500; font-size: 2.3rem; line-height: 1; color: var(--rose); }
.steps-list li b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.steps-list li span { color: var(--ink-2); }
.glyph { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line-2); vertical-align: -7px; margin: 0 2px; }
.glyph svg { width: 16px; height: 16px; }
.install-note { display: grid; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); border: 1px solid rgba(56,51,47,.18); }
.detected { font-weight: 700; color: var(--rose-deep); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .wrap { max-width: 760px; display: grid; gap: 22px; }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 0; display: grid; gap: 8px; }
.legal a { color: var(--accent); font-weight: 600; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.notice { padding: 14px 18px; border-radius: 14px; background: rgba(169,99,26,.12); border: 1px solid rgba(169,99,26,.3); color: #6a3f10; font-size: .95rem; }

/* Phones: the floating cards drop under their photo instead of hanging off it.
   Absolutely placed, a card taller than its photo (the crew switches) rose up
   over the copy above it. Inline offsets are per-card, hence !important. */
@media (max-width: 640px) {
  .feature-media .ui {
    position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    width: auto !important; max-width: none; margin: -32px 12px 0;
  }
}

/* ============ E-SIGNING (a compact band, not a full feature section) ============ */
@font-face { font-family: 'TRSigDancing'; src: url('/fonts/sig-dancing.woff2') format('woff2'); font-display: swap; }
.sign-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 18px;
  display: grid; gap: 6px; transform: rotate(-1.2deg);
}
.sign-top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sign-top b { color: var(--ink); }
.sign-top span { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.sign-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sign-name { font-family: 'TRSigDancing', 'Brush Script MT', cursive; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1.1; color: #2A2622; padding: 2px 6px 0; }
.sign-line { height: 1.5px; background: var(--ink-3); opacity: .5; margin-bottom: 8px; }
.sign-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-3); }
/* step 4: the signed-proposal card sits on the dark step like a sheet of paper */
.step-sign .sign-card { margin: 4px 4px 2px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.step-sign .sign-name { font-size: clamp(2rem, 4vw, 2.6rem); }
@media (max-width: 760px) { .step-sign .sign-card { transform: none; margin: 4px 0 2px; } }
/* Phones crop the photo to the house framing, which lands behind the copy. */
@media (max-width: 760px) {
  .cta p:not(.small) { justify-self: start; padding: 10px 14px; border-radius: 12px; background: rgba(245,242,236,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* ---------- AI section: the walk-to-signature flow strip ---------- */
.flow { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.flow::before { content: ''; position: absolute; top: 21px; left: 12%; right: 12%; height: 1.5px; background: linear-gradient(90deg, var(--rose-light), rgba(211,183,170,.3)); }
.flow li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 0 8px; }
.flow-pin {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--dark); border: 1.5px solid var(--rose-light); color: var(--rose-light);
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; position: relative; z-index: 1;
}
.flow li:last-child .flow-pin { background: var(--rose-light); color: var(--dark); }
.flow b { color: var(--dark-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.005em; }
.flow li > span:last-child { color: var(--dark-ink-2); font-size: .9rem; }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--rose-light), rgba(211,183,170,.3)); }
  .flow li { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; padding: 0; }
  .flow-pin { grid-row: span 2; margin: 0; }
  .flow b { align-self: end; }
}
