@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Inter:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap");

/* Palette of the demo page. It is a LIGHT page, so it does not use tokens.css (the dark site theme): every colour of this file is
   named here once. The checkout in the phone has its own palette (--demo-lc-*), the closing card its own (--demo-end-*). */
:root {
  --demo-ink: #17181c;
  --demo-ink-soft: #5d6168;
  --demo-muted: #8a8f96;
  --demo-faint: #a0a4ab;
  --demo-seg-ink: #6b6f76;
  --demo-surface: #fff;
  --demo-page: #fbf9f7;
  --demo-screen: #fffdfb;
  --demo-line: #e6e1db;
  --demo-line-soft: #eee9e3;
  --demo-line-step: #ddd7d0;
  --demo-line-dot: #c8c3bc;
  --demo-scroll: #e0d9d1;
  --demo-seg-bg: #f1ede8;
  --demo-blue: #5b7cf6;
  --demo-pink: #d9577a;
  --demo-green: #1f9d6e;
  --demo-star: #f5a623;
  --demo-dark: #0c0c0d;
  --demo-dark-2: #101114;
  --demo-black: #000;
  --demo-lc-paper-2: #f6f1ec;
  --demo-lc-rule: #e8e2db;
  --demo-lc-ink: #1a1613;
  --demo-lc-neutral: #5d544d;
  --demo-lc-muted: #8f857d;
  --demo-end-bg: #101010;
  --demo-end-line: #2a2c33;
  --demo-end-chip-line: #2f323a;
  --demo-end-ghost-line: #3a3d46;
  --demo-end-ink: #fafafa;
  --demo-end-muted: #b4b4b4;
  --demo-end-blue: #7f9cff;
  --demo-end-btn-ink: #0d1020;
  --demo-end-green: #3ecf8e;
  --demo-black-rgb: 0 0 0;
  --demo-white-rgb: 255 255 255;
  --demo-warm-rgb: 30 25 20;
  --demo-blue-rgb: 91 124 246;
  --demo-glow-rgb: 79 134 232;
}

/* Live checkout demo — a light page; every block reads the same three variables (--b color, --r corners, --f font) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--demo-ink); background: var(--demo-page); font-family: "Inter", system-ui, sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--demo-ink); outline-offset: 2px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(1rem, 4vw, 2rem); }
.pill-btn { display: inline-flex; padding: 0.55rem 1rem; border: 1px solid var(--demo-line); border-radius: 999px; background: var(--demo-surface); font-size: 0.88rem; font-weight: 500; }
.pill-btn:hover { border-color: var(--demo-ink); }
.brandmark { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.brandmark span { color: var(--demo-blue); }

/* ---------- Hero + customize bar ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; padding: 2.2rem clamp(1rem, 4vw, 2rem) 2.2rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem; border: 1px solid var(--demo-line); border-radius: 999px; background: var(--demo-surface); font-size: 0.8rem; color: var(--demo-ink-soft); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--demo-green); }
.hero h1 { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -0.02em; color: var(--b, var(--demo-pink)); }
.hero__sub { max-width: 54ch; color: var(--demo-ink-soft); font-size: 1.02rem; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 0.6rem; padding: 0.6rem 1.1rem; background: var(--demo-surface); border: 1px solid var(--demo-line); border-radius: 999px; box-shadow: 0 10px 30px -18px rgb(var(--demo-black-rgb) / 0.25); }
.bar__g { display: flex; align-items: center; gap: 0.7rem; }
.bar__g > span { font-size: 0.78rem; font-weight: 600; color: var(--demo-muted); }
.bar__reset { font-size: 0.8rem; color: var(--demo-muted); padding: 0.3rem 0.5rem; }
.bar__reset:hover { color: var(--demo-ink); }
.swatches { display: flex; gap: 0.5rem; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--demo-surface), 0 0 0 4px var(--c); }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--demo-seg-bg); border-radius: 999px; }
.seg button { padding: 0.28rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--demo-seg-ink); }
.seg button[aria-checked="true"] { background: var(--demo-surface); color: var(--demo-ink); box-shadow: 0 1px 3px rgb(var(--demo-black-rgb) / 0.12); }

/* ---------- Board ---------- */
.board {
  --b: var(--demo-pink); --r: 14px; --f: "Inter", system-ui, sans-serif;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.1rem; align-items: start;
  width: min(74rem, 100%); margin-inline: auto; padding: 2.4rem clamp(1rem, 4vw, 2rem) 3rem;
  font-family: var(--f);
}
.board::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1; background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--b) 14%, transparent), transparent 70%); pointer-events: none; }
.board[data-font="editorial"] { --f: Georgia, "Times New Roman", serif; }
.board[data-font="mono"] { --f: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.board, .board * { transition-property: background-color, border-color, color, border-radius, box-shadow; transition-duration: 0.2s; }
.col { display: flex; flex-direction: column; gap: 1.1rem; }
.board [hidden] { display: none !important; }

.blk { position: relative; padding: 2.1rem 1.2rem 1.15rem; background: var(--demo-surface); border: 1px solid var(--demo-line-soft); border-radius: var(--r); box-shadow: 0 1px 2px rgb(var(--demo-black-rgb) / 0.03), 0 14px 30px -22px rgb(var(--demo-black-rgb) / 0.3); }
.blk .tag { position: absolute; left: 1.2rem; top: 0.8rem; font-family: "Inter", system-ui, sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--demo-faint); }
.blk--center { text-align: center; }
.blk--announce { padding: 2.1rem 1.2rem 1.15rem; background: var(--b); border-color: transparent; color: var(--demo-surface); font-weight: 600; font-size: 0.92rem; text-align: center; }
.blk--announce .tag { color: rgb(var(--demo-white-rgb) / 0.65); }
.muted { font-size: 0.8rem; color: var(--demo-muted); }

