/* ==========================================================================
   Septrix: "The Wall". A premium, custom agency site in the family of
   hiroba.io: deep night-blue ground, raised blue-slate panels with hairline
   borders, one electric blue for the action, green only for "live".
   Bricolage Grotesque for display, Manrope for everything else.
   The real rebuilt sites are the backdrop: a tilted wall that drifts.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-opsz-wght.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Fallback faces sized to the web fonts, so text keeps its line breaks when
   the web fonts swap in. Without them the homepage hero re-wrapped twice on a
   slow phone and the form below it jumped (layout shift 0.19, measured
   2026-12-03; 0 with the web fonts blocked).
   size-adjust = the web font's width / the local font's, measured in Chrome
   on the site's own text. Bricolage 800 against Arial Bold runs 1.01 at the
   phone h2 size, 0.996 at the phone h1 size (41.6px) and 0.955 at the desktop
   h1 size, because its opsz axis narrows it as it grows; 98% is the value that
   keeps every hero block's height identical from 360 to 1680px wide (99.6%
   added a line to the phone h1). Manrope 460 against Arial: 1.022. Manrope
   600-800 against Arial Bold: 0.979-1.013. Compare against weight 700, never
   800: on Windows "Arial" at 800 resolves to Arial Black.
   ascent / descent overrides = the web font's own (Bricolage 93/27, Manrope
   107/30 at 100px) divided by size-adjust. Roboto stands in on Android, which
   has no Arial; the same numbers are close for it, not measured. */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 500 800;
  size-adjust: 98%;
  ascent-override: 94.9%;
  descent-override: 27.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular");
  font-weight: 200 599;
  size-adjust: 102.2%;
  ascent-override: 104.7%;
  descent-override: 29.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 600 800;
  size-adjust: 99.5%;
  ascent-override: 107.5%;
  descent-override: 30.2%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #0A1120;
  --raised: #0E182C;
  --surface: #111D34;
  --line: #1F2C49;
  --line-2: #2C3B5E;
  --text: #F1F4FA;
  --muted: #9AA6BF;
  --dim: #8792AB;
  --blue: #2A63E0;
  --blue-hover: #2257CC;
  --blue-2: #6F9CFF;
  --green: #3DD68C;
  --red-soft: #FF8A7A;
  --amber-soft: #FFD28A;

  --r: 16px;
  --r-md: 10px;
  --shadow: 0 2px 4px rgba(0, 0, 0, .35);

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 36px);
  --band: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Bricolage Grotesque", "Bricolage Fallback", "Manrope", system-ui, sans-serif;
  --font: "Manrope", "Manrope Fallback", "Segoe UI", system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-2) var(--bg);
  scroll-behavior: smooth;
  /* Anchor jumps (/preview/#takedown) land below the sticky header. */
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 460;
  background: var(--bg);
}

::selection { background: var(--blue); color: #fff; }

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }

a {
  color: var(--text);
  font-weight: 650;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .24em;
  text-decoration-color: color-mix(in srgb, var(--blue-2) 55%, transparent);
  transition: text-decoration-color .15s var(--ease), color .15s var(--ease);
}
a:hover { color: #fff; text-decoration-color: var(--blue-2); }

:focus-visible { outline: 2.5px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--text); text-wrap: balance; }

h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.3rem + 4.2vw, 4.6rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: .4em;
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .45em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: -.01em;
  margin-bottom: .35em;
}

.accent { color: var(--blue-2); }

