/* ==========================================================================
   Lighthouse — design system
   Ported from the Claude Design source. The original used inline styles and
   JS-assigned CSS variables for breakpoints; here the tokens are static and
   the responsive work is done with media queries.
   ========================================================================== */

:root {
  /* Ink */
  --ink: #12161c;
  --ink-body: #2b3038;
  --muted: #5f6875;
  --faint: #6c727c;
  --faint-2: #545b66;
  --placeholder: #9aa0aa;

  /* Rules */
  --line: rgba(18, 22, 28, 0.1);
  --line-soft: rgba(18, 22, 28, 0.08);
  --line-strong: rgba(18, 22, 28, 0.14);
  --line-hover: rgba(18, 22, 28, 0.26);
  --line-hard: rgba(18, 22, 28, 0.32);

  /* Surfaces */
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #edf2f6;

  /* Accent. Changing --accent alone is not enough — deep and ink are
     hand-tuned companions, so update all three together. */
  --accent: #a8d8ea;
  --accent-deep: #7bc0de;
  --accent-ink: #1f6a8c;
  --accent-edge: rgba(110, 182, 216, 0.6);
  --on-accent: #11212b;
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent-deep));

  /* Status */
  --err: #b03a2e;
  --err-line: #d98376;
  --ok: #2e7d62;

  /* Geometry */
  --r-card: 16px;
  --r-tile: 14px;
  --r-field: 12px;
  --r-pill: 999px;
  --nav-h: 72px;
  --wrap: 1200px;
  --wrap-narrow: 1120px;
  --gutter: 24px;

  /* Type */
  --sans: 'Inter Tight', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0.35, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--accent-ink);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  text-transform: inherit;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

::selection {
  background: rgba(168, 216, 234, 0.4);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--lg {
  padding: clamp(72px, 9vw, 120px) 0;
}
.section--tight {
  padding: clamp(36px, 4.5vw, 56px) 0;
}
[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* Page header sitting under the fixed nav */
.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 52px) 0 0;
}
.page-head__glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 140vw);
  height: 640px;
  background: radial-gradient(ellipse at 50% 35%, rgba(168, 216, 234, 0.36), transparent 68%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.eyebrow--center {
  justify-content: center;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent-ink);
  box-shadow: 0 0 8px rgba(123, 192, 222, 0.95);
  flex: none;
}

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.label--accent {
  color: var(--accent-ink);
}

.h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h1--hero {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.h4 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lede {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}
.lede--center {
  margin-inline: auto;
  text-align: center;
}
.prose-sm {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.grad-text {
  background: linear-gradient(135deg, var(--accent-ink), #3e92b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ital-accent {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-ink);
}

.underlined {
  text-decoration: underline;
  text-decoration-color: rgba(18, 22, 28, 0.28);
  text-underline-offset: 3px;
}

/* Inline stat row: "500+ ads shipped · 40+ brands · 6 categories" */
.statline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.statline .sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Buttons and pills
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms ease-out, filter 200ms ease-out, background 200ms ease-out,
    border-color 200ms ease-out;
}
.btn--accent {
  background: var(--accent-grad);
  color: var(--on-accent);
}
.btn--accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: var(--on-accent);
}
.btn--ghost {
  border-color: var(--line-strong);
  background: none;
  color: var(--ink);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: var(--line-hard);
  background: rgba(18, 22, 28, 0.05);
  color: var(--ink);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  transform: translateY(-1px);
  background: #1f252e;
  color: #fff;
}
.btn--lg {
  font-size: 16px;
  padding: 17px 34px;
}
.btn--sm {
  font-size: 14px;
  padding: 11px 20px;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn-row--center {
  justify-content: center;
}

/* Filter pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pills--center {
  justify-content: center;
}
.pill {
  flex: none;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  transition: background 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.pill:hover {
  color: var(--ink);
  border-color: var(--line-hover);
}
.pill[aria-pressed='true'],
.pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 60;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  transition: background 240ms ease-out, border-color 240ms ease-out;
}
/* Home page: nav is invisible over the hero until you scroll. */
.nav--transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav--transparent.is-stuck {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
/* Checkout: plain bar that scrolls away with the page. */
.nav--static {
  position: static;
  backdrop-filter: none;
  background: var(--bg);
}

.nav-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav--static .nav-inner {
  max-width: var(--wrap-narrow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mark {
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.nav-burger span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
}

.nav-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.city-select {
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 9px 14px;
  cursor: pointer;
  max-width: 46vw;
}

/* Mobile overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
  overflow-y: auto;
  animation: fadeScale 220ms ease-out;
}
.menu[hidden] {
  display: none;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  flex: none;
}
.menu-close {
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 40px;
}
.menu-links a {
  font-size: clamp(28px, 7vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 12px 0;
}
.menu-cta {
  margin-top: 40px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  padding: 24px 22px 26px;
}
.card--plain {
  background: var(--bg);
}
.card__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card__body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.grid-auto--wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Poster tiles (9:16 ad creative)
   -------------------------------------------------------------------------- */

/* Every child of a .tile is absolutely positioned, so a tile contributes
   nothing to intrinsic sizing — its min-content and max-content widths are just
   the 2px of border. Any context that sizes a tile (or an ancestor) to its
   content therefore collapses it to a 2x3px sliver, and `aspect-ratio` cannot
   save it because it needs one definite axis to work from.

   `display: block` + `width: 100%` gives every tile a definite width from its
   container. Both are load-bearing:
     - block, because <button class="tile"> is inline-block by default and
       shrink-to-fit, which collapsed the whole home-page work grid;
     - width, because a tile in a fit-content ancestor still has nothing to
       stretch against.
   Contexts needing another width override it at higher specificity
   (.row-scroll > .tile) or via flex (.case-pane__cuts .tile). */
.tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(18, 22, 28, 0.04);
}
.tile__grain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(18, 22, 28, 0.05) 0 1px, transparent 1px 9px);
}
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.tile__sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: sheen 8s ease-in-out infinite;
  pointer-events: none;
}
.tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.85));
}
.tile__brand {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.tile__format {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}
.tile__mono-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.85));
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #fff;
}
.tile__audio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: rgba(20, 18, 24, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-content: center;
  color: #fff;
  opacity: 0.65;
}

