/* Split layout. Big serif line on the left, one question on the right, dots + back. */
/* Type = the real 1Helm app's faces (Instrument Sans for UI/body, Instrument Serif for display), so the first thing a
   new person sees already looks like the product they land in. Self-hosted, latin subset. */
@font-face{font-family:"Instrument Sans";src:url("/fonts/instrument-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("/fonts/instrument-serif.woff2") format("woff2");font-weight:400;font-display:swap}
:root{--sans:"Instrument Sans",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;--serif:"Instrument Serif","Iowan Old Style",Georgia,serif;font-family:var(--sans)}
.split{display:grid;grid-template-columns:minmax(320px,44%) 1fr;min-height:100dvh}
.left{position:relative;padding:28px 40px;display:flex;flex-direction:column}
.mark{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--ink);text-decoration:none;font-size:15px}.mark img{width:26px;height:26px}
.left h1{font:400 44px/1.12 var(--serif);letter-spacing:-.01em;margin:13vh 0 0;max-width:12em}
.left h1 img{width:52px;height:52px;vertical-align:-10px;margin:0 2px}
#leftx{margin-top:28px;color:var(--mute);max-width:26em}
.lfoot{margin-top:auto;display:flex;gap:18px;font-size:12.5px;color:var(--faint)}
.right{background:var(--sheet);display:flex;flex-direction:column;min-height:100dvh;box-shadow:-1px 0 0 var(--line)}
.rtop{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 22px;flex:none}
.back{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--mute)}.back:hover{background:var(--hover);color:var(--ink)}.back[hidden]{visibility:hidden;display:grid}
.rsp{width:36px}
.dots{display:flex;gap:6px}.dots i{width:6px;height:6px;border-radius:50%;background:var(--line2);transition:background .2s,width .2s}.dots i.on{background:var(--ink)}.dots i.cur{width:18px;border-radius:3px;background:var(--ink)}
.rbody{flex:1;overflow:auto;padding:28px 56px 32px;max-width:700px;width:100%;animation:v1in .28s ease}
@keyframes v1in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.rbody h2{font:400 30px/1.2 var(--serif);margin:0 0 8px}.rbody .lead{color:var(--mute);margin:0 0 28px;max-width:34em}
.rfoot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-top:1px solid var(--line)}
.rfoot .pbtn{min-width:180px}
.stack{display:grid;gap:12px;max-width:400px}
.list{display:grid;gap:14px;margin:0 0 8px;padding:0;list-style:none}.list li{display:flex;gap:14px;align-items:flex-start;color:var(--ink2)}
.list svg{flex:none;color:var(--mute);margin-top:2px}.list b{font-weight:600;color:var(--ink)}
.addr{font-size:13.5px;color:var(--mute);margin-top:10px}.addr b{color:var(--ink);font-weight:600}.addr button{color:var(--accent);font-weight:550;margin-left:6px}
.hero{display:flex;align-items:center;gap:22px;padding:22px;border-radius:24px;background:var(--page);margin:0 0 18px}
.hero .avt{width:118px;height:118px;flex:none;background:var(--sheet)}.hero input{font:400 30px/1.2 var(--serif);border:0;border-bottom:1.5px dashed var(--line2);background:none;outline:0;width:100%;padding:2px 0}
.hero input:focus{border-bottom-color:var(--ink)}.hero p{margin:6px 0 0;color:var(--mute);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px}
.grid button{aspect-ratio:1;border-radius:20px;background:var(--page);display:grid;place-items:center;transition:transform .12s}.grid button img{width:78%}
.grid button:hover{transform:translateY(-2px)}.grid button.on{box-shadow:0 0 0 2px var(--ink);background:var(--sheet)}
.opt{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;box-shadow:0 0 0 1px var(--line);margin:0 0 10px}
.opt .oi{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--page);flex:none}
.opt div{flex:1}.opt b{display:block;font-weight:600}.opt span{font-size:13.5px;color:var(--mute)}
.opt .sbtn{min-height:36px;height:auto;padding:6px 16px;line-height:1.25;border-radius:999px;box-shadow:0 0 0 1px var(--line2);font-weight:600;font-size:14px}.opt .sbtn:hover{box-shadow:0 0 0 1px var(--ink2)}
.opt .done{color:var(--live);font-weight:600;font-size:14px}
.slabel.gapps{margin:18px 0 8px}.opt .oi{position:relative;overflow:hidden}.opt .oi>b{font-weight:600;font-size:15px;color:var(--mute)}
/* App logo: 1HC's cached /applogo/<app> fades in over the app's initial once loaded; on error it removes itself and the initial stays. */
.opt .oi img{position:absolute;inset:0;margin:auto;display:block;width:22px;height:22px;object-fit:contain;background:var(--page);opacity:0;transition:opacity .18s ease-out}.opt .oi img.in{opacity:1}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.plan{position:relative;padding:20px 18px;border-radius:20px;box-shadow:0 0 0 1px var(--line);text-align:left;display:flex;flex-direction:column;gap:6px}
.plan:hover{box-shadow:0 0 0 1px var(--line2)}.plan.on{box-shadow:0 0 0 2px var(--ink)}
.plan b{font-weight:650}.plan .pr{font:400 30px/1.1 var(--serif)}.plan .pr small{font:13px var(--sans);color:var(--mute)}.plan span{font-size:13.5px;color:var(--mute)}
.plan em{position:absolute;top:-10px;left:16px;font-style:normal;font-size:11.5px;font-weight:650;background:var(--ink);color:var(--sheet);padding:2px 9px;border-radius:999px}
.starter{display:flex;align-items:center;gap:12px;width:100%;padding:13px 4px;border-bottom:1px solid var(--line);text-align:left;color:var(--ink2)}
.starter .ck{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);display:grid;place-items:center;flex:none;color:transparent}
.starter.on{color:var(--ink);font-weight:550}.starter.on .ck{background:var(--ink);box-shadow:none;color:var(--sheet)}
.tbox{border-radius:20px;box-shadow:0 0 0 1px var(--line2),var(--shadow);padding:6px 6px 6px 16px;display:flex;align-items:flex-end;gap:8px;margin:0 0 22px;background:var(--sheet)}
.tbox textarea{flex:1;border:0;outline:0;resize:none;background:none;min-height:52px;padding:12px 0;font-size:16px;line-height:1.45}
.slabel{font-size:12.5px;font-weight:600;color:var(--mute);margin:0 0 4px}
.qr{width:150px;height:150px;border-radius:16px;background:repeating-conic-gradient(var(--ink) 0 25%,var(--sheet) 0 50%) 0 0/18px 18px;opacity:.85;margin:6px 0 10px}
@media (max-width:900px){.split{grid-template-columns:1fr}.left{padding:18px 20px 0}.left h1{font-size:28px;margin:18px 0 0}#leftx,.lfoot{display:none}
  .right{box-shadow:none;min-height:auto;flex:1}.rbody{padding:18px 20px 24px}.rbody h2{font-size:24px}.plans{grid-template-columns:1fr}.rfoot{position:sticky;bottom:0;background:var(--sheet)}.rfoot .pbtn{flex:1}.hero .avt{width:84px;height:84px}}