.lede {
  font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.band { padding-block: var(--band); border-top: 1px solid var(--line); }
.band--raised { background: var(--raised); }

.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 50;
  padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--r-md);
}
.skip:focus { left: 16px; }
.skip:hover { color: #fff; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── header ────────────────────────────────────────────────────────────── */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.top__brand { flex: none; text-decoration: none; }
.top__nav { display: none; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top__menu {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 900px) {
  .top__nav { display: block; margin-left: auto; }
  .top__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .top__nav a {
    display: inline-block;
    padding: 8px 14px;
    color: var(--muted);
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    border-radius: 8px;
  }
  .top__nav a:hover { color: var(--text); background: var(--surface); }
  .top__nav a[aria-current="page"] { color: var(--text); }
  .top__menu { display: none; }
  .top__actions { margin-left: 18px; }
}

/* ── wordmark ───────────────────────────────────────────────────────────── */

.wm { display: inline-flex; align-items: center; gap: 10px; }
.wm__tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-2);
  color: var(--bg);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.wm__word {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

/* ── buttons and links ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .94rem; }
.btn--wide { width: 100%; }
.btn--outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--outline:hover { background: var(--surface); border-color: var(--blue-2); }
.btn[aria-disabled="true"] {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--dim);
  cursor: not-allowed;
}
.btn[aria-disabled="true"]:hover { background: var(--surface); color: var(--dim); }
.btn[data-busy] { cursor: progress; opacity: .8; }

.more {
  display: inline;
  font-weight: 750;
  text-decoration: none;
  color: var(--blue-2);
}
.more .icon { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -.22em; transition: transform .2s var(--ease); }
.more:hover { color: #fff; }
.more:hover .icon { transform: translateX(3px); }

/* ── the stage: hero over the wall ─────────────────────────────────────── */

.stage {
  position: relative;
  overflow: hidden;
  min-height: min(calc(100vh - 76px), 900px);
  display: flex;
  align-items: center;
  padding-block: 64px 80px;
}
.stage__copy { position: relative; z-index: 2; width: 100%; }
.stage__copy > * { max-width: 590px; }
.stage .lede { margin-bottom: 0; }
.stage__aside { margin: 26px 0 0; font-size: .95rem; }

.wall {
  position: absolute;
  z-index: 0;
  top: -160px;
  right: -220px;
  width: 1180px;
  height: 1600px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  transform: rotate(-12deg);
  transform-origin: top right;
  pointer-events: none;
}
.wall__col {
  display: grid;
  gap: 24px;
  align-content: start;
  animation: drift 44s linear infinite;
  will-change: transform;
}
.wall__col:nth-child(2) { margin-top: -200px; animation-duration: 54s; animation-direction: reverse; }
.wall__col:nth-child(3) { margin-top: -90px; animation-duration: 48s; }
.wall__col:nth-child(4) { margin-top: -260px; animation-duration: 58s; animation-direction: reverse; }
.wall__col img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.stage__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 36%, color-mix(in srgb, var(--bg) 95%, transparent) 48%, color-mix(in srgb, var(--bg) 72%, transparent) 60%, color-mix(in srgb, var(--bg) 30%, transparent) 73%, transparent 88%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%);
}
@media (max-width: 999px) {
  .stage { min-height: 0; padding-block: 48px 72px; }
  .wall { opacity: .2; right: -300px; top: -60px; }
  .stage__fade { background: linear-gradient(90deg, var(--bg) 30%, color-mix(in srgb, var(--bg) 82%, transparent) 75%, color-mix(in srgb, var(--bg) 55%, transparent)); }
}

.clients { margin-top: 36px; }
.clients p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clients a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--text);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.clients a:hover { border-color: var(--blue-2); }

/* The one-field form */
.quick { margin-top: 32px; max-width: 34rem; }
.quick label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 8px; color: var(--muted); }
.quick__row { display: grid; gap: 10px; }
@media (min-width: 560px) { .quick__row { grid-template-columns: minmax(0, 1fr) auto; } }
.quick__alt { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }

/* ── inputs ─────────────────────────────────────────────────────────────── */

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  caret-color: var(--blue-2);
  transition: border-color .15s var(--ease);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:not([type="checkbox"]):not([type="range"]):hover, textarea:hover { border-color: #3B4D75; }
input:not([type="checkbox"]):not([type="range"]):focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--blue-2);
  outline-offset: 1px;
  border-color: var(--blue-2);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red-soft); }

/* ── panel + before/after slider ───────────────────────────────────────── */