button.tile {
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
button.tile:hover {
  transform: scale(1.02);
  border-color: var(--line-hover);
}

/* --------------------------------------------------------------------------
   Drifting poster wall
   -------------------------------------------------------------------------- */

/* `width: 100%` is required, not cosmetic. Below 1024px the wall gets
   `margin: 0 auto` to centre it, and auto margins on a grid item disable
   stretch alignment — the item falls back to its fit-content width, which for a
   grid of intrinsically-empty tiles is about 20px. An explicit width keeps the
   auto margins purely for centring. */
.wall {
  position: relative;
  width: 100%;
  height: min(76vh, 700px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
}
.wall__cols {
  display: grid;
  grid-template-columns: repeat(var(--wall-cols, 2), 1fr);
  gap: 16px;
  height: 100%;
}
.wall__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.wall__col > .tile {
  flex: none;
}
.wall__col--up {
  animation: driftUp var(--drift, 80s) linear infinite;
}
.wall__col--down {
  animation: driftDown var(--drift, 96s) linear infinite;
}
.wall--three .wall__cols {
  --wall-cols: 3;
  gap: 14px;
}
.wall--three .wall__col {
  gap: 14px;
}
.wall--three {
  height: min(64vh, 580px);
}

/* --------------------------------------------------------------------------
   Bands and CTA
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f8fc, #f6f5fd);
  border-top: 1px solid rgba(18, 22, 28, 0.07);
  border-bottom: 1px solid rgba(18, 22, 28, 0.07);
  padding: clamp(72px, 9vw, 112px) var(--gutter);
}
.band__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 130vw);
  height: 700px;
  background: radial-gradient(ellipse at 50% 40%, rgba(168, 216, 234, 0.36), transparent 65%);
  pointer-events: none;
}
.band__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.band__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 56px 0 28px;
}
.footer--slim {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 7vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-tag {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-col .ico {
  flex: none;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--faint);
}
.footer .footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer--slim .footer-legal {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.footer-legal a {
  color: var(--faint);
}
.footer-legal a:hover {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Home: hero, steps, process, pricing, proof, FAQ
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 64px;
}
.hero__glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 150vw);
  height: 720px;
  background: radial-gradient(ellipse at 50% 30%, rgba(168, 216, 234, 0.42), rgba(199, 214, 240, 0.16) 45%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.steps-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin: 48px 0 20px;
  height: 12px;
}
.steps-rail__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 5px;
  height: 2px;
  background: linear-gradient(90deg, oklch(0.9 0.045 238), oklch(0.9 0.045 178), oklch(0.9 0.045 298));
  border-radius: var(--r-pill);
  overflow: hidden;
}
.steps-rail__pulse {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, #fff 45%, transparent);
  animation: railPulse 6s linear infinite;
}
.steps-rail__node {
  display: grid;
  place-content: center;
}
.steps-rail__node span {
  width: 12px;
  height: 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 2px solid var(--node, oklch(0.58 0.1 238));
}

.step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--step-edge);
  border-radius: var(--r-card);
  background: var(--bg);
}
.step__wash {
  position: absolute;
  inset: 0;
  background: var(--step-wash);
  animation: stepWash 6s ease-in-out infinite;
  animation-delay: var(--step-delay, 0s);
}
.step__inner {
  position: relative;
  padding: 26px 26px 30px;
}
.step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.step__n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--step-ink);
}
.step__big {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--step-ghost);
}
.step__art {
  position: relative;
  height: 104px;
  margin: 18px 0 22px;
}
.step__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step__copy {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

/* Step 1 art: a cursor sliding down a list of rows */
.pickrows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pickrow {
  height: 28px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
}
.pickrow i {
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(18, 22, 28, 0.16);
  display: block;
}
.pickrow i + i {
  width: 26px;
  background: rgba(18, 22, 28, 0.1);
}
.pickcursor {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  border-radius: 9px;
  border: 1.5px solid oklch(0.58 0.1 238);
  background: oklch(0.94 0.05 238);
  animation: pickMove 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* Step 2 art: form fields typing themselves in */
.typerows {
  height: 104px;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.typerow__label {
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(18, 22, 28, 0.14);
}
.typerow__track {
  margin-top: 7px;
  height: 9px;
  border-radius: var(--r-pill);
  background: rgba(18, 22, 28, 0.06);
  overflow: hidden;
}
.typerow__fill {
  height: 100%;
  width: 100%;
  border-radius: var(--r-pill);
  background: oklch(0.72 0.09 178);
  transform-origin: left;
  animation: typeFill 6s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.typerow__caret {
  width: 2px;
  height: 13px;
  background: oklch(0.5 0.1 178);
  animation: caretBlink 1.1s steps(1) infinite;
  flex: none;
}

/* Step 3 art: files dropping into a folder */
.dropfiles {
  height: 104px;
  margin: 18px 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropfile {
  flex: 1;
  aspect-ratio: 9 / 16;
  max-height: 96px;
  border-radius: 8px;
  border: 1px solid oklch(0.88 0.05 298);
  background: oklch(0.965 0.025 298);
  animation: dropIn 6s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.dropcheck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: oklch(0.58 0.11 298);
  display: grid;
  place-content: center;
  animation: dropIn 6s ease-out infinite;
  animation-delay: 1.05s;
}

.split {
  display: grid;
  grid-template-columns: var(--split, 38fr 62fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.rule-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rule-label .bar {
  width: 26px;
  height: 2px;
  background: var(--accent-ink);
}
.rule-label span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.mosaic__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mosaic .tile {
  border-radius: var(--r-tile);
  box-shadow: 0 1px 2px rgba(18, 22, 28, 0.04);
}
.mosaic .tile__img {
  object-position: center 28%;
}

.work-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transition: opacity 250ms ease-out;
}
.work-grid.is-swapping {
  opacity: 0;
}
.work-grid > [hidden] {
  display: none;
}

/* Pricing cards (home) */
.plan {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.plan.is-best {
  border-color: var(--accent-edge);
}
.plan__badge {
  padding: 11px 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint-2);
  background: rgba(18, 22, 28, 0.03);
}
.plan.is-best .plan__badge {
  color: var(--on-accent);
  background: var(--accent-grad);
}
.plan__inner {
  padding: 28px 26px 26px;
}
.plan__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}
.plan__price b {
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.plan__price span {
  font-size: 14px;
  color: var(--muted);
}
.plan__per {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  color: var(--accent-ink);
}
.plan__per b {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.plan__per span {
  font-size: 14px;
  font-weight: 500;
}
.plan__meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 22px;
}
.plan__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.plan__features svg {
  flex: none;
  margin-top: 3px;
}
.plan__turn {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.plan__cta {
  margin-top: 22px;
  display: flex;
}

ul.plan__features {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

/* Client logo strip */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.logos div {
  height: 34px;
  border-radius: 8px;
  border: 1px dashed var(--line-strong);
  display: grid;
  place-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 200ms ease-out;
}
.logos div:hover {
  opacity: 1;
}

.quote-block {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
}
.quote-block p {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.quote-block .result {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-ink);
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.byline--center {
  justify-content: center;
}
.avatar-ph {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px dashed rgba(18, 22, 28, 0.16);
  background: var(--bg-3);
  display: grid;
  place-content: center;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex: none;
}

/* FAQ accordion */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  cursor: pointer;
  color: var(--ink);
}
.faq__q:hover {
  color: var(--accent-ink);
}
.faq__q > span:first-child {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  display: grid;
  place-content: center;
  font-size: 15px;
  line-height: 1;
  color: var(--muted);
}
.faq__q[aria-expanded='true'] .faq__icon {
  background: var(--bg-3);
}
.faq__a {
  padding: 0 4px 24px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.faq__a[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Work page
   -------------------------------------------------------------------------- */

.rail {
  position: sticky;
  top: calc(var(--nav-h) - 1px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rail__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rail__inner::-webkit-scrollbar {
  height: 0;
}
.rail a.pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.row-sec {
  padding: 0 0 56px;
  scroll-margin-top: 140px;
}
.row-sec__head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.row-sec__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.row-scroll {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.row-scroll::-webkit-scrollbar {
  height: 0;
}
.row-scroll > .tile {
  flex: none;
  width: clamp(150px, 21vw, 224px);
  scroll-snap-align: start;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  padding: 26px 24px 24px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.case-card:hover {
  border-color: var(--line-hover);
  background: var(--bg-3);
}
.case-card__brand {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.case-card__line {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.case-card__result {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-ink);
}
.case-card__more {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.case-card__more span {
  color: var(--accent-ink);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255, 252, 249, 0.93);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  animation: fadeScale 200ms ease-out;
  border: none;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__stage {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(84vh, 900px);
  max-width: 92vw;
  border-radius: var(--r-card);
  border: 1px solid rgba(18, 22, 28, 0.12);
  background: var(--bg-3);
  overflow: hidden;
}
.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.9));
}
.lightbox__cap b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.lightbox__cap span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3px;
}
.lb-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(18, 22, 28, 0.07);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.lb-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 18px;
}
.lb-prev {
  left: 20px;
}
.lb-next {
  right: 20px;
}

/* Case study slide-over */
.case-pane {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  overflow-y: auto;
  animation: fadeScale 220ms ease-out;
}
.case-pane[hidden] {
  display: none;
}
.case-pane__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.case-pane__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter) 64px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.case-pane__media {
  position: sticky;
  top: 96px;
}
.case-pane__cuts {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.case-pane__cuts .tile {
  flex: 1;
  border-radius: 10px;
}
.case-pane__cuts .tile__mono-cap {
  padding: 8px 6px 6px;
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.8);
}
.case-pane__result {
  margin-top: 16px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}
.case-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.case-step__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
  padding-top: 3px;
}
.case-step p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
}
.case-pane__cta {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  padding: 32px 28px;
}

/* --------------------------------------------------------------------------
   Pricing page comparison table
   -------------------------------------------------------------------------- */

.ptable-wrap {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.ptable-scroll {
  overflow-x: auto;
}
.ptable {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
}
.ptable th,
.ptable td {
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.ptable tbody th {
  padding-left: 22px;
  color: var(--ink);
  background: var(--bg);
  width: 34%;
}
.ptable tbody th.is-strong {
  font-weight: 600;
}
.ptable td {
  border-left: 1px solid var(--line-soft);
}
.ptable td.is-tint {
  background: var(--bg-2);
}
.ptable td.is-strong {
  font-weight: 600;
}
.ptable__cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ptable thead td,
.ptable thead th {
  padding: 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
/* These two need the element-qualified selector: `.ptable thead td` above is
   more specific than a bare class, so a plain `.ptable__intro { padding }`
   loses and the content ends up clipped by the wrapper's rounded corner. */
.ptable thead td.ptable__intro {
  padding: 26px 22px 22px;
}
.ptable thead th.pcol {
  padding: 0 0 22px;
}
.ptable__intro p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 26ch;
}
.pcol {
  border-left: 1px solid var(--line-soft);
  background: var(--bg);
  padding-bottom: 22px;
}
.pcol.is-tint {
  background: var(--bg-2);
}
.pcol__badge {
  padding: 9px 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint-2);
  background: rgba(18, 22, 28, 0.03);
}
.pcol.is-best .pcol__badge {
  color: var(--on-accent);
  background: var(--accent-grad);
}
.pcol__body {
  padding: 20px 20px 0;
}
.pcol__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.pcol__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
}
.pcol__price b {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.pcol__price span {
  font-size: 13px;
  color: var(--muted);
}
.pcol__per {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 12px;
  color: var(--accent-ink);
}
.pcol__per b {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.pcol__per span {
  font-size: 13px;
  font-weight: 500;
}
.pcol__cta {
  display: flex;
  margin-top: 18px;
}
.pcol__cta .btn {
  flex: 1;
  font-size: 14px;
  padding: 12px 16px;
}

.notes {
  max-width: var(--wrap-narrow);
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
}
.notes .sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Forms (contact + checkout)
   -------------------------------------------------------------------------- */

.field {
  display: block;
}
.field--full {
  grid-column: 1 / -1;
}
.field > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}
.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-field);
  outline: none;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--placeholder);
}
.input:focus,
.select:focus,
.textarea:focus,
.StripeElement--focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(168, 216, 234, 0.35);
}
.input[aria-invalid='true'],
.textarea[aria-invalid='true'] {
  border-color: var(--err-line);
}
.select {
  cursor: pointer;
}
.textarea {
  line-height: 1.5;
  resize: vertical;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.form-error {
  margin-top: 16px;
  font-size: 13px;
  color: var(--err);
}
.form-error[hidden] {
  display: none;
}
.step-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--faint);
}
.step-label + .fields,
.step-label + .plan-options {
  margin-top: 16px;
}
.step-label--spaced {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.checkout-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 392px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.plan-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-option {
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-tile);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: border-color 180ms ease-out, background 180ms ease-out;
  width: 100%;
}
.plan-option:hover {
  border-color: var(--line-hover);
}
.plan-option[aria-checked='true'] {
  background: var(--bg-2);
  border-color: var(--accent-deep);
}
.plan-option__dot {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-hover);
  background: var(--bg);
  display: grid;
  place-content: center;
}
.plan-option__dot i {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: transparent;
  display: block;
}
.plan-option[aria-checked='true'] .plan-option__dot {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}
.plan-option[aria-checked='true'] .plan-option__dot i {
  background: #fff;
}
.plan-option__main {
  flex: 1;
}
.plan-option__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-option__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan-option__tag {
  font-size: 12px;
  color: var(--faint);
}
.plan-option[aria-checked='true'] .plan-option__tag {
  color: var(--accent-ink);
}
.plan-option__detail {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.plan-option__price {
  flex: none;
  text-align: right;
}
.plan-option__price b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan-option__price span {
  display: block;
  font-size: 12px;
  color: var(--faint);
}

.summary {
  position: sticky;
  top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
}
.summary__bar {
  padding: 11px 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--on-accent);
  background: var(--accent-grad);
}
.summary__body {
  padding: 26px 22px 24px;
}
.summary__plan {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.summary__detail {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.summary__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.summary__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.summary__line--save {
  color: var(--ok);
  font-weight: 600;
}
.summary__line[hidden] {
  display: none;
}
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.summary__total span:first-child {
  font-size: 15px;
  font-weight: 600;
}
.summary__total b {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.summary__renewal {
  margin-top: 8px;
  font-size: 12px;
  color: var(--faint);
}
.summary__fine {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--faint);
}
.summary .btn {
  margin-top: 22px;
}

/* Stripe Payment Element host. Deliberately unstyled: the Element renders its
   own labelled inputs, and checkout.js passes an Appearance config that matches
   them to .input above (same border, radius, focus ring and type scale). Adding
   a border here would double it. */
.stripe-host {
  margin-top: 16px;
  min-height: 48px;
}
.pay-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}
.pay-skeleton i {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(18, 22, 28, 0.06), rgba(18, 22, 28, 0.11), rgba(18, 22, 28, 0.06));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.pay-skeleton i:nth-child(2) {
  width: 60%;
}

.pay-notice {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--err-line);
  border-radius: var(--r-field);
  background: var(--bg-2);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-body);
}
.pay-notice[hidden] {
  display: none;
}
.pay-notice b {
  color: var(--ink);
}
.pay-notice code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(18, 22, 28, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Success state */
.done {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px var(--gutter) 120px;
  animation: fadeUp 320ms ease-out;
}
.done__tick {
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--accent-grad);
  display: grid;
  place-content: center;
}
.timeline {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-2);
  padding: 8px 28px;
}
.timeline__row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.timeline__row:last-child {
  border-bottom: none;
}
.timeline__when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
  padding-top: 3px;
  flex: none;
  width: 62px;
}
.timeline__row p {
  font-size: 15px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg);
}
.contact-card__inner {
  padding: clamp(26px, 3.2vw, 38px);
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
}
.side-card__bar {
  padding: 11px 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--on-accent);
  background: var(--accent-grad);
}
.side-card__body {
  padding: 6px 22px 8px;
}
.next-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.next-step:last-child {
  border-bottom: none;
}
.next-step__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  padding-top: 2px;
}
.next-step__t {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.next-step p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.reach {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 24px;
}
.reach__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 16px;
  font-size: 14px;
}
.reach__list > * {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.reach__list a {
  color: var(--ink);
}
.reach__list a:hover {
  color: var(--accent-ink);
}
.reach__list svg {
  flex: none;
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--ink);
}
.trust__tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
  background: rgba(168, 216, 234, 0.32);
  display: grid;
  place-content: center;
}
ul.trust {
  list-style: none;
  padding: 0;
}