.steps { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--demo-muted); }
.steps li { display: flex; align-items: center; gap: 0.5rem; }
.steps li + li::before { content: ''; width: 1.6rem; height: 1px; background: var(--demo-line-step); }
.steps .is-done { color: var(--demo-ink); }
.steps .is-on { color: var(--b); font-weight: 600; }

.opts { display: flex; flex-direction: column; border: 1px solid var(--demo-line-soft); border-radius: calc(var(--r) - 3px); overflow: hidden; }
.opts button { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 0.85rem; text-align: left; font-family: var(--f); font-size: 0.88rem; background: var(--demo-surface); }
.opts button + button { border-top: 1px solid var(--demo-line-soft); }
.opts button span:nth-child(2) { flex: 1; }
.opts button[aria-checked="true"] { background: color-mix(in srgb, var(--b) 8%, var(--demo-surface)); }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--demo-line-dot); position: relative; flex-shrink: 0; }
.opts button[aria-checked="true"] .dot { border-color: var(--b); }
.opts button[aria-checked="true"] .dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--b); }

.xp { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.xp button { padding: 0.8rem; border: 1px solid var(--demo-line); border-radius: calc(var(--r) - 3px); background: var(--demo-surface); font-family: var(--f); font-weight: 600; font-size: 0.9rem; }
.xp .xp__dark { background: var(--demo-dark); border-color: var(--demo-dark); color: var(--demo-surface); }

.bump { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.bump input { position: absolute; opacity: 0; pointer-events: none; }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--b); background: var(--demo-surface); flex-shrink: 0; position: relative; }
.bump input:checked + .box { background: var(--b); }
.bump input:checked + .box::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--demo-surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bump input:focus-visible + .box { outline: 2px solid var(--demo-ink); outline-offset: 2px; }
.bump__img { width: 44px; height: 44px; border-radius: calc(var(--r) - 4px); overflow: hidden; flex-shrink: 0; }
.bump__img svg, .thumb svg { width: 100%; height: 100%; display: block; }
.bump__t { display: flex; flex-direction: column; font-size: 0.88rem; }
.bump__t small { font-size: 0.76rem; color: var(--demo-muted); }