.panel {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel__head, .panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 13px 18px;
  font-size: .9rem;
}
.panel__head { border-bottom: 1px solid var(--line); }
.panel__head b { font-weight: 800; }
.panel__foot { border-top: 1px solid var(--line); justify-content: flex-start; color: var(--muted); font-size: .86rem; }
.panel__hint { margin-left: auto; font-weight: 700; color: var(--text); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.compare__frame {
  position: relative;
  aspect-ratio: 1200 / 1006;
  background: #05080F;
  overflow: hidden;
  touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(10, 17, 32, .86);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  pointer-events: none;
}
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; color: var(--blue-2); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--blue-2);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--blue-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .55);
  display: grid;
  place-items: center;
  transition: transform .15s var(--ease);
}
.compare__knob svg { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare:has(.compare__range:active) .compare__knob { transform: scale(1.06); }

/* ── steps ──────────────────────────────────────────────────────────────── */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.steps li { counter-increment: step; padding: 30px 30px 26px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--blue-2);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { border-top: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { border-left: 0; }
}
@media (min-width: 820px) and (max-width: 1099px) {
  .steps--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--five li { border-left: 0; border-top: 1px solid var(--line); }
  .steps--five li:nth-child(even) { border-left: 1px solid var(--line); }
  .steps--five li:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 1100px) {
  .steps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps--five li { padding: 26px 22px; }
  .steps--five p { font-size: .96rem; }
}
.band--raised .steps { background: var(--bg); }

/* ── split sections ─────────────────────────────────────────────────────── */

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 80px; } }
@media (min-width: 1000px) { .split--ba { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.split h3 { margin-top: 26px; }

.ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.ticks .icon { margin-top: .22em; width: 20px; height: 20px; }
.ticks--found .icon { color: var(--red-soft); }
.ticks--fixed .icon { color: var(--green); }

/* ── site cards ─────────────────────────────────────────────────────────── */

.section-head { display: grid; gap: 6px 48px; margin-bottom: 40px; }
.section-head p { color: var(--muted); max-width: 52ch; margin: 0; }
@media (min-width: 1000px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head h2 { margin: 0; }
}

.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__shot {
  display: block;
  aspect-ratio: 1 / 1.05;
  padding: 22px 24px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card__shot img { width: 100%; height: auto; border-radius: 12px 12px 0 0; box-shadow: var(--shadow); }
.card__body { padding: 18px 20px 22px; }
.card__body h3 { margin: 0 0 4px; }
.card__body h3 a { color: var(--text); text-decoration: none; }
.card__body h3 a:hover { text-decoration: underline; }
.card__meta { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.card__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── measured stats ─────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 36px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--raised);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 22px 20px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.stat dd { margin: 0; display: flex; flex-direction: column; }
.stat__n {
  font-family: var(--display);
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__was { margin-top: 6px; font-size: .88rem; color: var(--dim); font-weight: 600; }
.fine { font-size: .86rem; color: var(--dim); margin: 0; max-width: 60ch; }

.shot {
  display: block;
  justify-self: center;
  width: min(100%, 300px);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  padding: 10px;
  background: #05080F;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; border-radius: 18px; }

/* ── price box ──────────────────────────────────────────────────────────── */

.pricebox {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--raised);
}
.pricebox__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.pricebox__head h2 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); }
.pricebox__head p { margin: 0; color: var(--muted); }
.pricebox__text { margin: 18px 0 30px; color: var(--muted); max-width: 70ch; }
.pricebox__cols {
  display: grid;
  gap: 20px;
  margin: 0 0 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .pricebox__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pricebox__cols dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.pricebox__cols dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.pricebox > p:last-child { margin: 0; }

/* ── closing band ───────────────────────────────────────────────────────── */

.band--close { border-top: 0; padding-top: 0; }
.band--raised + .band--close, .case + .band--close { padding-top: var(--band); border-top: 1px solid var(--line); }
.closing {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid #2B4A8F;
  border-radius: 22px;
  background: #12224A;
}
.closing .lede { color: #C3CEE6; margin: 0; }
.closing .quick { margin: 0; }
.closing .quick label, .closing .quick__alt { color: #C3CEE6; }
.closing input:not([type="checkbox"]) { background: #0D1A3A; border-color: #345293; }
@media (min-width: 1000px) { .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.wrap.closing { max-width: calc(var(--wrap) - 2 * var(--gut)); }
@media (max-width: 1240px) { .wrap.closing { margin-inline: var(--gut); } }

/* ── page heads ─────────────────────────────────────────────────────────── */

.pagehead {
  padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.pagehead h1 { max-width: 16ch; }
.pagehead .lede { margin-bottom: 0; max-width: 52ch; }
.pagehead .btn { margin-top: 26px; }

/* ── work ───────────────────────────────────────────────────────────────── */

.case__split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) {
  .case__split { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 80px; }
  .case__split--flip { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .case__split--flip .case__text { order: 2; }
  .case__split--flip .shot { order: 1; }
}
.case__text h3 { margin-top: 28px; }
.case__note { font-weight: 650; margin: 20px 0; }
.case--compare .panel { margin: 36px 0; }
.case__intro { display: grid; gap: 8px 48px; }
@media (min-width: 1000px) { .case__intro { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.case__lists { display: grid; gap: 28px 48px; margin-bottom: 24px; }
@media (min-width: 900px) { .case__lists { grid-template-columns: 1fr 1fr; } }

.facts { margin: 16px 0 0; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 650; }

.measure { width: 100%; margin-top: 28px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .98rem; }
.measure caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: .86rem; color: var(--dim); }
.measure th, .measure td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.measure thead th { background: var(--surface); font-size: .86rem; font-weight: 700; color: var(--muted); border-bottom-color: var(--line-2); }
.measure tbody th { font-weight: 600; }
.measure__old { color: var(--dim); white-space: nowrap; }
.measure__new { color: var(--text); font-weight: 800; white-space: nowrap; }

/* ── preview page ───────────────────────────────────────────────────────── */

.explain { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .explain { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 80px; } }
.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.points p { margin: 0; color: var(--muted); max-width: 60ch; }

.mock { margin: 0; align-self: start; }
.mock .mock__bar { border-radius: 0; margin: 0; padding: 12px 18px; font-size: .95rem; font-weight: 600; }
.mock .mock__bar b { font-weight: 800; }
.status--muted { color: var(--muted); }
.status--muted::before { display: none; }
.mock__phone {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 10px;
  background: #05080F;
  box-shadow: var(--shadow);
}
.mock__bar {
  margin: 0;
  padding: 11px 14px;
  border-radius: 14px 14px 0 0;
  background: var(--blue);
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
}
.mock__page { display: grid; gap: 10px; padding: 12px; background: var(--surface); border-radius: 0 0 14px 14px; }
.mock__block {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 650;
  text-align: center;
}
.mock__block--hero { min-height: 150px; }
.mock figcaption { font-size: .92rem; color: var(--muted); }

.choices { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .choices { grid-template-columns: 1fr 1fr; gap: 48px; } }
.choices h2 { font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.2rem); }
.choices p { color: var(--muted); }
.choice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.choice--card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }

/* ── pricing ────────────────────────────────────────────────────────────── */

.plan-full { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .plan-full { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.plan--big { padding: 34px; border: 1px solid #2B4A8F; border-radius: 20px; background: #12224A; }
.plan--big p:last-child { margin: 0; color: #C3CEE6; }
.plan__name { font-size: 1.125rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
h2.plan__name { font-family: var(--display); font-size: 1.75rem; letter-spacing: -.02em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.price__n { font-family: var(--display); font-size: clamp(3.2rem, 2.2rem + 3vw, 4.6rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.price__per { color: #C3CEE6; font-weight: 650; }
.plain-h { font-family: var(--display); font-size: 1.5rem; margin-bottom: 14px; letter-spacing: -.02em; }

.included { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.included li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.included .icon { color: var(--blue-2); width: 20px; height: 20px; margin-top: .2em; }
.included__when {
  color: var(--blue-2);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: .25em;
}

.notdo { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .notdo { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; } }
.excluded { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 64ch; }
.excluded li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.excluded .icon { color: var(--dim); width: 20px; height: 20px; margin-top: .22em; }
.excluded b { color: var(--text); font-weight: 750; }
.yours { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); }
.yours p { margin: 0; color: var(--muted); }

/* ── contact + forms ────────────────────────────────────────────────────── */

.contact { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.contact .lede { margin-bottom: 34px; }
.next { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--muted); }
.next li::marker { color: var(--blue-2); font-weight: 800; }
.formcard {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--raised);
  box-shadow: var(--shadow);
}

.form { display: grid; gap: 20px; }
.fields { display: grid; gap: 16px 18px; }
@media (min-width: 640px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fields--one { grid-template-columns: 1fr; }
  .field--wide { grid-column: 1 / -1; }
}
.field { margin: 0; }
.field > label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.field__opt { font-weight: 500; color: var(--muted); }
.field__help { margin: -4px 0 0; font-size: .9rem; color: var(--muted); }
.field__err { display: block; margin-top: 6px; color: var(--red-soft); font-size: .9rem; font-weight: 650; }

.check { display: flex; align-items: center; gap: 12px; }
.check input {
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { opacity: 1; }
.check label { font-weight: 650; cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #5C4A22;
  border-radius: var(--r-md);
  background: #221C10;
  color: var(--amber-soft);
  font-size: .95rem;
  font-weight: 600;
}
.notice .icon { margin-top: .15em; }
.form__submit { margin: 0; }

.formstatus:empty { display: none; }
.formstatus[data-kind="error"] { color: var(--red-soft); font-weight: 650; }
.formstatus[data-kind="ok"] {
  padding: 16px 18px;
  border: 1px solid #1F5E40;
  border-radius: var(--r-md);
  background: #0F2A20;
  color: #B6F0D2;
  font-weight: 650;
}

.prose { max-width: 68ch; }
.prose p { color: var(--muted); }

/* ── footer ─────────────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); background: #070C18; color: var(--muted); }
.foot a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__inner { display: grid; gap: 32px; padding-block: 60px 44px; }
@media (min-width: 900px) { .foot__inner { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.foot__brand p { margin: 14px 0 0; max-width: 34ch; }
.foot__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}
@media (min-width: 900px) { .foot__nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot__nav a { display: inline-block; padding: 8px 0; }
.foot__nav a[aria-current="page"] { color: var(--blue-2); }
.foot__legal { border-top: 1px solid var(--line); padding-block: 18px 24px; font-size: .88rem; }
.foot__legal p { margin: 0; }

/* ── motion preferences ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__col { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── featured before/after (home) ───────────────────────────────────────── */

.split--ba .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.split--ba .stat { padding: 18px 16px 16px; }
.split--ba .stat__n { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); white-space: nowrap; }
.split--ba .stat dt { font-size: .84rem; line-height: 1.35; }
.ba__more { margin: 26px 0 0; }
.case__measure { max-width: 46rem; margin-bottom: 28px; }
.case__measure .measure { margin-top: 0; }

/* ── Turnstile (rendered only when TURNSTILE_SITEKEY is set) ──────────────── */

.turnstile-field:empty { display: none; }
.turnstile-field .field__err { color: var(--muted); font-weight: 600; }

.split--ba { grid-template-areas: "text" "compare" "more"; }
.ba__text { grid-area: text; }
.split--ba .compare { grid-area: compare; }
.split--ba .ba__more { grid-area: more; margin: 0; }
@media (min-width: 1000px) {
  .split--ba { grid-template-areas: "text compare" "more compare"; align-items: start; row-gap: 0; }
  .split--ba .ba__more { align-self: start; }
}
@media (max-width: 480px) {
  .split--ba .stats { grid-template-columns: 1fr; }
  .split--ba .stat { border-left: 0; border-top: 1px solid var(--line); flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .split--ba .stat:first-child { border-top: 0; }
  .split--ba .stat dd { align-items: flex-start; text-align: left; min-width: 7.5rem; }
}

/* Keep a link's last word and its arrow together, so the arrow never wraps alone. */
.nw { white-space: nowrap; }