.testimonial {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(28px, 3.5vw, 40px);
}
.testimonial__grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}
.testimonial__ph {
  width: 96px;
  height: 96px;
  border-radius: var(--r-pill);
  border: 1px dashed rgba(18, 22, 28, 0.16);
  background: var(--bg-3);
  display: grid;
  place-content: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.testimonial p {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}
.post-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
  color: var(--ink);
}
.post-card__media,
.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
}
.post-card__media img,
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__title {
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.post-card__excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.post-card__date {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: var(--faint);
}
.post-card__rule {
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 200ms ease-out;
}
.feature:hover {
  border-color: var(--line-hover);
  color: var(--ink);
}
.feature__media {
  aspect-ratio: 1 / 1;
}
.feature__body {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 44px);
}
.feature__title {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 24ch;
}
.feature__excerpt {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.feature__more {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.feature__more span {
  color: var(--accent-ink);
}

.empty-state {
  margin-top: 24px;
  border: 1px dashed rgba(18, 22, 28, 0.16);
  border-radius: var(--r-card);
  padding: 48px var(--gutter);
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.empty-state[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.readbar {
  position: fixed;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent-grad);
  z-index: 61;
}

.article {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 52px) var(--gutter) 0;
}
.article__head {
  max-width: 68ch;
}
.article__back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.article__back:hover {
  color: var(--ink);
}
.article__kicker {
  margin-top: 26px;
}
.article__title {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.article__dek {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}
.article__byline {
  margin-top: 30px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article__byline .avatar-ph {
  width: 38px;
  height: 38px;
}
.article__hero {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.article__hero figure {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
}
.article__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 68ch 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.article__body {
  max-width: 68ch;
}
.article__body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-body);
}
.article__body p + p {
  margin-top: 18px;
}
.article__body h2 {
  margin-top: 44px;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.article__body h2 + p {
  margin-top: 16px;
}
.article__body h3 {
  margin-top: 36px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.pullquote {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-deep);
  border-radius: var(--r-field);
  background: var(--bg-2);
  padding: 24px 26px;
}
.pullquote p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.splits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.splitrow {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
}
.splitrow__label {
  font-size: 14px;
  font-weight: 600;
}
.splitrow__track {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(18, 22, 28, 0.07);
  overflow: hidden;
}
.splitrow__fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.splitrow__note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--faint);
}

.article__next {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article__next a {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 34ch;
}

.aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.toc {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 20px;
  background: var(--bg);
}
.toc__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.toc__links a {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 12px;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}
.toc__links a:hover {
  color: var(--ink);
}
.toc__links a.is-active {
  color: var(--ink);
  border-left-color: var(--accent-deep);
}
.aside-cta {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px 22px;
  background: linear-gradient(180deg, #f1f8fc, #f6f5fd);
}
.aside-cta__t {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.aside-cta p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.aside-cta .btn {
  margin-top: 18px;
  width: 100%;
  font-size: 14px;
  padding: 13px 18px;
}

/* --------------------------------------------------------------------------
   Cities
   -------------------------------------------------------------------------- */

.city-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  padding: 22px 22px 24px;
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}
.city-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
  color: var(--ink);
}
.city-card.is-home {
  background: var(--bg-2);
  border-color: var(--accent-edge);
}
.city-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.city-card__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.city-card__state {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.city-card__primary {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--accent-ink);
}
.city-card__industries {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.city-card__note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--faint);
}

.kw-table {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.kw-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.kw-row:last-child {
  border-bottom: none;
}
.kw-row.is-primary {
  background: var(--bg-2);
}
.kw-row__pattern {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}
.kw-row.is-primary .kw-row__pattern {
  color: var(--accent-ink);
  font-weight: 500;
}
.kw-row__meta {
  font-size: 13px;
  color: var(--muted);
}

.callout {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px 24px 26px;
  background: var(--bg);
}
.callout p {
  margin-top: 12px;
  max-width: 76ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.crumbs a {
  color: var(--faint);
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs .here {
  color: var(--ink);
}

.how-box {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 28px 34px;
}
.how-box__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.how-box__foot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.link-accent {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(110, 182, 216, 0.5);
  text-underline-offset: 3px;
}

.faq-list {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-list__item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.faq-list__item:last-child {
  border-bottom: none;
}
.faq-list__q {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq-list__a {
  margin-top: 8px;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.nearby a {
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
}
.nearby a:hover {
  border-color: var(--line-hover);
  background: rgba(18, 22, 28, 0.03);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 64px) var(--gutter) 96px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes driftUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
@keyframes driftDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes sheen {
  0% {
    transform: translateX(-70%) skewX(-12deg);
  }
  100% {
    transform: translateX(220%) skewX(-12deg);
  }
}
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes railPulse {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(560%);
  }
}
@keyframes stepWash {
  0%,
  6% {
    opacity: 0;
  }
  14%,
  30% {
    opacity: 1;
  }
  42%,
  100% {
    opacity: 0;
  }
}
@keyframes pickMove {
  0%,
  14% {
    transform: translateY(0);
  }
  26%,
  44% {
    transform: translateY(38px);
  }
  56%,
  82% {
    transform: translateY(76px);
  }
  94%,
  100% {
    transform: translateY(0);
  }
}
@keyframes typeFill {
  0%,
  4% {
    transform: scaleX(0);
  }
  34%,
  88% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes dropIn {
  0%,
  8% {
    transform: translateY(-12px);
    opacity: 0;
  }
  24%,
  86% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-12px);
    opacity: 0;
  }
}
@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* Scroll reveal, applied by site.js only when motion is allowed. */
[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(20px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .article__grid {
    grid-template-columns: 1fr;
  }
  .aside {
    position: static;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: grid;
  }
  .hero__inner,
  .split,
  .contact-grid,
  .checkout-grid,
  .case-pane__grid {
    grid-template-columns: 1fr;
  }
  .case-pane__media {
    position: static;
    max-width: 380px;
  }
  .summary {
    position: static;
  }
  .wall {
    height: min(58vh, 520px);
    max-width: 560px;
    margin: 0 auto;
  }
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nav-secure {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
  .hero {
    min-height: 0;
    padding-top: calc(var(--nav-h) + 24px);
  }
  .wall {
    height: min(52vh, 400px);
    max-width: 360px;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps-rail {
    display: none;
  }
  .fields,
  .feature,
  .article__hero,
  .testimonial__grid {
    grid-template-columns: 1fr;
  }
  .feature__media {
    aspect-ratio: 4 / 5;
  }
  .kw-row,
  .case-step,
  .splitrow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav-cta {
    font-size: 13px;
    padding: 10px 16px;
  }
  /* Keep tap targets at 44px on touch */
  .pill,
  .btn--sm {
    min-height: 44px;
  }
  .lb-prev {
    left: 8px;
  }
  .lb-next {
    right: 8px;
  }
  .lightbox__stage {
    max-width: 74vw;
  }
  .timeline {
    padding: 8px 20px;
  }
  .done {
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .wall__col,
  .tile__sheen,
  .step__wash,
  .pickcursor,
  .typerow__fill,
  .dropfile,
  .dropcheck,
  .steps-rail__pulse {
    animation: none !important;
  }
  [data-reveal].is-hidden {
    opacity: 1;
    transform: none;
  }
}
