:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;font-synthesis:none;--wp-err:#ff8a8a;--bg:#080a10;--panel:#10131c;--line:#ffffff20;--text:#fff;--muted:#a9b0c0;--accent:#99b9ff;--err:#ffb340}
*{box-sizing:border-box}
/* Literal colours, not var(): WebKit resolved body's var(--bg)/var(--text) as unset (transparent/black) while the page painted dark, so contrast tools read white. Keep equal to --bg and --text. */
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:#080a10;color:#fff;line-height:1.5}
a{color:var(--accent)}
.skip{position:absolute;left:-999px;top:8px;background:var(--panel);color:var(--text);padding:8px 12px;border-radius:8px}.skip:focus{left:8px;z-index:1}
header,footer{display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,64px)}
header{min-height:112px}footer{padding-block:24px;color:var(--muted);font-size:14px;border-top:1px solid var(--line)}footer nav{display:flex;gap:16px}footer a{color:var(--muted)}
.brand img{display:block;height:auto;width:100%}
main{flex:1;align-items:flex-start;justify-content:center;padding:clamp(18px,4vw,48px) clamp(18px,5vw,64px)}
.story h1{font-size:clamp(34px,5vw,56px);line-height:1.08;margin:12px 0 20px;letter-spacing:-.02em}
.story p{color:var(--muted);font-size:18px}
.steps{display:grid;gap:10px;margin-top:28px;color:var(--muted);font-size:14px;letter-spacing:.04em}
.eyebrow{margin:0;color:var(--accent);font-size:12px;font-weight:600;letter-spacing:.14em}
.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:clamp(20px,3vw,32px)}
.card h2{font-size:26px;line-height:1.2;margin:8px 0 10px}
.muted,.hint{color:var(--muted);font-size:14px}
.notice{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:16px;background:#ffffff0d}.notice[hidden],[hidden]{display:none!important}
.notice[data-tone=error]{border-color:var(--err);background:color-mix(in srgb,var(--err) 12%,transparent)}.notice-label{color:var(--err);font-weight:650}
label{display:block;margin:16px 0 6px;font-size:14px;font-weight:550}
input:not([type=checkbox]){width:100%;min-height:45px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:11px 13px;font:inherit;font-size:16px}
input:focus-visible,button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;color:var(--muted)}.check input{margin-top:4px}
.price{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px}.price strong{font-size:22px}.price p{margin:6px 0 0;color:var(--muted);font-size:13px}
button{font:inherit;cursor:pointer}
.primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:20px;border:0;border-radius:10px;background:var(--accent);color:#0b1020;font-weight:650;padding:12px 16px}.primary:disabled{opacity:.55;cursor:not-allowed}
a.primary{text-decoration:none}
.text-button{display:inline-flex;align-items:center;min-height:44px;background:none;border:0;color:var(--accent);padding:10px 0;text-align:left;text-decoration:underline}
.alternatives{display:grid;gap:4px;margin-top:12px}
.ready-detail{display:flex;gap:12px;align-items:flex-start;margin:20px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.ready-detail p{margin:0}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}

/* Texts and Terms are two separate decisions (toll-free opt-in review, 2026-10-31): the optional text box has its own section,
   between dividers, right after the email; the required Terms box stays by the checkout button. */