.clock { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.clock b { display: inline-flex; align-items: center; justify-content: center; min-width: 2.7rem; height: 2.7rem; padding: 0 0.3rem; border-radius: calc(var(--r) - 4px); background: var(--demo-dark-2); color: var(--demo-surface); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stars { color: var(--demo-star); letter-spacing: 0.12em; }
.quote { margin: 0.3rem 0; font-size: 0.95rem; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; text-align: center; font-size: 0.78rem; font-weight: 500; }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.trust svg, .perks svg { color: var(--b); flex-shrink: 0; }
.perks { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; }
.perks li { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- Center: the real mobile checkout preview (same structure and rules as the dashboard's phone preview), branded Haneul ---------- */
.phone-frame { width: 24rem; max-width: 100%; margin: 0 auto; border: 1px solid var(--demo-line-soft); border-radius: var(--r); overflow: hidden; background: var(--demo-screen); box-shadow: 0 2px 4px rgb(var(--demo-black-rgb) / 0.04), 0 30px 60px -30px rgb(var(--demo-black-rgb) / 0.35); }
.phone-screen { height: 46rem; overflow-y: auto; background: var(--demo-screen); scrollbar-width: thin; scrollbar-color: var(--demo-scroll) transparent; }

.live-checkout {
  --color-paper: var(--demo-screen); --color-paper-2: var(--demo-lc-paper-2); --color-rule: var(--demo-lc-rule); --color-ink: var(--demo-lc-ink); --color-neutral: var(--demo-lc-neutral); --color-muted: var(--demo-lc-muted);
  --space-2xs: 0.5rem; --space-xs: 0.75rem; --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2.25rem;
  --radius-md: max(2px, calc(var(--r) - 4px));
  --lc-accent: var(--b);
  display: flex; flex-direction: column; min-height: 100%;
  background: var(--color-paper); color: var(--color-ink); font-family: var(--f); font-size: 0.9rem; line-height: 1.45;
}
.live-checkout h2 { margin: 0 0 var(--space-xs); font-family: var(--f); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; color: var(--color-ink); }
.live-checkout button { font-family: inherit; }
.lc-announce { text-align: center; color: var(--demo-surface); font-size: 0.74rem; padding: 0.6em; font-weight: 600; background: var(--lc-accent); }
.hn-logo { display: inline-flex; align-items: flex-end; gap: 0.18rem; }
.hn-word { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--demo-lc-ink); }
.lc-mobile-header { display: flex; justify-content: center; align-items: center; padding: var(--space-md) 1.25rem var(--space-sm); }
.lc-summary-accordion__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) 1.25rem; background: var(--color-paper-2); border: 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); font-size: 0.9rem; font-weight: 500; color: var(--color-ink); cursor: pointer; }
.lc-summary-accordion__label { display: flex; align-items: center; gap: 6px; }
.lc-summary-accordion__chevron { transition: transform 0.2s; }
.lc-summary-accordion__toggle[aria-expanded="true"] .lc-summary-accordion__chevron { transform: rotate(180deg); }
.lc-summary-accordion__total { font-weight: 600; }
.lc-summary-accordion__body { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-sm) 1.25rem var(--space-xs); background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); }
.lc-summary-accordion__body[hidden], .lc-product[hidden] { display: none; }
.lc-summary-accordion__body:not([hidden]) { animation: acc-open 0.28s ease-out; }
@keyframes acc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lc-summary-accordion__toggle:hover { background: color-mix(in oklch, var(--lc-accent) 6%, var(--color-paper-2)); }
.lc-summary-accordion__label { color: var(--lc-accent); font-weight: 600; }
.lc-summary-accordion__chevron { width: 16px; height: 16px; opacity: 1; }
.lc-product { display: flex; align-items: flex-start; gap: var(--space-sm); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.lc-product-thumb { width: 3.6rem; height: 3.6rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--color-rule); background: color-mix(in oklch, var(--lc-accent) 12%, var(--color-paper)); }
.lc-product-thumb svg { width: 100%; height: 100%; display: block; }
.lc-product-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-product-qty { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--color-muted); }
.lc-sum-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; padding: 0.4em 0; }
.lc-product-row { flex: 1; padding: 0; align-items: flex-start; }
.lc-sum-total { margin-top: var(--space-2xs); padding-top: var(--space-xs); border-top: 1px solid var(--color-rule); font-weight: 700; font-size: 1rem; }
.lc-sum-total .num { color: var(--lc-accent); }
.lc-bump { display: flex; align-items: center; gap: 0.7rem; padding: 0.55em 0.8em; border-radius: var(--radius-md); background: color-mix(in oklch, var(--lc-accent) 10%, var(--color-paper)); font-size: 0.82rem; }
.lc-bump__img { width: 2.6rem; height: 2.6rem; flex-shrink: 0; overflow: hidden; border-radius: max(2px, calc(var(--r) - 6px)); }
.lc-bump__img svg { width: 100%; height: 100%; display: block; }
.lc-bump__t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.lc-bump__t small { font-size: 0.72rem; color: var(--color-muted); }

