/* ==========================================================================
   Quattrotrend — site styles
   Plain CSS, no build step. Light theme by default, dark via prefers-color-scheme
   or the manual toggle (html[data-theme]).
   ========================================================================== */

:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --ink: #0b1b33;
  --ink-2: #1f2f4a;
  --muted: #5b6b82;
  --line: #e2e8f1;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --accent: #f59e0b;
  --dark: #0b1b33;
  --dark-2: #122a52;
  --on-dark: #eaf0fa;
  --on-dark-muted: #a9b8d0;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 12px 32px -12px rgba(11, 27, 51, .18);
  --shadow-lg: 0 2px 4px rgba(11, 27, 51, .06), 0 32px 64px -24px rgba(11, 27, 51, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 24px;
  --nav-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1120;
    --surface: #111a2e;
    --surface-2: #16223a;
    --ink: #eaf0fa;
    --ink-2: #d5deed;
    --muted: #9fb0c8;
    --line: #24324d;
    --brand: #4f83f1;
    --brand-2: #22d3ee;
    --dark: #060c18;
    --dark-2: #0e1b34;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1120;
  --surface: #111a2e;
  --surface-2: #16223a;
  --ink: #eaf0fa;
  --ink-2: #d5deed;
  --muted: #9fb0c8;
  --line: #24324d;
  --brand: #4f83f1;
  --brand-2: #22d3ee;
  --dark: #060c18;
  --dark-2: #0e1b34;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

@media (max-width: 480px) { :root { --gutter: 16px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-bottom: 0; }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(92deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(92deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(37, 99, 235, .8); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #0b1b33; }
.btn-light:hover { background: #f1f5fb; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-2); font-size: .95rem; transition: background .15s ease, color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; color: var(--ink); transition: border-color .15s ease, color .15s ease;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 10px; justify-content: center; }
}
@media (min-width: 901px) { .nav-links .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg .b1 { width: 560px; height: 560px; left: -160px; top: -200px; background: color-mix(in srgb, var(--brand) 45%, transparent); }
.hero-bg .b2 { width: 480px; height: 480px; right: -120px; top: 40px; background: color-mix(in srgb, var(--brand-2) 40%, transparent); }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; max-width: 15ch; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 22px;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--brand); }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1d2a44, #0b1b33); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(-4deg);
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #0b1b33; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #e9f0f8; }
.phone-screen svg { width: 100%; height: 100%; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(140deg, var(--brand), var(--brand-2)); }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-1 { left: 0; top: 88px; animation-delay: -1s; }
.fc-2 { right: 0; bottom: 110px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 12px; }
  .phone { width: 250px; transform: none; }
  .fc-1 { left: -6px; top: 40px; }
  .fc-2 { right: -6px; bottom: 60px; }
}
@media (max-width: 420px) { .float-card { display: none; } }

/* ---------- Tech strip ---------- */
.tech-strip { border-block: 1px solid var(--line); background: var(--surface); }
.tech-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; padding: 22px 0; }
.tech-strip .label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.chip .sw { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7);
}
.card .ic svg { width: 24px; height: 24px; }
.ticks { margin-top: 16px; display: grid; gap: 8px; color: var(--ink-2); font-size: .94rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background-color: color-mix(in srgb, var(--brand) 14%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-size: 11px; background-repeat: no-repeat;
}

/* ---------- Product section (dark) ---------- */
.product { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.product h2, .product h3 { color: #fff; }
.product .eyebrow { color: var(--brand-2); }
.product .lead, .product p { color: var(--on-dark-muted); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.product-media { position: relative; }
.product-media img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.product-media .tag {
  position: absolute; left: 18px; top: 18px; background: rgba(255, 255, 255, .92); color: #0b1b33; font-weight: 800; font-size: .8rem;
  padding: 8px 12px; border-radius: 999px; letter-spacing: .04em;
}
.product-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.2;
}
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: .66rem; font-weight: 600; opacity: .75; letter-spacing: .06em; text-transform: uppercase; }
.product-points { display: grid; gap: 14px; margin: 24px 0 8px; }
.product-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.product-points .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--brand-2); }
.product-points .ic svg { width: 20px; height: 20px; }
.product-points strong { display: block; color: #fff; }
.product-points span { color: var(--on-dark-muted); font-size: .95rem; }
.product .glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.product .g1 { background: var(--brand); left: -240px; bottom: -300px; }
.product .g2 { background: var(--brand-2); right: -260px; top: -300px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } .product-media { order: -1; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: var(--brand);
  padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; }
.product .step h3 { color: var(--ink); }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item h3 { font-size: 1.05rem; margin-top: 14px; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }
.why-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.why-item .ic svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- About block ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
.fact strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fact-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 28px; padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 56ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-weight: 700; color: var(--ink); }
.contact-list a:hover { color: var(--brand); }
.legal-box { margin-top: 28px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 18px 20px; font-size: .92rem; }
.legal-box h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.legal-box dt { color: var(--muted); font-weight: 600; }
.legal-box dd { margin: 0; font-weight: 700; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.form .field { margin-bottom: 16px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } .legal-box dl { grid-template-columns: 1fr; gap: 2px; } .legal-box dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 28px; margin-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--on-dark-muted); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .86rem; }
.footer-address { font-style: normal; font-size: .93rem; line-height: 1.7; margin-top: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Prose (legal / text pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 6px; }
.prose a { color: var(--brand); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .meta { color: var(--muted); font-size: .9rem; }
.notice { border-left: 4px solid var(--brand); background: var(--surface); border-radius: 12px; padding: 16px 18px; margin: 20px 0; box-shadow: var(--shadow); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.stack { display: grid; gap: 16px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: #9a5b00; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
:root[data-theme="dark"] .badge { color: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge { color: #fbbf24; } }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
