/* Wordnest marketing site — "Bright Collector" tokens from design/ds.jsx */
:root {
  --canvas: #F4F5F8;
  --surface: #FFFFFF;
  --sunken: #EEF0F5;
  --ink: #16181F;
  --ink2: #3C4150;
  --muted: #6B7184;
  --faint: #6A7083;
  --hair: rgba(20,24,31,0.08);
  --cobalt: #3A5BFF;
  --cobalt-dk: #2942C9;
  --cobalt-soft: #E7ECFF;
  --coral: #FF6B4A;
  --coral-dk: #E04A2B;
  --coral-soft: #FFE9E2;
  --emerald: #13A06B;
  --emerald-soft: #DBF4EA;
  --amber: #E8951F;
  --amber-soft: #FBEDD3;
  --shadow: 0 1px 2px rgba(20,24,31,0.04), 0 8px 24px -12px rgba(20,24,31,0.16);
  --shadow-lg: 0 2px 8px rgba(20,24,31,0.05), 0 28px 60px -28px rgba(20,24,31,0.30);
  --shadow-cobalt: 0 8px 22px -10px rgba(58,91,255,0.55);
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0E1018;
    --surface: #191D2A;
    --sunken: #0A0C13;
    --ink: #F3F5FC;
    --ink2: #C6CBDE;
    --muted: #979DB7;
    --faint: #838AA3;
    --hair: rgba(255,255,255,0.10);
    --cobalt-dk: #A6B5FF;
    --cobalt-soft: #1E2748;
    --coral-dk: #FFB099;
    --coral-soft: #3A2017;
    --emerald: #2FD193;
    --emerald-soft: #10271E;
    --amber: #F2B24E;
    --amber-soft: #322509;
    --shadow: 0 1px 2px rgba(0,0,0,0.5), 0 10px 28px -14px rgba(0,0,0,0.7);
    --shadow-lg: 0 2px 10px rgba(0,0,0,0.55), 0 30px 70px -30px rgba(0,0,0,0.85);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav { padding: 18px 0; }
nav .wrap { display: flex; align-items: center; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.wordmark:hover { text-decoration: none; }
nav .links { margin-left: auto; display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
nav .links a { color: var(--ink2); }

/* hero */
.hero { padding: 56px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero .cta-row { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.phone { border-radius: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--hair); max-width: 320px; margin: 0 auto; }

.badge-soon {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--canvas);
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .badge-soon { background: #F3F5FC; color: #16181F; } }
.pill-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cobalt); color: #fff;
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-cobalt);
  transition: transform .14s cubic-bezier(.2,.7,.3,1);
}
.pill-btn:hover { text-decoration: none; transform: translateY(-1px); }
.pill-btn:active { transform: scale(.97); }

/* sections */
section { padding: 72px 0; }
.section-h { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; max-width: 22ch; }
.section-sub { margin-top: 14px; color: var(--muted); max-width: 58ch; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > .txt { order: 2; }
.split h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.split p { margin-top: 14px; color: var(--muted); }
.kicker { display: inline-flex; background: var(--cobalt-soft); color: var(--cobalt-dk); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.kicker.coral { background: var(--coral-soft); color: var(--coral-dk); }

/* tile grid */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.tile { border-radius: 24px; padding: 28px; box-shadow: var(--shadow); background: var(--surface); }
.tile h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile.big { grid-column: span 3; }
.tile.small { grid-column: span 2; }
.tile.cobalt { background: var(--cobalt-soft); }
.tile.cobalt h3 { color: var(--cobalt-dk); }
.tile.coral { background: var(--coral-soft); }
.tile.coral h3 { color: var(--coral-dk); }
.tile.emerald { background: var(--emerald-soft); }
.tile.emerald h3 { color: var(--emerald); }

/* privacy band */
.band { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.band .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: baseline; color: var(--ink2); }
.band li::before { content: "✓"; color: var(--emerald); font-weight: 700; }

/* pricing */
.price-line { text-align: center; }
.price-line .plans { margin-top: 26px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.plan { background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; padding: 18px 26px; box-shadow: var(--shadow); }
.plan .amt { font-family: var(--display); font-weight: 800; font-size: 24px; }
.plan .per { color: var(--faint); font-size: 14px; }
.plan.featured { border: 1.5px solid var(--cobalt); }
.plan .trial { color: var(--cobalt-dk); font-size: 13.5px; font-weight: 600; }

/* footer */
footer { padding: 48px 0 64px; border-top: 1px solid var(--hair); margin-top: 48px; }
footer .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .fine { color: var(--faint); font-size: 14px; }
footer .links { margin-left: auto; display: flex; gap: 20px; font-size: 14.5px; font-weight: 600; }

/* prose pages (support / privacy) */
.prose { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.prose h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; margin-bottom: 10px; }
.prose .lede { color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.prose h2 { font-size: 23px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink2); }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.card { background: var(--surface); border-radius: 24px; padding: 26px 30px; box-shadow: var(--shadow); margin: 22px 0; }
.card p { margin: 0; }
details { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 22px; margin: 12px 0; }
details summary { font-weight: 700; cursor: pointer; font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
details p { margin-top: 10px; }
.eff { color: var(--faint); font-size: 14px; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .up { animation: wnUp .62s cubic-bezier(.22,.68,.3,1) both; animation-delay: var(--d, 0ms); }
  @keyframes wnUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 820px) {
  .hero .wrap, .split, .band .inner { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > .txt { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile.big, .tile.small { grid-column: span 1; }
  .hero { padding: 32px 0 56px; }
  section { padding: 52px 0; }
}
