/* NetSale design system. Tokens follow the Figma file "NetSale — Design
   Concept" (00 Foundations). Light theme only. */
:root {
  --page: #faf8f5;
  --surface: #fff;
  --subtle: #f2efea;
  --navy: #0b1b3f;
  --text: #0b1b3f;
  --muted: #5b6478;
  --border: #e6e2db;
  --brand: #2f5bff;
  --brand-hover: #1f47e6;
  --brand-soft: #e6ecff;
  --profit: #10b981;
  --profit-text: #047857;
  --profit-soft: #dcf5ea;
  --fee: #f97366;
  --fee-text: #c2412d;
  --fee-soft: #fee7e3;
  --warning: #f59e0b;
  --warning-text: #a16207;
  --warning-soft: #fef3dc;
  --grey-bar: #b8bcc6;
  --ad: #edeae4;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-card: 20px;
  --shadow: 0 6px 20px rgba(11, 27, 63, 0.07);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--page); color: var(--text); font: 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }
.icon { width: 1em; height: 1em; flex: none; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; }
h1 { font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; }
.card-title { font-family: var(--font-head); font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--navy); margin: 0; }
@media (max-width: 720px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .card-title { font-size: 20px; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font: 700 22px/1 var(--font-head); letter-spacing: -0.02em; }
.logo:hover { color: var(--navy); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 16px; height: 16px; }
.main-nav { display: flex; gap: 28px; margin-left: 40px; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"] { font-weight: 600; }
.header-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; place-items: center; color: var(--navy); }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .site-header .wrap { height: 60px; }
  .main-nav, .site-header .header-cta { display: none; }
  .menu-btn { display: grid; }
  .site-header.open .main-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 60px; left: 0; right: 0; margin: 0; padding: 8px 20px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-header.open .main-nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--subtle); }
}

