/* Agents Lab marketing + funnel pages. Tokens come from brand.css. */

/* ---------- site nav ---------- */
.snav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.snav-in { max-width: var(--content-max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; }
.snav-logo img { height: 46px; width: auto; }
.snav-links { display: flex; gap: 4px; margin-left: auto; }
.snav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 500; }
.snav-links a:hover { color: var(--ink); }
.snav-links a.on { color: var(--ink); background: var(--line-2); }
.snav-cta { height: 38px; padding: 0 18px; font-size: 13.5px; }
@media (max-width: 720px) {
  .snav-links { display: none; }
  .snav-cta { margin-left: auto; }
}

/* ---------- footer ---------- */
.sfoot { border-top: 1px solid var(--line); margin-top: 40px; }
.sfoot-in { display: flex; justify-content: space-between; gap: 40px; padding-top: 44px; padding-bottom: 32px; flex-wrap: wrap; }
.sfoot-logo img { height: 58px; width: auto; }
.sfoot-brand p { margin: 14px 0 0; }
.sfoot-cols { display: flex; gap: clamp(32px, 7vw, 90px); }
.sfoot-cols div { display: flex; flex-direction: column; gap: 9px; }
.sfoot-cols p { margin: 0 0 4px; }
.sfoot-cols a { font-size: 14px; color: var(--ink-2); }
.sfoot-cols a:hover { color: var(--accent); }
.sfoot-base { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }

/* ---------- section headings ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-title { margin: 0; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.sec-title .slash { color: var(--line); font-weight: 300; }
.sec-sub { margin: 10px 0 0; color: var(--muted); max-width: 520px; font-size: 15.5px; }

/* ---------- package cards ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; min-height: 330px; }
.pkg:hover { background: var(--surface); }
.pkg:hover .pkg-name { color: var(--accent); }
.pkg-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pkg-ico .ico { width: 64px; height: 64px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.pkg:hover .pkg-ico .ico { transform: translateY(-3px) rotate(-4deg); }
.pkg-name { margin: 6px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; transition: color .2s ease; }
.pkg-tag { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pkg-agents { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-agents li { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.pkg-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pkg-foot .stars { font-size: 12.5px; }
.pkg-foot .stars .s { font-size: 13px; }
.pkg-price { display: inline-flex; align-items: baseline; gap: 8px; }
.pkg-price s { color: var(--muted-2); font-size: 13px; }
.pkg-price b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 980px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pkg-grid { grid-template-columns: 1fr; } .pkg { min-height: 0; } }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pkg[hidden] { display: none; }

/* ---------- split: cloud vs download ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.split-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 34px); background: #fff; position: relative; overflow: hidden; }
.split-card.primary { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.split-card h3 { margin: 10px 0 8px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.split-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.split-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.split-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.split-card li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 8px; background: var(--accent); border-radius: 1px; }
.split-card .tag { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: #fff; padding: 4px 8px; border-radius: 6px; }
.split-card .ico { position: absolute; right: -8px; bottom: -8px; width: 120px; height: 120px; opacity: .22; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: #fff; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 13px 0; animation: tick 48s linear infinite; }
.ticker-track span { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

.bracket-line { font-size: clamp(22px, 3.4vw, 36px); font-family: var(--font-mono); color: var(--accent); letter-spacing: -0.01em; text-align: center; padding: clamp(40px, 7vw, 70px) 12px; }
.bracket-line .dim { color: var(--ink); }

/* ---------- funnel page ---------- */
/* Hero: one centred column - badge, two-line headline, sub, pipeline, stage, CTA, chips.
   Same composition as the reference funnel, in the white Agents Lab brand. */
.fh { padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 7vw, 92px); }
.fh-in { max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fh-title { margin: 22px 0 0; font-family: var(--font-sans); font-weight: 600; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.032em; color: var(--ink); text-wrap: balance; max-width: 15ch; }
.fh-sub { margin: 16px 0 0; color: var(--muted); font-size: clamp(15.5px, 1.7vw, 18.5px); line-height: 1.55; max-width: 620px; }
.fh-rating { margin-top: 18px; }
.fh-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.fh-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.fh-note s { color: var(--muted-2); }
.fh-note b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* Keycap CTA: a slightly squared key with a real edge, the way a SPACE bar sits in a keyboard. */
.key-btn { --key-edge: #b83f00; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 30px; border: 0; border-radius: 12px; cursor: pointer; background: linear-gradient(180deg, #ff7326 0%, var(--accent) 58%, #f14f00 100%); color: #fff; font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; box-shadow: 0 5px 0 var(--key-edge), 0 8px 16px rgba(180, 60, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .08s ease, box-shadow .08s ease, filter .15s ease; }
.key-btn:hover { filter: brightness(1.03); }
.key-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--key-edge), 0 2px 6px rgba(180, 60, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35); }
.key-btn:focus-visible { outline: 3px solid var(--accent-tint); outline-offset: 3px; }
.key-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
@media (prefers-reduced-motion: reduce) { .key-btn:active { transform: none; } }

