/* Nod · nodhq.ai. Butter, plum and cream; one buddy face. */
:root {
  --bg: #fff7ea; --bg2: #fcefd9; --card: #ffffff; --ink: #2b2238; --mute: #7d7181; --line: #f0e4d2;
  --butter: #ffcf4a; --butter-soft: #fff0c2; --plum: #2b2238; --lilac: #b9a4ff; --lilac-soft: #eee8ff;
  --mint: #7fd3a6; --mint-soft: #ddf5e8; --sky: #8ec5ff; --sky-soft: #e1efff; --peach: #ffb199; --peach-soft: #ffe9e1;
  --btn: #2b2238; --btn-fg: #fff7ea; --shadow: 0 1px 2px rgba(90, 60, 30, .06), 0 18px 50px rgba(90, 60, 30, .10);
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1726; --bg2: #251e33; --card: #2c2440; --ink: #fff4e2; --mute: #ab9fb8; --line: rgba(255, 255, 255, .08);
    --butter-soft: rgba(255, 207, 74, .16); --lilac-soft: rgba(185, 164, 255, .16); --mint-soft: rgba(127, 211, 166, .15);
    --sky-soft: rgba(142, 197, 255, .15); --peach-soft: rgba(255, 177, 153, .15);
    --btn: #ffcf4a; --btn-fg: #2b2238; --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .round { font-family: var(--round); letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(52px, 8vw, 104px); font-weight: 900; }
h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 850; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--mute); max-width: 560px; }
.kicker { font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mute { color: var(--mute); }
.mark { background: var(--butter); color: #2b2238; padding: 0 .16em; border-radius: .16em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
section { padding: 110px 0; }
.card { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn); color: var(--btn-fg); font-weight: 750; font-size: 16px; border-radius: 999px;
  padding: 13px 22px 13px 14px; border: none; cursor: pointer; font-family: var(--sans); transition: transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.plain { padding: 13px 22px; }
.btn .face { width: 26px; height: 26px; }
.ghost { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); padding: 13px 16px; border-radius: 999px; background: var(--bg2); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.c-butter { background: var(--butter-soft); color: #8a5e00; } .c-lilac { background: var(--lilac-soft); color: #6b4fd8; } .c-mint { background: var(--mint-soft); color: #23845a; }
.c-sky { background: var(--sky-soft); color: #2f6fb8; } .c-peach { background: var(--peach-soft); color: #b8573a; } .c-grey { background: var(--bg2); color: var(--mute); }
@media (prefers-color-scheme: dark) {
  .c-butter { color: #ffd76a; } .c-lilac { color: #c9b8ff; } .c-mint { color: #8fe0b5; } .c-sky { color: #a9d3ff; } .c-peach { color: #ffc2ad; }
}
.nb { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--butter); color: #2b2238;
  font-weight: 900; font-size: 12.5px; flex: none; font-family: var(--round); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft); color: #23845a; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.face { display: inline-block; flex: none; }
.face.nodding { animation: nod 4.5s ease-in-out infinite; transform-origin: 50% 70%; }
@keyframes nod { 0%, 70%, 100% { transform: none; } 75% { transform: translateY(8%) scaleY(.92); } 80% { transform: none; } 85% { transform: translateY(8%) scaleY(.92); } 90% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .face.nodding { animation: none; } html { scroll-behavior: auto; } }

/* nav */
nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 900; font-size: 28px; letter-spacing: -0.05em; }
.logo .face { width: 34px; height: 34px; }
nav .links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--mute); }
nav .links a:hover { color: var(--ink); }
nav .btn { font-size: 15px; padding: 10px 18px; }

/* hero */
.hero { padding: 70px 0 90px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -200px -10% auto auto; width: 70%; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, var(--butter-soft), transparent), radial-gradient(closest-side at 80% 70%, var(--lilac-soft), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 26px; }
.hero .cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--mute); }
.desk { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / .92; box-shadow: var(--shadow);
  background: radial-gradient(500px 400px at 10% 0%, #ffe6a6, transparent 60%), radial-gradient(500px 400px at 100% 100%, #e6dcff, transparent 60%), #fff3df; }
@media (prefers-color-scheme: dark) { .desk { background: radial-gradient(500px 400px at 10% 0%, #3d2f63, transparent 60%), radial-gradient(500px 400px at 100% 100%, #4a3420, transparent 60%), #17121f; } }
.menubar { height: 30px; display: flex; align-items: center; gap: 14px; padding: 0 14px; font-size: 12.5px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.menubar .pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 207, 74, .35); border-radius: 999px; padding: 2px 9px 2px 3px; font-weight: 800; }
.menubar .face { width: 20px; height: 20px; }
.ghostwin { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(40, 25, 60, .14); padding: 34px 16px 12px; }
.ghostwin::before { content: ""; position: absolute; left: 12px; top: 12px; width: 44px; height: 10px; border-radius: 5px; background: radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 4.5px), radial-gradient(circle at 20px 5px, #febc2e 4px, transparent 4.5px), radial-gradient(circle at 35px 5px, #28c840 4px, transparent 4.5px); }
.ghostwin i { display: block; height: 9px; border-radius: 5px; background: #eee; margin-top: 9px; }
.bubble { position: absolute; right: 12px; top: 40px; width: min(400px, 86%); padding: 20px 22px; border-radius: 22px; background: var(--card); box-shadow: 0 24px 60px rgba(40, 25, 60, .22); }
.bubble::before { content: ""; position: absolute; top: -7px; right: 30px; width: 16px; height: 16px; background: var(--card); transform: rotate(45deg); border-radius: 3px; }
.bubble .who { display: flex; align-items: center; gap: 10px; }
.bubble .who .face { width: 38px; height: 38px; }
.bubble h3 { font-size: 24px; margin-top: 12px; }
.bubble .src { margin-top: 10px; position: relative; }
.bubble .src::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 3px dotted var(--butter); }
.bubble .src div { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13.5px; position: relative; }
.bubble .so { margin-top: 10px; background: var(--butter-soft); border-radius: 14px; padding: 11px 13px; font-weight: 700; font-size: 14.5px; }
.bubble .acts { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.bubble .acts .btn { font-size: 14px; padding: 8px 14px 8px 9px; }
.bubble .acts .btn .face { width: 22px; height: 22px; }

/* apps strip */
.apps { padding: 30px 0 0; }
.apps .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.apps .chip { font-size: 15px; padding: 8px 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); }

/* steps */
.head { max-width: 760px; }
.head p { margin-top: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.steps .card { padding: 30px 28px 32px; }
.steps .face { width: 84px; height: 84px; }
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 8px; color: var(--mute); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
.list { margin-top: 26px; display: grid; gap: 14px; }
.list div { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }

/* connect-the-dots card */
.dots { padding: 30px; position: relative; }
.dots .row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); font-size: 15.5px; position: relative; }
.dots .row + .row { margin-top: 26px; }
.dots .row + .row::before { content: ""; position: absolute; left: 27px; top: -26px; height: 26px; border-left: 3px dotted var(--butter); }
.dots .eq { margin-top: 22px; display: flex; gap: 14px; align-items: center; background: var(--butter-soft); border-radius: 18px; padding: 18px; }
.dots .eq .face { width: 48px; height: 48px; }

/* maps card */
.weeks { display: flex; gap: 6px; margin-top: 16px; }
.weeks div { flex: 1; text-align: center; font-size: 11.5px; font-weight: 650; color: var(--mute); }
.weeks div::before { content: ""; display: block; height: 8px; border-radius: 4px; background: var(--butter); margin-bottom: 6px; }
.plan div { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan div:first-child { border-top: none; }
.plan .chip { min-width: 46px; justify-content: center; }

/* privacy grid */
.privacy { background: var(--plum); color: #fff4e2; border-radius: 40px; margin: 0 16px; }
.privacy .kicker, .privacy .mute, .privacy .lead { color: #b9adc5; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.pgrid .card { background: #362c47; box-shadow: none; padding: 26px; color: #fff4e2; }
.pgrid .card p { color: #c6bad2; margin-top: 8px; font-size: 15.5px; }
.pgrid .face { width: 46px; height: 46px; }
.pgrid h3 { margin-top: 14px; font-size: 20px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; gap: 2px; margin-top: 14px; }
.seg span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: #c6bad2; }
.seg span.on { background: var(--butter); color: #2b2238; }
.seg span.yes { background: var(--mint); color: #12392a; } .seg span.no { background: #5a4d70; color: #fff4e2; }
.ctl { margin-top: 12px; display: grid; gap: 6px; font-size: 13.5px; }
.ctl div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ctl .seg { margin-top: 0; }

/* week */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.stats .card { padding: 26px 28px; }
.stats b { font-family: var(--round); font-size: 54px; font-weight: 900; letter-spacing: -0.04em; display: block; line-height: 1; }
.stats span { color: var(--mute); font-weight: 600; display: block; margin-top: 8px; }

/* macs */
.macs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.laptop .scr { background: #121016; border-radius: 14px 14px 4px 4px; padding: 8px; }
.laptop .in { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background: radial-gradient(200px 150px at 10% 0%, #ffe6a6, transparent 60%), radial-gradient(200px 150px at 100% 100%, #e6dcff, transparent 60%), #fff3df; }
.laptop .bar { height: 16px; background: rgba(255, 250, 240, .75); display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 6px; font-size: 8px; color: #2b2238; }
.laptop .bar .face { width: 12px; height: 12px; }
.laptop .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18%; height: 16px; background: #000; border-radius: 0 0 6px 6px; }
.laptop .tip { position: absolute; right: 6px; top: 22px; background: #fff; color: #2b2238; border-radius: 10px; padding: 7px 9px; font-size: 10.5px; font-weight: 700; box-shadow: 0 8px 20px rgba(40, 25, 60, .2); }
.laptop .base { height: 12px; margin: 0 -22px; border-radius: 0 0 16px 16px; background: linear-gradient(#d9d4dc, #bdb6c2); }
.laptop h3 { margin-top: 24px; font-size: 19px; }
.laptop p { color: var(--mute); margin-top: 4px; font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin: 44px auto 0; }
details { border-top: 1px solid var(--line); padding: 22px 4px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--round); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--mute); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--mute); font-size: 17px; max-width: 700px; }

/* final */
.final { text-align: center; }
.final .face { width: 120px; height: 120px; }
.final h2 { margin-top: 24px; }
.final .lead { margin: 18px auto 0; }
form.wait { display: flex; gap: 8px; justify-content: center; margin: 34px auto 0; max-width: 480px; background: var(--card); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
form.wait input { flex: 1; min-width: 0; border: none; background: transparent; padding: 0 18px; font-size: 16px; color: var(--ink); font-family: var(--sans); outline: none; }
.final .fine { margin-top: 14px; font-size: 14px; color: var(--mute); }

footer { padding: 50px 0 60px; color: var(--mute); font-size: 14.5px; }
footer .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
footer .logo { font-size: 22px; color: var(--ink); }
footer .logo .face { width: 26px; height: 26px; }
footer .r { margin-left: auto; display: flex; gap: 22px; }

@media (max-width: 900px) {
  nav .links { display: none; }
  nav .btn { margin-left: auto; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .steps, .pgrid, .stats, .macs { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .privacy { border-radius: 28px; margin: 0 10px; }
  .desk { aspect-ratio: auto; padding-bottom: 14px; }
  .desk .ghostwin { display: none; }
  .bubble { position: relative; top: auto; right: auto; margin: 14px auto 0; width: calc(100% - 28px); }
  .bubble::before { right: 18px; }
}
@media (prefers-color-scheme: dark) { .privacy { background: #251d36; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); } .pgrid .card { background: #30264a; } }
@media (max-width: 520px) {
  .bubble { right: 8px; left: 8px; width: auto; padding: 16px; }
  .bubble h3 { font-size: 20px; }
  .bubble .src div { font-size: 12.5px; }
  .bubble .acts .ghost { display: none; }
  form.wait { flex-direction: column; border-radius: 22px; }
  form.wait input { padding: 14px 16px; }
  footer .r { margin-left: 0; }
}
