/*
 * weboot.ca. Two pages, no JavaScript. The palette is the brand's (identite-marque.md section 6) in light and in
 * dark, following the visitor's system. The green is an accent for what can be acted on, never a background.
 */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #F7F8F7;
  --surface: #FFFFFF;
  --ink: #141A1F;
  --muted: #5B6670;
  --line: #DDE2E1;
  --accent: #0E9F6E;
  --action: #0A7A54;
  --action-hover: #076244;
  --on-action: #FFFFFF;
  --heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --banner-bg: #141A1F;
  --warn: #D97706;
  --band-bg: #141A1F;
  --band-fg: #EDF1F0;
  --band-muted: #A3AEB6;
  --band-line: rgb(255 255 255 / 0.18);
  --band-btn: #34C792;
  --band-btn-hover: #5FD9AB;
  --band-btn-fg: #0B1A14;
}

@media (prefers-color-scheme: dark) {
  :root {
    --band-bg: #1C242B;
    --bg: #141A1F;
    --surface: #1C242B;
    --ink: #EDF1F0;
    --muted: #A3AEB6;
    --line: #2E3943;
    --accent: #34C792;
    --action: #34C792;
    --action-hover: #5FD9AB;
    --on-action: #0B1A14;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: 1.25rem; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 0.4rem;
  z-index: 10;
}

.skip:focus { top: 1rem; }

a { color: var(--action); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--action-hover); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 0.25rem; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }

/* Header: the logo, and the phone number in full, as a link, from the first screen. */
.top { border-bottom: 1px solid var(--line); }

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover { color: var(--ink); }

.logo svg {
  width: 0.82em;
  height: 0.82em;
  margin: 0 0.03em 0 0.02em;
  color: var(--accent);
  flex: none;
}

.top__nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 2rem;
}

.top__nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top__nav a:hover { color: var(--action); text-decoration: underline; }

.top__phone {
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.top__phone:hover { color: var(--action); text-decoration: underline; }

main { flex: 1; }

h1, h2 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Home */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
}


.hero h1 {
  position: relative;
  font-size: clamp(2.4rem, 7.2vw, 4.6rem);
  text-wrap: balance;
}

.hero h1 span { display: block; }

.hero .actions { position: relative; margin-top: 2.25rem; }
.hero h1 span + span { color: var(--action); }

.lead {
  position: relative;
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
}

.reach {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.reach h2, .doc h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 0.6rem; }
.reach p { margin: 0 0 1.5rem; color: var(--muted); max-width: 36rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--action);
}

.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--on-action); text-decoration: none; }
.btn--line { color: var(--action); background: transparent; }
.btn--line:hover { background: var(--surface); text-decoration: none; }