/* Buttons, pills, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.15s, border-color 0.15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-lg { height: 48px; padding: 0 24px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; height: 38px; padding: 0 16px; font-size: 14px; }
.btn-navy:hover { background: #17295a; color: #fff; }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; background: var(--subtle); color: var(--muted); }
.pill .icon { width: 13px; height: 13px; }
a.pill:hover { filter: brightness(0.97); }
.pill-profit { background: var(--profit-soft); color: var(--profit-text); }
.pill-fee { background: var(--fee-soft); color: var(--fee-text); }
.pill-brand { background: var(--brand-soft); color: var(--brand); }
.pill-warning { background: var(--warning-soft); color: var(--warning-text); }
.pill-navy { background: var(--navy); color: #fff; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--navy); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip .icon { width: 15px; height: 15px; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--subtle); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--navy); box-shadow: 0 1px 2px rgba(11, 27, 63, 0.1); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); }
.seg-wide { display: flex; border-radius: var(--r-md); }
.seg-wide label { flex: 1; }
.seg-wide span { text-align: center; padding: 9px 8px; border-radius: 9px; }

/* Page title block */
.page-head { padding: 40px 0 24px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs .icon { width: 12px; height: 12px; }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }
.lede { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 680px; margin: 12px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badges .pill, .section-intro .pill { white-space: normal; height: auto; min-height: 24px; padding: 5px 10px; line-height: 1.3; }
.presets { margin-top: 20px; }
.presets .label { font-size: 13px; color: var(--muted); margin-right: 4px; }

/* Calculator layout */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; align-items: start; padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.card-shadow { box-shadow: var(--shadow); }
.form-card { padding: 8px 24px; }
.form-section { padding: 20px 0 24px; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fields-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span:first-child { font-size: 13px; font-weight: 500; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.input { position: relative; display: flex; align-items: center; height: 46px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
.input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input input, .input select { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 14px; font-size: 16px; font-weight: 500; outline: none; -moz-appearance: textfield; }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input select { appearance: none; cursor: pointer; padding-right: 40px; }
.input .pre { padding-left: 14px; color: var(--muted); font-size: 15px; }
.input .pre + input { padding-left: 8px; }
.input .suf { padding-right: 14px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.input .chev { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.info-strip { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 500; }
.info-strip .icon { width: 16px; height: 16px; margin-top: 1px; }
.callout { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--warning-soft); color: #78350f; font-size: 13px; }
.callout .icon { width: 16px; height: 16px; color: var(--warning); margin-top: 2px; }
.advanced summary { display: flex; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary strong { font-weight: 600; font-size: 15px; }
.advanced summary .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advanced summary .icon { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s; }
.advanced[open] summary .icon { transform: rotate(180deg); }
.advanced .fields { padding-bottom: 24px; }

/* Result card */
.result-card { position: sticky; top: 92px; padding: 24px; }
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.result-top .label { font-size: 14px; font-weight: 500; color: var(--muted); }
.big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 10px 0 12px; }
.big strong { font: 800 52px/1 var(--font-head); letter-spacing: -0.03em; color: var(--profit); }
.big strong.neg { color: var(--fee); }
.big span { font-size: 14px; color: var(--muted); }
.result-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.goes-title { font-size: 14px; font-weight: 500; color: var(--navy); margin: 0 0 12px; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--subtle); }
.bar i { display: block; min-width: 2px; transition: flex-grow 0.25s; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend .name { color: var(--muted); }
.legend .amt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 500; }
.legend .total .name, .legend .total .amt { color: var(--navy); font-weight: 600; }
.legend .total .amt.pos { color: var(--profit-text); }
.legend .total .amt.neg { color: var(--fee-text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stats div { padding: 10px 12px; border-radius: var(--r-md); background: var(--subtle); }
.stats span { display: block; font-size: 12px; color: var(--muted); }
.stats strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.target { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand); font-size: 13px; }
.target p { margin: 0; }
.target strong { font-weight: 600; font-size: 14px; }
.target select { border: 0; background: transparent; color: var(--brand); font-weight: 600; font-size: 14px; padding: 0; cursor: pointer; text-decoration: underline dotted; }
.target .rest { display: block; color: #3a4f9e; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1; padding: 0 14px; }
.actions .btn-secondary .icon { width: 16px; height: 16px; }
.fine { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.copy-status { font-size: 12px; color: var(--profit-text); min-height: 1em; margin: 6px 0 0; }
.stale-banner { display: flex; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--fee-soft); color: #7f1d1d; font-size: 13px; }
.stale-banner .icon { width: 16px; height: 16px; color: var(--fee); margin-top: 2px; }
.stale-banner[hidden] { display: none; }
.invalid .big strong { color: var(--muted); font-size: 32px; }

/* Mobile sticky result bar */
.sticky-bar { display: none; }
@media (max-width: 980px) {
  .calc-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .result-card { position: static; }
  .sticky-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; transform: translateY(110%); transition: transform 0.2s; }
  .sticky-bar.show { transform: none; }
  .sticky-bar .val { font: 800 22px/1 var(--font-head); }
  .sticky-bar .sub { font-size: 12px; color: #c4cbe0; }
  .sticky-bar .btn { margin-left: auto; height: 40px; }
}
@media (max-width: 720px) {
  .fields, .fields-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields .span-2-sm { grid-column: span 2; }
  .form-card { padding: 4px 16px; }
  .card { padding: 20px 16px; }
  .result-card { padding: 20px 16px; }
  .big strong { font-size: 44px; }
  .actions { flex-direction: column-reverse; }
  .page-head { padding-top: 24px; }
}

/* Ads: fixed size so nothing shifts; only rendered when AdSense is set up */
.ad-slot { display: grid; place-items: center; min-height: 120px; margin: 8px auto 40px; max-width: 970px; border-radius: var(--r-lg); background: var(--ad); color: var(--muted); font-size: 12px; }
@media (max-width: 720px) { .ad-slot { min-height: 280px; max-width: 336px; } }

/* Sections and tables */
.section { padding: 40px 0; }
.section-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.section-intro p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--subtle); padding: 12px 16px; white-space: nowrap; }
td { padding: 13px 16px; border-top: 1px solid var(--border); vertical-align: top; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.hit td { background: var(--profit-soft); }
.table-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.subhead { font-size: 17px; margin: 28px 0 12px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 16px 0 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.steps li:first-child { border-top: 0; }
.steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--subtle); font-size: 12px; font-weight: 600; color: var(--muted); }
.steps li.final .n { background: var(--profit); color: #fff; }
.steps .what { flex: 1; min-width: 0; }
.steps .what strong { display: block; font-weight: 500; font-size: 14px; }
.steps .what span { font-size: 12px; color: var(--muted); }
.steps .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.steps li.final .amt { color: var(--profit-text); }

.faq { margin-top: 12px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 500 14px/1.45 var(--font-body); color: var(--navy); flex: 1; }
.faq summary .icon { width: 16px; height: 16px; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; font-size: 13px; color: var(--muted); }

.next-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.next-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--navy); }
.next-card:hover { border-color: var(--navy); color: var(--navy); }
.next-card strong { display: block; font-weight: 600; }
.next-card span { font-size: 13px; color: var(--muted); }
.next-card > .icon { margin-left: auto; width: 18px; height: 18px; }
.tile { flex: none; width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; }
.tile .icon { width: 22px; height: 22px; }
.tile-profit { background: var(--profit-soft); color: var(--profit-text); }
.tile-brand { background: var(--brand-soft); color: var(--brand); }
.tile-fee { background: var(--fee-soft); color: var(--fee-text); }
.tile-warning { background: var(--warning-soft); color: var(--warning-text); }
@media (max-width: 900px) { .next-cards { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 12px; }
.prose p, .prose li { color: #2b3550; }

/* Home */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; align-items: center; padding: 72px 0 80px; }
.hero h1 { font-size: 56px; line-height: 1.08; margin-top: 24px; }
.hero .lede { font-size: 18px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; font-size: 13px; color: var(--muted); }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .icon { width: 16px; height: 16px; color: var(--profit); }
.quick { padding: 28px; }
.quick-head { display: flex; align-items: center; justify-content: space-between; }
.quick .fields { margin-top: 20px; }
.qrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qrow { display: grid; grid-template-columns: 150px 1fr 76px; gap: 12px; align-items: center; font-size: 15px; }
.qrow .who { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.qrow .dot { width: 10px; height: 10px; border-radius: 3px; }
.qrow .track { height: 10px; border-radius: 999px; background: var(--subtle); overflow: hidden; }
.qrow .track i { display: block; height: 100%; border-radius: 999px; transition: width 0.25s; }
.qrow .val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.qrow.soon { color: var(--muted); }
.qrow.soon .val { font-weight: 400; font-size: 12px; }
.quick-sub { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin: 0 0 14px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; }
.trust > div { display: flex; gap: 14px; }
.trust strong { display: block; font-weight: 600; margin-bottom: 4px; }
.trust p { margin: 0; font-size: 14px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); text-decoration: none; color: var(--navy); }
a.tool-card:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow); }
.tool-card .top { display: flex; align-items: center; justify-content: space-between; }
.tool-card .top > .icon { width: 20px; height: 20px; }
.tool-card h3 { font-size: 20px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.tool-card .meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--profit-text); }
.tool-card .meta .icon { width: 14px; height: 14px; }
.tool-card.soon { background: transparent; border-style: dashed; }
.tool-card.soon .meta { color: var(--muted); }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 56px; } }
@media (max-width: 900px) {
  .tool-grid, .trust { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 480px) {
  .quick { padding: 20px 16px; }
  .qrow { grid-template-columns: 112px 1fr 64px; font-size: 14px; }
  .hero-ctas .btn { width: 100%; }
}

/* Fee changes log */
.log-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 56px; }
@media (max-width: 980px) { .log-layout { grid-template-columns: 1fr; } }
.month { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.month:first-child { margin-top: 0; }
.change { display: grid; grid-template-columns: 64px 44px minmax(0, 1fr); gap: 16px; padding: 20px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.change .day { font: 700 24px/1 var(--font-head); }
.change .day span { display: block; font: 400 12px/1.6 var(--font-body); color: var(--muted); margin-top: 4px; }
.change h3 { font: 600 16px/1.4 var(--font-body); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.change .delta { margin: 6px 0 10px; font-size: 14px; }
.change .delta s { color: var(--muted); }
.change .delta b { font-weight: 600; }
.change .links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) {
  .change { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .change .tile { display: none; }
  .change .day { font-size: 16px; display: flex; gap: 6px; align-items: baseline; }
  .change .day span { display: inline; margin: 0; }
}
.side-card { padding: 24px; margin-bottom: 16px; }
.side-card h2 { font-size: 20px; margin-bottom: 12px; }
.side-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-dark h2 { color: #fff; }
.side-dark p { margin: 0 0 12px; font-size: 14px; color: #d5dbeb; }
.side-dark b { display: block; font-size: 12px; color: var(--profit); font-weight: 500; }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.numbered li { counter-increment: n; display: flex; gap: 12px; font-size: 14px; }
.numbered li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; }
.legend-badges { display: grid; gap: 14px; font-size: 13px; color: var(--muted); }
.legend-badges div { display: grid; gap: 6px; justify-items: start; }

/* Methodology */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 8px; }
.stat-cards .card strong { display: block; font: 700 40px/1.1 var(--font-head); color: var(--brand); letter-spacing: -0.02em; }
.stat-cards .card span { color: var(--muted); font-size: 14px; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 20px; counter-reset: s; }
.flow .card { padding: 18px; }
.flow .tile { width: 36px; height: 36px; margin-bottom: 14px; }
.flow .tile .icon { width: 18px; height: 18px; }
.flow strong { display: block; font-weight: 600; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 13px; color: var(--muted); }
.code-card { background: var(--navy); color: #e6ebf7; border-radius: var(--r-card); padding: 24px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; margin: 0; }
.code-card .hl { color: #34d399; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.rules .card { display: flex; gap: 14px; }
.rules strong { display: block; font-weight: 600; margin-bottom: 4px; }
.rules p { margin: 0; font-size: 14px; color: var(--muted); }
.status-ok, .status-wait { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-ok { color: var(--profit-text); }
.status-wait { color: var(--warning-text); }
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .flow, .rules { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: var(--navy); color: #c4cbe0; margin-top: 40px; padding: 56px 0 40px; font-size: 14px; }
.site-footer .logo { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-top p { max-width: 320px; margin: 16px 0 0; }
.site-footer h2 { font: 600 13px/1.4 var(--font-body); color: #fff; letter-spacing: 0.02em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4cbe0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #22335e; font-size: 13px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 980px) { body.has-sticky .site-footer { padding-bottom: 96px; } }

.notfound { padding: 80px 0; text-align: center; }
.notfound .btn { margin-top: 24px; }

/* eBay and comparison pages */
.callout-brand { background: var(--brand-soft); color: var(--navy); text-decoration: none; }
.callout-brand .icon { color: var(--brand); }
.callout-brand strong { display: block; color: var(--brand); }
.report-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.report-link .icon { width: 14px; height: 14px; }
.small { font-size: 12px; }
.fields-6 { grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(3, minmax(0, 1.2fr)); }
.input.dims { gap: 2px; }
.input.dims input { padding: 0 8px; text-align: center; }
.input.dims i { font-style: normal; color: var(--muted); font-size: 13px; }
.compare-form { margin-bottom: 24px; }
.compare-form .advanced { margin-top: 16px; }
.compare-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.rank-table td { vertical-align: middle; }
.rank-table td.rank { color: var(--muted); width: 36px; }
.rank-table td.fee { color: var(--fee-text); }
.rank-table td.pos { color: var(--profit-text); }
.rank-table td.neg { color: var(--fee-text); }
.rank-table .details { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.rank-table .details .icon { width: 14px; height: 14px; }
.mp { display: flex; align-items: center; gap: 12px; }
.mp .tile { width: 36px; height: 36px; }
.mp .tile .icon { width: 18px; height: 18px; }
.mp strong { display: block; font-size: 15px; }
.mp > span:last-child > span { display: block; font-size: 12px; color: var(--muted); }
.best-card { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 24px; }
.best-card .best-head { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.best-card .best-head strong { display: block; font: 700 22px/1.2 var(--font-head); }
.best-card .best-head span { font-size: 13px; color: #c4cbe0; }
.best-card .big span { color: #c4cbe0; }
.best-bars { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.best-bars li { display: grid; grid-template-columns: 92px 1fr 56px; gap: 10px; align-items: center; }
.best-bars .track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.best-bars .track i { display: block; height: 100%; background: #c4cbe0; border-radius: 999px; }
.best-bars strong { text-align: right; font-variant-numeric: tabular-nums; }
.best-card p { margin: 0; font-size: 13px; color: #dfe4f1; }
.info-line { margin: 24px 0 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.price-list li:first-child { border-top: 0; }
.price-list .price { font: 700 20px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.toggle-chip { position: relative; }
.toggle-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.toggle-chip span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); }
.toggle-chip span .icon { width: 14px; height: 14px; display: none; }
.toggle-chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.toggle-chip input:checked + span .icon { display: block; }
.toggle-chip input:focus-visible + span { outline: 2px solid var(--brand); }
.target-row { display: flex; align-items: center; gap: 20px; }
.target-value { display: inline-flex; align-items: baseline; gap: 2px; padding: 8px 14px; border-radius: var(--r-md); background: var(--profit-soft); color: var(--profit-text); }
.target-value input { width: 64px; border: 0; background: none; font: 800 36px/1 var(--font-head); color: inherit; text-align: right; outline: none; -moz-appearance: textfield; }
.target-value input::-webkit-outer-spin-button, .target-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.target-value span { font: 700 20px/1 var(--font-head); }
.target-row input[type="range"] { flex: 1; accent-color: var(--profit); }
@media (max-width: 1100px) { .fields-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .compare-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .fields-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-table th:nth-child(1), .rank-table td:nth-child(1), .rank-table th:nth-child(4), .rank-table td:nth-child(4),
  .rank-table th:nth-child(7), .rank-table td:nth-child(7), .rank-table .mp .tile, .rank-table .mp > span:last-child > span { display: none; }
  .rank-table td, .rank-table th { padding: 12px 10px; }
  .rank-table .mp strong { font-size: 14px; }
  .target-row { gap: 12px; }
}
