/* ============================================================
   Book Kart — book sales, fully managed
   For libraries & large book organizations
   Brand: teal #14a79d + gray #818286
   ============================================================ */

:root {
  /* Brand palette (sampled from logo) */
  --teal-800: #0c5f59;
  --teal-700: #0f867d;
  --teal-600: #14a79d;   /* primary brand teal */
  --teal-500: #1cbcb1;
  --teal-050: #eaf7f5;
  --gray-brand: #818286; /* the "Kart" gray */

  --primary: var(--teal-600);
  --primary-dark: var(--teal-700);
  --accent: var(--teal-700);
  --emerald-500: #10b981;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f5f8f8;
  --bg-alt: var(--teal-050);
  --ink: #16211f;
  --ink-soft: #465250;
  --ink-mute: #7c8583;
  --line: #e4ebea;
  --card: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 60, 56, .06), 0 1px 3px rgba(12, 60, 56, .05);
  --shadow-md: 0 10px 30px -12px rgba(12, 60, 56, .22);
  --shadow-lg: 0 30px 60px -20px rgba(12, 60, 56, .30);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --maxw: 1140px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(20,167,157,.6); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 26px -8px rgba(20,167,157,.7); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--primary); transition: width .2s; border-radius: 2px; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--primary-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 30px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a { padding: 12px 8px; color: var(--ink-soft); font-weight: 500; border-radius: 10px; }
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 6px; }
/* Safety: the mobile menu never appears on desktop, even if left open */
@media (min-width: 721px) { .mobile-menu { display: none !important; } }

/* ---------- Shared section ---------- */
.section { padding: 96px 0; }
/* offset anchor targets so the sticky header doesn't overlap them */
section[id], .hero { scroll-margin-top: 84px; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-dark); background: var(--bg-alt); padding: .4em .9em; border-radius: 999px; margin-bottom: 18px;
}

