/* GOLDEO — natural edition. Warm paper, deep green, gold. */
:root {
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --sand: #F2EADC;
  --sage: #E8EFE9;
  --ink: #1C1A17;
  --ink-soft: #5B554C;
  --ink-faint: #8A8377;
  --line: #E9E1D3;
  --line-strong: #D8CDBA;
  --forest: #10362C;
  --forest-2: #174A3C;
  --forest-3: #22604E;
  --on-forest: #EEF3EF;
  --on-forest-soft: #B9CCC3;
  --gold: #E7B93A;
  --gold-deep: #8C6400;
  --gold-soft: #F6E7BF;
  --up: #1D7A4E;
  --up-soft: #DDF1E6;
  --down: #B03A2E;
  --down-soft: #F7E1DE;
  --info-soft: #E3ECF7;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --shadow: 0 1px 2px rgba(28, 26, 23, .05), 0 10px 30px rgba(28, 26, 23, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--forest-3); }
a:hover { color: var(--forest); }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 12px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.dark .eyebrow, .on-dark.eyebrow { color: var(--gold); }
.h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.01em; }
.lead { margin: 0; font-size: 18px; color: var(--ink-soft); }
.small { font-size: 14px; color: var(--ink-soft); }
.serif, .display { font-family: var(--display); font-weight: 600; }
.mt-56 { margin-top: 56px; } .mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; } .mb-48 { margin-bottom: 48px; } .measure { max-width: 760px; }
.split { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-end; }
.split > * { flex: 1 1 360px; }
.up { color: var(--up); } .down { color: var(--down); }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark .mark { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.wordmark img { width: 30px; height: 30px; }
.side .wordmark, .site-footer .wordmark { color: var(--on-forest); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.btn:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-gold, .btn-pink, .btn-outline-gold, .btn-submit { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-pink:hover, .btn-outline-gold:hover, .btn-submit:hover { background: #F0C64C; border-color: #F0C64C; color: var(--ink); }
.btn-ink { background: var(--forest); border-color: var(--forest); color: #FFFFFF; }
.btn-ink:hover { background: var(--forest-2); border-color: var(--forest-2); color: #FFFFFF; }
.btn-line { background: var(--surface); }
.btn-line-dark { background: transparent; color: var(--on-forest); border-color: rgba(238, 243, 239, .45); }
.btn-line-dark:hover { color: #FFFFFF; border-color: #FFFFFF; }
.btn-danger, .btn-danger-line { background: var(--down); border-color: var(--down); color: #FFFFFF; }
.btn-danger:hover, .btn-danger-line:hover { background: #962F25; color: #FFFFFF; }
.btn-ok { background: var(--up); border-color: var(--up); color: #FFFFFF; }
.btn-ok:hover { background: #17633F; color: #FFFFFF; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; background: var(--gold-soft); color: var(--gold-deep); border-radius: 999px; font-weight: 700; font-size: 13px; }

/* ---------- Public site ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251, 247, 240, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-strong { color: var(--ink); font-weight: 700; }
.nav-links .btn { min-height: 42px; padding: 0 18px; color: var(--ink); }

.hero { padding: 72px 0 88px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-main { flex: 1 1 460px; min-width: 0; }
.hero-art { flex: 1 1 440px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(46px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.02em; }
.hero h1 span { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.hero-sub { margin: 24px 0 0; max-width: 540px; font-size: 19px; color: var(--ink-soft); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.live-strip { margin-top: 32px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 15px; }
.live-strip strong { font-size: 18px; }
.live-strip a { font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(29, 122, 78, .5); animation: pulse 2s infinite; flex: none; }
.pulse.off { background: var(--ink-faint); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29, 122, 78, .45); } 70% { box-shadow: 0 0 0 10px rgba(29, 122, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 122, 78, 0); } }

.trust { background: var(--forest); color: var(--on-forest); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding-top: 18px; padding-bottom: 18px; font-weight: 500; font-size: 15px; }
.trust span::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 700; }

.section { padding-top: 104px; padding-bottom: 104px; }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--on-forest); }
.section-forest .h2 { color: #FFFFFF; }
.section-forest .eyebrow { color: var(--gold); }
.section-forest .lead, .section-forest .small { color: var(--on-forest-soft); }
.section-forest a { color: var(--gold); }

.steps4 { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step4 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.step4 .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; }
.step4 h3 { margin: 16px 0 8px; font-family: var(--display); font-weight: 600; font-size: 24px; }
.step4 p { margin: 0; color: var(--ink-soft); }
.footnote { margin: 32px 0 0; color: var(--ink-soft); font-size: 15px; }

/* Track record */
.kpis { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { background: var(--forest-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 18px 20px; }
.kpi p { margin: 0; font-size: 13px; color: var(--on-forest-soft); font-weight: 500; }
.kpi b { display: block; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 30px; color: #FFFFFF; line-height: 1.2; }
.kpi b.up { color: #7FDBA8; } .kpi b.down { color: #F2A196; }
.chart-card { margin-top: 18px; background: var(--forest-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 22px 22px 14px; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 8px; }
.chart-head h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; color: #FFFFFF; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.chart .axis { fill: var(--on-forest-soft); font-size: 12px; font-family: var(--sans); }
.chart .area { fill: rgba(231, 185, 58, .16); }
.chart .line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .zero { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 4 4; }
.chart .hover-line { stroke: rgba(255, 255, 255, .45); }
.chart .hover-dot { fill: var(--gold); stroke: var(--forest); stroke-width: 3; }
.chart-tip { min-height: 22px; font-size: 14px; color: var(--on-forest-soft); }
.months { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.month { border-radius: 12px; padding: 10px 12px; background: var(--forest-2); border: 1px solid rgba(255, 255, 255, .08); }
.month span { display: block; font-size: 12px; color: var(--on-forest-soft); }
.month b { font-size: 16px; }
.month.pos b { color: #7FDBA8; } .month.neg b { color: #F2A196; }
.track-empty { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.track-empty > * { flex: 1 1 320px; }
.track-empty img { border-radius: 24px; }
.verify { margin-top: 18px; font-size: 14px; color: var(--on-forest-soft); }

/* Calculator */
.calc { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.calc-form { flex: 1 1 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.calc-out { flex: 2 1 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-soft); }
.money-input .input { padding-left: 34px; font-size: 20px; font-weight: 700; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { border: 1px solid var(--line-strong); background: var(--bg); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.quick button:hover, .quick button[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); }
.result-big { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
.result-sub { margin: 0; color: var(--ink-soft); }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.result-grid div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.result-grid span { display: block; font-size: 13px; color: var(--ink-soft); }
.result-grid b { font-size: 19px; }
.calc .chart .grid { stroke: var(--line); }
.calc .chart .axis { fill: var(--ink-faint); }
.calc .chart .area { fill: rgba(29, 122, 78, .1); }
.calc .chart .line { stroke: var(--up); }
.calc .chart .line2 { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-dasharray: 6 5; }
.calc .chart .zero { stroke: var(--line-strong); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-soft); }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; background: var(--up); }
.legend i.g { background: var(--gold-deep); }
.calc-note { font-size: 13px; color: var(--ink-faint); margin: 0; }
.calc-art { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.calc-art img { flex: 1 1 280px; width: 100%; min-width: 0; max-width: min(420px, 100%); height: auto; border-radius: 24px; }
.calc-art p { flex: 2 1 320px; margin: 0; }

/* Media / optional tester content */
.video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--forest); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--on-forest-soft); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .ph { font-weight: 700; text-align: center; padding: 0 24px; }
.shots { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.shot { margin: 0; }
.shot-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.shot-frame a, .shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* Setup */
.steps-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.steps-wrap > div { flex: 1 1 420px; min-width: 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps p { margin: 2px 0 0; color: var(--ink-soft); }

/* Pricing */
.price-wrap { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.price-grid { flex: 3 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-art { flex: 2 1 300px; }
.price-art img { border-radius: 24px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.price.featured { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.price .label { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.price.featured .label { color: var(--gold); }
.price .big { margin: 10px 0 2px; font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; }
.price.featured .big { color: #FFFFFF; }
.price .per { margin: 0 0 20px; color: var(--ink-soft); }
.price.featured .per, .price.featured .fine { color: var(--on-forest-soft); }
.price ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.price li::before { content: '✓'; color: var(--up); font-weight: 700; margin-right: 8px; }
.price .punch { margin: 0; font-size: 18px; font-weight: 700; color: #FFFFFF; }
.price .fine { margin: 16px 0 0; font-size: 14px; line-height: 1.7; }

/* FAQ */
.faq { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold-deep); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

.site-footer { background: var(--forest); color: var(--on-forest-soft); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 48px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.site-footer .links a { color: var(--on-forest); text-decoration: none; }
.site-footer .links a:hover { color: var(--gold); }
.site-footer .risk { margin: 24px 0 0; max-width: 900px; font-size: 13px; line-height: 1.7; }
.site-footer .copy { margin: 16px 0 0; padding-bottom: 36px; font-size: 13px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl { font-weight: 700; font-size: 14px; color: var(--ink); }
.input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font: inherit; color: inherit; width: 100%; }
.input:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 3px rgba(34, 96, 78, .15); }
.input[readonly] { background: var(--bg); }
.input.code { letter-spacing: .4em; font-size: 22px; font-weight: 700; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--forest); width: 18px; height: 18px; }
.toolbar .check { align-items: center; font-weight: 700; color: var(--ink); }
.toolbar .check .input { min-height: 42px; width: 240px; max-width: 60vw; }
.form { display: flex; flex-direction: column; gap: 18px; }
.msg { min-height: 1.4em; font-size: 14px; margin: 0; font-weight: 600; }
.msg.err { color: var(--down); }
.msg.ok { color: var(--up); }

/* ---------- Auth page ---------- */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 460px; background: var(--sand); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.auth-side img { max-width: 520px; width: 100%; border-radius: 24px; }
.auth-side .pitch { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.auth-main { flex: 999 1 520px; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.tabs { display: flex; gap: 6px; margin-bottom: 32px; background: var(--sand); border-radius: 999px; padding: 5px; }
.tab { flex: 1; padding: 10px; background: none; border: 0; border-radius: 999px; color: var(--ink-soft); font-weight: 700; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.auth h1 { margin: 0 0 24px; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.1; }
.auth .btn-submit { min-height: 52px; font-size: 17px; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-faint); margin-top: 18px; }

/* ---------- App shell (client + admin) ---------- */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; font-size: 15px; }
.side { flex: 1 1 240px; max-width: 100%; background: var(--forest); color: var(--on-forest-soft); padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; }
.side.dark { background: #0B241D; }
.side .wordmark { font-size: 21px; }
.side .role { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a, .side nav button { padding: 10px 14px; color: inherit; text-decoration: none; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; font-weight: 500; }
.side nav a:hover, .side nav button:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.side nav a.active { background: rgba(231, 185, 58, .16); color: var(--gold); }
.main { flex: 999 1 560px; min-width: 0; padding: 40px clamp(20px, 4vw, 56px) 80px; }
.main-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.page-head .who { display: flex; align-items: flex-end; gap: 14px; }
.page-head .who img { display: none; }
.page-head .eyebrow { margin: 0 0 4px; font-size: 12px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1.1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--up); flex: none; vertical-align: middle; }
.dot.warn { background: var(--gold); } .dot.bad { background: var(--down); } .dot.off { background: var(--line-strong); }
.panel-dark { position: relative; background: var(--forest); color: var(--on-forest); border-radius: 22px; padding: 30px 32px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.panel-dark .label { margin: 0; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.panel-dark .amount { margin: 8px 0 4px; font-family: var(--display); font-weight: 600; font-size: clamp(42px, 5.5vw, 64px); line-height: 1; color: #FFFFFF; }
.panel-dark .sub { margin: 0; color: var(--on-forest-soft); }
.panel-dark .small { color: var(--on-forest-soft); }
.panel-dark .col { flex: 1 1 300px; }
.panel-dark .col + .col { background: var(--forest-2); border-radius: 16px; padding: 18px 20px; }
.panel-dark .kv span:first-child { color: var(--on-forest-soft); }
.panel-dark .kv .ref { color: var(--gold); }
#kill.panel-dark .col + .col { background: none; padding: 0; }
.kill-title { margin: 8px 0 4px; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.2; color: #FFFFFF; }
.kill-title .state-ok { color: #7FDBA8; } .kill-title .state-bad { color: #F2A196; }
.kv { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 3px 0; }
.kv span:first-child { color: var(--ink-soft); }
.kv span:last-child { font-weight: 700; }
.kv .ref { color: var(--gold-deep); letter-spacing: .04em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--surface); box-shadow: var(--shadow); }
.stat p { margin: 0; font-weight: 500; font-size: 13px; color: var(--ink-soft); }
.stat b { display: block; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.2; }
.stat .small { font-family: var(--sans); font-size: 15px; }
.h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 26px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; background: var(--bg); color: var(--ink-soft); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
tbody tr:first-child td { border-top: 0; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
td .small { font-size: 12px; }
.tag { display: inline-block; padding: 2px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; background: var(--bg); color: var(--ink-soft); white-space: nowrap; }
.tag.due { background: var(--gold-soft); color: var(--gold-deep); } .tag.overdue { background: var(--down-soft); color: var(--down); }
.tag.claimed { background: var(--info-soft); color: #2D4E6E; } .tag.paid { background: var(--up-soft); color: var(--up); }
.tag.star { background: var(--gold-soft); color: var(--gold-deep); }
.state-ok { color: var(--up); font-weight: 600; } .state-warn { color: var(--gold-deep); font-weight: 600; }
.state-bad { color: var(--down); font-weight: 600; } .state-off { color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.card > .cards { gap: 14px; }
.card h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; }
.card p { margin: 0; color: var(--ink-soft); }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .08em; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px 14px; word-break: break-all; }
code.url { display: block; padding: 10px 12px; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 13px; word-break: break-all; }
.banner { padding: 14px 18px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.banner.bad { background: var(--down-soft); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.empty { padding: 22px; margin: 0; color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 16px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.toolbar .h3 { margin: 0; }
.toast { position: fixed; right: 24px; bottom: 24px; max-width: 380px; background: var(--ink); color: #FFFFFF; padding: 14px 18px; font-size: 14px; font-weight: 600; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 10; border-left: 4px solid var(--gold); }
.toast.show { opacity: 1; transform: none; }
.toast.err { border-left-color: var(--down); }
.audit { max-height: 420px; overflow-y: auto; }
.audit td { font-size: 13px; }

/* Admin: site content */
.content-cards { margin-top: 14px; }
.shots-card { margin-top: 20px; }
.input.file { padding: 10px 12px; min-height: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.inline-form .field { flex: 1 1 160px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 6px; }
.thumb { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.thumb .cap { border: 0; background: none; padding: 8px 10px 0; font: inherit; font-weight: 700; font-size: 13px; text-align: left; cursor: text; color: var(--ink); }
.thumb .row-actions { padding: 8px 10px 10px; justify-content: flex-start; }
.ok-text { color: var(--up); font-weight: 700; }
.warn-text { color: var(--down); font-weight: 700; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* Legal pages */
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 96px; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: 48px; line-height: 1.05; margin: 0 0 16px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: 14px; color: var(--ink-faint); margin: 0 0 18px; }
.legal .lede { font-size: 18px; color: var(--ink); background: var(--sand); border-radius: 14px; padding: 16px 20px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; }
.draft { padding: 14px 18px; border-radius: 14px; background: var(--gold-soft); font-size: 14px; font-weight: 600; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 56px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .price { padding: 26px; }
  .price .big { font-size: 52px; }
  .panel-dark { padding: 24px 20px; }
  .auth-side { padding: 28px 20px; }
  .calc-form, .calc-out { padding: 22px; }
}
/* Refer & earn */
.refer { margin: 28px 0; }
.refer-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.refer-head > div:first-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.refer-rate { background: var(--forest); color: var(--on-forest); border-radius: 14px; padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 190px; }
.refer-rate b { font-family: var(--display); font-size: 40px; line-height: 1.1; color: var(--gold); font-weight: 600; }
.refer-rate .small { color: var(--on-forest-soft); }
.copy-row { display: flex; gap: 10px; }
.copy-row .input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.ref-steps { margin: 4px 0 0; padding-left: 20px; color: var(--ink-soft); display: grid; gap: 4px; }
.aff-note { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.aff-note b { color: var(--ink); }
.price.featured .aff-note { color: var(--on-forest); border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.price.featured .aff-note b { color: var(--gold); }
@media (max-width: 640px) { .copy-row { flex-direction: column; } .refer-rate { width: 100%; } }
/* Refer & earn page */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.steps3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.my-link { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.my-link-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.my-link-top > div { display: flex; flex-direction: column; }
.my-link-top b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .08em; }
.my-link .my-rate b { font-family: var(--display); font-size: 30px; color: var(--gold-deep); letter-spacing: 0; line-height: 1; }
.my-link .small { color: var(--ink-soft); }
.worth { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.worth-form, .worth-out { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.worth-form { flex: 1 1 320px; }
.worth-out { flex: 2 1 460px; gap: 16px; }
.range { width: 100%; accent-color: var(--forest); height: 28px; cursor: pointer; }
.worth-rates { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.worth-rates > div { display: flex; flex-direction: column; }
.worth-rates span { font-size: 13px; color: var(--ink-soft); }
.worth-rates b { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; color: var(--ink-faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.worth-rates .mine b { color: var(--up); text-decoration: none; }
.worth-rates .arrow { font-size: 30px; color: var(--ink-faint); }
.split-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--bg); }
.split-bar i { display: block; height: 100%; transition: width .25s ease; }
.split-bar i:first-child { background: var(--gold); }
.split-bar i:last-child { background: var(--forest-3); }
.split-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--ink-soft); }
.split-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.split-legend i.you { background: var(--gold); } .split-legend i.us { background: var(--forest-3); }
.split-legend b { color: var(--ink); }
.ladder { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ladder button { background: rgba(255, 255, 255, .06); border: 1px solid rgba(238, 243, 239, .2); border-radius: 14px; padding: 12px 14px; color: var(--on-forest); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font: inherit; }
.ladder button span { font-size: 13px; color: var(--on-forest-soft); }
.ladder button b { font-family: var(--display); font-size: 26px; font-weight: 600; color: #FFFFFF; }
.ladder button:hover { border-color: var(--gold); }
.ladder button.on { background: var(--gold); border-color: var(--gold); }
.ladder button.on span, .ladder button.on b { color: var(--ink); }
.rules { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.rule h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 22px; }
.rule p { margin: 0; color: var(--ink-soft); }
.refer-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.refer-cta .hero-cta { justify-content: center; margin-top: 8px; }
.hero-refer { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: var(--sage); color: var(--forest); font-weight: 600; font-size: 15px; text-decoration: none; }
.hero-refer:hover { background: #DCE7DF; color: var(--forest); }
.hero-refer b { color: var(--up); }
.calc-ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--sage); }
.calc-ref label { font-weight: 700; font-size: 14px; }
.calc-ref .small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 20px; font-weight: 700; cursor: pointer; color: var(--ink); border-radius: 999px; }
.stepper button:hover { background: var(--gold-soft); }
.stepper input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 17px; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stat a { font-size: 13px; font-weight: 600; }
/* Requirements & setup guide */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.02em; }
.page-hero h1 span { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.page-hero .hero-sub { max-width: 720px; }
.section-tight { padding-top: 56px; padding-bottom: 72px; }
.req-summary { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.req-summary span { background: var(--forest); color: var(--on-forest); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.req-summary b { color: var(--gold); }
.req-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.req { display: flex; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.req-n { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.req-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.req-body h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.req-body p, .req-body li { margin: 0; color: var(--ink-soft); }
.req-body ul, .gstep ol, .gstep ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-soft); }
.req-no { background: var(--down-soft); color: var(--ink) !important; border-radius: 12px; padding: 10px 14px; font-size: 15px; }
code, .url-inline { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.ready { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; background: var(--sage); border-radius: 26px; padding: 36px; }
.ready > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.ready-list { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: 20px; padding: 24px; }
.ready-list .check { font-size: 16px; color: var(--ink); }
.ready-bar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.ready-bar i { display: block; height: 100%; width: 0; background: var(--up); transition: width .25s ease; }
.btn[aria-disabled="true"] { opacity: .55; }
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.guide-toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.guide-toc ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; font-size: 15px; }
.guide-toc a { color: var(--ink-soft); text-decoration: none; }
.guide-toc a:hover, .guide-toc a.active { color: var(--ink); font-weight: 700; }
.guide-toc li.is-done a { color: var(--up); }
.guide-toc li.is-done a::after { content: ' ✓'; }
.guide-steps { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gstep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.gstep header { display: flex; align-items: center; gap: 14px; }
.gstep header h2 { margin: 0; flex: 1; font-family: var(--display); font-weight: 600; font-size: 26px; }
.gstep .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.gstep.is-done { border-color: var(--up); }
.gstep.is-done .n { background: var(--up); color: #FFFFFF; }
.done { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.done input { accent-color: var(--up); width: 18px; height: 18px; }
.see { margin: 0; background: var(--bg); border-radius: 12px; padding: 12px 14px; color: var(--ink-soft); font-size: 15px; }
.url-copy { max-width: 560px; }
.trouble { margin-top: 40px; scroll-margin-top: 90px; }
.trouble.faq, .trouble { max-width: none; }
.trouble details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.trouble summary { cursor: pointer; font-weight: 700; }
.trouble details p { margin: 10px 0 0; color: var(--ink-soft); }
.guide-video { max-width: 960px; margin: 0 auto; }
.video-cap { text-align: center; margin: 12px 0 0; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
}
@media (max-width: 640px) {
  .req { flex-direction: column; padding: 20px; gap: 12px; }
  .gstep { padding: 20px; }
  .gstep header { flex-wrap: wrap; }
  .ready { padding: 22px; }
}

/* Track record: starting balance + chart toggle */
.kpi .sub { display: block; font-size: 12px; color: var(--on-forest-soft); margin-top: 2px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--on-forest-soft); cursor: pointer; }
.seg button:hover { color: #FFFFFF; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.chart-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.next-step { margin-top: 14px; background: var(--up-soft); border-radius: 14px; padding: 14px 16px; color: var(--ink); font-size: 15px; }
.next-step.pulse-in { animation: nextpulse 1.2s ease 2; }
@keyframes nextpulse { 50% { box-shadow: 0 0 0 6px rgba(29, 122, 78, .18); } }
/* Statement of account (admin, printable) */
.stmt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.stmt-grid h2 { margin-top: 0; }
.stmt-total { font-size: 20px; color: var(--ink); margin: 18px 0; }
@media print {
  .no-print, .site-header, .side { display: none !important; }
  body { background: #fff; }
  .legal { padding: 0; max-width: none; }
  table { font-size: 12px; }
}
/* Sign-up: UK-only + why we ask */
.uk-only { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--forest); color: var(--on-forest); font-size: 15px; }
.uk-only b { color: var(--gold); }
.form-step { margin: 10px 0 0; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.why { background: var(--sage); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
.why summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.why p { margin: 8px 0 0; }
.why ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.hint { margin: -6px 0 0; }
/* Client area: getting started + identity check */
.journey { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.journey li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-faint); min-width: 0; }
.journey .n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); font-size: 13px; }
.journey li.done { color: var(--up); } .journey li.done .n { background: var(--up); color: #fff; }
.journey li.now { color: var(--ink); border-color: var(--gold); } .journey li.now .n { background: var(--gold); color: var(--ink); }
.panel-verify { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin: 0 0 22px; padding: 26px; border-radius: 20px; background: var(--sage); border: 1px solid #CFDDD3; }
.panel-verify .col { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.panel-verify h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; }
.panel-verify p { margin: 0; color: var(--ink-soft); }
.panel-verify .label { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.panel-verify .need { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.panel-verify .actions { margin: 0; }
@media (max-width: 640px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pii-row td { background: var(--bg); }
.pii { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 28px; padding: 6px 0; }
.pii > div { display: flex; flex-direction: column; gap: 4px; }
.pii .small { grid-column: 1 / -1; margin: 0; }
.panel-dark a { color: var(--gold); }
.statement .table-wrap { overflow-x: auto; }
.statement table { font-size: 13px; }
.statement th, .statement td { padding-left: 10px; padding-right: 10px; }
/* Customer controls */
.controls { margin: 0 0 24px; border-color: var(--gold); }
.ctl-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ctl-figures div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.ctl-figures span { display: block; font-size: 13px; color: var(--ink-soft); }
.ctl-figures b { font-size: 21px; }
.ctl-figures b.up { color: var(--up); } .ctl-figures b.down { color: var(--down); }
.ctl-note { color: var(--ink-faint); }
.kill-why { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kill-why .input { min-height: 42px; max-width: 320px; }
.select-sm { min-height: 36px; padding: 4px 10px; font-size: 14px; width: auto; }
select.input { color: var(--ink); background-color: #FFFFFF; }
#kill .actions { align-items: center; align-self: center; }
#kill .actions .btn { flex: 0 0 auto; }
.lot-box { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.lot-box h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.lot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.lot-acc { display: flex; flex-direction: column; min-width: 170px; font-weight: 700; }
.lot-input { width: 110px; min-height: 42px; padding-right: 30px; }
.pct-wrap { position: relative; display: inline-flex; align-items: center; }
.pct-wrap .pct { position: absolute; right: 12px; font-weight: 700; color: var(--ink-soft); pointer-events: none; }
.legal-line { opacity: .85; font-size: 13px; }
.legal .legal-line { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 16px; }
.bank-note { margin: 6px 0 0; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.video img { width: 100%; height: 100%; object-fit: cover; }
#video-setup { background: var(--sand); }
.upper { text-transform: uppercase; }

/* Stripe embedded card form inside the dark licence panel */
.panel-dark .checkout-col { flex: 1 1 100%; display: flex; flex-direction: column; gap: 14px; }
.checkout-box { background: #FFFFFF; border-radius: 16px; padding: 22px; color: #30313D; min-height: 220px; max-width: 640px; }
@media (max-width: 560px) { .checkout-box { padding: 14px; border-radius: 12px; } }


/* Identity badge under the client-area greeting (replaces the details form once it's done) */
.id-badge { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 5px 12px 5px 6px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.id-badge .id-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; line-height: 1; }
.id-badge.ok { background: #E3F1E8; color: #1E6B45; }
.id-badge.ok .id-dot { background: #1E6B45; color: #FFFFFF; }
.id-badge.wait { background: var(--gold-soft); color: var(--gold-deep); }
.id-badge.wait .id-dot { background: var(--gold); color: var(--ink); }
.id-badge.bad { background: #FBE7E4; color: #B42318; }
.id-badge.bad .id-dot { background: #B42318; color: #FFFFFF; }

/* Made by GOLDEO clients: total + month bars. Wide screens: months across, bars upright.
   Phones: a vertical list, bars lying flat. */
.clients-made { margin-top: 28px; padding: 26px 30px 22px; border-radius: 22px; background: var(--forest-2); border: 1px solid rgba(231, 185, 58, .25); }
.cm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.clients-made .label { margin: 0; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.clients-made .figure { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; color: #FFFFFF; }
.clients-made .fine { margin: 14px 0 0; font-size: 12px; color: var(--on-forest-soft); opacity: .75; }
.cm-months { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.cm-month { display: grid; grid-template-rows: auto 96px auto; gap: 8px; text-align: center; }
.cm-mon { order: 3; font-size: 13px; color: var(--on-forest-soft); }
.cm-val { order: 1; font-size: 14px; font-weight: 700; color: #FFFFFF; white-space: nowrap; }
.cm-val.up { color: #7FD3A6; } .cm-val.down { color: #F2A99E; }
.cm-track { order: 2; position: relative; display: block; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.cm-track::after { content: ''; position: absolute; left: 0; right: 0; bottom: calc(var(--zero) * 100%); border-top: 1px solid rgba(255, 255, 255, .25); }
.cm-bar { position: absolute; left: 22%; right: 22%; bottom: calc(var(--start) * 100%); height: calc(var(--size) * 100%); border-radius: 4px; background: var(--gold); }
.cm-bar.down { background: #E07A6B; }
.hero-made { margin: 14px 0 0; font-size: 15px; }
.hero-made a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.hero-made a:hover { color: var(--forest); }
.hero-made b { color: var(--forest); font-size: 17px; }
@media (max-width: 640px) {
  .clients-made { padding: 22px 20px 18px; }
  .cm-months { grid-auto-flow: row; grid-auto-columns: auto; gap: 8px; }
  .cm-month { grid-template-rows: none; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; text-align: left; }
  .cm-mon { order: 1; } .cm-track { order: 2; height: 14px; } .cm-val { order: 3; text-align: right; min-width: 64px; }
  .cm-track::after { top: -3px; bottom: -3px; left: calc(var(--zero) * 100%); right: auto; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .25); }
  .cm-bar { left: calc(var(--start) * 100%); width: calc(var(--size) * 100%); top: 2px; bottom: 2px; height: auto; right: auto; }
}
/* Floating P/L on the track record: same small text, just coloured */
.kpi .sub .float.up { color: #7FD3A6; }
.kpi .sub .float.down { color: #F2A99E; }
.kpi .sub .float { white-space: nowrap; }

/* Backtest stage: one panel holding the coin dial and the video at the same height, one control bar under both.
   Column widths are in the ratio of the dial (1080:1130) and the video (16:9), so their heights match exactly. */
.bt-stage { display: grid; grid-template-columns: minmax(0, 956fr) minmax(0, 1778fr);
  grid-template-areas: "dial video" "ctl ctl" "note note"; gap: 14px 16px; padding: 16px; border-radius: 28px;
  background: #0B2A22; box-shadow: 0 30px 60px -30px rgba(16, 54, 44, .55); color: var(--on-forest); }
.bt-dial { grid-area: dial; border-radius: 18px; overflow: hidden; background: var(--forest); box-shadow: inset 0 0 0 1px rgba(231, 185, 58, .18); }
.bt-dial canvas { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1130; }
.bt-video { grid-area: video; position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgba(231, 185, 58, .18); }
.bt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bt-badge { display: none; }
.bt-ctlwrap { grid-area: ctl; padding: 4px 6px 0; }
.bt-ctlwrap[hidden] { display: none; }
.bt-controls { display: flex; align-items: center; gap: 16px; }
.bt-play, .bt-mute { flex: none; display: inline-grid; place-items: center; border: 0; cursor: pointer; border-radius: 50%; }
.bt-play { width: 56px; height: 56px; background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(231, 185, 58, .6); }
.bt-play:hover { background: #F0C64C; }
.bt-play svg { width: 26px; height: 26px; }
.bt-mute { width: 40px; height: 40px; background: rgba(255, 255, 255, .08); color: var(--on-forest); }
.bt-mute:hover { background: rgba(255, 255, 255, .14); }
.bt-mute svg { width: 20px; height: 20px; }
.bt-track { flex: 1 1 auto; min-width: 0; }
.bt-seek { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border-radius: 99px; margin: 10px 0 6px; cursor: pointer;
  background: linear-gradient(to right, var(--gold) 0 var(--p, 0%), rgba(255, 255, 255, .16) var(--p, 0%) 100%); }
.bt-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--gold); }
.bt-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--gold); }
.bt-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--on-forest-soft); }
.bt-time { flex: none; min-width: 92px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--on-forest-soft); }
.bt-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; padding-left: 72px; }
.bt-setup { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.bt-setup[hidden] { visibility: hidden; display: inline; }
.bt-hint { font-size: 13px; color: var(--gold-soft); }
.bt-note { grid-area: note; margin: 0; padding: 12px 6px 2px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.55; color: var(--on-forest-soft); }
@media (max-width: 860px) {
  .bt-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "video" "ctl" "dial" "note"; padding: 10px; gap: 12px; border-radius: 22px; }
  /* live balance on the video itself, so it's visible while watching */
  .bt-badge { display: flex; align-items: baseline; gap: 8px; position: absolute; left: 10px; bottom: 10px; z-index: 2; pointer-events: none;
    padding: 6px 12px; border-radius: 999px; background: rgba(11, 42, 34, .86); border: 1px solid rgba(231, 185, 58, .45); font-size: 13px; color: var(--on-forest-soft); }
  .bt-badge b { font-family: var(--display); font-size: 17px; color: #FFFFFF; }
  .bt-badge .up { color: #7FD3A6; font-weight: 700; } .bt-badge .down { color: #F2A99E; font-weight: 700; }
  .bt-controls { gap: 10px; }
  .bt-play { width: 48px; height: 48px; }
  .bt-time { min-width: 0; font-size: 12px; }
  .bt-mute { width: 36px; height: 36px; }
  .bt-sub { padding-left: 0; flex-wrap: wrap; }
  .bt-dial { max-width: 460px; width: 100%; justify-self: center; }
}
.bt-explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.bt-explain li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.bt-explain b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 20px; }
.bt-explain p { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .bt-sync { grid-template-columns: 1fr; }
  .bt-sync .bt-video { order: -1; }
  .bt-dial { max-width: 520px; width: 100%; margin: 0 auto; }
  .bt-dial .bt-controls { order: -1; padding-top: 14px; }
  .bt-explain { grid-template-columns: 1fr; }
}
.bt-admin { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.bt-admin h3 { margin: 0; font-size: 18px; }
.bt-admin .small { margin: 0; }
.bt-ctlwrap.loading .bt-controls { opacity: .45; pointer-events: none; }

/* Admin pages */
.admin-page[hidden] { display: none; }
.admin-page > .page-head { margin-bottom: 18px; }
.lead-sm { margin: 6px 0 0; color: var(--ink-soft); max-width: 70ch; }
.admin-page > section, .admin-page > .card, .admin-page > .cards { margin-top: 22px; }
/* Traffic */
.tr-range { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tr-kpis .stat.live b { color: var(--up); }
.tr-sub { margin: 2px 0 0 !important; font-weight: 400 !important; font-size: 12px !important; color: var(--ink-faint) !important; }
.tr-live .toolbar h2 { display: flex; align-items: center; gap: 10px; }
.tr-live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr-live-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 10px 14px; border-radius: 12px; background: var(--bg); }
.tr-live-list li span { margin-left: auto; font-size: 13px; color: var(--ink-soft); }
.tr-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; height: 160px; padding-top: 18px; }
.tr-bar { position: relative; height: 100%; display: flex; align-items: flex-end; }
.tr-fill { display: block; width: 100%; height: var(--h, 0%); min-height: 2px; border-radius: 5px 5px 2px 2px; background: var(--gold); }
.tr-bar:hover .tr-fill { background: var(--forest-3); }
.tr-n { position: absolute; left: 0; right: 0; bottom: calc(var(--h, 0%) + 2px); text-align: center; font-size: 11px; color: var(--ink-soft); }
.tr-bar .tr-n { bottom: auto; top: -16px; }
.tr-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-faint); }
.tr-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tr-list h2 { font-size: 18px; }
.tr-mini-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tr-mini-table td { padding: 7px 0; border-top: 1px solid var(--line); }
.tr-mini-table td.num { text-align: right; color: var(--ink-soft); white-space: nowrap; padding-left: 10px; }
.tr-visitors { width: 100%; }
.tr-row { cursor: pointer; }
.tr-row:hover td { background: var(--bg); }
.tr-row .tag { margin-left: 8px; }
.tr-detail td { background: var(--bg); }
.tr-trail { display: grid; gap: 12px; padding: 4px 0; }
.tr-visit-head { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft); }
.tr-path { margin: 0; padding-left: 22px; display: grid; gap: 2px; font-size: 14px; }
.tr-path li span { margin-left: 8px; font-size: 12px; color: var(--ink-faint); }
.tr-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.tr-mini div { display: flex; flex-direction: column; }
.tr-mini b { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.tr-mini b.live { color: var(--up); }
.tr-mini span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .tr-three { grid-template-columns: 1fr; } .tr-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.content-cards { align-items: start; }

/* Myfxbook verification in the live track record: logo, words, button in one row */
.mfb { margin-top: 24px; display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 22px;
  background: var(--forest-2); border: 1px solid rgba(231, 185, 58, .25); }
.mfb-badge { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #FFFFFF; }
.mfb-logo { display: block; max-width: 44px; max-height: 44px; }
.mfb-icon { width: 44px; height: 44px; flex: none; color: var(--gold); }
.mfb-text { flex: 1 1 auto; min-width: 0; }
.mfb-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; color: #FFFFFF; }
.mfb-sub { margin: 4px 0 0; max-width: 60ch; font-size: 14px; color: var(--on-forest-soft); }
.mfb-btn { flex: none; min-height: 44px; }
@media (max-width: 700px) { .mfb { flex-wrap: wrap; padding: 18px; } .mfb-text { flex-basis: calc(100% - 84px); } .mfb-btn { width: 100%; } }
.mfb a.mfb-btn, .mfb a.mfb-btn:hover { color: var(--ink); text-decoration: none; }

/* Grow plan card (client area) */
.grow-card p { max-width: 70ch; }
.grow-how { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-soft); }
.grow-active { padding: 16px 18px; border-radius: 14px; background: var(--bg); margin-bottom: 14px; }
.grow-line { margin: 0 0 10px; }
.grow-figs { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-bottom: 8px; }
.grow-figs span { display: block; font-size: 13px; color: var(--ink-soft); }
.grow-figs b { font-family: var(--display); font-size: 26px; }
.grow-figs b.up { color: var(--up); } .grow-figs b.down { color: var(--down, #B42318); }
.grow-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--gold-soft); color: var(--ink); font-size: 14px; }
.grow-note a { font-weight: 700; }

/* Calculator: account type + lock length */
.label-like { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-strong); }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--forest); color: #FFFFFF; }
.range { width: 100%; accent-color: var(--gold); }
.calc-compare { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Client area: Current + Growth side by side, as equals */
.type-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.type-col { border: 1px solid var(--line-strong); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--paper, #FFFFFF); }
.type-col.set { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.type-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.type-head h3 { margin: 0; font-size: 20px; }
.type-pitch { margin: 0; color: var(--ink-soft); }
.type-acc { display: flex; flex-direction: column; }
.type-acc span { font-size: 13px; color: var(--ink-soft); }
.type-warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF6DD; border: 1px solid #F1D489; font-size: 14px; }
.type-empty { margin-top: auto; }
.type-col .grow-form { margin: 0; }
@media (max-width: 760px) { .type-cols { grid-template-columns: 1fr; } }

.plan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; text-align: left; }
.plan-pair > div { border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.plan-pair b { font-size: 16px; color: var(--gold); }
.plan-pair span { font-size: 13px; line-height: 1.45; opacity: .9; }
@media (max-width: 520px) { .plan-pair { grid-template-columns: 1fr; } }
.price.featured .fine a { color: var(--gold); font-weight: 700; }
