/* Ekonomirapporter – säljsajt.
   Formspråk: kolumnpapper. Blekgrönt papper, mörkt bläck, en röd marginallinje som löper genom
   hela sidan. Kontoblått (samma som i appen) bär allt som går att klicka på och alla diagram. */

:root {
  --paper: #eef2ea;
  --paper-2: #e3e9de;
  --white: #ffffff;
  --ink: #14233b;
  --ink-2: #47546a;
  --rule: #c5d0c1;
  --blue: #1c5cab;
  --blue-weak: #a9c3e6;
  --red: #b3261e;
  --pos: #0c6b38;

  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  /* The margin rule sits at the left edge of the content column; text starts --inset after it. */
  --margin-x: max(var(--gutter), calc(50vw - var(--wrap) / 2));
  --inset: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative;
  background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* The red margin rule of ledger paper, top to bottom. */
body::before {
  content: ""; position: absolute; z-index: 3; pointer-events: none;
  top: 0; bottom: 0; left: var(--margin-x); width: 1px;
  background: var(--red); opacity: 0.55;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 10px; }

.wrap {
  position: relative; z-index: 4;
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: calc(var(--gutter) + var(--inset)); padding-right: var(--gutter);
}

/* ── Top ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.mark { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.mark span { color: var(--blue); }
.top-nav { display: flex; gap: 24px; margin-left: auto; font-size: 0.9375rem; }
.top-nav a, .link-login { text-decoration: none; color: var(--ink-2); }
.top-nav a:hover, .link-login:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.top-act { display: flex; align-items: center; gap: 18px; font-size: 0.9375rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 4px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.top .btn { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn-line-paper { border-color: var(--paper); color: var(--paper); }
.btn-line-paper:hover { background: var(--paper); color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 8.4vw, 5.25rem); line-height: 0.96; letter-spacing: -0.035em;
  max-width: 13ch; text-wrap: balance;
}
.hero-lede { margin-top: clamp(22px, 3vw, 34px); max-width: 52ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* The ledger extract beside the headline: the figures you already have. Its row rules are the
   ruling of the paper and run off the right edge of the page. */
.vouchers { display: none; }
@media (min-width: 1180px) {
  .hero-grid { grid-template-columns: max-content minmax(0, 1fr); column-gap: 60px; align-items: start; }
  .vouchers {
    display: block; position: relative; align-self: stretch; min-height: 440px; margin-top: 8px;
  }
  .v-inner {
    position: absolute; inset: 0 auto 0 0; width: calc(100% + var(--margin-x)); overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 96%);
  }
  .v-row {
    display: grid; grid-template-columns: 56px 40px 150px 86px 86px 1fr; align-items: center;
    height: 40px; border-bottom: 1px solid var(--rule);
    font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .v-row .n { text-align: right; color: var(--ink); }
  .v-row span:first-child { color: var(--ink); font-weight: 500; }
  .v-head { height: 32px; border-bottom: 1.5px solid var(--ink); font-size: 0.8125rem; }
  .v-head .n, .v-head span:first-child { color: var(--ink-2); font-weight: 400; }
  .v-new { border-top: 1px solid var(--ink-2); margin-top: -1px; }
  .v-head + .v-new { border-top: 0; margin-top: 0; }
  /* One moment on load: the vouchers are entered row by row. */
  .v-row:not(.v-head) { animation: entry 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .v-row:nth-child(2) { animation-delay: 0.25s; } .v-row:nth-child(3) { animation-delay: 0.32s; }
  .v-row:nth-child(4) { animation-delay: 0.39s; } .v-row:nth-child(5) { animation-delay: 0.52s; }
  .v-row:nth-child(6) { animation-delay: 0.59s; } .v-row:nth-child(7) { animation-delay: 0.66s; }
  .v-row:nth-child(8) { animation-delay: 0.79s; } .v-row:nth-child(9) { animation-delay: 0.86s; }
  .v-row:nth-child(10) { animation-delay: 0.99s; } .v-row:nth-child(11) { animation-delay: 1.06s; }
  .v-row:nth-child(12) { animation-delay: 1.13s; }
}
@keyframes entry { from { opacity: 0; transform: translateX(10px); } }

/* ── Ask: the example panel ──────────────────────────────────────── */
.ask { margin-top: clamp(48px, 7vw, 80px); background: var(--white); border: 1px solid var(--ink); border-radius: 6px; scroll-margin-top: 84px; }
.ask-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 20px 24px 0; }
.ask-head h2 { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.ask-head p { color: var(--ink-2); font-size: 0.9375rem; }

.ask-qs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 20px; border-bottom: 1px solid var(--rule); }
.ask-q {
  font: 500 0.9688rem/1.3 var(--text); text-align: left; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.ask-q:hover { border-color: var(--ink); }
.ask-q[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.ask-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 300px; }
.ask-main { padding: 26px 24px; }
.ask-text { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.45; max-width: 34ch; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 26px; }
.stat { display: grid; gap: 2px; }
.stat-l { font-size: 0.875rem; color: var(--ink-2); }
.stat-v { font-family: var(--display); font-weight: 700; font-size: 1.875rem; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-n { font-size: 0.875rem; color: var(--ink-2); }
.stat-n.pos { color: var(--pos); font-weight: 600; }

.ask-fig { padding: 26px 24px; border-left: 1px solid var(--rule); min-width: 0; }
.ask-fig figcaption { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 6px; }
.chart { width: 100%; height: 200px; }
.chart svg { display: block; overflow: visible; }
.chart .ax { stroke: var(--rule); stroke-width: 1; }
.chart .bar { fill: var(--blue-weak); transition: fill 0.12s; }
.chart .bar-key, .chart .bar.is-on { fill: var(--blue); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--blue); opacity: 0.08; }
.chart .dot { fill: var(--blue); stroke: var(--white); stroke-width: 2; }
.chart .dot.is-on { fill: var(--ink); }
.chart .cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .lbl { font: 600 0.8125rem var(--text); fill: var(--ink); font-variant-numeric: tabular-nums; }
.chart .tick { font: 400 0.75rem var(--text); fill: var(--ink-2); }
.chart .hit { fill: transparent; cursor: crosshair; outline-offset: -2px; }

.ask-table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; font-variant-numeric: tabular-nums; }
.ask-table th, .ask-table td { padding: 11px 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--rule); }
.ask-table thead th { font-size: 0.875rem; color: var(--ink-2); padding-top: 0; }
.ask-table .n { text-align: right; padding-left: 16px; }
.ask-table tfoot th, .ask-table tfoot td { font-weight: 600; border-top: 1.5px solid var(--ink); border-bottom: 3px double var(--ink); }