.check { width: 20px; height: 20px; flex: none; stroke: var(--primary); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 68px 0 40px; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(20,167,157,.13), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(20,167,157,.06), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 48px; }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 4.8vw, 3.7rem); font-weight: 600; margin: 14px 0 20px; }
.grad { background: linear-gradient(100deg, var(--primary) 10%, var(--teal-800) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 26px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }

/* Product mockup */
.hero-visual { position: relative; }
.mock-window {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d3dedd; }
.mock-bar > span:nth-child(1){ background:#ff6058;} .mock-bar > span:nth-child(2){ background:#ffbe2f;} .mock-bar > span:nth-child(3){ background:#2aca44;}
.mock-url { margin-left: 12px; font-size: .78rem; color: var(--ink-mute); background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.mock-body { padding: 20px; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: .68rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.stat-num { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.stat-up { font-size: .72rem; color: var(--emerald-500); font-weight: 600; }
.mock-chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-bottom: 14px; }
.mock-chart svg { width: 100%; height: 90px; }
.mock-chart .area { fill: rgba(20,167,157,.14); stroke: none; }
.mock-chart .line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.mock-row b { margin-left: auto; color: var(--ink); white-space: nowrap; }
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.tag { font-style: normal; font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--bg-alt); color: var(--primary-dark); white-space: nowrap; }
.tag.good { background: rgba(16,185,129,.12); color: #0b8a63; }

.floaty { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 12px; padding: 10px 14px; font-size: .8rem; font-weight: 600; color: var(--ink); animation: bob 4s ease-in-out infinite; }
.floaty-1 { top: 6%; left: -5%; max-width: 190px; }
.floaty-2 { bottom: 9%; right: -4%; animation-delay: 1.5s; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* Marquee / logo strip */
.marquee { border-top: 1px solid var(--line); padding-top: 28px; text-align: center; }
.marquee > span { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.marquee-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.marquee-logos span { font-weight: 700; font-size: 1.05rem; color: #a9b4b2; letter-spacing: -.01em; }

/* ---------- Compare (problem/solution) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.compare-col { border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); }
.compare-col h3 { font-size: 1.15rem; margin-bottom: 18px; }
.compare-col ul { display: flex; flex-direction: column; gap: 12px; }
.compare-col li { color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.compare-before { background: var(--bg-soft); }
.compare-before h3 { color: var(--ink-mute); }
.compare-before li { padding-left: 26px; position: relative; }
.compare-before li::before { content: '✕'; position: absolute; left: 0; color: #c26b6b; font-weight: 700; }
.compare-after { background: linear-gradient(160deg, #fff, var(--teal-050)); border-color: #cfeae6; box-shadow: var(--shadow-md); }
.compare-after h3 { color: var(--primary-dark); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfeae6; }
.feature-card--accent { background: linear-gradient(160deg, #fff, var(--teal-050)); border-color: #cfeae6; }
.feat-icon { font-size: 1.7rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 14px; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-card p { color: var(--ink-soft); font-size: .98rem; }
.soon { font-style: normal; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-dark); background: var(--teal-050); padding: 3px 8px; border-radius: 999px; }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step { flex: 1 1 260px; max-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step-num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--teal-500)); margin-bottom: 16px; font-family: var(--font-display); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.step-arrow { display: flex; align-items: center; font-size: 1.6rem; color: #bcd8d4; }

/* ---------- Repricer ---------- */
.repricer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.repricer-copy h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 12px 0 16px; }
.lede-sm { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li b { color: var(--ink); }
.check-list.sm { gap: 10px; margin: 6px 0 24px; }
.check-list.sm li { font-size: .95rem; }

.repricer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; }
.rp-head { font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; color: var(--ink); }
.rp-field { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rp-field label { color: var(--ink-mute); font-size: .9rem; }
.rp-input { font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 8px; font-size: .95rem; }
.rp-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; }
.rp-toggle span { font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; color: var(--ink-mute); }
.rp-toggle span.on { background: var(--primary); color: #fff; }
.rp-result { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 16px; background: linear-gradient(120deg, #fff, var(--teal-050)); border-radius: 14px; border: 1px solid #cfeae6; }
.rp-result span { color: var(--ink-mute); font-size: .9rem; }
.rp-result b { font-size: 1.6rem; font-family: var(--font-display); color: var(--primary-dark); }
.rp-result .tag { margin-left: auto; }

/* ---------- Stats band ---------- */
.band { background: linear-gradient(120deg, var(--teal-800), var(--teal-600)); color: #fff; padding: 56px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band-num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.band-label { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.price-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; }
.price-tag { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.price-tag span { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-mute); }
.price-desc { color: var(--ink-soft); font-size: .97rem; margin-bottom: 20px; }
.price-card .btn { margin-top: auto; }
.badge { position: absolute; top: -13px; right: 26px; background: var(--primary); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.pricing-note { text-align: center; color: var(--ink-mute); margin-top: 26px; font-size: .95rem; }
.pricing-note a { color: var(--primary-dark); font-weight: 600; }

/* ---------- Schedule Pickup ---------- */
.pickup { background:
  radial-gradient(700px 380px at 12% 8%, rgba(20,167,157,.10), transparent 60%),
  var(--bg); }
.pickup-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; max-width: 1000px; margin: 0 auto; }
.pickup-points { display: flex; flex-direction: column; gap: 20px; }
.pickup-points li { display: flex; gap: 16px; align-items: flex-start; }
.pk-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem; background: var(--teal-050); border: 1px solid #cfeae6; border-radius: 12px; }
.pickup-points b { display: block; color: var(--ink); margin-bottom: 3px; }
.pickup-points span { color: var(--ink-soft); font-size: .95rem; }
.pickup-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.pickup-form h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; }
.form-status { padding: 12px 16px; border-radius: 10px; font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.form-status--success { background: rgba(16,185,129,.12); color: #0b8a63; border: 1px solid rgba(16,185,129,.3); }
.form-status--error { background: rgba(194,107,107,.12); color: #b04a4a; border: 1px solid rgba(194,107,107,.3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 16px; }
.req { color: #c26b6b; font-weight: 600; font-size: .78rem; margin-left: 4px; }
.field-hint { color: var(--ink-mute); font-size: .82rem; margin-top: 7px; }
/* Custom file upload */
.pickup-form input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: 10px;
  background: var(--bg-soft); color: var(--ink-soft); transition: border-color .15s, background .15s, color .15s;
}
.file-drop:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--teal-050); }
.file-ico { font-size: 1.25rem; }
.file-text { font-size: .95rem; font-weight: 500; }
.file-drop.has-file { border-style: solid; border-color: var(--primary); background: var(--teal-050); color: var(--primary-dark); }
.pickup-form input[type="file"]:focus-visible + .file-drop,
.pickup-form input[type="file"]:focus + .file-drop { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,167,157,.16); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.03rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 12px; height: 12px; border-right: 2px solid var(--ink-mute); border-bottom: 2px solid var(--ink-mute); transform: rotate(45deg); transition: transform .2s; flex: none; margin-left: 16px; }
.faq details[open] .chev { transform: rotate(-135deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { padding: 90px 0; background:
  radial-gradient(800px 400px at 90% 0%, rgba(20,167,157,.12), transparent 60%),
  var(--bg-soft); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-copy h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-copy p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 24px; }
.cta-contacts { display: flex; flex-direction: column; gap: 12px; }
.cta-contacts li { font-size: 1.02rem; }
.cta-contacts a { color: var(--primary-dark); font-weight: 600; }
.cta-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-soft); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,167,157,.16); background: #fff; }
.field textarea { resize: vertical; }
.form-fine { text-align: center; color: var(--ink-mute); font-size: .82rem; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--ink-soft); padding: 60px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 50px; width: auto; }
.footer-brand p { color: var(--ink-mute); margin-top: 14px; max-width: 32ch; font-size: .95rem; }
.footer-col h4 { color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-soft); padding: 5px 0; font-size: .93rem; }
.footer-col a:hover { color: var(--primary-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: .88rem; color: var(--ink-mute); }
.footer-legal { display: flex; align-items: center; gap: 20px; }
.footer-legal a { color: var(--ink-mute); }
.footer-legal a:hover { color: var(--primary-dark); }
.to-top { color: var(--ink-mute); }
.to-top:hover { color: var(--primary-dark); }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { color: var(--ink-mute); margin-top: 10px; }
.legal-body { padding: 56px 0 80px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 36px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--primary-dark); font-weight: 500; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); font-weight: 600; margin-bottom: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .repricer-grid, .cta-inner, .pickup-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; max-width: 520px; }
  .mock-window { transform: none; }
  .floaty-1 { left: 2%; } .floaty-2 { right: 2%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .step-arrow { display: none; }
  .repricer-card { order: -1; }
}
@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy .lede { max-width: none; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