/* Big CTA with its own sub-line, like the reference. */
.fh-cta { margin: 30px 0 0; }
.fh .timer { margin: 18px 0 0; }
.fh .chips-trust { justify-content: center; margin-top: 16px; }
.fh .apay-block { margin: 18px auto 0; }

/* shared bits used by the funnel, upsell and gifts pages */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.timer { display: inline-flex; align-items: center; gap: 10px; border: 1.5px dashed rgba(255, 90, 0, .55); background: var(--accent-tint); color: var(--accent-ink); border-radius: 12px; padding: 8px 14px; font-size: 13.5px; }
.timer i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.timer b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.timer s { color: var(--accent-ink); }
.chips-trust { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-trust span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 6px; background: #fff; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 2px; display: flex; justify-content: space-between; gap: 18px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }


/* One calm hero visual: a still of the workspace, no numbers to read, no icons. */
.hero-shot { width: min(560px, 100%); margin: 34px auto 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(17, 17, 17, .08); overflow: hidden; text-align: left; }
.shot-body { height: 360px; overflow: hidden; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 28px, #000 100%); padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 12px; transition: opacity .5s ease; }
.shot-body.pv-fade { opacity: 0; }
.pv-row { display: flex; }
.pv-user { justify-content: flex-end; }
.pv-ask { max-width: 78%; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.45; padding: 9px 14px; border-radius: 14px 14px 4px 14px; text-align: left; }
.pv-mention { display: inline-block; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border-radius: 6px; vertical-align: 1px; }
.pv-caret { display: inline-block; width: 2px; height: 1em; background: #fff; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.pv-reply { max-width: 86%; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: #fff; padding: 12px 14px; text-align: left; }
.pv-agent-name { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); background: var(--accent-tint); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.pv-think { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pv-text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.pv-steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pv-steps:empty { display: none; }
.pv-step { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.pv-step-ic { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; flex: 0 0 20px; }
.pv-step-ic.done { color: var(--accent); }
.pv-step-ic svg { width: 14px; height: 14px; }
.pv-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-file { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 5px 9px; }
.pv-file svg { width: 13px; height: 13px; color: var(--muted); }
.pv-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: transform .12s ease, background .2s ease, color .2s ease; }
.pv-btn svg { width: 14px; height: 14px; }
.pv-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.pv-btn.pressed { transform: scale(.96); }
.pv-btn.done { background: var(--accent-tint); border-color: #ffd1b8; color: var(--accent-ink); }
.pv-in { opacity: 0; transform: translateY(4px); transition: opacity .28s ease, transform .28s ease; }
.pv-in.pv-on { opacity: 1; transform: none; }
.built { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; }
.built-cell { padding: 26px 24px; border-right: 1px solid var(--line); }
.built-cell:last-child { border-right: 0; }
.built-cell p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* The countdown sits above the button, as a dashed badge (same as the reference funnel). */
.fh-cta .timer { margin-bottom: 14px; }

/* Hero pay block: Apple Pay, then the card form opened in place. */
.apay-card { display: block; width: 100%; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.apay-card:hover { border-color: var(--ink); }
.apay-block.card-open .apay-card { display: none; }
.apay-host:empty { display: none; }
.apay-host { margin-top: 14px; }
.apay-host .co-card { border: 0; box-shadow: none; padding: 0; }
.apay-host .co-card-head { display: none; }

.card-orb { position: absolute; right: 22px; bottom: 20px; opacity: .9; }
.work-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.work-row[hidden] { display: none; }

/* ---------- funnel sections (short, templated) ---------- */
.f-sec { padding: clamp(46px, 7vw, 84px) 0; border-top: 1px solid var(--line); }
.f-sec.tight { padding: clamp(40px, 5.4vw, 66px) 0; }
.wrap.narrow { max-width: 820px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 34px; }
.sec-head.center .sec-sub { text-align: center; }
.eyebrow { margin: 0; letter-spacing: .1em; }
.sec-note { text-align: center; margin: 22px 0 0; color: var(--muted); }

/* What's included */
.inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border: 0; }
.inside { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; text-align: center; transition: border-color .2s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.inside:hover { border-color: var(--accent); transform: translateY(-2px); }
.inside-ic .ico { width: 72px; height: 72px; margin: 0 auto 16px; }
.inside h3 { margin: 6px 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.inside p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }

.cap h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.cap p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Benchmarks */
.bench { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: #fff; margin-top: 14px; }
.bench > div { padding: 20px 18px; border-right: 1px solid var(--line); text-align: center; }
.bench > div:last-child { border-right: 0; }

.bench .val { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.03em; margin: 0 0 2px; font-variant-numeric: tabular-nums; }
.bench .val small { font-size: .5em; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.bench .lbl { font-size: 13px; color: var(--muted); }

/* Border beam (libraries.dev): a light travelling around the card edge. */
.beam-card { position: relative; }
.beam-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 72%, rgba(255, 90, 0, .9) 84%, #ffcbae 92%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: beamSpin 6s linear infinite; pointer-events: none; }
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes beamSpin { to { --beam-angle: 360deg; } }
@supports not (background: conic-gradient(from var(--x, 0deg), red, blue)) { .beam-card::before { display: none; } }

@media (max-width: 900px) {
  .caps, .inside-grid, .built { grid-template-columns: 1fr; }
  .built-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .built-cell:last-child { border-bottom: 0; }
  .bench { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bench > div:nth-child(2) { border-right: 0; }
  .bench > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .fh-title { font-size: clamp(27px, 8vw, 38px); }
  .key-btn { width: 100%; padding: 0 20px; }
}

/* ---------- checkout card ---------- */
.co { padding: clamp(46px, 7vw, 84px) 0 clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); background: var(--surface); }
.co-in { max-width: 520px; margin: 0 auto; }
.co-head { text-align: center; margin-bottom: 22px; }
.co-head h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.co-sub { margin: 0; color: var(--muted); font-size: 14.5px; }
.co-under { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; text-align: center; }
.co-summary h2 { margin: 14px 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.co-summary p { color: var(--muted); margin: 0 0 18px; }
.co-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.co-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.co-list .ico { width: 30px; height: 30px; flex: 0 0 30px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-card); scroll-margin-top: 80px; }
.co-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.co-card-head .price { display: flex; align-items: baseline; gap: 8px; }
.co-card-head .price s { color: var(--muted-2); font-size: 14px; }
.co-card-head .price b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.co-field { display: block; margin-bottom: 12px; }
.co-field span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.co-input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.co-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.co-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.bump-box { display: flex; gap: 12px; align-items: flex-start; border: 1.5px dashed #ffb892; background: #fffaf6; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.bump-box:hover { border-color: var(--accent); }
.bump-box.checked { border-style: solid; border-color: var(--accent); background: var(--accent-tint); }
.bump-box input { width: 20px; height: 20px; accent-color: var(--accent); margin: 2px 0 0; flex: 0 0 20px; }
.bump-body { flex: 1; min-width: 0; }
.bump-body > span { display: block; }
.bump-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; }
.bump-rec { margin-left: 4px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 5px; font-weight: 400; }
.bump-desc { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.bump-price { font-size: 13px; color: var(--accent-ink); margin-top: 4px; }
.bump-price s { color: var(--muted-2); margin-right: 4px; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 2px; margin: 4px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-total span { color: var(--muted); font-size: 14px; }
.co-total b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.co-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--line-2); border-radius: 12px; margin-bottom: 12px; }
.co-seg button { height: 40px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.co-seg button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.co-seg svg { width: 18px; height: 18px; }
.hf-box { position: relative; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; margin-bottom: 10px; }
.hf-box iframe { width: 100% !important; height: 100% !important; border: 0; }
.hf-box.loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 90, 0, .07) 50%, transparent 80%); background-size: 200% 100%; animation: hfshine 1.4s linear infinite; }
@keyframes hfshine { to { background-position: -200% 0; } }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hf-mock { display: flex; align-items: center; height: 100%; padding: 0 14px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.co-cards { display: flex; gap: 8px; align-items: center; margin: 2px 0 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; }
.co-cards span { border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; }
.co-pay { width: 100%; height: 54px; font-size: 16px; border-radius: 12px; }



.or-div { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 12px; margin: 12px 0; font-family: var(--font-mono); text-transform: uppercase; }
.or-div::before, .or-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wallet-row { display: grid; gap: 8px; }
.apple-pay-btn { display: none; width: 100%; height: 50px; border-radius: 12px; border: 0; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: black; }
.apple-pay-btn.show { display: block; }
.gpay-btn { display: none; width: 100%; height: 50px; border-radius: 12px; border: 0; background: #000; color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; align-items: center; justify-content: center; gap: 8px; }
.gpay-btn.show { display: inline-flex; }
.gpay-btn svg { height: 20px; width: auto; }
.co-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: 13.5px; }
.co-error.show { display: block; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.secure-line svg { width: 14px; height: 14px; }
.pp-mock-btn { width: 100%; height: 50px; border-radius: 999px; border: 0; background: #ffc439; color: #111; font-weight: 700; cursor: pointer; }
.pp-note { font-size: 13px; color: var(--muted); text-align: center; }
#paypalButtons { min-height: 50px; }
.co-mock { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); border-radius: 6px; padding: 3px 8px; }


/* Apple-device quick pay block (replaces hero CTA) */
.apay-block { display: none; margin-top: 4px; max-width: 420px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.apay-block.show { display: block; }
.apay-block .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.apay-block .row b { font-size: 20px; }
.apay-block .apple-pay-btn { display: block; }
.apay-block a { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
.apay-block .apay-err { display: none; color: var(--danger); font-size: 13px; margin-top: 8px; }
.apay-block .apay-err.show { display: block; }

/* Google Pay iframe modal */
.wmodal { position: fixed; inset: 0; z-index: 100; background: rgba(17, 17, 17, .55); display: none; align-items: center; justify-content: center; padding: 16px; }
.wmodal.show { display: flex; }
.wmodal-in { width: min(460px, 100%); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.wmodal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.wmodal-head button { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.wmodal iframe { display: block; width: 100%; height: 520px; border: 0; }

/* ---------- post-purchase (upsell + gifts) ---------- */
.pp-page { min-height: 100vh; background: #fff; }
.pp-bar { height: 4px; background: var(--line-2); }
.pp-bar i { display: block; height: 100%; background: var(--accent); }
.pp-wrap { max-width: 640px; margin: 0 auto; padding: clamp(28px, 6vw, 56px) 18px 120px; }
.pp-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.pp-steps span { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted-2); padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; }
.pp-steps span.on { color: var(--accent-ink); border-color: #ffd1b8; background: var(--accent-tint); }
.pp-steps span.done { color: var(--ink); }
.kick { display: block; width: fit-content; margin: 0 auto 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 7px 12px; border-radius: 8px; }
.pp-h1 { margin: 0 0 12px; text-align: center; font-size: clamp(30px, 6vw, 46px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.pp-h1 .br { color: var(--accent); }
.pp-once { text-align: center; font-size: 14px; color: var(--ink-2); margin: 0 0 22px; }
.pp-once b { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .03em; }
.up-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(18px, 4vw, 26px); background: #fff; box-shadow: var(--shadow-card); }
.up-card.shake { animation: shake .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
.up-pkgs { display: grid; gap: 10px; margin-bottom: 18px; }
.up-pkg { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.up-pkg .ico { width: 48px; height: 48px; flex: 0 0 48px; }
.up-pkg b { display: block; font-size: 16px; font-weight: 600; }
.up-pkg p { margin: 2px 0 6px; font-size: 13.5px; color: var(--muted); }
.up-pkg .agents { display: flex; flex-wrap: wrap; gap: 5px; }
.up-pkg .agents span { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.up-pkg .worth { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); text-decoration: line-through; white-space: nowrap; }
.up-bullets { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.up-bullets li { display: flex; gap: 10px; font-size: 14.5px; }
.up-bullets li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.up-price { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 6px 0 4px; }
.up-price s { font-size: 22px; color: var(--muted-2); }
.up-price b { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; }
.up-price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.up-save { text-align: center; margin: 0 0 16px; }
.up-save span { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); padding: 4px 9px; border-radius: 6px; }
.up-timer { display: flex; justify-content: center; margin-bottom: 16px; }
.up-yes { --key-edge: #b83f00; width: 100%; height: 56px; border: 0; border-radius: 12px; cursor: pointer; background: linear-gradient(180deg, #ff7326 0%, var(--accent) 58%, #f14f00 100%); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; box-shadow: 0 5px 0 var(--key-edge), 0 8px 18px rgba(180, 60, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .08s ease, box-shadow .08s ease, filter .15s ease; }
.up-yes:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--key-edge), inset 0 1px 0 rgba(255, 255, 255, .35); }
.up-yes:hover { background: var(--accent-hover); }
.up-yes:disabled { opacity: .6; cursor: wait; }
.up-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.up-note svg { width: 14px; height: 14px; flex: 0 0 14px; }
.up-err { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: 13.5px; text-align: center; }
.up-err.show { display: block; }
.up-no { display: block; margin: 20px auto 0; background: none; border: 0; cursor: pointer; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sure { display: none; margin-top: 16px; border: 1.5px dashed rgba(200, 30, 30, .4); background: #fff7f7; border-radius: 14px; padding: 14px; text-align: center; }
.sure.show { display: block; }
.sure p { margin: 0 0 12px; font-size: 14.5px; font-weight: 500; }
.sure .row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sure .keep { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.sure .leave { height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; color: var(--muted); }
.up-inline { margin: 0 0 12px; }
.up-inline .apple-pay-btn.show { margin-bottom: 8px; }
.up-expired { display: none; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px 20px; }
.up-expired.show { display: block; }
.up-expired h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.up-expired p { margin: 0 0 18px; color: var(--muted); }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.sticky.show { transform: none; }
.sticky .up-yes { min-height: 52px; box-shadow: none; }
@media (min-width: 761px) { .sticky { display: none; } }

/* gifts */
.g-wrap { max-width: 560px; margin: 0 auto; padding: clamp(40px, 8vw, 76px) 18px 60px; text-align: center; }
.g-h1 { margin: 0 0 18px; font-size: clamp(36px, 8.6vw, 56px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.g-h1 .br { color: var(--accent); }
.g-sub { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.g-badge { display: inline-block; border: 1.5px dashed rgba(255, 90, 0, .6); background: var(--accent-tint); color: var(--accent-ink); border-radius: 12px; padding: 9px 16px; font-weight: 600; font-size: 14.5px; margin-bottom: 30px; font-family: var(--font-mono); letter-spacing: .01em; }
.sheet { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 34px; text-align: left; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.sheet th { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 10px; border-bottom: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.sheet th:first-child, .sheet td:first-child { padding-left: 16px; }
.sheet th:last-child, .sheet td:last-child { padding-right: 16px; text-align: right; }
.sheet td { padding: 13px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.sheet tr:last-child td { border-bottom: 0; }
.g-name b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.g-name span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.g-inc { width: 36px; text-align: center; }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; }
.tick svg { width: 12px; height: 12px; }
.g-num { font-family: var(--font-mono); font-size: 13px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-num small { display: block; font-size: 9.5px; color: var(--muted); text-transform: uppercase; white-space: normal; max-width: 120px; margin-left: auto; line-height: 1.3; }
@media (max-width: 480px) { .sheet th:last-child, .sheet td:last-child { padding-right: 12px; } .sheet td { padding: 12px 6px; } .g-name span { font-size: 12px; } }
.g-yes { --key-edge: #b83f00; width: 100%; border: 0; border-radius: 14px; cursor: pointer; padding: 26px 18px; background: linear-gradient(180deg, #ff7326 0%, var(--accent) 58%, #f14f00 100%); color: #fff; font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 6px 0 var(--key-edge), 0 10px 22px rgba(180, 60, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .08s ease, box-shadow .08s ease, filter .15s ease; }
.g-yes:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--key-edge), inset 0 1px 0 rgba(255, 255, 255, .35); }
@media (max-width: 640px) { .g-yes { padding-top: 32.1px; padding-bottom: 32.1px; } }
.g-yes:disabled { opacity: .6; cursor: wait; }
.g-yes .lbl { display: inline-block; animation: breathe 1.7s ease-in-out infinite; transform-origin: center; }
.g-yes .arw { display: inline-block; width: 22px; height: 22px; animation: nudge 1.7s ease-in-out infinite; }
.g-yes .arw svg { width: 22px; height: 22px; display: block; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.075); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.g-yes:disabled .lbl, .g-yes:disabled .arw { animation: none; }
.g-terms { margin-top: 18px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.g-err { display: none; margin-top: 13px; color: var(--danger); font-size: 14px; }
.g-err.show { display: block; }

/* ---------- legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; font-weight: 500; margin: 14px 0 8px; }
.legal .updated { margin: 0 0 32px; }
.legal h2 { font-size: 19px; margin: 32px 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; margin-top: 24px; display: grid; gap: 14px; }
.contact-card div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
.contact-card div:last-child { border-bottom: 0; padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .flow-beam, .ticker-track, .flow-node, .pill i, .timer i { animation: none !important; }
}
