/* mydefitax marketing — "Ledger" light theme.
   Source of truth: new_design.pen (frames R6oyn / vGAFN / w9TXz / ZzUPF /
   K2V4sM / SXhru / WmGAV; tokens from design-system frame ZKQ9M). */

/* ── Fonts (self-hosted: remote Google Fonts is a GDPR problem for a
      German-market site — LG München I, 3 O 17493/20) ──────────────── */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
}

/* ── Tokens ───────────────────────────────────────────────────────── */
:root {
  --ink: #0B0D0F;
  --text-secondary: #586070;
  --text-muted: #9AA3AD;
  --hairline: #E6E8EB;
  --surface: #F7F8FA;
  --bg: #FFFFFF;
  --accent: #1C4E3D;
  --accent-tint: #EAF1ED;
  --amber: #9A6B1F;
  --amber-tint: #F5ECDD;
  --negative: #BC3B3B;
  --error-red: #B23A2E;
  --error-tint: #FBEEEC;
  /* on-dark (brand panel / offer) */
  --panel: #123A2C;
  --mint: #7FB39E;
  --mist: #B8CFC6;
  --panel-input: #0E251C;
  --panel-stroke: #2E6B54;
  --panel-muted: #6E8F83;
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad-x: clamp(24px, 8.3vw, 120px);
}

/* ── Base ─────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; border: 0; outline: none; background: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2;
        stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }

.page { max-width: 1440px; margin: 0 auto; }
section, .section { padding: 84px var(--pad-x); border-top: 1px solid var(--hairline); }

.eyebrow-mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
}
.eyebrow-mono.accent { color: var(--accent); }

h1, h2, h3 { font-weight: 600; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; border-radius: 6px; padding: 9px 16px;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #16402F; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: var(--bg); }
.btn-outline:hover { background: var(--accent-tint); }
.btn-big { font-size: 15px; font-weight: 600; padding: 13px 22px; }
.btn-big .icon { width: 17px; height: 17px; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad-x); border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 5px; background: var(--accent);
  color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.brand .wordmark {
  font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: -0.3px;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right > a { font-size: 14px; color: var(--text-secondary); }
.nav-right > a:hover { color: var(--ink); }
.nav-right > a.active { color: var(--ink); font-weight: 500; }
.nav-auth { display: flex; align-items: center; gap: 16px; }
.nav-auth .login { font-size: 14px; font-weight: 500; color: var(--ink); }

/* ── Hero (landing) ───────────────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  padding: 96px var(--pad-x) 80px; border-top: 0; text-align: center;
  background-image: radial-gradient(circle, rgba(11, 13, 15, 0.13) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px;
  color: var(--text-secondary);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 4vw, 58px); letter-spacing: -0.034em; line-height: 1.12;
}
.hero h1 .hl-box {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 6px; padding: 2px 14px;
}
.hero .subhead {
  max-width: 660px; font-size: 18px; letter-spacing: -0.2px; line-height: 1.4;
  color: var(--text-secondary);
}

.address-form {
  display: flex; align-items: center; gap: 12px; width: min(740px, 100%);
  padding: 8px 8px 8px 20px; background: var(--bg);
  border: 1.5px solid var(--ink); border-radius: 8px;
}
.address-form input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; color: var(--ink);
}
.address-form input::placeholder { color: var(--text-muted); }
.address-form.invalid { border-color: var(--negative); }

/* Wallet chips under the Analyze forms (site.js chips editor). Accent chips
   left-aligned to the form edge + a pop-in animation: adding a wallet must
   be unmissable on the light hero background. */
.wallet-chips { display: flex; flex-wrap: wrap; align-items: center;
                justify-content: flex-start; gap: 8px; margin-top: 12px;
                width: min(740px, 100%); }