.ask-basis { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; padding: 14px 24px; border-top: 1px solid var(--rule); background: var(--paper); border-radius: 0 0 5px 5px; font-size: 0.875rem; color: var(--ink-2); }
.ask-basis h3 { font: 600 0.875rem var(--text); color: var(--ink); }
.ask-basis ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ask-basis li { position: relative; }
.ask-basis li + li::before { content: ""; position: absolute; left: -11px; top: 0.3em; bottom: 0.3em; width: 1px; background: var(--rule); }

/* One reveal, only when a question is chosen. */
.ask-body.is-in > * { animation: reveal 0.36s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ask-body.is-in > :nth-child(2) { animation-delay: 0.07s; }
.ask-body.is-in > :nth-child(3) { animation-delay: 0.14s; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } }

.tip { position: absolute; z-index: 30; pointer-events: none; display: grid; gap: 1px; background: var(--ink); color: var(--paper); border-radius: 4px; padding: 7px 11px; font-size: 0.8125rem; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tip-t { opacity: 0.78; }
.tip b { font-weight: 600; font-size: 0.9375rem; }

/* ── Bands ───────────────────────────────────────────────────────── */
.band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.band-plain { background: var(--white); }
.sect-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sect-head h2, .close h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.sect-head p { color: var(--ink-2); max-width: 46ch; }

/* The report index, set like a chart of accounts. */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; vertical-align: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.ledger tbody th[scope="row"] { width: 34%; padding-right: 24px; font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 1.9vw, 1.4375rem); letter-spacing: -0.015em; }
.ledger td { color: var(--ink-2); max-width: 60ch; }
.ledger-grp th { padding: 34px 0 8px; font: 600 0.9375rem var(--text); color: var(--blue); border-bottom: 1.5px solid var(--ink); }
.ledger tr:first-child.ledger-grp th { padding-top: 0; }

