/* ============================================================
   forsikringspremien.no — shared stylesheet
   Palette: warm trust (cream base, deep teal authority, terracotta accent)
   Type:    Instrument Serif (display) + IBM Plex Sans (body)
   Mobile-first. Tokens are overridable by the tweaks panel.
   ============================================================ */

/* ---- Self-hosted fonts (latin subset, woff2). First-party = no render-blocking
   cross-origin request to fonts.googleapis/gstatic, faster LCP, no third-party
   font fingerprinting. IBM Plex Sans is a variable file (covers 400–700). ---- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
}

/* ---- Design tokens ---- */
:root {
  /* surfaces */
  --cream:        #f6f1e6;
  --cream-2:      #efe7d6;
  --paper:        #fffdf8;
  --paper-2:      #faf6ee;

  /* authority (deep teal) */
  --deep:         #0f3d3a;
  --deep-900:     #0a2c2a;
  --deep-700:     #14524d;
  --deep-tint:    #dde8e5;

  /* accent (terracotta) */
  --accent:       #c8603c;
  --accent-600:   #b04e2c;
  --accent-700:   #973f22;
  --accent-tint:  #f4ddd0;

  /* ink + neutrals */
  --ink:          #221e18;
  --ink-soft:     #3a352d;
  --muted:        #6c6457;
  --muted-2:      #8c8475;
  --line:         #e2d9c7;
  --line-strong:  #d2c7b1;

  /* status */
  --ok:           #1f7a52;
  --ok-tint:      #dff0e6;
  --error:        #b23a2b;
  --error-tint:   #f6e0db;

  /* type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* radii + shadow */
  --r-sm: 7px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(28,22,12,.06), 0 1px 3px rgba(28,22,12,.05);
  --shadow:    0 2px 6px rgba(28,22,12,.06), 0 12px 28px -12px rgba(28,22,12,.18);
  --shadow-lg: 0 4px 10px rgba(28,22,12,.07), 0 30px 60px -22px rgba(15,61,58,.30);

  /* layout */
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --gut: clamp(20px, 5vw, 40px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--deep-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-600); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; color: var(--deep-900); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 1.7rem); }
h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; letter-spacing: .005em; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.lede { font-size: clamp(1.1rem, 2.4vw, 1.32rem); line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--muted); }
em.pun { font-style: italic; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-sm { padding-block: clamp(40px, 6vw, 64px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 1.45rem; color: var(--deep-900); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--deep-900); }
.brand .mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .96rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-700); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--deep-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-menu {
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 12px var(--gut) 22px;
  display: none; flex-direction: column; gap: 4px;
}
.nav-menu.open { display: flex; }
.nav-menu a { padding: 13px 6px; font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-menu a:last-of-type { border-bottom: none; }
.nav-menu .btn { margin-top: 12px; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-menu { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; line-height: 1; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-600); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 20px -8px var(--accent); }
.btn-primary:hover { background: var(--accent-700); color: #fff; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-deep { background: var(--deep); color: var(--paper); }
.btn-deep:hover { background: var(--deep-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--deep-900); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper); color: var(--deep-900); border-color: var(--deep-700); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 28px; font-size: 1.08rem; min-height: 56px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 90% -10%, var(--accent-tint) 0%, transparent 46%),
    radial-gradient(90% 70% at -10% 110%, var(--deep-tint) 0%, transparent 50%);
  opacity: .8; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.hero h1 { margin-top: 14px; }
.hero h1 .win { color: var(--accent-700); font-style: italic; }
.hero .lede { margin-top: 20px; max-width: 34ch; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.trust-chip svg { width: 16px; height: 16px; color: var(--deep-700); flex: none; }

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 4vw, 34px);
  position: relative;
}
.form-card .form-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent-700);
  font-size: .78rem; font-weight: 600; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.form-card h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); }
.form-card .form-sub { color: var(--muted); font-size: .95rem; margin-top: 8px; }

.field { margin-top: 16px; }
.field label, .field .lab { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-soft); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted-2); font-size: .82rem; }
.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line-strong);
  border-radius: var(--r); padding: 13px 14px; min-height: 50px;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--deep-700); background: #fff; box-shadow: 0 0 0 4px var(--deep-tint); }