.sms-optin{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 0;padding:20px 0 18px;min-width:0}
.sms-optin legend{float:left;width:100%;padding:0;margin:0 0 4px;font-size:17px;font-weight:600;color:var(--text)}.sms-optin legend+*{clear:both}
.sms-optin .check{margin-top:16px;color:var(--text)}.sms-help{margin:10px 0 0 32px}
.terms-check{margin-top:24px}
/* Both consent boxes draw as clear 22px boxes with a visible border in dark and light (a flex row had squeezed them to dots). */
.check input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;width:22px;height:22px;min-width:22px;min-height:0;margin:1px 0 0;padding:0;border:2px solid #c5ccdb;border-radius:5px;background:#080a10 center/16px 16px no-repeat;cursor:pointer}
.check input[type=checkbox]:checked{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b1020' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.check input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(forced-colors:active){.check input[type=checkbox]{-webkit-appearance:auto;appearance:auto}}#sms-optin-proof blockquote{margin:12px 0;padding:10px 12px;border-left:3px solid #99b9ff;color:var(--muted)}#sms-optin-proof pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#080a10;border-radius:9px;padding:12px}

/* TRIAL-WEB-PHONE steps (signup.js webPhoneStep; body[data-wp] only when the server's config says web_phone_verify, from the
   default-off ff.trial.web_phone_verify). Every rule in this part is under body[data-wp], so the layout is unchanged without it.
   Phone inputs are 17px (iOS does not zoom); every control is at least 44px tall (a checkbox's target is its whole label row). */
body[data-wp] #web-phone input{min-height:50px;border-radius:12px;font-size:17px}
body[data-wp] #wp-code{font-size:22px;letter-spacing:.12em;font-variant-numeric:tabular-nums}
body[data-wp] #web-phone input[aria-invalid=true]{border-color:var(--wp-err);box-shadow:0 0 0 1px var(--wp-err)}
body[data-wp] .wp-progress{margin:12px 0 4px}
body[data-wp] .wp-step{margin:0 0 8px;color:var(--muted);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
body[data-wp] .wp-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--muted)}
body[data-wp] .wp-bar li{display:grid;gap:6px}
body[data-wp] .wp-bar span{display:block;height:4px;border-radius:2px;background:var(--line);transition:background-color 240ms cubic-bezier(.25,.1,.25,1)}
body[data-wp] .wp-bar [data-state=done] span,body[data-wp] .wp-bar [data-state=now] span{background:var(--accent)}
body[data-wp] .wp-bar [data-state=now]{color:var(--text);font-weight:600}
body[data-wp] .wp-sent{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-top:4px}
body[data-wp] .wp-sent p{margin:0}
body[data-wp] .wp-err{margin:8px 0 0;color:var(--wp-err);font-size:14px;font-weight:600}
body[data-wp] .wp-err:empty,body[data-wp] #wp-status:empty{margin:0}
body[data-wp] #web-phone .text-button{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-weight:600}
body[data-wp] .wp-notice{margin:12px 0 0}
body[data-wp] #wp-nohelp{margin:8px 0 0}
body[data-wp] #wp-resend{margin-top:8px}
body[data-wp] #wp-resend[aria-disabled=true]{color:var(--muted);cursor:default;font-variant-numeric:tabular-nums}
body[data-wp] #wp-resend-why{margin:0}
body[data-wp] .wp-skip{margin-top:20px;padding-top:8px;border-top:1px solid var(--line)}
body[data-wp] .wp-skip .hint{margin:0}
/* Skip is a way out, not the next step: muted, small, plain weight. Still an underlined link of 44px or more, so it is found and tapped. */
body[data-wp] .wp-skip-link{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:14px;font-weight:400;text-decoration:underline;text-underline-offset:3px}
body[data-wp] .wp-skip-link:hover{color:var(--text)}
body[data-wp] .steps span[aria-current=step]{color:var(--text);font-weight:600}
/* Touch targets at 390px: a consent box is tapped through its whole label row, and an inline link gets a 44px-high hit area that
   takes no room (vertical padding on an inline box does not move the lines). A long plan name ends in an ellipsis, never a hard cut. */
body[data-wp] .check{min-height:44px}
body[data-wp] .check input[type=checkbox]{position:relative}
body[data-wp] .check input[type=checkbox]::after{content:"";position:absolute;inset:-11px}
body[data-wp] .card p a,body[data-wp] .card label a{padding:14px 2px;margin:-14px -2px}
body[data-wp] select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
body[data-wp] footer a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
body[data-wp] header .brand{display:inline-flex;align-items:center;min-height:44px}
@media (prefers-contrast:more){body[data-wp] .wp-bar [data-state=next] span{background:var(--muted)}}
@media(max-width:760px){body[data-wp] main>.story{margin-bottom:24px}}

