/* Creago, version 5 (17 Nov 2026) on the smaller pages: process, account, checkout, thanks, terms, privacy, refunds.
   Loaded after css/site.css and the page's own stylesheet. Those pages keep their layout and their scripts; this file
   only gives them the new look of the home page (css/creago.css): a near-black page, white text, one heavy family
   (Geist), glass panels with no visible borders, and purple only on the main button and a few small accents.
   Peek (pink) is hidden here, as on the home page. */

:root {
  --bg: #050507;
  --s1: #0b0b0e;
  --s2: #111115;
  --s3: #18181d;
  --glass: rgba(255, 255, 255, .028);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --t1: #f5f4f8;
  --t2: rgba(245, 244, 248, .70);
  --t3: rgba(245, 244, 248, .56);
  --accent: #8f80e6;                            /* small accents: dots, flags, a thin line */
  --accent-press: #2a2369;
  --accent-soft: #b4a6ff;
  --accent-top: #4b3ea6;                        /* the main button: a deep, quiet purple, no coloured glow */
  --accent-bottom: #2f2775;
  --display: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --text: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --top: 88px;
}
html { background: var(--bg); overflow-x: clip; }
body { overflow-x: clip; }
::selection { background: rgba(116, 88, 246, .5); }

/* the page: black, with one very faint purple haze at the top */
body::before { background-color: var(--bg);
  background-image: radial-gradient(60% 40% at 50% -6%, rgba(86, 60, 210, .13), rgba(60, 40, 160, .04) 50%, transparent 72%), linear-gradient(180deg, #050507, #050507); }
::-webkit-scrollbar-track, html.home ::-webkit-scrollbar-track { background: #050507; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, .26); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: rgba(255, 255, 255, .2) #050507; } }

/* type */
.display { font-weight: 800; letter-spacing: -0.05em; color: #fff; }
h1.display { letter-spacing: -0.055em; }
.lead { color: rgba(245, 244, 248, .80); }
/* no small pills above the headlines: the headline system is the home page's */
.slate { display: none !important; }

/* the top bar, the phone menu and the footer are css/chrome.css, the same as on the home page */
.top, .status { display: none !important; }
body.account { --tl: 0px; padding-bottom: 0; }
code, kbd, samp { font-family: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* buttons */
.btn { font-weight: 650; letter-spacing: -0.01em; }
.btn.primary { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 0 0 1px rgba(255, 255, 255, .06); }
.btn.primary:hover { background: linear-gradient(180deg, #5547b4, #362d84); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .26), 0 0 0 1px rgba(255, 255, 255, .08); }
.btn.primary:active { background: linear-gradient(180deg, #43379a, #2a2369); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn.quiet { color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line2), inset 0 1px 0 rgba(255, 255, 255, .06); }
.btn.quiet:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* panels: glass with no visible border */
.panel { background: rgba(255, 255, 255, .028); border: 0; border-radius: 24px; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.panel-bar { border-bottom-color: var(--line); }
.panel-name { color: #fff; font-weight: 600; }

/* Peek is pink and the new look has no pink: he stays away on these pages */
.peek-slot, .peek-narrow, [data-peek-slot], .flow-peek, .peek-rig, .cursor-tag { display: none !important; }

/* the toast */
.toast { background: #fff; color: #08080a; }

/* ---------- the headlines and the page width, as on the home page ---------- */
.pg, .proc { max-width: calc(1120px + 40px); padding: 128px 20px 0; }
.pg-head, .proc-head, .acct-head { justify-items: center; text-align: center; gap: 16px; }
.pg-head { margin-bottom: 48px; }
.proc-head { margin-bottom: 48px; }
.pg-head h1.display, .proc-head h1.display, .acct-head h1.display { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.02; max-width: 16ch; text-wrap: balance; color: #fff; }
.pg-head .lead, .proc-head .lead { margin: 0 auto; max-width: 560px; font-size: clamp(16.5px, 1.5vw, 18.5px); }
.ln { display: block; }
.tone { color: rgba(245, 244, 248, .55); }   /* soft grey second lines (17 Nov, third review); purple only on buttons and small accents */
@media (max-width: 720px) {
  .pg, .proc { padding: 104px 16px 0; }
  .pg-head, .proc-head { margin-bottom: 32px; }
}

/* the last call on the process page: centred, like the end of the home page */
.last { margin-top: 96px; padding-bottom: 96px; justify-items: center; text-align: center; gap: 22px; }   /* never touching the footer line */
@media (max-width: 720px) { .last { margin-top: 72px; padding-bottom: 80px; } }
/* the price chip inside a main button, as on the home page */
.btn .price { margin-right: -12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .24); font-size: 14px; font-weight: 600; }
.last h2.display { max-width: none; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.05em; }

/* ---------- the legal pages ---------- */
.legal-panel { margin: 0 auto; }

/* ---------- checkout: the chosen plan is a thin purple ring on near-black, as on the home page ---------- */
.co-opt { border-radius: 18px; margin: 8px; border-bottom: 0; }
.co-opt + .co-opt { margin-top: 0; }
.co-opt::before { display: none; }
.co-opt:hover { background: rgba(255, 255, 255, .03); }
.co-opt.on { background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(168, 152, 255, .55); }
.co-opts { padding-bottom: 4px; }

/* ---------- after paying: the two buttons the same width ---------- */
.co-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); max-width: 460px; }
.co-actions .btn { width: 100%; }
.ty-body > *, .co-body > *, .co-msg > * { min-width: 0; }
@media (max-width: 520px) { .co-actions { grid-template-columns: minmax(0, 1fr); max-width: none; } }
.ty-panel, .ty-short { margin-left: auto; margin-right: auto; }
.ty-next { text-align: center; }
/* the short panels (no payment, failed, cancelled, pending): the line and the buttons centred, like the sign-in card */
.ty-short .ty-body { justify-items: center; text-align: center; }
.ty-short .co-actions { justify-content: center; width: 100%; margin: 0 auto; }

/* checkout: Whop's form fills the payment card edge to edge, so it does not read as a box in a box */
.co-mount { padding: 0; border-radius: 0 0 24px 24px; overflow: hidden; }
@media (max-width: 720px) { .co-mount { padding: 0; } }

/* ---------- your Creago: one centred column until there is a plan ---------- */
.shell { padding-top: 128px; }
.shell:not([data-state="plan"]) { max-width: calc(640px + 40px); }
.shell:not([data-state="plan"]) .acct-head { margin-bottom: 36px; }
.shell[data-state="plan"] .acct-head { justify-items: start; text-align: left; margin-bottom: 40px; }
.shell[data-state="plan"] .acct-head h1.display { max-width: none; }
.signin { margin: 0 auto; width: 100%; }
.signin .apanel-body { justify-items: center; text-align: center; }
.demo { text-align: left; }
@media (max-width: 720px) { .shell { padding-top: 104px; } }

/* ---------- the process page: the home page's width; the path stays where it is, a slim bar follows you ----------
   The bar is a solid near-black band, the full width, from the top of the screen down to a hairline under the
   step line, the way the library's kinds bar works: nothing on the page shows through it (17 Nov, second review) */
.proc-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 45; padding: 84px 16px 12px; background: #050507;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 18px 30px -18px #000;
  font-size: 14px; font-weight: 600; color: #fff; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.16, 1, .3, 1); }
.proc-bar-in { display: flex; align-items: center; gap: 14px; width: min(560px, 100%); margin: 0 auto; }
.proc-bar.on { opacity: 1; transform: none; }
.proc-bar span { flex: none; white-space: nowrap; }
.proc-bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.proc-bar b { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--f, 0)); background: linear-gradient(90deg, #4b3ea6, #b4a6ff); transition: transform .35s; }
@media (max-width: 860px) { .proc-bar { padding-top: 80px; font-size: 14px; } }
.f-node rect.f-hit, .f-node:hover rect.f-hit, .f-node.on rect.f-hit, .f-node.past rect.f-hit { fill: transparent; stroke: none; }

/* ---------- your Creago: the details (17 Nov, second review) ---------- */
.link { color: #fff; font-weight: 600; }
.link.tap { padding: 13px 0; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .32); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link.tap:hover { text-decoration-color: var(--accent-soft); }
.signin-new { margin: 2px 0 0; font-size: 15px; color: var(--t2); }
.btn.quiet.danger { color: #ff9d9d; }
.btn.quiet.danger:hover { color: #ffbdbd; background: rgba(255, 90, 90, .08); box-shadow: inset 0 0 0 1px rgba(255, 120, 120, .3); }
.demo-pick a { height: auto; min-height: 44px; }
.demo-pick a[aria-current] { background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(185, 160, 255, .34) inset; }
@media (max-width: 380px) { .keyfield code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; } }
/* phones: the row of chips sticks right under the top bar, the full width, on a solid band with a hairline */
@media (max-width: 900px) {
  .rail { top: 74px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 10px calc(50vw - 50% + 16px); background: #050507; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
  .rail a.on { background: rgba(255, 255, 255, .08); }
}
@media (max-width: 860px) { .rail { top: 70px; } }
/* phones, signed in: the headline centred as on every other page, and the chips sit close to the first card
   (17 Nov, third review: a 70 px empty band was left under them) */
@media (max-width: 900px) {
  .shell[data-state="plan"] .acct-head { justify-items: center; text-align: center; margin-bottom: 24px; }
  .shell[data-state="plan"] .rail { margin-bottom: 20px; }
}

/* ---------- tap targets: 44 px at least ---------- */
.cmd .btn.sm, .btn.sm { min-height: 44px; }
.rail a { min-height: 44px; height: auto; }
.rail a.on { background: rgba(255, 255, 255, .06); }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* ---------- account first, then pay (17 Nov 2026, evening) ----------
   The checkout's two steps at the top, its step 1 panel ("Create your account first", with Whop's real app icon,
   never redrawn) and the "Signed in as" line over Whop's form; the same Whop line on the account page's sign-in card.
   White and grey only: purple stays on the main button. */
.co-flow { list-style: none; margin: 6px 0 0; padding: 6px; display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.co-flow li[data-step] { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px 0 6px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--t3); }
.co-flow li[data-step] b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: var(--t3); }
.co-flow li.now { color: #fff; background: rgba(255, 255, 255, .06); }
.co-flow li.now b { background: #fff; color: #08080a; box-shadow: none; }
.co-flow li.done { color: var(--t2); }
.co-flow li.done b { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); color: transparent; position: relative; }
.co-flow li.done b span { visibility: hidden; }
.co-flow li.done b::after { content: ""; position: absolute; left: 9px; top: 7px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.co-flow-line { width: 28px; height: 1px; background: var(--line2); }

.co-demo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-size: 14px; color: var(--t2); }
.co-demo[hidden] { display: none; }
.co-demo-tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: 13px; }
.co-demo a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--t2); }
.co-demo a:hover { color: #fff; }
.co-demo a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }

/* "Account by Whop / whop.com": Whop's own icon, shown small with rounded corners */
.whop-by { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.whop-by img { width: 44px; height: 44px; border-radius: 12px; display: block; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.whop-by-text { display: grid; gap: 2px; line-height: 1.25; }
.whop-by-text b { font-size: 15px; font-weight: 650; color: #fff; }
.whop-by-text span { font-size: 14px; color: var(--t2); }
.whop-btn { padding: 0 28px; height: 52px; }
.whop-note { margin: 0; max-width: 420px; font-size: 14.5px; line-height: 1.5; color: var(--t2); }

/* step 1, inside the payment card */
.co-acct { display: grid; gap: 16px; align-content: start; justify-items: start; padding: 44px 40px 40px; max-width: 540px; }
.co-acct[hidden] { display: none; }
.co-acct > * { min-width: 0; margin: 0; }
.co-acct p { color: var(--t2); font-size: 17px; line-height: 1.55; }
.co-acct .fine { font-size: 14.5px; color: var(--t3); }
.co-acct .whop-btn { margin-top: 4px; }
.co-acct h2.display { max-width: none; text-wrap: balance; }
.co-msg > .co-actions { width: 100%; }

/* step 2: who is signed in, above Whop's form */
.co-who { display: grid; gap: 6px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.co-who[hidden] { display: none; }
.co-who p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--t2); overflow-wrap: anywhere; }
.co-who b { color: #fff; font-weight: 600; }
.co-who-note:empty { display: none; }
.co-out { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; padding: 0 2px; font: inherit; color: #fff; font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .32); text-underline-offset: 4px; background: none; border: 0; cursor: pointer; }
.co-out:hover { text-decoration-color: var(--accent-soft); }
/* the quiet "Sign out" under a message that could not check the account (a stale sign-in must never trap anyone) */
.co-actions .co-msg-out { margin: 0; padding: 0 10px; color: var(--t2); font-weight: 600; }
.co-actions .co-msg-out:hover { color: #fff; }

/* on a computer the payment card is as tall as the left column: step 1 and the messages sit in its middle,
   not at the top with an empty band under them (17 Nov, phone-visual review) */
@media (min-width: 961px) {
  .co-body { display: flex; flex-direction: column; }
  .co-acct, .co-who[hidden] ~ .co-msg { margin-top: auto; margin-bottom: auto; }
}

/* the account page: the Whop line on the sign-in card, and the way back to a checkout after a failed sign-in */
.signin .whop-by { margin-bottom: 4px; }
.signin-back { margin: -6px 0 0; }
.signin-back[hidden] { display: none; }

@media (max-width: 720px) {
  .co-acct { padding: 28px 20px 30px; }
  .co-acct p { font-size: 16px; }
  .co-who { padding: 14px 16px; }
}
@media (max-width: 420px) {
  .co-acct .whop-btn { width: 100%; }
  .co-flow li[data-step] { padding-right: 12px; }
}

/* ---------- the legal pages: headings, lists and links inside the text (18 Nov 2026) ---------- */
.legal-body > :is(p, ul) + :is(p, ul) { margin-top: 14px; }
.legal-body > h2 + :is(p, ul) { margin-top: 10px; }
.legal-body h2 { margin: 30px 0 0; font-size: 19px; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.legal-body .legal-meta { font-size: 14px; color: var(--t3); }
.legal-body ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-body li { color: var(--t2); font-size: 17px; line-height: 1.55; }
.legal-body p { line-height: 1.6; }
.legal-body b { color: #fff; font-weight: 600; }
.legal-body a { color: #c9bfff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body a:hover { color: #fff; }


/* ---------- checkout in one column, one step at a time (18 Nov 2026) ---------- */
.co { grid-template-columns: minmax(0, 1fr); grid-template-areas: "plan" "pay" "after"; max-width: 680px; margin-left: auto; margin-right: auto; }
.co[data-stage="loading"] .co-plan, .co[data-stage="loading"] .co-after,
.co[data-stage="account"] .co-plan, .co[data-stage="account"] .co-after,
.co[data-stage="msg"] .co-plan, .co[data-stage="msg"] .co-after,
.co[data-stage="pay"] .co-plan, .co[data-stage="pay"] .co-after,
.co[data-stage="choose"] .co-pay { display: none; }
.co .co-body { min-height: 0; }
.co[data-stage="pay"] .co-body { min-height: 460px; }
.co-next { display: grid; gap: 10px; padding: 4px 22px 22px; }
.co-next-who { margin: 0; font-size: 14.5px; color: var(--t2); }
.co-next-who:empty { display: none; }
.co-next .btn { width: 100%; }
.co-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.co-sum[hidden] { display: none; }
.co-sum-plan { font-size: 15px; color: var(--t2); }
.co-sum-plan b { font-size: 17px; color: #fff; font-weight: 650; margin-right: 6px; }
.co-change { font: inherit; font-size: 14px; font-weight: 600; color: var(--accent-soft, #c9bfff); background: none; border: 0; padding: 8px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.co-terms { margin: 0; padding: 4px 22px 22px; font-size: 13.5px; line-height: 1.55; color: var(--t3); }
.co-terms[hidden] { display: none; }
.co-terms a { color: var(--t2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .co-sum, .co-next { padding-left: 16px; padding-right: 16px; } .co-terms { padding: 4px 16px 18px; } .co[data-stage="pay"] .co-body { min-height: 0; } }

/* ---------- install steps: one tab per AI coding app (18 Nov 2026) ---------- */
.ai-pick { margin: 0 0 12px; }
.ai-install { display: grid; gap: 18px; min-width: 0; }
.ai-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tab { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px 0 10px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--t2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s; }
.ai-tab img { width: 18px; height: 18px; display: block; }
.ai-tab img.sq { border-radius: 4px; }
.ai-tab:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.ai-tab[aria-selected="true"] { color: #fff; background: rgba(139, 92, 246, .16); box-shadow: inset 0 0 0 1px rgba(168, 152, 255, .55); }
.ai-tab:focus-visible { outline: 2px solid var(--accent, #8b7cf6); outline-offset: 2px; }
.ai-steps .cmd code, .ai-quick .cmd code { overflow-wrap: anywhere; }
.ai-quick { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: rgba(139, 92, 246, .07); box-shadow: inset 0 0 0 1px rgba(168, 152, 255, .28); }
.ai-quick .cmd code { font-size: 13.5px; line-height: 1.5; }
.ai-or { margin-top: 4px; }
.ai-after { margin-top: 22px; }
@media (max-width: 520px) { .ai-tab { height: 36px; font-size: 13.5px; padding: 0 11px 0 9px; } }
