/* newbetterprice v1 — visual spec: near-black #111211, warm white #FAFAF6,
   fluorescent lime #C7FF35, oversized grotesk headlines. */
:root {
  --ink: #111211;
  --paper: #FAFAF6;
  --lime: #C7FF35;
  --muted: #6b6f6b;
  --line: #e4e4de;
  --dark-card: #161816;
  --radius: 14px;
  --max: 1180px;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 7px; background: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.lang-toggle { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.lang-toggle button {
  background: none; border: none; font: inherit; cursor: pointer; color: var(--muted); padding: 4px 2px;
}
.lang-toggle button.active { color: var(--ink); font-weight: 700; background: var(--lime); border-radius: 4px; padding: 4px 8px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; font-weight: 700; color: var(--muted); margin-bottom: 18px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1.0; letter-spacing: -0.01em; font-weight: 400;
}
.hero-sub { font-size: 19px; margin-top: 18px; max-width: 34em; }
.brand-line { margin-top: 14px; font-weight: 800; letter-spacing: 0.08em; font-size: 14px; }
.brand-line .hl { background: var(--lime); padding: 2px 8px; border-radius: 4px; }

/* purpose tabs */
.tabs {
  display: inline-flex; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; margin-top: 28px;
}
.tabs button {
  font: inherit; font-weight: 600; font-size: 16px; padding: 12px 34px; cursor: pointer;
  background: var(--paper); border: none; border-right: 1.5px solid var(--ink); color: var(--ink);
}
.tabs button:last-child { border-right: none; }
.tabs button.active { background: var(--ink); color: var(--paper); }

/* check form */
.check-form { display: flex; margin-top: 18px; max-width: 560px; }
.check-form .input-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink); border-right: none; border-radius: 12px 0 0 12px;
  padding: 0 16px; background: #fff;
}
.check-form input {
  flex: 1; border: none; outline: none; font: inherit; font-size: 16px; padding: 16px 0; background: transparent; min-width: 0;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 12px; padding: 16px 26px;
  background: var(--lime); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.btn:hover { filter: brightness(0.96); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.ghost-dark { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.35); }
.check-form .btn { border-radius: 0 12px 12px 0; }
.micro { margin-top: 14px; font-size: 14px; color: var(--muted); }
.micro strong { color: var(--ink); }
.demo-note {
  display: none; margin-top: 12px; font-size: 14px; background: #fff8e1;
  border: 1px solid #e8d48b; border-radius: 8px; padding: 10px 14px; max-width: 560px;
}
.demo-note.show { display: block; }

/* ---------- example report card ---------- */
.report-card {
  background: var(--dark-card); color: #f2f2ee; border-radius: 18px; padding: 30px 30px 26px;
  box-shadow: 0 24px 60px rgba(17,18,17,0.18);
}
.report-card .card-eyebrow { font-size: 11px; letter-spacing: 0.2em; color: #9aa09a; font-weight: 700; margin-bottom: 14px; }
.report-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: 0; }
.card-top { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 20px; }
.card-text { flex: 1; min-width: 0; }
.card-img { flex: 0 0 38%; }
.card-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 10px; display: block; }
.photo-credit { font-size: 11px; color: #6f746f; margin-top: 14px; }
.report-card .cond { color: #b9beb9; margin: 4px 0 22px; }
.big-range-label { font-size: 15px; color: #c9cec9; }
.big-range { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 4.5vw, 54px); color: var(--lime); letter-spacing: 0; }
.card-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); }
.card-cols .k { font-size: 14px; color: #9aa09a; }
.card-cols .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.card-math { margin-top: 14px; font-size: 13.5px; color: #9aa09a; line-height: 1.6; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.illus { font-size: 12.5px; color: #7d827d; }

/* ---------- story band ---------- */
.band { background: var(--ink); color: var(--paper); padding: 64px 0; margin-top: 72px; }
.band .eyebrow { color: var(--lime); }
.band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); letter-spacing: 0; line-height: 1.05; white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 11%; right: 11%; height: 1px;
  background: rgba(255,255,255,0.22);
}
.step .icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: #f2f2ee;
}
.step .icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: #a9aea9; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: 0; }
.section .lede { color: var(--muted); margin-top: 10px; max-width: 44em; font-size: 17px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.how-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.how-card .n { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: 0.12em; }
.how-card h3 { margin: 8px 0 6px; font-size: 19px; }
.how-card p { font-size: 15px; color: var(--muted); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.price-card { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 30px 26px; background: #fff; display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: var(--paper); }
.price-card .tier { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--muted); }
.price-card.featured .tier { color: var(--lime); }
.price-card .amount { font-family: var(--font-display); font-weight: 400; font-size: 40px; letter-spacing: 0; margin: 10px 0 6px; }
.price-card p { font-size: 15px; color: var(--muted); flex: 1; }
.price-card.featured p { color: #b9beb9; }
.price-card .btn { margin-top: 20px; justify-content: center; }
.test-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.models-box { margin-top: 30px; border: 1.5px dashed var(--muted); border-radius: var(--radius); padding: 26px; font-size: 15px; color: var(--muted); }
.models-box strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--ink); }

/* ---------- report page ---------- */
.report-hero { padding: 56px 0 8px; }
.verdict {
  background: var(--ink); color: var(--paper); border-radius: 18px; padding: 34px 32px; margin-top: 26px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
}
.verdict .v-label { font-size: 14px; color: #9aa09a; }
.verdict .v-num { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 52px); color: var(--lime); letter-spacing: 0; }
.verdict .v-sub { font-size: 15px; color: #b9beb9; margin-top: 6px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 220px; color: var(--muted); font-weight: 600; }
.evidence { margin-top: 8px; }
.evidence li { margin-bottom: 10px; font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 2px 10px; margin-right: 8px; }
.tag.ok { background: #e6f7d4; color: #3d6b1f; }
.tag.thin { background: #fff3d6; color: #8a6d1a; }
.checklist { margin-top: 10px; padding-left: 20px; font-size: 15px; }
.checklist li { margin-bottom: 8px; }
.draft-box {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 14px; font-size: 15px;
}
.draft-box .who { font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 8px; }
.cta-band { background: var(--lime); border-radius: 18px; padding: 36px 34px; margin: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: 26px; letter-spacing: -0.02em; }
.cta-band p { margin-top: 6px; }
.notice { background: #fff8e1; border: 1px solid #e8d48b; border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .band h2 { white-space: normal; }
  .how-grid, .price-grid { grid-template-columns: 1fr; }
  .verdict { grid-template-columns: 1fr; }
  .nav a.nav-link { display: none; }
  .tabs button { padding: 12px 22px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .check-form { flex-direction: column; }
  .check-form .input-wrap { border-right: 1.5px solid var(--ink); border-radius: 12px 12px 0 0; }
  .check-form .btn { border-radius: 0 0 12px 12px; justify-content: center; }
  .card-cols { grid-template-columns: 1fr; }
  .card-top { flex-direction: column; }
  .card-img { flex: none; }
  .card-img img { min-height: 0; max-height: 240px; }
}