.lc-form { display: flex; flex-direction: column; align-items: center; padding: var(--space-md) 1.25rem var(--space-lg); background: var(--color-paper); }
.lc-form-inner { width: 100%; display: flex; flex-direction: column; gap: var(--space-lg); }
.lc-steps { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--color-muted); }
.lc-steps .on { color: var(--color-ink); font-weight: 600; }
.lc-steps .rule { width: 2rem; height: 1px; background: var(--color-rule); }
.lc-continue-shopping { padding: 0; border: 0; background: none; font-size: 0.78rem; color: var(--color-muted); cursor: pointer; }
.lc-widget { padding: var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper); font-size: 0.85rem; }
.lc-widget-quote { display: flex; flex-direction: column; gap: 4px; }
.lc-quote-stars { display: flex; gap: 2px; }
.lc-quote-author { font-size: 0.75rem; color: var(--color-muted); }
.lc-input { width: 100%; height: 2.85rem; margin-top: var(--space-2xs); padding: 0 0.9em; border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: var(--color-paper); font-size: 0.9rem; color: var(--color-muted); box-sizing: border-box; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; user-select: none; }
.lc-country { position: relative; width: 100%; }
.lc-country-btn { justify-content: space-between; text-align: left; cursor: pointer; color: var(--color-ink); }
.lc-country-btn svg { flex-shrink: 0; opacity: 0.5; transition: transform 0.15s; }
.lc-country-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lc-country-btn:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: -1px; }
.lc-country-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 10; max-height: 14rem; overflow-y: auto; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-md); box-shadow: 0 12px 24px -8px rgb(var(--demo-warm-rgb) / 0.22); }
.lc-country-menu[hidden] { display: none; }
.lc-country-option { display: block; width: 100%; padding: 0.55rem 0.8rem; border: 0; background: none; text-align: left; font-size: 0.85rem; color: var(--color-ink); cursor: pointer; }
.lc-country-option:hover { background: var(--color-paper-2); }
.lc-country-option.is-sel { background: color-mix(in oklch, var(--lc-accent) 10%, transparent); color: var(--lc-accent); font-weight: 600; }
.live-checkout section > .lc-input:first-of-type { margin-top: 0; }
.lc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xs); margin-top: var(--space-2xs); }
.lc-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-2xs); margin-top: var(--space-2xs); }
.lc-row-2 > .lc-input, .lc-row-3 > .lc-input { margin-top: 0; }
.lc-row-2 + .lc-input { margin-top: var(--space-2xs); }
.lc-checkbox-row { display: flex; align-items: center; gap: var(--space-xs); margin-top: 0.5rem; font-size: 0.82rem; color: var(--color-neutral); }
.live-checkout input[type="checkbox"] { accent-color: var(--lc-accent); }
.lc-radio { width: 100%; display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-2xs); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-md); background: transparent; text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.lc-radio:first-of-type { margin-top: 0; }
.lc-radio[aria-checked="true"] { border: 2px solid var(--lc-accent); padding: calc(var(--space-xs) - 1px) calc(var(--space-sm) - 1px); }
.lc-radio-main { flex: 1; display: flex; flex-direction: column; }
.lc-radio-main strong { font-size: 0.85rem; }
.lc-radio-main span { font-size: 0.75rem; color: var(--color-muted); }
.lc-sub { margin: -4px 0 8px; font-size: 0.78rem; color: var(--color-muted); }
.lc-wallets { display: flex; gap: 8px; margin-bottom: var(--space-xs); }
.lc-wallet { flex: 1; text-align: center; padding: 0.6em; border-radius: var(--radius-md); font-weight: 600; font-size: 0.85rem; background: var(--color-ink); color: var(--color-paper); }
.lc-wallet:last-child { background: var(--color-paper); color: var(--color-ink); border: 1px solid var(--color-rule); }
.lc-checkout-footer { display: flex; flex-direction: column; gap: var(--space-xs); }
.lc-pay-btn { width: 100%; padding: 0.9em; border: 0; border-radius: var(--radius-md); background: var(--lc-accent); color: var(--demo-surface); font-size: 0.95rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lc-pay-btn:hover { filter: brightness(1.06); }
.lc-trustline { margin: 0; text-align: center; font-size: 0.75rem; color: var(--color-muted); }
.lc-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.9rem; margin-top: 0.2rem; font-size: 0.8rem; color: var(--color-neutral); }
.lc-badges b { color: var(--demo-green); margin-right: 2px; }
.lc-footer-legal { text-align: center; font-size: 0.75rem; color: var(--color-muted); }
.lc-footer-powered { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.75rem; color: var(--color-muted); }
.lc-whop-brand { display: inline-flex; align-items: center; gap: 5px; }
.lc-footer-divider { width: 1px; height: 0.9em; background: var(--color-rule); }

