@font-face { font-family: "Outfit"; src: url(fonts/outfit-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(fonts/outfit-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-500.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/Geist-600.ttf) format("truetype"); font-weight: 600 700; font-display: swap; }
/* good-website kit: copy this file to site/site.css unchanged and set only the tokens in :root.
   Every layout decision is made here, once, so pages never drift: surfaces alternate by themselves,
   spacing is the same above and below, cards line up, buttons sit where they belong. */

:root {
  --bg: #0a1420;          /* page surface */
  --tint: #0e1b2d;        /* every second section: a light tint of the brand colour */
  --dark: #060d17;        /* dark bands and the footer */
  --on-dark: #ffffff;
  --ink: #f2f6fb;         /* text */
  --muted: #a3b1c3;       /* small text: grey, readable */
  --line: #22344d;        /* borders on light surfaces */
  --card: #15263e;        /* cards on a tinted section */
  --accent: #0072e5;      /* the one action colour */
  --on-accent: #ffffff;
  --font-head: "Outfit", sans-serif;
  --font-body: "Geist", sans-serif;
  --radius: 16px;
  --pad: 80px;            /* the same above and below every section */
  --gap: 24px;
  --wrap: 1200px;
}
/* A dark brand: set these instead (and --tint to a slightly lighter dark). */
.theme-dark { --bg: #111110; --tint: #1c1b19; --card: #242320; --ink: #f2f0ec; --muted: #b5b1a8; --line: #3a3833; --dark: #000; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 60px); }
h2 { font-size: clamp(26px, 3vw, 40px); }          /* the section heading: always clearly larger than anything inside */
h3 { font-size: 20px; }
p { margin: 0; max-width: 65ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sub { color: var(--muted); margin-top: 10px; }
.small { font-size: 14px; color: var(--muted); }

/* Sections: surfaces alternate by themselves. Put every section directly in <main>. */
main > section { padding: var(--pad) 0; }
main > section:nth-of-type(even) { background: var(--tint); }
main > section:nth-of-type(even) .card { background: var(--card); }
main > section:nth-of-type(odd) .card { background: var(--tint); }
main > section.s-dark, main > section.s-scene { background: var(--dark); color: var(--on-dark); }
main > .s-bar { padding: 24px 0; background: transparent !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }   /* a thin line of facts, never a band */           /* small facts, numbers, contact: a thin bar, not a section */
.head { margin-bottom: 40px; }
.head.center { text-align: center; }
.head.center p { margin-left: auto; margin-right: auto; }

/* Buttons: as wide as their label; space after them, always. */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; width: max-content; max-width: 100%; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; margin-bottom: 4px; }
.center .actions, .actions.center { justify-content: center; }
.arrow { width: 22px; height: 22px; flex: none; }   /* use the inline SVG arrow from blocks.md, never a font glyph */

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a[aria-current] { color: var(--accent); }
.top .btn { padding: 10px 18px; }

/* Hero: a big picture or video with the headline on it, or the headline over up to three big tiles. */
.hero-scene { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; }
.hero-scene > img, .hero-scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.3) 55%, rgba(0,0,0,0) 85%); }
/* A striking, busy photo or video: the text centred and a little low, on a soft shade only around the text. */
.hero-scene.center { justify-content: center; text-align: center; }
.hero-scene.center .wrap { padding-bottom: 11vh; }
.hero-scene.center::after { background: radial-gradient(ellipse 62% 48% at 50% 74%, rgba(0,0,0,.62), rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 80%); }
.hero-scene.center p { margin-left: auto; margin-right: auto; }
.hero-scene.center .actions { justify-content: center; }
/* A light photo with a calm area: dark text straight on the photo, no shade, no box. */
.hero-scene.light { color: var(--ink); }
.hero-scene.light::after { display: none; }
.hero-scene.light p { color: var(--ink); }
/* A photo with no calm side for text: the text beside it, on the page surface, the photo to the screen edge. */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(72vh, 680px); }
.hero-split .text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 48px 56px 48px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.hero-split .text p { color: var(--muted); max-width: 52ch; }
.hero-split > .pic { position: relative; overflow: hidden; }
.hero-split > .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
main > section.hero-split { padding: 0; }
.hero-split.flip > .pic { order: -1; }
.hero-split.flip .text { padding: 48px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 48px 56px; }
/* The offer itself as the first screen: headline, then the options, no photo. */
main > section.hero-offer { padding: 56px 0 var(--pad); }
.hero-offer h1 { text-align: center; margin-bottom: 10px; }
.hero-offer .sub { text-align: center; margin: 0 auto 36px; }
.hero-scene .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; }
.hero-scene p { color: rgba(255,255,255,.92); margin-top: 12px; }
.hero-tiles { padding: 48px 0 0; }
.hero-tiles h1 { margin-bottom: 28px; }
.tiles { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), 1fr); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .on { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.tile .on h2 { font-size: clamp(18px, 1.8vw, 24px); min-width: 0; }
.tile .on .btn { flex: none; }

/* Trust bar: one centred line, never stacked; scrolls sideways on a phone. */
/* The trust bar and the logo row: fixed heights, contents centred in them. The space from the picture above to the trust text
   (gap, line, gap) is the same as the space from the trust text to the logos. Nothing inside can change the spacing. */
:root { --tb: 24px; }
.trust { position: relative; display: flex; justify-content: center; align-items: center; gap: 22px; height: 24px; padding: 0 24px; margin: calc(var(--tb) * 2) auto calc(var(--tb) * 2 + 1px); max-width: var(--wrap); list-style: none; font-size: 14px; color: #8a8a87; overflow-x: auto; overflow-y: visible; white-space: nowrap; }
.trust-line { display: block; width: min(640px, 60%); height: 1px; background: var(--line); margin: var(--tb) auto 0; }
.trust-line + .trust { margin-top: var(--tb); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; flex: none; color: #9a9a97; }   /* icons as muted as the logo row; only the bold fact is dark */
.trust b { color: var(--ink); font-weight: 600; }
.logos { display: flex; justify-content: center; align-items: center; gap: 40px; height: 32px; padding: 0 24px; margin: 0 0 var(--tb); overflow-x: auto; overflow-y: hidden; }   /* exactly as tall as the logos, so the gaps above and below are the gap */
.logos img { height: 32px; width: auto; filter: grayscale(1); opacity: .75; flex: none; }

/* Cards: a row of 2, 3 or 4; same height, picture on top at the same size, text below, the arrow at the bottom right. */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), 1fr); }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 18px; flex: 1; }
.card .body h3 { font-size: 19px; }
.card .body p { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; font-weight: 600; }
.card .foot .arrow { margin-left: auto; }
.card.portrait > img { aspect-ratio: 4 / 5; }