.input.invalid { border-color: var(--error); box-shadow: 0 0 0 4px var(--error-tint); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.err-msg { display: none; color: var(--error); font-size: .82rem; font-weight: 500; margin-top: 6px; }
.field.has-error .err-msg { display: block; }

/* phone with prefix */
.phone-wrap { display: flex; align-items: stretch; }
.phone-prefix {
  display: inline-flex; align-items: center; padding: 0 12px;
  background: var(--cream-2); border: 1.5px solid var(--line-strong); border-right: none;
  border-radius: var(--r) 0 0 var(--r); color: var(--muted); font-weight: 600; font-size: .95rem;
}
.phone-wrap .input { border-radius: 0 var(--r) var(--r) 0; }

/* insurance multi-select */
.verticals { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 520px) { .verticals { grid-template-columns: 1fr 1fr; } }
.vert {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-2); border: 1.5px solid var(--line-strong);
  border-radius: var(--r); padding: 13px 14px; cursor: pointer;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
  user-select: none;
}
.vert:hover { border-color: var(--deep-700); }
.vert input { position: absolute; opacity: 0; width: 0; height: 0; }
.vert .box {
  width: 22px; height: 22px; flex: none; border-radius: 6px;
  border: 2px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; transition: all .12s ease;
}
.vert .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: all .12s ease; }
.vert .v-ico { width: 22px; height: 22px; color: var(--deep-700); flex: none; }
.vert .v-label { font-weight: 600; font-size: .96rem; color: var(--ink); }
.vert:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.vert:has(input:checked) .box { background: var(--accent); border-color: var(--accent); }
.vert:has(input:checked) .box svg { opacity: 1; transform: scale(1); }
.vert:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.has-error .verticals { outline: 2px solid var(--error); outline-offset: 6px; border-radius: var(--r); }

/* consent checkboxes */
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r); margin-top: 14px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box { width: 22px; height: 22px; margin-top: 1px; flex: none; border-radius: 6px; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: all .12s ease; }
.consent .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: all .12s ease; }
.consent:has(input:checked) .box { background: var(--deep-700); border-color: var(--deep-700); }
.consent:has(input:checked) .box svg { opacity: 1; transform: scale(1); }
.consent:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent .c-text { font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.consent .c-text a { font-weight: 600; }
.field.has-error .consent { border-color: var(--error); box-shadow: 0 0 0 3px var(--error-tint); }

/* turnstile + submit */
.cf-turnstile { margin-top: 18px; min-height: 65px; }
.form-foot { margin-top: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error-banner {
  display: none; margin-top: 16px; padding: 13px 15px; border-radius: var(--r);
  background: var(--error-tint); border: 1px solid color-mix(in srgb, var(--error) 35%, transparent);
  color: var(--error); font-size: .9rem; font-weight: 500;
}
.form-error-banner.show { display: block; }

/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   GENERIC SECTIONS / CARDS
   ============================================================ */
.section.alt { background: var(--cream-2); }
.section.deep { background: var(--deep); color: var(--paper-2); }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep .eyebrow { color: var(--accent); }
.section.deep .muted { color: color-mix(in srgb, var(--paper-2) 70%, transparent); }

.section-head { max-width: 56ch; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* steps */
.steps { display: grid; gap: 20px; margin-top: 44px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step .step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--deep); color: var(--paper); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* trust feature grid */
.features { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 680px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.feature .f-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--deep-tint); color: var(--deep-700); display: grid; place-items: center; }
.feature .f-ico svg { width: 23px; height: 23px; }
.feature h3, .feature h4 { margin-bottom: 5px; color: var(--deep-900); font-size: 1.05rem; font-weight: 600; line-height: 1.6; }
.feature p { color: var(--muted); font-size: .93rem; }

/* prize highlight band */
.prize-band { background: var(--deep); color: var(--paper-2); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 52px); position: relative; overflow: hidden; }
.prize-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .35; }
.prize-band .pb-inner { position: relative; z-index: 1; display: grid; gap: 8px; }
.prize-band h2 { color: #fff; }
.prize-band .big { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 4rem); color: var(--accent); line-height: 1; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-sans); font-weight: 600; font-size: 1.08rem; color: var(--deep-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--accent); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 44px 24px 0; color: var(--muted); }
.faq .faq-body p + p { margin-top: 10px; }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.doc { padding-block: clamp(40px, 6vw, 72px); }
.doc-head { border-bottom: 2px solid var(--line); padding-bottom: 26px; margin-bottom: 36px; }
.doc-head .eyebrow { display: block; margin-bottom: 12px; }
.doc-head .updated { margin-top: 14px; color: var(--muted-2); font-size: .88rem; }
.doc-body { font-size: 1.04rem; }
.doc-body h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 44px; margin-bottom: 14px; }
.doc-body h3 { font-size: 1.25rem; margin-top: 28px; margin-bottom: 8px; color: var(--deep-900); }
.doc-body p, .doc-body li { color: var(--ink-soft); }
.doc-body p { margin-top: 12px; }
.doc-body ul, .doc-body ol { margin-top: 12px; padding-left: 22px; }
.doc-body li { margin-top: 7px; }
.doc-body a { font-weight: 500; }
.todo-legal { display: inline-block; background: var(--accent-tint); color: var(--accent-700); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 5px; vertical-align: middle; text-transform: uppercase; }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--deep-700); border-radius: var(--r); padding: 18px 20px; margin-top: 22px; }
.callout strong { color: var(--deep-900); }
.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 8px; }
.toc h2, .toc h4 { margin-bottom: 12px; color: var(--deep-900); font-size: 1.05rem; }
.toc ol { padding-left: 20px; }
.toc li { margin-top: 6px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent-700); }

