/* =========================================================
   Blue Fish Energy — Stylesheet
   -----------------------------------------------------------
   Concept: paper, ink and a yellow highlighter, with Blue Fish
   blue gradients and photography of the businesses we help.

   BRAND COLOURS — edit only this :root block to re-skin the site.
   ========================================================= */

:root {
  --color-primary: #1857C4;      /* Blue Fish blue */
  --color-primary-dark: #103E8F;
  --color-accent: #FFC414;       /* Blue Fish yellow — the highlighter */
  --color-accent-soft: #FFE58A;
  --color-navy: #0E1F45;         /* ink */

  --ink: var(--color-navy);
  --ink-soft: #4A5670;
  --paper: #FFFFFF;
  --panel: #F3F6FC;
  --blue-soft: #E8F0FF;
  --line: #D7DEEA;
  --red: #C8402F;
  --red-soft: #FF9A8C;
  --success: #1E7F4F;

  --grad-hero: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary-dark) 48%, var(--color-primary) 100%);
  --grad-band: linear-gradient(120deg, var(--color-navy) 0%, var(--color-primary) 100%);
  --grad-accent: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;

  --measure: 62ch;
  --wrap: 1180px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.75rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.375rem; line-height: 1.25; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.25rem; line-height: 1.5; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

/* Highlighter */
mark {
  color: var(--ink);
  padding: 0 0.08em;
  margin: 0 -0.08em;
  background-color: transparent;
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-repeat: no-repeat;
  background-size: 100% 0.72em;
  background-position: 0 0.42em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* On blue backgrounds the highlighter becomes a thick stroke under white type,
   so no dark letterforms land on the dark background. */
.on-dark mark, .hero h1 mark, .section-dark mark {
  color: var(--paper);
  padding: 0;
  margin: 0;
  background-size: 100% 0.16em;
  background-position: 0 0.95em;
}
.hero h1 mark { animation: highlight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@keyframes highlight { from { background-size: 0% 0.16em; } to { background-size: 100% 0.16em; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--color-accent);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--color-accent-soft); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-quiet { background: transparent; }
.btn-quiet:hover { background: var(--panel); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand img { height: 42px; width: auto; }
.top nav ul { display: flex; gap: 28px; }
.top nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.top nav a:hover { border-bottom-color: var(--color-accent); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-phone { font-weight: 600; text-decoration: none; font-size: 1rem; }
.top-actions .btn { padding: 0.7rem 1.1rem; font-size: 0.95rem; }
.menu {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  padding: 0;
}
.menu span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--paper);
  padding: 88px 0 150px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(255, 196, 20, 0.22), transparent 60%),
    radial-gradient(40% 50% at 0% 0%, rgba(255, 255, 255, 0.10), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 64px;
  align-items: center;
}
.hero h1 { color: var(--paper); max-width: 14ch; margin-bottom: 28px; }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 52ch; margin-bottom: 28px; }
.points { display: grid; gap: 10px; margin-bottom: 36px; max-width: 52ch; }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before {
  content: "";
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(1px);
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-row .or { color: rgba(255, 255, 255, 0.78); }
.cta-row .or a { font-weight: 600; color: var(--paper); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero .btn { border-color: transparent; }

.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
}
.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-photo figcaption {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(14, 31, 69, 0.85);
  color: var(--paper);
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

/* ---------- Quote bar (overlaps the hero) ---------- */
.quote-bar { position: relative; z-index: 2; margin-top: -84px; }
.quote-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: 0 30px 60px -40px rgba(14, 31, 69, 0.5);
}
.quote-panel::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.quote-panel h2 { font-size: 1.75rem; margin-bottom: 6px; }
.quote-panel .intro { color: var(--ink-soft); font-size: 0.98rem; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.quote-form .form-group { margin: 0; }
.quote-form .btn { height: 50px; white-space: nowrap; }
.quote-panel .fine { grid-column: 1 / -1; margin: 6px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.quote-panel .form-status { grid-column: 1 / -1; }

/* ---------- Facts row ---------- */
.facts { background: var(--blue-soft); padding: 40px 0; margin-top: 48px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: 6px 24px 6px 0; }
.facts div + div { border-left: 2px solid rgba(24, 87, 196, 0.25); padding-left: 24px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--color-primary); }
.facts span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--panel); }
.section-dark { background: var(--grad-band); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.82); }
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 20ch; margin-bottom: 18px; }
.section-head p { max-width: var(--measure); color: var(--ink-soft); font-size: 1.125rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.split .section-head { margin-bottom: 0; }
.split .section-head .btn { margin-top: 28px; }

/* ---------- The bill ---------- */
.bill {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 50px -36px rgba(14, 31, 69, 0.45);
}
.bill-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 26px;
  background: var(--grad-band);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.bill-head strong { color: var(--paper); font-weight: 600; font-size: 1rem; }
.bill-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.bill-line:last-child { border-bottom: 0; }
.bill-line .label { font-weight: 500; }
.bill-line .value { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.bill-line .note {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-primary);
  line-height: 1.4;
}

/* ---------- Corrections (on the dark band) ---------- */
.corrections { border-top: 2px solid rgba(255, 255, 255, 0.6); }
.corrections li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.3;
}
.corrections s {
  color: rgba(255, 255, 255, 0.62);
  text-decoration-color: var(--red-soft);
  text-decoration-thickness: 2px;
}
.corrections span { font-weight: 600; color: var(--paper); }