/* the prototype's step menu lives top-right, never over "Privacy · Terms" or content */
.kdev{top:14px;right:14px;left:auto;bottom:auto}.kdev .kp{top:36px;bottom:auto;left:auto;right:0}
@media (max-width:900px){.kdev{position:absolute;top:16px}}
@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr)}.left,.right,.rbody,.rfoot{min-width:0}.rfoot{padding:12px 16px}.rfoot .pbtn{min-width:0}.rfoot .qbtn{padding:0 8px}}
/* Live links: match the design's quiet grey text, never browser-blue. */
.lfoot a,.fine a{color:var(--mute);text-decoration:none;transition:color .15s}
.lfoot a{color:var(--faint)}.lfoot a:hover,.fine a:hover{color:var(--ink)}
.fine a{text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:2px}.fine a:hover{text-decoration-color:currentColor}
/* Address step: one field with a fixed ".1helm.com" suffix, same look as .field input. */
.addr{display:flex;align-items:center;height:50px;border-radius:14px;border:1px solid var(--line2);background:var(--sheet);overflow:hidden}
.addr:focus-within{border-color:var(--ink2);box-shadow:0 0 0 3px color-mix(in srgb,var(--ink) 8%,transparent)}
.field .addr input{flex:1;min-width:0;height:100%;border:0;border-radius:0;box-shadow:none!important;padding:0 2px 0 16px;background:none}
.addr b{padding:0 16px 0 2px;color:var(--mute);font-weight:500;font-size:16px;white-space:nowrap}
#slugnote{min-height:1.5em;margin:8px 2px 0}
.field .addr input{color:var(--ink)}.field .addr input::placeholder{color:var(--faint)}
/* Get to know you: the last screen's little preview of a question. */
.hero.know .avt{width:88px;height:88px}.hero.know h2{font:400 28px/1.15 var(--serif)}
.kprev{margin:6px 0 14px;padding:16px 18px;border-radius:20px;box-shadow:0 0 0 1px var(--line);background:var(--sheet);display:grid;gap:10px;pointer-events:none}
.kprev b{font-weight:600;font-size:15px}.kprev .chip{font-size:13.5px;padding:7px 12px}
@media (max-width:767px){.hero.know{gap:16px;padding:16px}.hero.know .avt{width:64px;height:64px}.hero.know h2{font-size:23px}}
/* Sign-in code: one input drawn as six boxes. */
.otp label{display:block;font-size:13px;font-weight:550;color:var(--ink2);margin:0 0 6px}
.otp .boxes{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,52px));gap:8px}
.otp .boxes i{height:56px;display:grid;place-items:center;border:1px solid var(--line2);border-radius:14px;background:var(--sheet);font:600 24px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-style:normal;color:var(--ink);transition:border-color .12s,box-shadow .12s}
.otp .boxes i.cur{border-color:var(--ink);box-shadow:0 0 0 3px rgba(28,27,25,.08)}
.otp.bad .boxes i{border-color:#dc2626}.otp.busy .boxes i{opacity:.55}
.otp .boxes input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:.011;background:transparent;color:transparent;caret-color:transparent;font-size:16px;letter-spacing:40px;outline:0;box-shadow:none}
.otp .boxes input::selection{background:transparent}
.otpmsg{color:#b91c1c!important}
.otprow{display:flex;flex-wrap:wrap;gap:4px 8px;margin:4px 0 0 -8px}.otprow .qbtn{white-space:nowrap}.otprow .qbtn.hot{color:var(--ink);font-weight:650}.otprow .qbtn[disabled]{opacity:.6;cursor:default}

/* AI data privacy step: three radio cards, text always wraps (never truncated), full width on phones */
.privcards{display:grid;gap:10px;max-width:560px}
.privcard{display:flex;align-items:flex-start;gap:14px;width:100%;text-align:left;padding:16px 18px;border-radius:18px;box-shadow:0 0 0 1px var(--line);background:var(--sheet);color:var(--ink2);transition:box-shadow .15s}
.privcard:hover{box-shadow:0 0 0 1px var(--line2)}.privcard.on{box-shadow:0 0 0 2px var(--ink)}.privcard:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.privcard .rk{flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line2);display:grid;place-items:center}
.privcard.on .rk{box-shadow:inset 0 0 0 6px var(--ink)}
.privcard .pt{flex:1;min-width:0}.privcard b{display:block;font-weight:600;color:var(--ink);margin:0 0 3px;white-space:normal}.privcard .pt span{display:block;font-size:13.5px;line-height:1.45;color:var(--mute);white-space:normal;overflow-wrap:anywhere}
.privnote{max-width:560px;margin-top:16px}
/* The 18+ attestation on the account step: a plain checkbox above the submit. */
.agebox{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14.5px;color:var(--ink2);cursor:pointer}.agebox input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--ink);cursor:pointer}.agebox input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Stacked layout (900px and narrower): the brand shrinks to its icon and sits in the top right, on the same row as the big line
   (or, on the plan step, on the back and progress row), so the page header takes one row, not a row of brand plus a banner plus a row of dots.
   Landscape phones get a smaller bar for the pay button. */