/* ── Steps ───────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 3.25rem; line-height: 1; letter-spacing: -0.04em; color: var(--blue); margin-bottom: 18px; }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); max-width: 32ch; }
.steps-note { margin-top: 36px; max-width: 62ch; color: var(--ink-2); }

/* ── Facts ───────────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1.5px solid var(--ink); }
.facts > div { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.facts dd { color: var(--ink-2); max-width: 48ch; }

/* ── Close ───────────────────────────────────────────────────────── */
.close { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 136px) 0; scroll-margin-top: 64px; }
.close h2 { max-width: 14ch; }
.close-in > p { margin-top: 20px; max-width: 50ch; color: color-mix(in srgb, var(--paper) 80%, var(--ink)); }
.close .close-mail { margin-top: 26px; font-size: 0.9375rem; }
.close-mail a { color: var(--paper); text-underline-offset: 4px; }
.close :focus-visible { outline-color: var(--paper); }

.foot { background: var(--ink); color: color-mix(in srgb, var(--paper) 72%, var(--ink)); border-top: 1px solid color-mix(in srgb, var(--paper) 22%, var(--ink)); font-size: 0.9375rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-block: 26px; }
.foot .mark { color: var(--paper); font-size: 1.0625rem; }
.foot .mark span { color: var(--blue-weak); }
.foot a { margin-left: auto; color: var(--paper); text-underline-offset: 4px; }

/* ── Narrow ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --inset: 18px; }
  .top-nav { display: none; }
  .top-act { margin-left: auto; }
  .ask-body { grid-template-columns: minmax(0, 1fr); }
  .ask-fig { border-left: 0; border-top: 1px solid var(--rule); }
  .sect-head { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
  .steps li::before { font-size: 2.5rem; margin-bottom: 10px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .link-login { display: none; }
  .ask-head, .ask-qs, .ask-main, .ask-fig, .ask-basis { padding-left: 16px; padding-right: 16px; }
  .ask-q { width: 100%; border-radius: 10px; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto; }
  .ledger tbody th[scope="row"] { width: auto; padding: 14px 0 2px; border-bottom: 0; }
  .ledger td { padding: 0 0 14px; }
  .btn { flex: 1 1 auto; }
  .top .btn { flex: 0 0 auto; }
  .foot a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ask-body.is-in > *, .v-row:not(.v-head) { animation: none; }
  .btn, .ask-q, .chart .bar { transition: none; }
}
@media print {
  .top, .ask-qs, .tip { display: none; }
  body::before { display: none; }
}

/* ── Hero: proof under the buttons ───────────────────────────────── */
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; font-size: 0.9688rem; color: var(--ink); }
.hero-proof li, .ticks li { position: relative; padding-left: 24px; }
.hero-proof li::before, .ticks li::before, .plans .y::before {
  content: ""; position: absolute; left: 2px; top: 0.36em; width: 12px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.hero-firm { margin-top: 18px; font-size: 0.9688rem; color: var(--ink-2); }
.hero-firm a, .steps-note a, .faq a { color: var(--blue); text-underline-offset: 4px; }

/* ── Before and after, set as two ledger columns ─────────────────── */
.swap { width: 100%; border-collapse: collapse; }
.swap th { text-align: left; padding: 0 0 10px; font: 600 0.9375rem var(--text); border-bottom: 1.5px solid var(--ink); }
.swap th:first-child { color: var(--ink-2); }
.swap th:last-child { color: var(--blue); }
.swap td { width: 50%; vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.swap td:first-child { padding-right: 40px; color: var(--ink-2); }
.swap td:last-child { padding-left: 28px; border-left: 1px solid var(--rule); font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.3; letter-spacing: -0.015em; }
.swap th:last-child { padding-left: 28px; }

/* ── PowerPoint ──────────────────────────────────────────────────── */
.pp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: center; }
.pp h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.pp-lede { margin-top: 20px; color: var(--ink-2); max-width: 50ch; }
.ticks { display: grid; gap: 12px; margin-top: 24px; max-width: 52ch; }
.pp-pick { margin-top: 30px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 0.9375rem/1.3 var(--text); color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 999px; padding: 9px 16px; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.deck {
  --s-bg: #fafbf8; --s-ink: #14233b; --s-mute: #5a667a; --s-acc: #1c5cab; --s-rule: #d5dccf; --s-band: transparent;
  --s-head: Georgia, "Times New Roman", serif;
  position: relative; container-type: inline-size; padding: 3.5% 3.5% 0 0;
}
.deck[data-mall="mork"] { --s-bg: #14233b; --s-ink: #f2f5ee; --s-mute: #a9b4c6; --s-acc: #8fb8ee; --s-rule: #33435e; --s-head: var(--display); }
.deck[data-mall="farg"] { --s-bg: #ffffff; --s-ink: #2b1836; --s-mute: #6b5a75; --s-acc: #8a2f7c; --s-rule: #e4dbe8; --s-band: #8a2f7c; --s-head: var(--text); }
.slide {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 5.5cqw 6cqw 3cqw 7.5cqw;
  background: var(--s-bg); color: var(--s-ink); border: 1px solid var(--ink); border-radius: 3px;
  transition: background-color 0.25s, color 0.25s;
}
.slide-back { position: absolute; inset: 0 0 auto auto; width: calc(100% - 3.5%); display: block; opacity: 0.55; }
.s-band { position: absolute; inset: 0 auto 0 0; width: 2.4cqw; background: var(--s-band); transition: background-color 0.25s; }
.s-title { font-family: var(--s-head); font-weight: 700; font-size: 5cqw; line-height: 1.1; letter-spacing: -0.01em; }
.s-sub { margin-top: 1cqw; font-size: 2.3cqw; color: var(--s-mute); }
.s-chart { min-height: 0; margin-top: 2cqw; }
.s-chart svg { display: block; width: 100%; height: 100%; }
.s-ax { stroke: var(--s-rule); stroke-width: 1; }
.s-bar { fill: var(--s-acc); transition: fill 0.25s; }
.s-tick { font: 400 11px var(--text); fill: var(--s-mute); }
.s-lbl { font: 600 12px var(--text); fill: var(--s-ink); }
.s-foot { display: flex; align-items: center; gap: 2cqw; margin-top: 1.5cqw; padding-top: 1.6cqw; border-top: 1px solid var(--s-rule); font-size: 1.9cqw; color: var(--s-mute); }
.s-foot span:last-child { margin-left: auto; }
.s-logo::before { content: "ekonomirapporter"; font-family: var(--display); font-weight: 700; color: var(--s-ink); letter-spacing: -0.02em; }
.deck:not([data-mall="standard"]) .s-logo::before { content: "Er logotyp"; font-family: var(--s-head); padding: 0.5cqw 1.4cqw; border: 1px dashed var(--s-mute); border-radius: 2px; font-weight: 600; letter-spacing: 0; }

/* ── Plans ───────────────────────────────────────────────────────── */
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.plans thead td { width: 40%; }
.plans thead th { padding: 0 8px 12px; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.875rem); letter-spacing: -0.02em; border-bottom: 1.5px solid var(--ink); }
.plans thead td { border-bottom: 1.5px solid var(--ink); }
.plans tbody th { text-align: left; font-weight: 500; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--rule); }
.plans tbody td { position: relative; text-align: center; padding: 15px 8px; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); color: var(--ink); }
.plans .y::before { left: calc(50% - 7px); top: calc(50% - 6px); width: 14px; height: 7px; }
.plans .x::before { content: ""; position: absolute; left: calc(50% - 6px); top: 50%; width: 12px; height: 1.5px; background: var(--rule); }
.after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; }
.after p { max-width: 52ch; color: var(--ink-2); }