.aside {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.aside p {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0.5rem;
  max-width: 44rem;
}

/* ---------- /demo: the same window, showing a watermarked demo with three markers ---------- */
.win__screen--demo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #141A1F;
  opacity: 0.07;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240'%3E%3Ctext x='180' y='120' transform='rotate(-30 180 120)' text-anchor='middle' dominant-baseline='middle' font-family='Arial,Helvetica,sans-serif' font-size='26' font-weight='700' letter-spacing='3'%3EDÉMO · WEBOOT.CA%3C/text%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240'%3E%3Ctext x='180' y='120' transform='rotate(-30 180 120)' text-anchor='middle' dominant-baseline='middle' font-family='Arial,Helvetica,sans-serif' font-size='26' font-weight='700' letter-spacing='3'%3EDÉMO · WEBOOT.CA%3C/text%3E%3C/svg%3E");
  -webkit-mask-size: 46cqw 30.7cqw;
  mask-size: 46cqw 30.7cqw;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

.win__screen--demo .n-title { width: auto; margin-left: 0; font-size: 6.2cqw; }
.win__screen--demo .n-row { grid-template-columns: 1.1fr 1fr; }

.demo-banner {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.8cqw 2.6cqw;
  background: #141A1F;
  border-top: 0.25cqw solid rgb(255 255 255 / 0.18);
  color: #FFFFFF;
  font-size: 2.1cqw;
  line-height: 1.3;
}

.demo-banner svg { flex: none; width: 3.2cqw; height: 3.2cqw; }
.demo-banner p { margin: 0; }
.demo-banner b { color: #D97706; font-weight: 500; }
.demo-banner u { text-underline-offset: 0.3em; }

.pin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 5.2cqw;
  height: 5.2cqw;
  border-radius: 50%;
  background: #34C792;
  color: #0B1A14;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 2.6cqw;
  line-height: 1;
  box-shadow: 0 0 0 1cqw rgb(52 199 146 / 0.3);
}

.pin--banner { left: 2.5cqw; bottom: 10.5cqw; }
.pin--mark { top: 27cqw; right: 7cqw; }
.pin--bar { position: static; flex: none; width: 1.35rem; height: 1.35rem; font-size: 0.72rem; box-shadow: none; }

.demo-side { min-width: 0; }

.legend { counter-reset: pin; display: grid; gap: 0.85rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.legend li { display: grid; grid-template-columns: 1.9rem 1fr; gap: 0.8rem; align-items: start; color: var(--muted); }

.legend li::before {
  counter-increment: pin;
  content: counter(pin);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.legend strong { color: var(--ink); font-weight: 500; }

/* The four answers: oversized outlined numbers, the last one filled, like the steps of the home page. */
.home .answers { margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.home .answer { display: grid; gap: 0.4rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }

.home .answer__n {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.home .answer:last-child .answer__n { color: var(--accent); -webkit-text-stroke: 0; }
.home .section .answer h2 { max-width: none; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -0.025em; }
.home .answer p { max-width: 36rem; margin: 0; color: var(--muted); }
.home .answers-end { max-width: 36rem; margin: 2rem 0 0; }

@media (min-width: 52rem) {
  .home .answer { grid-template-columns: 8.5rem minmax(14rem, 0.9fr) minmax(0, 1.3fr); align-items: start; padding: 2.4rem 0; }
  .home .answer__n { grid-row: 1; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 1.75rem 0 2rem; color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--action); }

@media (max-width: 45rem) {
  .top__nav { display: none; }
}

@media (max-width: 30rem) {
  .top__phone { font-size: 0.95rem; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease, color 0.15s ease; }
}

/* ---------- Sections of the home page ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--action);
}

.section h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 18ch; text-wrap: balance; }
.section__lead { margin: 1rem 0 0; max-width: 34rem; color: var(--muted); }

/* How it works: a rule with a node at each step, like a line coming up. */
.steps {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  padding: 0;
  display: grid;
  gap: 2rem 2.25rem;
}

.step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line); }

.step::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem var(--bg);
}

.step__n { font-family: var(--mono); font-size: 0.9rem; color: var(--action); }
.step h3 { margin: 0.35rem 0 0.5rem; font-family: var(--heading); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); max-width: 22rem; }

@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Plans */
.plans {
  display: grid;
  gap: 1.5rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.plan--pick {
  border: 2px solid var(--action);
  box-shadow: 0 30px 50px -34px rgb(10 122 84 / 0.55);
}

.plan__tag {
  position: absolute;
  top: -0.85rem;
  left: 1.6rem;
  margin: 0;
  padding: 0.25rem 0.8rem;
  border-radius: 2rem;
  background: var(--action);
  color: var(--on-action);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan h3 { margin: 0; font-family: var(--heading); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.015em; }
.plan__for { margin: 0.35rem 0 0; color: var(--muted); }

.plan__price { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.4rem 0 1.5rem; }
.plan__amount { font-family: var(--heading); font-weight: 600; font-size: clamp(3rem, 7vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.plan__per { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }

.plan__rows { margin: 0 0 1.75rem; padding: 0; }

.plan__rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.plan__rows dt { color: var(--muted); }
.plan__rows dd { margin: 0; font-weight: 500; text-align: right; }

.plan .btn { margin-top: auto; justify-content: center; }

@media (min-width: 50rem) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans__side { grid-column: 1 / -1; }
}

@media (min-width: 66rem) {
  .plans { grid-template-columns: 1fr 1fr 0.9fr; }
  .plans__side { grid-column: auto; }
}

.also { margin: 1.75rem 0 0; max-width: 54rem; color: var(--muted); }
.also strong { color: var(--ink); font-weight: 500; }

/* Beside the plans: the set-up price, and the argument that carries the page (the site belongs to the client). */
.plans__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  background: var(--band-bg);
  color: var(--band-fg);
  border: 1px solid var(--band-line);
  border-radius: 1.1rem;
}

.plans__side .eyebrow { color: var(--band-btn); margin-bottom: 0.6rem; }
.setup__price { margin: 0; font-family: var(--heading); font-weight: 600; font-size: clamp(2.2rem, 5vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; }
.setup__note { margin: 0.6rem 0 0; color: var(--band-muted); }
.setup__own { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--band-line); font-family: var(--heading); font-weight: 600; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; }

.fine { margin: 1.75rem 0 0; padding: 0; list-style: none; max-width: 54rem; color: var(--muted); font-size: 0.92rem; }
.fine li + li { margin-top: 0.35rem; }

/* The call to action: two ways to begin. A dark band in both themes. */
.band {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  background: var(--band-bg);
  color: var(--band-fg);
  border-top: 1px solid var(--line);
}

.band .eyebrow { color: var(--band-btn); }
.band h2 { font-family: var(--heading); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16ch; text-wrap: balance; }
.band__lead { margin: 1rem 0 0; max-width: 32rem; color: var(--band-muted); }

.choices { display: grid; gap: 1.25rem; margin: clamp(2rem, 5vw, 3rem) 0 0; }

.choice {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--band-line);
  border-radius: 1rem;
}

.choice h3 { margin: 0; font-family: var(--heading); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.015em; }
.choice p { margin: 0.6rem 0 1.5rem; color: var(--band-muted); }
.choice .actions { margin-top: auto; }

.band a { color: var(--band-btn); }
.band a:hover { color: var(--band-btn-hover); }
.band :focus-visible { outline-color: var(--band-btn); }

.band .btn { border-color: var(--band-btn); }
.band .btn--primary { background: var(--band-btn); color: var(--band-btn-fg); }
.band .btn--primary:hover { background: var(--band-btn-hover); border-color: var(--band-btn-hover); color: var(--band-btn-fg); }
.band .btn--line { background: transparent; color: var(--band-btn); }
.band .btn--line:hover { background: rgb(255 255 255 / 0.06); color: var(--band-btn-hover); }

.band__demo { margin: 2rem 0 0; color: var(--band-muted); font-size: 0.95rem; }

@media (min-width: 50rem) { .choices { grid-template-columns: repeat(2, 1fr); } }

/* Motion: on arrival the symbol is drawn, the heading and the buttons rise after it. Nothing waits for a scroll. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span:first-child { animation: rise 0.7s ease-out 0.1s backwards; }
  .hero h1 span:last-child { animation: rise 0.7s ease-out 0.28s backwards; }
  .hero .lead { animation: rise 0.7s ease-out 0.45s backwards; }
  .hero .actions { animation: rise 0.7s ease-out 0.6s backwards; }
}


/* ==========================================================================
 * The home page, bold. Everything below is scoped to body.home: /demo and the 404 keep their own look.
 * The idea is the brand's own: a power LED is green. The page opens on ink, in very large type, and the full stop of
 * "On le garde en ligne." is a live status light. After it: black and white, with green only where there is something to do.
 * ========================================================================== */
:root {
  --hero-bg: #141A1F;
  --on-accent: #0B1A14;
}

@media (prefers-color-scheme: dark) {
  :root { --hero-bg: #0C1013; }
}

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Film grain on the dark blocks: a small SVG noise, drawn once. */
.home .band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero: the site that reboots ----------
 * A browser window split in two: on the left a site left to die, on the right the same site, alive. A green line
 * sweeps across and takes the window from one state to the other. All of it is drawn in CSS; every size inside
 * the window is in container units (cqw) so that the picture scales as one piece. Decorative: aria-hidden. */
:root { --led: 14 159 110; }
@media (prefers-color-scheme: dark) { :root { --led: 52 199 146; } }

.home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background: radial-gradient(55% 75% at 80% 48%, rgb(14 159 110 / 0.17), transparent 72%), var(--bg);
}

@media (prefers-color-scheme: dark) {
  .home .hero { background: radial-gradient(55% 75% at 80% 48%, rgb(52 199 146 / 0.22), transparent 72%), var(--bg); }
}

/* A fine dotted grid, fading out downwards: the page is a workbench, not a wall. */
.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, var(--line) 1.1px, transparent 1.7px) 0 0 / 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.home .hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}