@media (max-width:900px){
  .split{position:relative;grid-template-rows:auto 1fr}
  .mark{position:absolute;top:15px;right:16px;font-size:0;gap:0;z-index:3}
  .left{padding:12px 56px 12px 20px}.left h1{margin:0;font-size:26px}
  .rtop{height:52px;padding:0 16px}
  .rbody{padding:12px 20px 24px}
  body.longread .left{padding:0}
  body.longread .left h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.longread .mark{top:13px}
  body.longread .rbody{max-width:none;padding:2px 20px 16px}
}
@media (max-width:900px) and (max-height:600px){
  .rfoot{padding:8px 16px}.rfoot .pbtn{min-height:42px}
  .rtop{height:44px}body.longread .mark{top:9px}
}
/* Phone apps: the page fills the whole screen, under the phone clock and battery, so the header starts below them
   (env(safe-area-inset-*) is 0 in a browser tab, so nothing moves there). Same for the pay bar above the home indicator. */
@media (min-width:901px){
  .left{padding-top:calc(28px + env(safe-area-inset-top,0px))}
  .rtop{height:calc(60px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
  .rfoot{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:900px){
  .left{padding-top:calc(12px + env(safe-area-inset-top,0px))}
  .mark{top:calc(15px + env(safe-area-inset-top,0px))}
  body.longread .left{padding-top:env(safe-area-inset-top,0px)}
  body.longread .mark{top:calc(13px + env(safe-area-inset-top,0px))}
  .rfoot{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:900px) and (max-height:600px){
  body.longread .mark{top:calc(9px + env(safe-area-inset-top,0px))}
  .rfoot{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
}