/* ── Questions ───────────────────────────────────────────────────── */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 1.9vw, 1.375rem); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--blue); transition: transform 0.2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); }

@media (max-width: 860px) {
  .pp { grid-template-columns: minmax(0, 1fr); }
  .swap td:first-child { padding-right: 20px; }
  .swap td:last-child, .swap th:last-child { padding-left: 18px; }
}
@media (max-width: 560px) {
  .swap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .swap, .swap tbody, .swap tr, .swap td { display: block; width: auto; }
  .swap tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .swap tbody tr:first-child { border-top: 1.5px solid var(--ink); }
  .swap td, .swap td:first-child, .swap td:last-child { padding: 0; border: 0; }
  .swap td + td { margin-top: 12px; }
  .swap td::before { content: attr(data-l); display: block; font: 600 0.8125rem var(--text); letter-spacing: 0; color: var(--ink-2); margin-bottom: 2px; }
  .swap td:last-child::before { color: var(--blue); }
  .plans { font-size: 0.8125rem; }
  .plans thead td { width: 36%; }
  .plans tbody th { padding-right: 8px; hyphens: auto; overflow-wrap: anywhere; }
  .plans tbody td { padding: 12px 4px; overflow-wrap: anywhere; }
  .chip { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .s-band, .s-bar, .chip, .faq summary::before, .faq summary::after { transition: none; }
}
