/* HyperForm — DesignerHQ-inspired grammar: Geist, near-white page, ink buttons, tight display type. */
:root {
  --bg: #fbfbfb; --card: #fff; --ink: #1c1c1c; --ink-2: #3a3a3a; --muted: #6b6b6b; --faint: #a3a3a3;
  --line: #ebebeb; --line-2: #dedede; --soft: #f3f3f3; --accent: #ff5a1f; --ok: #16a34a; --warn: #b45309;
  --r: 10px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;  /* hyper-visuals.com; see docs/design/TYPOGRAPHY.md */
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251,251,251,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; font-size: 17px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; }
.pills { display: flex; gap: 2px; padding: 3px; background: #f0f0f0; border-radius: 10px; margin: 0 auto; }
.pills a { padding: 5px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.pills a.on, .pills a:hover { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); color: var(--ink); }
.nav-r { display: flex; gap: 8px; align-items: center; }
/* website nav: quiet text links, one action. The app keeps the segmented .pills for its two sections. */
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { padding: 6px 11px; font-size: 14px; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .15s; }
.links a:hover { color: var(--ink); }
.more { align-self: center; font-size: 17px; color: var(--ink); text-decoration: none; padding: 0 6px; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-size: 14px; font-weight: 600; transition: transform .08s, opacity .15s; white-space: nowrap; }
.btn:hover { opacity: .88; } .btn:active { transform: scale(.98); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.sm { padding: 6px 11px; font-size: 14px; border-radius: 8px; }
.btn.lg { padding: 13px 20px; font-size: 17px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* type: Apple's hierarchy in Helvetica (docs/design/TYPOGRAPHY.md). Two weights, 400 and 600.
   Big type is set tight; 17px and smaller has no extra spacing. Labels are sentence case. */
.eyebrow { font: 600 14px/1.29 var(--font); color: var(--muted); }                       /* label */
p.eyebrow { font-size: 21px; line-height: 1.19; }                                        /* eyebrow above a headline */
.display { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; margin: 0; }   /* headline */
.h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.025em; margin: 0; }      /* section headline */
.h3 { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: -.015em; margin: 0; }                       /* title */
.lede { font-size: clamp(19px, 2vw, 21px); line-height: 1.38; color: var(--muted); max-width: 640px; margin: 20px auto 0; }  /* intro */
.eyebrow + .display, .eyebrow + .h2 { margin-top: 8px; }
b, strong { font-weight: 600; }  /* bold means semibold: two weights only */
.muted { color: var(--muted); } .faint { color: var(--faint); }
.mono { font-family: var(--mono); font-size: 12px; }

/* layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
section { padding: 96px 0; }
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--soft); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.chip.ink { background: var(--ink); color: #fff; }
.chip.accent { background: #fff1eb; color: #c2410c; }
.grid { display: grid; gap: 16px; }

/* svg visual frames */
.vis { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vis svg { display: block; width: 100%; height: 100%; }
.vis.dark { background: #141414; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 12px; line-height: 1.33; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .pills, .links { display: none; }
  .nav-r { margin-left: auto; }
  .nav-r .hide-sm { display: none; }
}

/* email sign-up (founding list, free guide) */
.wl { display: grid; gap: 8px; margin-top: 4px; }
.wl-row { display: flex; gap: 6px; }
.wl input[type=email] { flex: 1; min-width: 0; padding: 9px 12px; border: 0; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 17px; }
.wl input[type=email]:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.wl .wl-msg { margin: 0; font-size: 12px; line-height: 1.33; }
.wl .wl-msg.err { color: var(--warn); } .wl .wl-msg.ok { color: var(--ok); }
.wl-hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .wl-row { flex-direction: column; } }