/* Picture beside text: the picture is always at least as tall as the text. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.split > .pic { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; min-width: 0; }   /* as tall as the text beside it, never wider than its column */
.split > .pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split > .pic.pics2 { aspect-ratio: auto; position: static; overflow: visible; }
.split > .pic.pics2 > img { position: static; aspect-ratio: 3 / 4; }
.split > .text { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.split.flip > .pic { order: 2; }
.pics2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }   /* two pictures in one frame, for two points */
.pics2 img { height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Steps: one picture per step. */
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), 1fr); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; }
.steps img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.steps h3::before { content: counter(s) ". "; color: var(--accent); }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Big numbers: a bar, centred, the numbers smaller than a section heading. */
.numbers { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; text-align: center; }
.numbers b { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1.1; }
.numbers span { font-size: 14px; color: var(--muted); }
.s-dark .numbers span, .s-scene .numbers span { color: rgba(255,255,255,.75); }

/* Full-width scene with its text on it. */
.s-scene { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 0 !important; }
.s-scene > img, .s-scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,0) 65%); }
.s-scene .wrap { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.s-scene p { color: rgba(255,255,255,.9); margin-top: 12px; }

/* Reviews: a row of cards about as tall as their text. */
.reviews { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), 1fr); }
.review { background: var(--card); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
main > section:nth-of-type(odd) .review { background: var(--tint); }
.review .who { font-size: 14px; color: var(--muted); margin-top: auto; }

/* Options side by side (plans, sizes, seasons). A long price table goes into <details> under them. */
.options { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), 1fr); }
.option { background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.option .price { font-family: var(--font-head); font-size: 30px; }
.option .btn { margin-top: auto; }
details.more { margin-top: 24px; }
details.more summary { cursor: pointer; font-weight: 600; }
details.more table { margin-top: 16px; border-collapse: collapse; width: 100%; font-size: 15px; }
details.more td, details.more th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* Questions: two columns that fill the width. */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--gap); }
.faq details { background: var(--card); border-radius: 12px; padding: 16px 20px; }
main > section:nth-of-type(odd) .faq details { background: var(--tint); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* The end of every page: the next-step row (cards), then this centred action, then the footer. */
.end { text-align: center; }
.end h2 { margin-bottom: 8px; }
.end p { margin: 0 auto; }
.end .actions { justify-content: center; }
.end .ways { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.end.on-pic { position: relative; color: #fff; padding: 96px 0 !important; background: var(--dark) !important; }
.end.on-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.end.on-pic .wrap { position: relative; }
.end.on-pic .ways { color: rgba(255,255,255,.85); }

/* Footer: always its own dark surface. */
footer { background: var(--dark); color: var(--on-dark); padding: 56px 0 32px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
footer h4 { margin: 0 0 10px; font-size: 15px; }
footer a { text-decoration: none; opacity: .85; display: block; padding: 2px 0; }
footer .legal { margin-top: 32px; opacity: .7; font-size: 14px; }

/* Phone action bar: appears when the first screen's action has scrolled away (see blocks.md). */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; }
.actionbar .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  :root { --pad: 56px; --gap: 16px; }
  .cards, .steps, .reviews, .options { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.flip > .pic { order: 0; }
  .split > .pic { min-height: 0; aspect-ratio: 3 / 2; }
  .faq { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split > .pic { order: -1; height: 46vh; margin: 12px 16px 0; border-radius: var(--radius); }
  .hero-split .text, .hero-split.flip .text { padding: 24px 16px 8px; }
  .hero-scene.center .wrap { padding-bottom: 48px; }
  .hero-scene.light .wrap { background: linear-gradient(to top, var(--bg) 70%, rgba(255,255,255,0)); padding-top: 48px; }
  .s-scene { min-height: 420px; }
  .s-scene::after { background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 60%, rgba(0,0,0,.1)); }
  .top .wrap { height: 60px; gap: 12px; padding: 0 16px; }
  .top nav { display: none; }
  .top .menu { margin-left: auto; }
  .top .logo img { height: 32px; }
  .wrap { padding: 0 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 11; }
  .trust { justify-content: flex-start; }
  .cards, .reviews, .options { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .cards > *, .reviews > *, .options > * { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .hero-scene { min-height: 78vh; }
  .actionbar.on { display: block; }
  footer .cols { grid-template-columns: 1fr; }
}
main > section.hero-scene { padding: 0; }
main > section.hero-tiles { padding: 48px 0 8px; background: var(--bg); }

/* Form: one column of fields; sliders show their value; the result appears as the visitor moves them. */
.form { display: grid; gap: 18px; margin-top: 24px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type=text], .form input[type=tel], .form input[type=email] { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .range { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.form .range input { grid-column: 1; accent-color: var(--accent); width: 100%; }
.form .range output { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-head); font-size: 26px; min-width: 3ch; text-align: right; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .result { background: var(--card); border-radius: 12px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.form .result b { display: block; font-family: var(--font-head); font-size: 20px; margin-bottom: 4px; }
.form .trap { position: absolute; left: -9999px; }
.form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form .note { font-size: 14px; color: var(--muted); }
.form-done[hidden], .form-error[hidden] { display: none; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }

/* An option card that lists what is in it: every card lists the same rows, so they are the same length. */
.option ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 15px; }
.option li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.option li.no { color: var(--muted); }
.option li.no::before { content: "\2013"; color: var(--muted); }
.option .tag { font-size: 14px; color: var(--muted); }
.bar-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; font-weight: 600; }
