/* First Yes public site: white, calm, one action per screen. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FFFFFF; --ink: #0E0E10; --muted: #5F5F68; --faint: #8A8A93; --line: #E7E7EC; --soft: #F5F5F7;
  --orange: #E85D1F; --yellow: #F5C33B; --blue: #2E62E0; --black: #0E0E10;
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--f); -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 32px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; min-height: 44px; }
.logo { width: 22px; height: 22px; position: relative; flex: none; }
.logo::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: conic-gradient(from 200deg, var(--orange), var(--yellow), var(--blue), var(--orange)); }
.logo::after { content: ""; position: absolute; left: -2px; right: -2px; top: 8px; height: 6px; border: 1.5px solid var(--ink); border-radius: 50%; transform: rotate(-20deg); }
.top nav { display: flex; gap: 6px; align-items: center; font-size: .93rem; }
.top nav a { color: var(--muted); padding: 10px 12px; border-radius: 10px; }
.top nav a:hover { color: var(--ink); background: var(--soft); }
.top nav a[aria-current="page"] { color: var(--ink); }
.top nav a.in { color: var(--ink); font-weight: 500; }

main { flex: 1; position: relative; overflow-x: clip; }
.center { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px 24px 48px; }

/* The planet glow behind the page */
.orb { position: absolute; left: 50%; top: 46%; width: 560px; height: 560px; translate: -50% -50%; pointer-events: none; z-index: 0; }
.orb .glow { position: absolute; inset: 70px; border-radius: 50%; background: conic-gradient(from 210deg, var(--orange), var(--yellow) 25%, #fff 40%, var(--blue) 58%, var(--black) 70%, var(--orange) 100%); filter: blur(60px); opacity: .36; }
.orb .ring { position: absolute; left: -30px; right: -30px; top: 50%; height: 150px; margin-top: -75px; border: 1px solid rgba(14, 14, 16, .2); border-radius: 50%; transform: rotate(-16deg); }
.orb .moon { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); left: -22px; top: 318px; }
.orb.small { width: 380px; height: 380px; top: 0; }
.orb.small .moon { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .orb .glow { animation: drift 14s ease-in-out infinite alternate; }
  .orb .ring { animation: tilt 18s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: rotate(40deg) scale(1.05); } }
@keyframes tilt { to { transform: rotate(-9deg); } }

/* Type */
h1 { font-weight: 600; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.g { background: linear-gradient(90deg, var(--orange), #D98A0B 45%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 32rem; }
.hint { color: var(--faint); font-size: .9rem; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: #fff; font: 500 .98rem var(--f); border: 0; cursor: pointer; }
.btn:hover { background: #2A2A30; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft); }
.link { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--orange); padding-bottom: 1px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.85); padding: 6px 12px 6px 9px; border-radius: 999px; }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(232, 93, 31, .14); }

/* Home */
.hero { position: relative; z-index: 1; width: min(640px, 100%); display: grid; gap: 22px; justify-items: center; text-align: center; padding-top: 40px; }
.ask { width: 100%; background: rgba(255,255,255,.93); border: 1px solid var(--line); border-radius: 20px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 50px -24px rgba(14,14,16,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--f); color: var(--ink); padding: 10px 0; outline: none; }
.ask input::placeholder { color: var(--faint); }
.ask:focus-within { border-color: #CFCFD6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { font: 400 .9rem var(--f); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; cursor: pointer; min-height: 40px; }
.chip:hover { color: var(--ink); border-color: #CFCFD6; }
.path { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--faint); flex-wrap: wrap; justify-content: center; }
.path i { font-style: normal; color: #C9C9D0; }

/* Footer: the questions live here */
.foot { display: flex; justify-content: center; gap: 6px 22px; padding: 22px 20px 26px; font-size: .86rem; color: var(--faint); flex-wrap: wrap; position: relative; z-index: 1; }
.foot a { padding: 6px 0; }
.foot a:hover { color: var(--ink); }
.legal { display: flex; justify-content: center; gap: 18px; padding: 0 20px 22px; font-size: .78rem; color: var(--faint); flex-wrap: wrap; }

/* Guided flow */
.flow { position: relative; z-index: 1; width: min(560px, 100%); display: grid; gap: 22px; padding-top: 30px; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.progress i.on { background: var(--ink); }
.step-n { font-size: .84rem; color: var(--muted); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; font: 500 1rem var(--f); color: var(--ink); display: flex; gap: 10px; align-items: center; text-align: left; cursor: pointer; min-height: 54px; }
.opt:hover { border-color: #CFCFD6; }
.opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt b { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font: 400 1.1rem var(--f); color: var(--ink); background: #fff; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back { color: var(--muted); font: 400 .95rem var(--f); background: none; border: 0; cursor: pointer; padding: 12px 4px; }
.back:hover { color: var(--ink); }

.result { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 16px; box-shadow: 0 30px 60px -36px rgba(14,14,16,.3); }
.lab { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.big { font-weight: 600; font-size: 1.65rem; line-height: 1.1; letter-spacing: -.03em; }
.mini { display: grid; gap: 10px; }
.mini > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: .96rem; font-weight: 500; }
.mini b { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 7px; }
.mini em { font-style: normal; color: var(--muted); display: block; font-size: .9rem; font-weight: 400; }

/* Question pages */
.qpage { position: relative; z-index: 1; width: min(620px, 100%); display: grid; gap: 22px; padding-top: 16px; }
.answer { font-size: 1.25rem; line-height: 1.5; }
.list { display: grid; gap: 10px; padding: 0; list-style: none; }
.list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; border-radius: 16px; background: var(--soft); }
.list li b { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
.list li span em { display: block; font-style: normal; color: var(--muted); font-size: .92rem; }
.steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; background: var(--soft); counter-increment: s; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; }
.steps li span em { display: block; font-style: normal; color: var(--muted); font-size: .94rem; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qcard { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 500; min-height: 60px; }
.qcard:hover { border-color: #CFCFD6; }
.qcard .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.qcard .arr { margin-left: auto; color: var(--faint); }
details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; background: #fff; }
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 500; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 14px; }
details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.founder { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 18px; border: 1px solid var(--line); }
.founder img, .founder .pic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--soft); display: grid; place-items: center; font-weight: 600; }
.founder p { color: var(--muted); }
.founder p.sig { color: var(--ink); font-weight: 500; margin-top: 6px; }

@media (max-width: 700px) {
  .top { padding: 14px 16px; }
  .top nav a:not(.in) { display: none; }
  .center { padding: 10px 16px 32px; }
  .hero { padding-top: 24px; }
  .orb { width: 420px; height: 420px; top: 40%; }
  .orb .moon { display: none; }
  .ask { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
  .ask input { padding: 6px 6px; }
  .chips .chip:nth-child(n+4):not(:last-child) { display: none; }
  .path { font-size: .8rem; gap: 6px; }
  .opts, .qgrid { grid-template-columns: minmax(0, 1fr); }
  .big { font-size: 1.45rem; }
  .answer { font-size: 1.12rem; }
}