/* ---------- Utilities (services) ---------- */
.utilities { display: grid; grid-template-columns: repeat(3, 1fr); }
.utility { padding: 0 32px 32px 0; }
.utility + .utility { border-left: 1px solid var(--line); padding-left: 32px; }
.utility::before {
  content: "";
  display: block;
  width: 72px; height: 10px;
  border-radius: 5px;
  background: var(--grad-accent);
  margin-bottom: 22px;
}
.utility h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; color: var(--color-primary); }
.utility p { color: var(--ink-soft); }
.also { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.also h3 { font-size: 1.15rem; margin-bottom: 6px; }
.also p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Who we help (photo tiles) ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.who img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}
.who h3 { font-size: 1.2rem; margin-bottom: 8px; }
.who p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--ink); }
.step::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* ---------- Timeline (before / during / after) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 8px;
  border-top: 2px solid rgba(24, 87, 196, 0.3);
}
.timeline > div { position: relative; padding-top: 40px; }
.timeline > div::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--ink);
}
.timeline h3 { margin-bottom: 14px; }
.timeline li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--color-primary); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.pull {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
  color: var(--color-primary-dark);
}
.pull footer, .small-quote footer { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-soft); margin-top: 18px; }
.pull footer strong, .small-quote footer strong { color: var(--ink); font-weight: 600; display: block; }
.small-quote { margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--color-accent); }
.small-quote p { font-size: 1.05rem; }
.placeholder-note { margin-top: 32px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
}
.faq-question .icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); background: var(--color-accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 60px 22px 0; color: var(--ink-soft); }

/* ---------- Contact (on the gradient) ---------- */
.contact { background: var(--grad-hero); color: var(--paper); position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 100% 0%, rgba(255, 196, 20, 0.18), transparent 60%);
  pointer-events: none;
}
.contact .wrap { position: relative; }
.contact h2 { color: var(--paper); }
.contact .section-head p { color: rgba(255, 255, 255, 0.85); }
.big-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-accent);
  margin: 24px 0 8px;
}
.contact-meta { display: grid; gap: 6px; color: rgba(255, 255, 255, 0.8); }
.contact-meta a { color: var(--paper); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-photo { margin: 36px 0 0; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }

.form-panel {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-panel h2 { font-size: 1.75rem; margin-bottom: 8px; color: var(--ink); }
.form-panel > p { color: var(--ink-soft); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.92rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--ink);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 22px; }
.form-consent input { margin-top: 4px; }
.form-consent a { color: var(--ink); }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-weight: 500; }
.form-status.visible { display: block; }
.form-status.success { background: #E4F4EB; color: var(--success); }
.form-status.error { background: #FBE7E4; color: var(--red); }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; }
.foot h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.foot-note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-soft); max-width: 80ch; }

.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 40;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 60;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.cookie-banner.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie-inner {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: 0 24px 50px -24px rgba(14, 31, 69, 0.5);
}
.cookie-inner::before {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.cookie-text h2 { font-size: 1.25rem; margin-bottom: 6px; }
.cookie-text p { font-size: 0.95rem; color: var(--ink-soft); max-width: 70ch; }
.cookie-text a { color: var(--ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cookie-options { display: grid; gap: 12px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); cursor: pointer; }
.cookie-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--color-primary); }
.cookie-opt strong { display: block; color: var(--ink); font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.cookie-actions .btn { padding: 0.75rem 1.2rem; font-size: 0.95rem; }
.cookie-link {
  background: none;
  border: 0;
  padding: 6px 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 72px 0 104px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 10px; }
.legal-page .updated { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 40px; }
.legal-page .notice {
  background: var(--blue-soft);
  border-left: 4px solid var(--color-accent);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  color: var(--ink);
  font-size: 0.95rem;
}
.legal-page h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.legal-page h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-page a.back { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; }
.legal-page a.back:hover { text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 0.95rem; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal-page th { color: var(--ink); font-weight: 600; background: var(--panel); }
.legal-page td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.legal-page .placeholder { background: var(--color-accent-soft); padding: 0 4px; border-radius: 3px; color: var(--ink); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 mark { animation: none; }
  .faq-answer, .btn, .faq-question .icon { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding-bottom: 130px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 560px; }
  .quote-panel { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .utilities { grid-template-columns: 1fr; }
  .utility { padding: 0 0 26px; }
  .utility + .utility { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 26px; }
  .also { grid-template-columns: 1fr; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .steps, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline > div::before { display: none; }
  .timeline > div { padding-top: 0; }
  .quotes { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .top nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .top nav.open { max-height: 320px; }
  .top nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .top nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top-phone { display: none; }
  .menu { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 110px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .quote-bar { margin-top: -70px; }
  .quote-panel { padding: 24px; }
  .quote-form { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts div { padding: 10px 0; }
  .facts div + div { border-left: 0; border-top: 1px solid rgba(24, 87, 196, 0.25); padding-left: 0; }
  .corrections li { grid-template-columns: 1fr; gap: 8px; }
  .who { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .top-actions .btn { display: none; }
  .brand img { height: 34px; }
  .faq-answer p { padding-right: 0; }
}