@keyframes chip-in { from { opacity: 0; transform: translateY(-6px) scale(0.92); } }
.wchip { display: inline-flex; align-items: center; gap: 6px; height: 30px;
         padding: 0 7px 0 12px; background: var(--accent);
         border-radius: 16px; animation: chip-in 0.18s ease-out;
         font-family: var(--mono); font-size: 13px; color: #fff; }
.wchip .rm { display: flex; padding: 2px; background: none; border: 0;
             cursor: pointer; color: rgba(255, 255, 255, 0.7); }
.wchip .rm:hover { color: #fff; }
.wchip .rm svg { width: 13px; height: 13px; }
.wallet-chips .wcount { font-family: var(--mono); font-size: 12.5px;
                        color: var(--text-muted); }
.addr-err { display: flex; align-items: center; justify-content: flex-start;
            gap: 6px; margin-top: 10px; font-size: 13px; color: var(--negative);
            width: min(740px, 100%); }
.addr-err svg { width: 14px; height: 14px; flex: none; }
/* Dark offer panel: accent would sink into the green — invert to white. */
.offer .wchip { background: #fff; color: var(--panel); }
.offer .wchip .rm { color: rgba(18, 58, 44, 0.55); }
.offer .wchip .rm:hover { color: var(--panel); }
.offer .wallet-chips .wcount { color: var(--panel-muted); }

.helper-row { display: flex; align-items: center; gap: 18px; }
.juris-chip {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 6px; font-size: 14px; cursor: pointer;
}
.juris-chip > .label { color: var(--text-secondary); }
.juris-chip .icon { width: 14px; height: 14px; color: var(--text-muted); }
.juris-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; min-width: 230px;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 10px;
  box-shadow: 0 14px 40px -12px rgba(11, 13, 15, 0.18); padding: 6px;
  display: none; text-align: left;
}
.juris-menu.open { display: block; }
.juris-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: 7px; font-size: 14px; white-space: nowrap;
}
.juris-menu a:hover { background: var(--surface); }
.juris-menu img { width: 21px; height: 13px; object-fit: cover; border-radius: 2px;
                  outline: 1px solid var(--hairline); }
.juris-menu .st { margin-left: auto; font-family: var(--mono); font-size: 11.5px; }
.juris-menu .st.live { color: var(--accent); }
.juris-menu .st.notify { color: var(--text-muted); }

.hero .fine {
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.1px;
  color: var(--text-muted);
}
.hero .fine + .fine { margin-top: -14px; }

/* ── Pains ────────────────────────────────────────────────────────── */
.pains-col { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 38px; }
.sec-header { display: flex; flex-direction: column; gap: 14px; }
.sec-header h2 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.sec-header .subline { font-size: 18px; line-height: 1.45; color: var(--text-secondary); max-width: 720px; }

.broken-report { border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.broken-report .tab-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; background: var(--surface); border-bottom: 1px solid var(--hairline);
}
.broken-report .file { display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; }
.broken-report .file .icon { width: 15px; height: 15px; color: var(--error-red); }
.broken-report .err-tag {
  padding: 4px 10px; background: var(--error-tint); border-radius: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--error-red);
}
.broken-report .row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 14px;
}
.broken-report .row .wrong {
  display: flex; align-items: center; gap: 8px; color: var(--error-red);
}
.broken-report .row .wrong .icon { width: 15px; height: 15px; }
.broken-report .foot {
  display: flex; align-items: center; gap: 9px; padding: 14px 18px;
  background: var(--error-tint); font-family: var(--mono); font-size: 13px;
  color: var(--error-red); border-bottom: 0;
}
.broken-report .foot .icon { width: 15px; height: 15px; }

/* ── Benefits + coverage ──────────────────────────────────────────── */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; }
.benefit-grid .cell {
  display: flex; gap: 16px; padding: 28px 40px 28px 0;
  border-top: 1px solid var(--hairline);
}
.benefit-grid .cell .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.benefit-grid .cell h3 { font-size: 19px; letter-spacing: -0.4px; }
.benefit-grid .cell p { font-size: 15px; line-height: 1.45; color: var(--text-secondary); margin-top: 7px; }

.coverage-sub { margin-top: 20px; padding-top: 20px; }
.coverage-sub h3 { font-size: 28px; letter-spacing: -0.8px; }
.coverage-sub p { font-size: 16px; line-height: 1.45; color: var(--text-secondary);
                  margin-top: 10px; max-width: 780px; }

.matrix-block { margin-top: 26px; padding: 26px 0 6px; border-top: 1px solid var(--hairline); }
.matrix-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.matrix-hdr .l { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
.matrix-hdr .c { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.matrix-hdr a.c { color: var(--accent); font-weight: 500; }
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.matrix-grid.cols6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.chip-card {
  display: flex; justify-content: space-between; align-items: center;
  height: 42px; padding: 0 13px; background: var(--bg);
  border: 1px solid var(--hairline); border-radius: 8px; font-size: 14px;
}
.chip-card .l { display: flex; align-items: center; gap: 9px; min-width: 0; }
.chip-card .l span { font-weight: 500; letter-spacing: -0.2px; white-space: nowrap;
                     overflow: hidden; text-overflow: ellipsis; }
.chip-card img.logo { width: 18px; height: 18px; object-fit: contain; }
.chip-card img.flag { width: 23px; height: 14px; object-fit: cover; border-radius: 2px;
                      outline: 1px solid var(--hairline); }
.chip-card .ok { width: 15px; height: 15px; color: var(--accent); }
.chip-card.dim { background: var(--surface); }
.chip-card.dim img { opacity: 0.55; }
.chip-card.dim .l span { color: var(--text-muted); }
.chip-card .soon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3px;
                   color: var(--text-muted); }
.chip-card .live { display: flex; align-items: center; gap: 6px;
                   font-family: var(--mono); font-size: 12px; color: var(--accent); }
.chip-card .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
                           background: var(--accent); }
.chip-card a.notify { display: flex; align-items: center; gap: 6px;
                      font-size: 13px; font-weight: 600; color: var(--accent); }
.chip-card a.notify .icon { width: 13px; height: 13px; }

.plashka {
  background: var(--accent-tint); border-radius: 10px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 7px;
}
.plashka .headline { font-size: 19px; letter-spacing: -0.3px; }
.plashka .headline b { font-weight: 600; }
.plashka .sub { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.protocol-names {
  margin-top: 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  color: var(--text-muted);
}

/* ── Product ──────────────────────────────────────────────────────── */
.product { background: var(--surface); display: flex; flex-direction: column;
           align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.prod-header { max-width: 780px; text-align: center; display: flex;
               flex-direction: column; gap: 14px; align-items: center; }
.prod-header h2 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.prod-header .subline { font-size: 18px; line-height: 1.45; color: var(--text-secondary);
                        max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; width: min(880px, 100%); }
.steps .step { border-top: 2px solid var(--hairline); padding-top: 18px;
               display: flex; flex-direction: column; gap: 9px; }
.steps .num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); }
.steps h3 { font-size: 18px; letter-spacing: -0.3px; }
.steps p { font-size: 15px; line-height: 1.45; color: var(--text-secondary); }

.window {
  width: min(1120px, 100%); background: #0E1116; border: 1px solid #222831;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 26px 64px -16px rgba(11, 13, 15, 0.2);
}
.window .bar { display: flex; align-items: center; gap: 13px; height: 34px;
               padding: 0 14px; background: #15181E; }
.window .dots { display: flex; gap: 7px; }
.window .dots i { width: 11px; height: 11px; border-radius: 50%; background: #39414C; }
.window .url { font-family: var(--mono); font-size: 12px; color: #7A828C; }
.window img { width: 100%; aspect-ratio: 1120 / 635; object-fit: cover; object-position: top; }
.big-caption { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }

.feature { display: flex; align-items: center; gap: 64px; width: min(1120px, 100%);
           padding: 14px 0; }
.feature .window { width: 600px; flex: none;
                   box-shadow: 0 22px 54px -14px rgba(11, 13, 15, 0.2); }
.feature .window .bar { height: 32px; padding: 0 13px; }
.feature .window .dots i { width: 10px; height: 10px; }
.feature .window .url { font-size: 11px; }
.feature .window img { aspect-ratio: 600 / 340; }
.feature .text { display: flex; flex-direction: column; gap: 16px; }
.feature .text h3 { font-size: 30px; letter-spacing: -0.8px; line-height: 1.12; }
.feature .text .desc { font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.feature .bullets { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.feature .bullets div { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.feature .bullets .icon { width: 17px; height: 17px; color: var(--accent); }

/* ── Offer (dark) ─────────────────────────────────────────────────── */
.offer { background: var(--panel); border-top: 0; padding: 100px var(--pad-x);
         display: flex; flex-direction: column; align-items: center; gap: 26px;
         text-align: center; }
.offer .eyebrow-mono { color: var(--mint); letter-spacing: 1.5px; }
.offer h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.032em;
            line-height: 1.08; max-width: 760px; }
.offer .sub { color: var(--mist); font-size: 18px; line-height: 1.5; max-width: 660px; }
.offer .address-form { background: var(--panel-input); border-color: var(--panel-stroke);
                       width: min(720px, 100%); }
.offer .address-form input { color: #fff; }
.offer .address-form input::placeholder { color: var(--panel-muted); }
.offer .address-form .btn-big { background: #fff; color: var(--panel); }
.offer .clarifier { display: flex; gap: 14px; padding-top: 8px; flex-wrap: wrap;
                    justify-content: center; }
.offer .pill { display: flex; align-items: center; gap: 8px; padding: 7px 13px;
               border: 1px solid var(--panel-stroke); border-radius: 20px;
               font-family: var(--mono); font-size: 12px; }
.offer .pill .k { color: var(--mint); font-weight: 600; }
.offer .pill .v { color: var(--mist); }
.offer .trust { font-family: var(--mono); font-size: 12px; color: var(--panel-muted); }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { padding: 56px var(--pad-x) 40px; border-top: 1px solid var(--hairline);
          display: flex; flex-direction: column; gap: 36px; }
.foot-top { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.foot-brand { width: 300px; display: flex; flex-direction: column; gap: 14px; }
.foot-brand .tagline { font-size: 14px; line-height: 1.45; color: var(--text-secondary); }
.foot-cols { display: flex; gap: 64px; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col .h { font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
               color: var(--text-muted); }
.foot-col a { font-size: 14px; color: var(--text-secondary); }
.foot-col a:hover { color: var(--ink); }
.foot-fine { border-top: 1px solid var(--hairline); padding-top: 24px;
             display: flex; flex-direction: column; gap: 18px; }
.foot-fine .disclaimer { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
               font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

/* ── Doc pages (Coverage / Method / Pricing) ──────────────────────── */
.doc-hero { padding: 88px var(--pad-x) 56px; border-top: 0;
            display: flex; flex-direction: column; gap: 18px; }
.doc-hero .eyebrow-mono { letter-spacing: 1.5px; }
.doc-hero h1 { font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -0.03em;
               line-height: 1.06; max-width: 900px; }
.doc-hero .sub { font-size: 18px; line-height: 1.5; color: var(--text-secondary);
                 max-width: 720px; }

.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--accent); }
.doc-sec h2 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.8px; line-height: 1.1;
              margin-top: 14px; }
.doc-sec .lead { font-size: 17px; line-height: 1.5; color: var(--text-secondary);
                 margin-top: 14px; max-width: 760px; }
.doc-sec.alt { background: var(--surface); }

/* Coverage: moves list */
.moves { margin-top: 36px; }
.moves .row { display: flex; gap: 40px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.moves .k { width: 230px; flex: none; font-size: 17px; font-weight: 600; letter-spacing: -0.2px; }
.moves .v { font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.callout { display: flex; gap: 14px; padding: 20px 22px; background: var(--accent-tint);
           border-radius: 10px; margin-top: 36px; }
.callout .glyph { font-family: var(--mono); font-size: 16px; font-weight: 600;
                  color: var(--accent); }
.callout p { font-size: 16px; line-height: 1.5; }

/* Coverage: protocol rows */
.proto-intro { background: var(--accent-tint); border-radius: 12px; padding: 24px 26px;
               margin-top: 30px; display: flex; flex-direction: column; gap: 8px; }
.proto-intro .headline { font-size: 21px; letter-spacing: -0.4px; }
.proto-intro .sub { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); }
.proto-rows { margin-top: 30px; }
.proto-rows .row { display: flex; gap: 48px; padding: 24px 0;
                   border-top: 1px solid var(--hairline); }
.proto-rows .left { width: 300px; flex: none; }
.proto-rows .left h3 { font-size: 17px; letter-spacing: -0.2px; }
.proto-rows .left .names { font-family: var(--mono); font-size: 12px; line-height: 1.55;
                           color: var(--text-muted); margin-top: 7px; }
.proto-rows .right { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proto-rows .item { display: flex; gap: 9px; font-size: 15px; line-height: 1.5; }
.proto-rows .item .g { font-family: var(--mono); font-size: 13px; font-weight: 600;
                       flex: none; }
.proto-rows .item.yes .g { color: var(--accent); }
.proto-rows .item.yes { color: var(--text-secondary); }
.proto-rows .item.no .g { color: var(--negative); }
.proto-rows .item.no { color: var(--text-muted); }

/* Method: pipeline */
.pipeline { display: flex; align-items: stretch; margin-top: 32px; }
.pipeline .stage { flex: 1; background: var(--surface); border: 1px solid var(--hairline);
                   border-radius: 10px; padding: 18px 16px;
                   display: flex; flex-direction: column; gap: 9px; }
.pipeline .stage.last { background: var(--accent-tint); }
.pipeline .ix { font-family: var(--mono); font-size: 12px; font-weight: 600;
                letter-spacing: 0.5px; color: var(--accent); }
.pipeline h3 { font-size: 16px; letter-spacing: -0.2px; }
.pipeline p { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.pipeline .arr { display: flex; align-items: center; padding: 0 9px;
                 font-family: var(--mono); font-size: 17px; color: var(--text-muted); }

/* Method: FIFO */
.fifo { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.fifo .label { font-size: 14.5px; color: var(--text-secondary); }
.fifo .lots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fifo .lot { background: var(--bg); border: 1px solid var(--hairline); border-radius: 10px;
             padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fifo .lot.matched { background: var(--accent-tint); border: 1.5px solid var(--accent); }
.fifo .tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600;
             letter-spacing: 0.6px; color: var(--text-muted); }
.fifo .lot.matched .tag { color: var(--accent); }
.fifo .d { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.fifo .a { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.fifo .p { font-family: var(--mono); font-size: 13px; }
.fifo .match { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fifo .sell-cell { display: flex; flex-direction: column; align-items: center; gap: 9px;
                   text-align: center; }
.fifo .up { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--accent); }
.fifo .sell { background: var(--accent); color: #fff; border-radius: 8px;
              padding: 9px 16px; font-size: 14px; font-weight: 500; }
.fifo .gain { font-size: 15px; font-weight: 600; color: var(--accent); }
.fifo .math { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.doc-caption { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary);
               max-width: 840px; margin-top: 24px; }

/* Method: sale vs not */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.panel-card { border-radius: 12px; padding: 24px; }
.panel-card.keep { background: var(--accent-tint); }
.panel-card.sale { background: var(--surface); border: 1px solid var(--hairline); }
.panel-card .hd { display: flex; align-items: center; gap: 9px; }
.panel-card .op { font-family: var(--mono); font-size: 18px; font-weight: 600; }
.panel-card.keep .op { color: var(--accent); }
.panel-card.sale .op { color: var(--amber); }
.panel-card h3 { font-size: 18px; letter-spacing: -0.3px; }
.panel-card .sub { font-size: 13.5px; line-height: 1.45; color: var(--text-secondary);
                   margin-top: 6px; }
.panel-card .ex-row { display: flex; justify-content: space-between; align-items: center;
                      gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline);
                      margin-top: 11px; }
.panel-card .ex { display: flex; align-items: center; gap: 8px;
                  font-family: var(--mono); font-size: 14px; }
.panel-card .ex .op { font-size: 16px; }
.panel-card .lbl { font-size: 13px; color: var(--text-muted); font-family: var(--sans); }

/* Method: timing */
.timeline { margin-top: 30px; display: flex; flex-direction: column; gap: 9px; }
.timeline .tl-bar { display: grid; grid-template-columns: 1fr 1fr;
                    border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.timeline .half { padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; }
.timeline .half.within { background: var(--amber-tint); }
.timeline .half.after { background: var(--accent-tint); }
.timeline .k { font-family: var(--mono); font-size: 11px; font-weight: 600;
               letter-spacing: 0.6px; }
.timeline .within .k { color: var(--amber); }
.timeline .after .k { color: var(--accent); }
.timeline .t { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
.timeline .axis { display: grid; grid-template-columns: 1fr 1fr;
                  font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.buckets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.bucket { background: var(--bg); border: 1px solid var(--hairline); border-radius: 12px;
          padding: 24px; display: flex; flex-direction: column; gap: 7px; }
.bucket .k { font-family: var(--mono); font-size: 11px; font-weight: 600;
             letter-spacing: 0.8px; }
.bucket .k.gains { color: var(--accent); }
.bucket .k.income { color: var(--amber); }
.bucket h3 { font-size: 18px; letter-spacing: -0.3px; }
.bucket p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }

/* ── Pricing ──────────────────────────────────────────────────────── */
.plans { padding: 40px var(--pad-x) 72px; border-top: 0;
         display: flex; flex-direction: column; gap: 18px; }
.beta-notice { display: flex; align-items: center; gap: 12px; padding: 14px 18px;
               background: var(--accent-tint); border-radius: 10px; }
.beta-notice .pill { background: var(--accent); color: #fff; border-radius: 20px;
                     padding: 3px 9px; font-family: var(--mono); font-size: 10px;
                     font-weight: 600; letter-spacing: 0.8px; flex: none; }
.beta-notice p { font-size: 14px; line-height: 1.4; }
.plan-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; justify-content: space-between;
        min-height: 286px; padding: 24px 22px; background: var(--bg);
        border: 1px solid var(--hairline); border-radius: 14px; }
.plan.popular { background: var(--accent-tint); border: 1.5px solid var(--accent); }
.plan .top { display: flex; flex-direction: column; gap: 13px; }
.plan .name-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan .name { font-family: var(--mono); font-size: 12px; font-weight: 600;
              letter-spacing: 1px; color: var(--text-muted); }
.plan.popular .name { color: var(--accent); }
.plan .pop { background: var(--accent); color: #fff; border-radius: 20px; padding: 3px 9px;
             font-family: var(--mono); font-size: 9.5px; font-weight: 600;
             letter-spacing: 0.6px; }
.plan .price { font-size: 38px; font-weight: 600; letter-spacing: -1.2px; }
.plan .price.beta-grey { color: var(--text-muted); }
.plan .unit { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-top: 3px; }
.plan .sub { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.plan .btn { width: 100%; padding: 11px 0; border-radius: 8px; margin-top: 20px; }

.includes { background: var(--surface); border-radius: 14px; padding: 26px 28px;
            display: flex; flex-direction: column; gap: 16px; }
.includes h3 { font-size: 17px; letter-spacing: -0.3px; }
.includes .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px 12px; }
.includes .it { display: flex; align-items: center; gap: 8px; font-size: 14px;
                color: var(--text-secondary); }
.includes .g { font-family: var(--mono); font-size: 13px; font-weight: 600;
               color: var(--accent); }

.credit { background: var(--accent-tint); border-radius: 12px; padding: 22px 24px; }
.credit .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.credit .k { font-family: var(--mono); font-size: 11px; font-weight: 600;
             letter-spacing: 0.7px; color: var(--accent); }
.credit p { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); margin-top: 7px; }
.price-hook { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
              font-size: 14px; }
.price-hook .a { color: var(--text-muted); }
.price-hook a { color: var(--accent); font-weight: 500; }

/* ── Invite Wall / Waitlist Joined (auth split) ───────────────────── */
.auth-body { display: flex; min-height: 100vh; background: var(--bg); }
.brand-panel { width: 520px; flex: none; background: var(--panel);
               padding: 56px 48px; display: flex; flex-direction: column;
               justify-content: space-between; }
.brand-panel .brand .mark { background: var(--mint); color: var(--panel); }
.brand-panel .brand .wordmark { color: #fff; }
.brand-panel .value { display: flex; flex-direction: column; gap: 24px; }
.brand-panel .value h2 { color: #fff; font-size: 28px; letter-spacing: -0.8px;
                         line-height: 1.18; font-weight: 600; }
.brand-panel .bullet { display: flex; gap: 12px; }
.brand-panel .bullet + .bullet { margin-top: 16px; }
.brand-panel .bullet .icon { width: 18px; height: 18px; color: var(--mint); margin-top: 2px; }
.brand-panel .bullet p { color: var(--mist); font-size: 14px; line-height: 1.45; }

.form-panel { flex: 1; display: flex; align-items: center; justify-content: center;
              padding: 56px 40px; }
.form-col { width: min(420px, 100%); display: flex; flex-direction: column; gap: 20px; }
.form-col .header h1 { font-size: 28px; letter-spacing: -0.6px; margin-top: 8px; }
.form-col .header .sub { font-size: 15px; line-height: 1.45; color: var(--text-secondary);
                         margin-top: 8px; }
.error-banner { display: none; align-items: flex-start; gap: 10px; padding: 12px 14px;
                background: var(--error-tint); border-radius: 8px;
                font-size: 13.5px; line-height: 1.45; color: var(--error-red); }
.error-banner.show { display: flex; }
.error-banner .icon { width: 16px; height: 16px; margin-top: 2px; }

.wallets-box { background: var(--surface); border: 1px solid var(--hairline);
               border-radius: 10px; padding: 16px;
               display: flex; flex-direction: column; gap: 12px; }
.wallets-box .top { display: flex; justify-content: space-between; align-items: center; }
.wallets-box .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px;
                    color: var(--text-muted); }
.wallets-box .count { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.wallets-box .list { display: flex; flex-direction: column; gap: 8px; }
.wallets-box .wrow { display: flex; align-items: center; gap: 8px;
                     font-family: var(--mono); font-size: 14px; }
.wallets-box .wrow .icon { width: 15px; height: 15px; color: var(--text-secondary); }
.wallets-box .note { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }

/* Editable variant (waitlist form): boxed rows + inline input + add button. */
.wallets-box.editor .wrow { height: 44px; padding: 0 12px; gap: 10px;
                            background: var(--bg); border: 1px solid var(--hairline);
                            border-radius: 8px; font-size: 13.5px; }
.wallets-box.editor .wrow .addr { flex: 1; min-width: 0; color: var(--ink);
                                  overflow: hidden; text-overflow: ellipsis;
                                  white-space: nowrap; }
.wallets-box.editor .wrow .rm { display: flex; padding: 4px; margin-right: -4px;
                                background: none; border: 0; cursor: pointer;
                                color: var(--text-muted); }
.wallets-box.editor .wrow .rm:hover { color: var(--negative); }
.wallets-box.editor .wrow .rm .icon { width: 15px; height: 15px; }
.wallets-box.editor .wrow.winput { border-color: var(--accent); }
.wallets-box.editor .wrow.winput.invalid { border-color: var(--negative); }
.wallets-box.editor .wrow.winput input { flex: 1; min-width: 0; background: none;
                                         border: 0; outline: none;
                                         font-family: var(--mono); font-size: 13.5px;
                                         color: var(--ink); }
.wallets-box.editor .wrow.winput input::placeholder { color: var(--text-muted); }
.add-wallet { display: inline-flex; align-items: center; gap: 6px; align-self: start;
              padding: 0; background: none; border: 0; cursor: pointer;
              color: var(--accent); font-size: 14px; font-weight: 600; }
.add-wallet .icon { width: 15px; height: 15px; }
.add-wallet:hover { text-decoration: underline; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.field .input { display: flex; align-items: center; height: 48px; padding: 0 14px;
                background: var(--bg); border: 1px solid var(--hairline); border-radius: 8px; }
.field .input input { width: 100%; font-size: 15px; color: var(--ink); }
.field .input input::placeholder { color: var(--text-muted); }
.field .input.mono input { font-family: var(--mono); }
.field.error .input { border-color: var(--negative); }
.field .err-note { display: none; font-size: 12.5px; color: var(--negative); }
.field.error .err-note { display: block; }

.form-col .btn-form { width: 100%; height: 48px; border-radius: 8px;
                      font-size: 15px; font-weight: 600; }
.form-col .btn-form .icon { width: 18px; height: 18px; }
.form-col .btn-form[disabled] { opacity: 0.4; cursor: default; }
.divider { display: flex; align-items: center; gap: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px;
                                    background: var(--hairline); }
.divider span { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.form-col .trust { font-family: var(--mono); font-size: 12px; line-height: 1.5;
                   text-align: center; color: var(--text-muted); }

.icon-badge { display: flex; align-items: center; justify-content: center;
              width: 52px; height: 52px; background: var(--accent-tint);
              border-radius: 12px; }
.icon-badge .icon { width: 26px; height: 26px; color: var(--accent); }
.back-link { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.back-link:hover { color: var(--ink); }

/* ── Legal ────────────────────────────────────────────────────────── */
.legal-page { max-width: 1000px; margin: 0 auto; }
.legal-header { display: flex; justify-content: space-between; align-items: center;
                padding: 20px clamp(24px, 8vw, 80px);
                border-bottom: 1px solid var(--hairline); }
.legal-header .back { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.legal-content { padding: 56px clamp(24px, 8vw, 80px); display: flex;
                 justify-content: center; }
.legal-doc { width: min(720px, 100%); display: flex; flex-direction: column; gap: 22px; }
.legal-doc h1 { font-size: 36px; letter-spacing: -1px; }
.doc-tabs { display: flex; gap: 8px; }
.doc-tabs a { padding: 6px 13px; border: 1px solid var(--hairline); border-radius: 20px;
              font-size: 13px; color: var(--text-secondary); }
.doc-tabs a.active { background: var(--accent-tint); border-color: var(--accent-tint);
                     color: var(--accent); font-weight: 600; }
.legal-doc .draft-note { display: flex; gap: 12px; padding: 16px;
                         background: var(--accent-tint); border-radius: 10px;
                         font-size: 13.5px; line-height: 1.5; color: var(--accent); }
.legal-doc .draft-note .icon { width: 18px; height: 18px; margin-top: 1px; }
.legal-doc h2 { font-size: 18px; padding-top: 10px; }
.legal-doc p, .legal-doc li { font-size: 14.5px; line-height: 1.6;
                              color: var(--text-secondary); }
.legal-doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc a { color: var(--accent); text-decoration: underline; }
.legal-doc strong { color: var(--ink); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .matrix-grid, .matrix-grid.cols6 { grid-template-columns: repeat(3, 1fr); }
  .feature { flex-direction: column; gap: 28px; }
  .feature .window { width: 100%; }
  .plan-cards { grid-template-columns: repeat(2, 1fr); }
  .includes .grid { grid-template-columns: repeat(2, 1fr); }
  .credit .points { grid-template-columns: 1fr; gap: 18px; }
  .brand-panel { width: 380px; padding: 40px 36px; }
}
@media (max-width: 820px) {
  .nav-right > a:not(.login) { display: none; }
  .hero h1 .hl-box { padding: 0 10px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid .cell { padding-right: 0; }
  .matrix-grid, .matrix-grid.cols6 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .moves .row { flex-direction: column; gap: 8px; }
  .moves .k { width: auto; }
  .proto-rows .row { flex-direction: column; gap: 14px; }
  .proto-rows .left { width: auto; }
  .pipeline { flex-direction: column; gap: 8px; }
  .pipeline .arr { justify-content: center; padding: 2px 0; }
  .fifo .lots, .fifo .match { grid-template-columns: 1fr; }
  .fifo .match .sp { display: none; }
  .panels, .buckets { grid-template-columns: 1fr; }
  .auth-body { flex-direction: column; }
  .brand-panel { width: 100%; gap: 32px; }
  .foot-top { flex-direction: column; gap: 36px; }
  .address-form .btn-big { padding: 13px 14px; }
}
@media (max-width: 560px) {
  .plan-cards, .includes .grid { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .plan .btn { margin-top: 16px; }
  .matrix-grid, .matrix-grid.cols6 { grid-template-columns: 1fr; }
  .helper-row { flex-direction: column; }
  .offer .clarifier { flex-direction: column; align-items: center; }
  .timeline .tl-bar, .timeline .axis { grid-template-columns: 1fr; }
  .address-form { flex-direction: column; align-items: stretch; padding: 8px; }
  .address-form input { padding: 8px 12px; }
}

/* ── Auth pages (signin/signup — frames oPz11 / mzqle) ─────────────── */
.btn-google { width: 100%; height: 48px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--hairline); background: var(--bg);
  font-size: 15px; font-weight: 500; color: var(--ink); }
.btn-google:hover { background: var(--surface); }
.btn-google .g { color: #4285F4; font-weight: 700; font-family: var(--mono); }
.or-divider { display: flex; align-items: center; gap: 14px;
  color: var(--text-muted); font-size: 12.5px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px;
  background: var(--hairline); }
.auth-links { text-align: center; font-size: 14px; color: var(--text-secondary); }
.auth-links a { color: var(--accent); font-weight: 600; }
.auth-links + .auth-links { margin-top: -8px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; font-weight: 600; color: var(--accent); }