@media (min-width: 62rem) { .home .hero .wrap { grid-template-columns: 1fr 1.08fr; gap: 2.5rem; } }

.home .hero h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6.7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: initial;
}

.home .hero h1 .l { display: block; color: var(--ink); }
.home .hero h1 .g { color: var(--action); }

.home .hero h1 .led {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.35em 0.06em rgb(var(--led) / 0.7), 0 0 1.1em 0.2em rgb(var(--led) / 0.35);
}

.home .hero .lead { max-width: 34rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: clamp(1.1rem, 1.9vw, 1.4rem); }
.home .hero .actions { margin-top: 2rem; }
.home .hero .btn { min-height: 3.4rem; padding-inline: 1.8rem; font-size: 1.05rem; }

/* The window */
.mock { position: relative; margin: 0; min-width: 0; }

.mock__chips {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock__chips span:first-child { color: var(--muted); }
.mock__chips span:last-child { color: var(--action); }

.win {
  overflow: hidden;
  border-radius: 14px;
  background: #141A1F;
  box-shadow: 0 0 0 1px rgb(20 26 31 / 0.14), 0 50px 80px -40px rgb(20 26 31 / 0.6), 0 0 90px -20px rgb(14 159 110 / 0.35);
}

.win__bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.65rem 0.9rem; background: #1C242B; }
.win__bar > span:not(.win__url):not(.pin) { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #3A4651; }

.win__url {
  flex: 1;
  min-width: 0;
  margin-left: 0.5rem;
  padding: 0.22rem 0.8rem;
  overflow: hidden;
  border-radius: 2rem;
  background: #141A1F;
  color: #A3AEB6;
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.win__screen { position: relative; overflow: hidden; aspect-ratio: 4 / 3; container-type: inline-size; background: #FFFFFF; }

.site { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 2.3cqw; line-height: 1.35; }
.site :where(p) { margin: 0; }

/* The living site: white, clean, green */
.site--new { background: #FFFFFF; color: #141A1F; font-family: var(--body); }
.n-bar { display: flex; align-items: center; gap: 2cqw; padding: 2.2cqw 3.5cqw; border-bottom: 0.3cqw solid #E4E8E7; }
.n-logo { display: flex; align-items: center; gap: 1.2cqw; font-family: var(--heading); font-weight: 600; font-size: 2.8cqw; }
.n-dot { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #0E9F6E; }
.n-nav { margin-left: auto; color: #5B6670; }
.n-live { display: flex; align-items: center; gap: 1cqw; padding: 0.8cqw 2cqw; border-radius: 4cqw; background: #E3F5EE; color: #0A7A54; font-weight: 500; }
.n-led { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #0E9F6E; box-shadow: 0 0 1.2cqw 0.3cqw rgb(14 159 110 / 0.6); }
.n-body { flex: 1; display: grid; align-content: start; gap: 3cqw; padding: 4cqw 3.5cqw 0; }
.n-title { width: 43cqw; margin-left: auto; font-family: var(--heading); font-weight: 600; font-size: 5.2cqw; line-height: 1.02; letter-spacing: -0.03em; }
.n-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.n-img { height: 22cqw; border-radius: 2cqw; background: linear-gradient(135deg, #0E9F6E, #141A1F); }
.n-text { display: grid; align-content: start; gap: 1.4cqw; }
.n-text > span { display: block; height: 1.3cqw; border-radius: 1cqw; background: #DDE2E1; }
.n-text > .s { width: 70%; }
.n-btn { width: max-content; margin-top: 1cqw; padding: 1.6cqw 2.6cqw; border-radius: 1.4cqw; background: #0A7A54; color: #FFFFFF; font-weight: 500; }
.n-ok { width: max-content; margin-left: auto; padding: 1.6cqw 2.4cqw; border-radius: 1.4cqw; background: #E3F5EE; color: #0A7A54; font-weight: 500; }
.n-foot { padding: 2cqw 3.5cqw; border-top: 0.3cqw solid #E4E8E7; color: #8A949B; }

/* The neglected site: grey, dated, broken. It covers the left half of the window. */
.site--old {
  z-index: 2;
  background: #E8E6E0;
  color: #5E5C57;
  font-family: Georgia, "Times New Roman", serif;
  filter: grayscale(1) contrast(0.92);
  clip-path: inset(0 50% 0 0);
}

.o-bar { display: flex; align-items: center; gap: 2cqw; padding: 2.2cqw 3.5cqw; background: #D9D6CE; border-bottom: 0.3cqw solid #BDB9AF; }
.o-logo { font-weight: 700; font-size: 2.8cqw; }
.o-nav { margin-left: auto; white-space: nowrap; }
.o-bad { text-decoration: line-through; }
.o-404 { margin-left: 0.8cqw; padding: 0.2cqw 0.8cqw; background: #5E5C57; color: #E8E6E0; font-family: var(--mono); font-size: 1.6cqw; }
.o-body { flex: 1; display: grid; align-content: start; gap: 3cqw; padding: 4cqw 3.5cqw 0; }
.o-title { max-width: 42cqw; font-size: 4.6cqw; font-weight: 700; line-height: 1.1; }
.o-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.o-img { display: grid; place-items: center; height: 22cqw; border: 0.35cqw dashed #9A978F; color: #8A877F; font-size: 2cqw; }
.o-text > span { display: block; height: 1.2cqw; margin-bottom: 1.4cqw; background: #C9C6BE; }
.o-stripe { width: max-content; max-width: 42cqw; padding: 0.8cqw 2cqw; border: 0.35cqw solid #5E5C57; background: #D8D5CC; font-weight: 700; }
.o-err { max-width: 42cqw; padding: 1.4cqw 2.2cqw; background: #5E5C57; color: #E8E6E0; font-family: var(--body); }
.o-foot { max-width: 50cqw; padding: 2cqw 3.5cqw; border-top: 0.3cqw solid #BDB9AF; font-size: 1.9cqw; }

/* The seam, with a power knob, where the two states meet. */
.seam { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 0; }
.seam::before { content: ""; position: absolute; top: 0; bottom: 0; left: -0.3cqw; width: 0.6cqw; background: #34C792; box-shadow: 0 0 2.4cqw 0.8cqw rgb(52 199 146 / 0.75); }

.seam__knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 9cqw;
  height: 9cqw;
  margin: -4.5cqw 0 0 -4.5cqw;
  border: 0.55cqw solid #34C792;
  border-radius: 50%;
  background: #141A1F;
  color: #34C792;
  box-shadow: 0 0 3cqw 0.6cqw rgb(52 199 146 / 0.55);
}

.seam__knob svg { width: 52%; height: 52%; }

@media (min-width: 62rem) {
  .home .hero .mock { margin-right: -4rem; transform: perspective(1800px) rotateY(-9deg) rotateX(2deg); transform-origin: 15% 50%; }
}

@media (prefers-reduced-motion: no-preference) {
  .home .hero .site--old { animation: sweep-old 2.4s cubic-bezier(0.65, 0, 0.25, 1) 0.5s backwards; }
  .home .hero .seam { animation: sweep-seam 2.4s cubic-bezier(0.65, 0, 0.25, 1) 0.5s backwards; }
  .home .hero .n-led { animation: breathe-led 2.8s ease-in-out 3s infinite; }
}

@keyframes sweep-old { from { clip-path: inset(0 0 0 0); } }
@keyframes sweep-seam { from { left: 100%; } }
@keyframes breathe-led { 50% { box-shadow: 0 0 0.6cqw 0.1cqw rgb(14 159 110 / 0.4); } }

/* Sections: very large headings */
.home .section h2 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.home .section__lead { font-size: 1.1rem; }

/* How it works: oversized outlined numbers, the last one is filled. */
.home .steps { gap: 2.5rem 0; margin-top: clamp(2.5rem, 6vw, 4rem); }
.home .step { padding: 0 0 0 1.5rem; border-top: 0; border-left: 1px solid var(--line); }
.home .step::before { display: none; }

.home .step__n {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.home .step:last-child .step__n { color: var(--accent); -webkit-text-stroke: 0; }
.home .step h3 { margin-top: 1.1rem; font-size: 1.45rem; }
.home .step p { font-size: 1.02rem; }

@media (min-width: 40rem) { .home .step:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (min-width: 66rem) {
  .home .step:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .home .step:first-child { border-left: 0; padding-left: 0; }
}

/* Plans: white, ink and green. The numbers are the picture. */
.home .plans { align-items: stretch; gap: 1.25rem; max-width: none; }
.home .plan { border-radius: 1.25rem; padding: clamp(1.75rem, 3.4vw, 2.5rem); transition: none; }

.home .plan h3 { font-size: 1.35rem; }

.home .plan__price { margin: 1.5rem 0 1.75rem; }
.home .plan__amount {
  font-size: clamp(5.5rem, 11vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.plan__cur { font-size: 0.28em; vertical-align: top; position: relative; top: 0.2em; letter-spacing: 0; margin-left: 0.04em; }

.home .plan--pick {
  background: var(--hero-bg);
  color: #FFFFFF;
  border: 1px solid #34C792;
  box-shadow: 0 0 0 1px rgb(52 199 146 / 0.35), 0 40px 90px -40px rgb(52 199 146 / 0.55);
}

.home .plan--pick .plan__for,
.home .plan--pick .plan__per,
.home .plan--pick .plan__rows dt { color: #A3AEB6; }
.home .plan--pick .plan__rows div { border-color: rgb(255 255 255 / 0.18); }
.home .plan--pick .plan__tag { background: #34C792; color: var(--on-accent); }
.home .plan--pick .btn--primary { background: #34C792; border-color: #34C792; color: var(--on-accent); }
.home .plan--pick .btn--primary:hover { background: #5FD9AB; border-color: #5FD9AB; color: var(--on-accent); }
.home .plan--pick :focus-visible { outline-color: #34C792; }

@media (min-width: 66rem) {
  .home .plans { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; }
  .home .plan--pick { padding-block: clamp(2.4rem, 4.4vw, 3.3rem); }
}

/* The green block: the sentence that carries the page. Brand green, ink text. */
.home .plans__side {
  justify-content: space-between;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 1.25rem;
}

.home .plans__side .eyebrow { color: var(--on-accent); }
.home .setup__price { font-size: clamp(4rem, 8vw, 6rem); line-height: 0.85; letter-spacing: -0.05em; }
.home .setup__note { color: var(--on-accent); }
.home .setup__own { border-top: 1px solid rgb(11 26 20 / 0.3); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; }
.home .plans__side :focus-visible { outline-color: var(--on-accent); }

.home .also { max-width: 46rem; }

/* The call to action: two big rows that fill with green on hover. */
.home .band {
  position: relative;
  background: var(--hero-bg);
  overflow: hidden;
}

.home .band .wrap { position: relative; z-index: 1; }
.home .band h2 { max-width: 12ch; font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 0.95; letter-spacing: -0.045em; }

.rows { list-style: none; margin: clamp(2rem, 5vw, 3.25rem) -1rem 0; padding: 0; border-top: 1px solid var(--band-line); }

.row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 1.5rem;
  padding: clamp(1.4rem, 3.4vw, 2.3rem) 1rem;
  overflow: hidden;
  color: var(--band-fg);
  text-decoration: none;
  border-bottom: 1px solid var(--band-line);
}

.row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--band-btn);
  transform: scaleX(0);
  transform-origin: left;
}

.row:hover::before,
.row:focus-visible::before { transform: scaleX(1); }

.band .row { color: var(--band-fg); }
.band .row:hover,
.band .row:focus-visible { color: var(--band-btn-fg); }
.row__go { color: var(--band-btn); }
.band .row:hover .row__go,
.band .row:focus-visible .row__go { color: var(--band-btn-fg); }

.row__k { grid-column: 1; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-btn); }
.row__t { grid-column: 1; font-family: var(--heading); font-weight: 600; font-size: clamp(2.5rem, 8.4vw, 6.4rem); line-height: 1; letter-spacing: -0.045em; }
.row__sub { grid-column: 1; color: var(--band-muted); }
.row__go { grid-column: 2; grid-row: 1 / span 3; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; }

.band .row:hover .row__k,
.band .row:focus-visible .row__k,
.band .row:hover .row__sub,
.band .row:focus-visible .row__sub { color: var(--band-btn-fg); }

.row:focus-visible { outline: 3px solid var(--band-btn); outline-offset: -3px; }

.band__demo a { word-break: break-word; }

@media (prefers-reduced-motion: no-preference) {
  /* The boot: each line warms up in turn, then the light comes on and starts to breathe. Slow, no flashing. */
  .home .hero h1 .l { animation: warm 0.9s ease-out backwards; }
  .home .hero h1 .l:nth-child(1) { animation-delay: 0.15s; }
  .home .hero h1 .l:nth-child(2) { animation-delay: 0.4s; }
  .home .hero h1 .l:nth-child(3) { animation-delay: 0.85s; }
  .home .hero h1 .l:nth-child(4) { animation-delay: 1.1s; }
  .home .hero h1 .led { animation: led-on 0.8s ease-out 1.9s backwards, breathe 2.8s ease-in-out 2.7s infinite; }
  .home .hero .lead { animation-delay: 1.3s; }
  .home .hero .actions { animation-delay: 1.5s; }
  .row::before { transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .row__go { transition: transform 0.3s ease; }
  .row:hover .row__go { transform: translateX(0.5rem); }
  .home .plan--pick { transition: transform 0.3s ease; }
  .home .plan--pick:hover { transform: translateY(-0.35rem); }
}

@keyframes warm { from { opacity: 0; transform: translateY(0.6rem); filter: blur(10px); } 60% { opacity: 0.85; } }
@keyframes led-on { from { opacity: 0; transform: scale(0.2); } }
@keyframes breathe { 50% { box-shadow: 0 0 0.2em 0.03em rgb(52 199 146 / 0.55), 0 0 0.7em 0.12em rgb(52 199 146 / 0.22); } }