/* ============================================================
   AKTORER
   ============================================================ */
.aktorer-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .aktorer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .aktorer-grid { grid-template-columns: repeat(3, 1fr); } }
.aktor-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.aktor-logo { height: 46px; display: flex; align-items: center; }
.aktor-logo img { max-height: 46px; width: auto; object-fit: contain; }
.aktor-logo .placeholder { font-family: var(--font-display); font-size: 1.5rem; color: var(--deep-900); }
.aktor-card h3 { font-size: 1.3rem; }
.aktor-vrt { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.aktor-card .visit { margin-top: auto; font-weight: 600; font-size: .9rem; }
.empty-state { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-xl); padding: clamp(40px, 7vw, 72px) 24px; text-align: center; margin-top: 36px; }
.empty-state .es-ico { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--deep-tint); color: var(--deep-700); display: grid; place-items: center; }
.empty-state .es-ico svg { width: 32px; height: 32px; }
.empty-state h3 { font-size: 1.6rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 48ch; margin-inline: auto; }

/* ============================================================
   THANK YOU
   ============================================================ */
.takk { min-height: calc(100vh - 64px); display: grid; place-items: center; padding-block: clamp(48px, 8vw, 96px); }
.takk-card { max-width: 620px; text-align: center; }
.takk-check { width: 82px; height: 82px; margin: 0 auto 28px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--ok) 9%, transparent); }
.takk-check svg { width: 42px; height: 42px; }
.takk h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.takk .lede { margin-top: 18px; margin-inline: auto; }
.next-steps { text-align: left; margin-top: 40px; display: grid; gap: 14px; }
.next-step { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.next-step .ns-num { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--deep); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; }
.next-step h2, .next-step h4 { margin-bottom: 4px; color: var(--deep-900); font-size: 1.1rem; line-height: 1.4; }
.next-step p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--deep-900); color: color-mix(in srgb, var(--paper-2) 78%, transparent); padding-block: clamp(44px, 6vw, 64px); }
.footer a { color: color-mix(in srgb, var(--paper-2) 78%, transparent); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .f-about { font-size: .92rem; line-height: 1.6; max-width: 38ch; color: color-mix(in srgb, var(--paper-2) 65%, transparent); }
.footer h2, .footer h3, .footer h5 { font-family: var(--font-sans); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--paper-2) 55%, transparent); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer .f-links a { font-size: .95rem; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--paper-2) 16%, transparent); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .85rem; color: color-mix(in srgb, var(--paper-2) 55%, transparent); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed; z-index: 90; left: 50%; transform: translateX(-50%);
  bottom: clamp(12px, 3vw, 24px); width: min(560px, calc(100% - 24px));
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 22px 22px 20px; display: none;
}
.cookie.show { display: block; }
.cookie h4 { display: flex; align-items: center; gap: 9px; color: var(--deep-900); margin-bottom: 8px; }
.cookie h4 svg { width: 20px; height: 20px; color: var(--deep-700); }
.cookie p { font-size: .88rem; color: var(--muted); }
.cookie p a { font-weight: 600; }
.cookie-actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 460px) { .cookie-actions { grid-template-columns: 1fr 1fr; } .cookie-actions .full { grid-column: 1 / -1; } }
.cookie .btn { font-size: .92rem; padding: 11px 16px; min-height: 44px; }

/* ============================================================
   TWEAKS PANEL (review only)
   ============================================================ */
.tweaks-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--deep-700);
}
.tweaks-panel {
  position: fixed; right: 16px; bottom: 78px; z-index: 100;
  width: 290px; max-height: 70vh; overflow: auto;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 18px; display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 { font-weight: 700; font-size: .95rem; margin-bottom: 4px; color: var(--deep-900); }
.tweaks-panel .tw-sub { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.tw-group { margin-top: 16px; }
.tw-group > .tw-lab { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.tw-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tw-sw { width: 34px; height: 34px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; box-shadow: var(--shadow-sm); }
.tw-sw.active { border-color: var(--ink); outline: 2px solid var(--paper); outline-offset: -4px; }
.tw-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-opt { font-size: .82rem; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--paper-2); cursor: pointer; }
.tw-opt.active { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---- utilities ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .btn-label { opacity: .7; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }
