/* Kaizen Trade: brand tokens and site styles */
:root {
  --brand: #FFE45C;
  --brand-soft: #FFF3B0;
  --surface: #FFFCEB;
  --raised: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #3A382F;
  --muted: #5C5A4E;
  --line: #E8E2C4;
  --on-dark: #F5F3E7;
  --on-dark-2: #D6D3C4;
  --on-dark-muted: #A3A08F;
  --up: #0B7D47;
  --down: #C8281C;
  --r-md: 12px;
  --r-lg: 24px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.stack { display: flex; flex-direction: column; }
.eyebrow { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--brand); }
.eyebrow.yellow { background: var(--brand); color: var(--ink); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(52px, 7vw, 100px); line-height: .95; font-weight: 900; letter-spacing: -.035em; }
.title { font-size: clamp(36px, 4.5vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -.03em; }
.lead { font-size: 20px; line-height: 30px; color: var(--ink-2); }
.body { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 14px; font: 700 16px/1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-dark { background: var(--ink); color: var(--brand); }
.btn-dark:hover { color: var(--brand); background: #262626; }
.btn-yellow { background: var(--brand); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); background: #FFD92E; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 18px 28px; font-size: 17px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; flex-wrap: wrap; }
.nav .logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 24px; flex: 1; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.nav-links a { text-decoration: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) { .nav-links { order: 3; flex-basis: 100%; gap: 18px; } .nav-cta { margin-left: auto; } }
@media (max-width: 520px) { .nav-cta .btn:not(.btn-dark) { display: none; } }

/* Hero */
.hero { background: var(--brand-soft); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; gap: 28px; }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero-card-wrap { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero-card { width: 100%; max-width: 480px; background: var(--raised); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px; gap: 22px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 132px; }
.bars span { flex: 1; border-radius: 8px 8px 0 0; }
.progress { height: 12px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }

/* Plan picker */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; background: var(--raised); border: 1px solid var(--line); padding: 6px; border-radius: 16px; align-self: flex-start; }
.tab { font: 700 15px Inter, system-ui, sans-serif; padding: 12px 20px; min-height: 44px; border-radius: 12px; border: 0; cursor: pointer; background: transparent; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--brand); }
.plan-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.plan-price { flex: 1 1 460px; min-width: 0; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: 36px; gap: 28px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { font: 700 15px Inter, system-ui, sans-serif; padding: 10px 16px; min-height: 44px; min-width: 72px; border-radius: 10px; cursor: pointer; background: transparent; color: var(--on-dark); border: 2px solid #3A3A3A; }
.size[aria-pressed="true"] { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.price { font-size: 72px; line-height: .9; font-weight: 900; letter-spacing: -.03em; color: var(--brand); }
.plan-rules { flex: 1 1 420px; min-width: 0; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.rule-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rule-row span:first-child { color: var(--muted); }
.rule-row span:last-child { font-weight: 700; text-align: right; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 280px; min-width: 0; border-radius: var(--r-lg); padding: 32px; gap: 12px; }
.card.soft { background: var(--brand-soft); }
.card.yellow { background: var(--brand); }
.card.dark { background: var(--ink); color: var(--on-dark); }
.card.white { background: var(--raised); border: 1px solid var(--line); }
.steps { align-items: flex-end; }
.steps .card { justify-content: flex-end; }
.step-num { font-size: 48px; font-weight: 900; line-height: 1; }
.card h3 { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.card.big h3 { font-size: 32px; letter-spacing: -.02em; }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 24px; color: var(--ink-2); }

/* Table */
.table-box { overflow-x: auto; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.rules { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
table.rules th, table.rules td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); }
table.rules thead th { font-size: 16px; font-weight: 900; padding-top: 20px; padding-bottom: 20px; }
table.rules thead th:first-child { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
table.rules tbody th { font-weight: 400; color: var(--muted); }
table.rules td { font-weight: 700; }
table.rules tr:last-child th, table.rules tr:last-child td { border-bottom: 0; }

/* Dark band */
.band { background: var(--ink); color: var(--on-dark); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 104px; padding-bottom: 104px; }

/* FAQ */
.faq { max-width: 900px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .plus { font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }
details p { margin-top: 14px; font-size: 16px; line-height: 26px; color: var(--ink-2); }

/* CTA + footer */
.cta-box { background: var(--brand); border-radius: 32px; padding: 72px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 48px; gap: 40px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; font-size: 15px; }
.footer-cols a { color: var(--on-dark-muted); text-decoration: none; }
.footer-cols a:hover { color: var(--on-dark); }
.footer-cols strong { color: var(--on-dark); }
.legal { font-size: 13px; line-height: 21px; border-top: 1px solid #262626; padding-top: 24px; }

/* Checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 48px; padding-bottom: 96px; }
.checkout-main { flex: 999 1 560px; min-width: 0; gap: 24px; }
.panel { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; gap: 20px; }
.panel h2 { font-size: 22px; font-weight: 900; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice { font: inherit; text-align: left; padding: 16px; border-radius: 14px; cursor: pointer; min-height: 44px; color: var(--ink); background: var(--surface); border: 2px solid var(--line); }
.choice[aria-pressed="true"] { background: var(--brand); border-color: var(--ink); }
.choice b { display: block; font-size: 17px; font-weight: 900; }
.choice small { display: block; font-size: 13px; margin-top: 4px; color: var(--ink-2); }
.choice.size-choice { min-width: 92px; text-align: center; }
.addon { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); }
.addon input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fields label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.fields input { font: inherit; font-size: 16px; padding: 14px; border: 1px solid #CFC8A6; border-radius: 10px; background: var(--surface); }
.summary { flex: 1 1 360px; min-width: 0; position: sticky; top: 88px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; gap: 18px; }
.summary .row { display: flex; justify-content: space-between; font-size: 15px; }
.summary .row span:first-child { color: var(--on-dark-2); }
.summary .total { font-size: 44px; line-height: 1; font-weight: 900; color: var(--brand); }
.summary .divider { border-top: 1px solid #262626; padding-top: 16px; }
.summary input[type="text"] { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid #3A3A3A; background: #161616; color: var(--on-dark); }
.summary .agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--on-dark-2); cursor: pointer; }
.summary .agree a { color: var(--brand); }
.summary .agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex-shrink: 0; }
#pay:disabled { background: #3A3A3A; color: var(--on-dark-muted); cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.done { max-width: 640px; margin: 0 auto; padding: 120px 24px; gap: 24px; align-items: flex-start; }
[hidden] { display: none !important; }

/* Long-form pages (rules, legal) */
.doc h2, .doc h3 { margin-top: 8px; }
.doc p, .doc li { font-size: 16px; line-height: 26px; color: var(--ink-2); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.doc td, .doc th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--brand-soft); }