/* Light and dark follow the device from the first paint (owner, 2026-11-01): decided here, in CSS, by prefers-color-scheme, because a
   first-time visitor has no stored choice and the server's config answer arrives after the page is already drawn. The page is dark by
   default (this file's first lines); on a light device these rules take over. Not gated on body[data-wp]. */
@media (prefers-color-scheme:light){
:root{color-scheme:light;--bg:#f5f5f7;--panel:#ffffff;--line:rgba(0,0,0,.12);--text:#1d1d1f;--muted:#6e6e73;--accent:#0060c4;--wp-err:#c4001a}
body{background:#f5f5f7;color:#1d1d1f}
body .card{box-shadow:0 0 0 .5px rgba(0,0,0,.05),0 12px 32px -12px rgba(0,0,0,.12);border-color:transparent}
body input:not([type=checkbox]),body select{background:#fff;color:#1d1d1f;border:1px solid #86868b}
body .primary{background:#1d1d1f;color:#fff}
body .brand img{filter:invert(1)}
body .notice{background:#fff}
body #sms-optin-proof blockquote{border-left-color:var(--accent)}
body #sms-optin-proof pre{background:#f5f5f7;color:#1d1d1f}
body .check input[type=checkbox]{border-color:#6e6e73;background-color:#fff}
body .check input[type=checkbox]:checked{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#choose>.price{--muted:#56565b}}
/* UI-HIG CUS-17: one question per step (signup.js enableSignupSteps, only when the server's config says signup_steps). Every
   rule is under body[data-steps], so the page is unchanged without it. Light and dark follow the device; dark keeps the
   page's own colours. */
body[data-steps] .step{margin:0}
body[data-steps] .step[hidden]{display:none}
body[data-steps] .step-count{margin:0;color:var(--muted);font-size:13px;font-weight:600;letter-spacing:.02em}
body[data-steps] .step h3{margin:4px 0 6px;font-size:24px;line-height:1.17;font-weight:600;letter-spacing:-.01em;outline:none}
body[data-steps] .step-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
body[data-steps] .step-nav .primary{width:auto;min-width:160px;margin:0 0 0 auto;border-radius:980px;min-height:50px}
body[data-steps] .step-nav .text-button{text-decoration:none;min-height:44px}
body[data-steps] .steps-save{display:block;margin:14px 0 0;min-height:44px;text-decoration:none}
body[data-steps] .steps-faq{margin-top:22px;border-top:1px solid var(--line);padding-top:10px}
body[data-steps] .steps-faq details{border-bottom:1px solid var(--line);padding:12px 0}
body[data-steps] .steps-faq summary{cursor:pointer;font-weight:600;min-height:24px}
body[data-steps] .steps-faq p{margin:8px 0 0;color:var(--muted)}
body[data-steps] input,body[data-steps] select{min-height:50px;border-radius:12px;font-size:17px}
body[data-steps] #choose>.price{border:0;border-radius:14px;background:color-mix(in srgb,var(--accent) 10%,transparent);font-variant-numeric:tabular-nums}
body[data-steps] .step-choices{border:0;margin:18px 0 0;padding:0;min-width:0;display:grid;gap:10px}
body[data-steps] .choice{display:flex;align-items:flex-start;gap:12px;margin:0;padding:16px;border:1px solid var(--line);border-radius:14px;cursor:pointer;font-weight:400}
body[data-steps] .choice:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
body[data-steps] .choice input{flex:none;width:20px;height:20px;min-height:0;margin:2px 0 0;padding:0;accent-color:var(--accent)}
body[data-steps] .choice-words{display:grid;gap:2px;min-width:0}
body[data-steps] .choice-title{font-size:17px;font-weight:600;color:var(--text)}
body[data-steps] .choice-detail{font-size:14px;color:var(--muted)}
body[data-steps] .team-up{display:block;min-height:44px;text-decoration:none;font-weight:600}
body[data-steps] .steps-off{margin:16px 0 0;font-weight:600}
body[data-steps] .steps-extras{list-style:none;margin:6px 0 0;padding:0}
body[data-steps] .steps-extras li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;font-variant-numeric:tabular-nums}
body[data-steps] .steps-total{display:grid;gap:4px;margin:12px 0 0;font-size:14px}
body[data-steps] .steps-total div{display:flex;justify-content:space-between;gap:12px}
body[data-steps] .steps-total dt{color:var(--muted)}
body[data-steps] .steps-total dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
@media (prefers-color-scheme:light){
body[data-steps]{color-scheme:light;background:#f5f5f7;color:#1d1d1f;--bg:#f5f5f7;--panel:#ffffff;--line:rgba(0,0,0,.1);--text:#1d1d1f;--muted:#6e6e73;--accent:#0060c4}
body[data-steps] .card{box-shadow:0 0 0 .5px rgba(0,0,0,.05),0 12px 32px -12px rgba(0,0,0,.12);border-color:transparent}
body[data-steps] input,body[data-steps] select{background:#fff;color:#1d1d1f;border:1px solid #86868b}
body[data-steps] .primary{background:#1d1d1f;color:#fff}
body[data-steps] .brand img{filter:invert(1)}
body[data-steps] .story p,body[data-steps] .steps{color:#6e6e73}
body[data-steps] #sms-optin-proof pre{background:#f5f5f7;color:#1d1d1f}
body[data-steps] .check input[type=checkbox]{border-color:#6e6e73;background-color:#fff}
body[data-steps] .check input[type=checkbox]:checked{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* The price box sits on a 10% accent tint, where #6e6e73 measures 4.3:1; its secondary text takes a darker grey (about 5.9:1). */
body[data-steps] #choose>.price{--muted:#56565b}}
#show-free,#wrong-email,#free-back{display:inline-flex;align-items:center;min-height:44px}#wrong-email{margin-left:16px}
/* Start free, no card: a full-width secondary button (not a text link) under the plan chooser. Border 3:1 or better against the card in both looks. */
button#show-free.free-start{display:flex;justify-content:center;width:100%;min-height:48px;margin-top:16px;padding:12px 16px;border:1px solid #8a93a8;border-radius:10px;background:transparent;color:var(--text);font-weight:650;text-decoration:none}
button#show-free.free-start:disabled{opacity:.55;cursor:not-allowed}
@media (prefers-color-scheme:light){button#show-free.free-start{border-color:#767680;color:#1d1d1f}}

/* Narrow screens stack the story above the card: 24px of air before step 03's card, and between cards. */
@media(max-width:760px){main>.card{margin-top:24px}}
/* Light: the page follows the device (it was dark only). Same tokens as the one-question-per-step look above, for the page without steps. */
@media (prefers-color-scheme:light){
:root{color-scheme:light}
body:not([data-steps]){background:#f5f5f7;color:#1d1d1f;--bg:#f5f5f7;--panel:#ffffff;--line:rgba(0,0,0,.14);--text:#1d1d1f;--muted:#6e6e73;--accent:#0060c4;--err:#a63a00}
body:not([data-steps]) .card{box-shadow:0 0 0 .5px rgba(0,0,0,.05),0 12px 32px -12px rgba(0,0,0,.12);border-color:transparent}
body:not([data-steps]) .brand img{filter:invert(1)}
body:not([data-steps]) input:not([type=checkbox]),body:not([data-steps]) select{background:#fff;color:#1d1d1f;border:1px solid #86868b}
body:not([data-steps]) .primary{background:#1d1d1f;color:#fff}
body:not([data-steps]) .notice{background:#0000000a}
body:not([data-steps]) .check input[type=checkbox]{border-color:#6e6e73;background-color:#fff}
body:not([data-steps]) .check input[type=checkbox]:checked{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body:not([data-steps]) #sms-optin-proof pre{background:#f5f5f7;color:#1d1d1f}
body:not([data-steps]) #sms-optin-proof blockquote{border-left-color:var(--accent)}
body[data-steps] .notice[data-tone=error]{--err:#a63a00}
}

/* Free flow (ff.plan.free): every control shows a clear ring on keyboard focus, in dark and light. */
#show-free:focus-visible,#free input:focus-visible,#free button:focus-visible,#free a:focus-visible,#wrong-email:focus-visible,#open-crm-free:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#open-crm-free{margin-top:8px;text-decoration:none;font-weight:600}