.note { text-align: center; font-size: 0.8rem; color: var(--demo-muted); padding-inline: 1rem; }
.end { display: flex; justify-content: center; padding: 3rem clamp(1rem, 4vw, 2rem) 5rem; }
.end__card { position: relative; isolation: isolate; overflow: hidden; width: min(52rem, 100%); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 3.4rem 2rem 2.6rem; text-align: center; color: var(--demo-end-ink); background: var(--demo-end-bg); border: 1px solid var(--demo-end-line); border-radius: 26px; box-shadow: 0 40px 80px -36px rgb(var(--demo-glow-rgb) / 0.55); }
.end__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgb(var(--demo-white-rgb) / 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--demo-white-rgb) / 0.06) 1px, transparent 1px); background-size: 38px 38px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, var(--demo-black), transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, var(--demo-black), transparent 72%); }
.end__glow { position: absolute; z-index: -1; left: 50%; top: -9rem; width: 34rem; height: 20rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(var(--demo-blue-rgb) / 0.55), transparent); filter: blur(10px); }
.end__chip { padding: 0.35rem 0.9rem; border: 1px solid var(--demo-end-chip-line); border-radius: 999px; background: rgb(var(--demo-white-rgb) / 0.04); font-size: 0.78rem; color: var(--demo-end-muted); }
.end__card h2 { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; line-height: 1.06; }
.end__card h2 span { color: var(--demo-end-blue); }
.end__sub { max-width: 46ch; color: var(--demo-end-muted); font-size: 1.02rem; }
.end__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 0.4rem; }
.go { padding: 0.95rem 1.9rem; border-radius: 12px; background: var(--demo-end-blue); color: var(--demo-end-btn-ink); font-weight: 700; }
.go:hover { filter: brightness(1.08); }
.go--ghost { background: transparent; color: var(--demo-end-ink); border: 1px solid var(--demo-end-ghost-line); }
.go--ghost:hover { border-color: var(--demo-end-blue); filter: none; }
.end__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; margin-top: 0.6rem; font-size: 0.85rem; color: var(--demo-end-muted); }
.end__points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.end__points svg { color: var(--demo-end-green); }

@media (max-width: 62rem) {
  .board { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
  .board > .col { min-width: 0; }
  .col--c { order: -1; }
}
@media (max-width: 40rem) {
  .bar { border-radius: 22px; gap: 0.7rem 1.2rem; }
  .hero { padding-top: 1.4rem; }
  .phone-screen { height: 42rem; }
  .end__card { padding: 2.6rem 1.2rem 2rem; }
  .end__actions .go { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .board, .board * { transition: none; } }

/* ---------- Entrance: everything rises from below, one piece after the other ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(2.2rem); } to { opacity: 1; transform: none; } }
.top, .hero > *, .col > *, .note, .end__card { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.top { animation-delay: 0s; }
.hero > :nth-child(1) { animation-delay: 0.03s; }
.hero > :nth-child(2) { animation-delay: 0.08s; }
.hero > :nth-child(3) { animation-delay: 0.13s; }
.hero > :nth-child(4) { animation-delay: 0.18s; }
.col--c > * { animation-delay: 0.22s; }
.col--l > :nth-child(1), .col--r > :nth-child(1) { animation-delay: 0.26s; }
.col--l > :nth-child(2), .col--r > :nth-child(2) { animation-delay: 0.31s; }
.col--l > :nth-child(3), .col--r > :nth-child(3) { animation-delay: 0.36s; }
.col--l > :nth-child(4), .col--r > :nth-child(4) { animation-delay: 0.41s; }
.col--l > :nth-child(5), .col--r > :nth-child(5) { animation-delay: 0.46s; }
.note { animation-delay: 0.5s; }
.end__card { animation-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) { .top, .hero > *, .col > *, .note, .end__card { animation: none; } }

.ap-logo { display: block; width: auto; height: 18px; margin: 0 auto; }
.xp .xp__dark { display: flex; align-items: center; justify-content: center; }
.lc-wallet--ap { display: flex; align-items: center; justify-content: center; }
