/* =====================================================================
   BRAND CONFIG — colors & font
   Change these values and the whole site updates.
   Name, phone, email and prices live in js/config.js.
   ===================================================================== */
:root {
  /* "Chalk and forest" palette */
  --bg: #F6F7F4;        /* page background (chalk) */
  --fg: #10241B;        /* main text, and the dark "flipped" sections */
  --accent: #145A3B;    /* buttons, links, icons (forest; text on it is white) */
  --highlight: #F2B33D; /* saffron: offers, savings, badges (text on it is dark) */
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
/* ===================================================================== */

/* Derived tokens — no need to edit.
   "paper" = page background, "ink" = main text. Sections that flip to dark
   (statement, Why us, the Growth card, the offer bar) swap the two. */
:root {
  color-scheme: light;
  --paper: var(--bg);
  --ink: var(--fg);
  --accent-ink: #FFFFFF;
  --accent-hover: color-mix(in oklab, var(--accent) 85%, black);
  --accent-soft: color-mix(in oklab, var(--accent) 10%, var(--bg));
  --highlight-ink: #3A2703;
  --mist: #ECEFEA;          /* alternate section background */
  --surface: #FFFFFF;       /* cards */
  --line: #DDE3DE;
  --line-strong: #C6D0C9;
  --muted: #4A5D53;
  /* on the dark (flipped) sections */
  --inv-accent: var(--highlight);
  --inv-muted: #A9BDB2;
  --inv-line: #2A4237;
  --error: #B42318;
  --success: var(--accent);

  --step-5: clamp(2.5rem, 1.55rem + 4.4vw, 5.25rem);
  --step-4: clamp(2rem, 1.45rem + 2.3vw, 3.4rem);
  --step-2: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);

  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Metric-matched fallback so text doesn't jump when Inter loads */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[data-cfg="phone"] { white-space: nowrap; } /* never break a phone number */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-5); font-weight: 750; letter-spacing: -.042em; line-height: 1.02; }
h2 { font-size: var(--step-4); letter-spacing: -.035em; line-height: 1.06; }
h3 { font-size: var(--step-2); }
p { text-wrap: pretty; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-link { font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; white-space: nowrap; }
.text-link:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: color-mix(in oklab, var(--ink) 86%, var(--paper)); }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Logo ---------- */
/* Mark: a "D" with a line rising inside it (in the accent) + name: first word bold, the rest below */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  line-height: 1;
  text-decoration: none;
}
.logo-mark { flex: none; width: 31px; height: 34px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark .lm-d { stroke: currentColor; stroke-width: 5.5; }
.logo-mark .lm-line { stroke: var(--accent); stroke-width: 4; }
.logo-mark .lm-dot { fill: var(--accent); }
.logo-text { display: grid; gap: .18rem; text-transform: lowercase; }
.logo-text b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.045em; }
.logo-text small { color: var(--muted); font-size: .8rem; font-weight: 500; letter-spacing: .01em; }
/* one-line wordmark: "dech" bold + "growth" lighter, same size */
.logo-text.is-inline { display: inline-flex; align-items: baseline; gap: 0; }
.logo-text.is-inline b, .logo-text.is-inline small { font-size: 1.35rem; letter-spacing: -.045em; }
.logo-text.is-inline small { color: var(--accent); font-weight: 600; }
/* The D mark as the first letter: [D]ech + Growth */
.logo--word { align-items: baseline; gap: 0; font-size: 1.75rem; }
.logo--word .logo-mark { width: .76em; height: .82em; margin-right: .04em; } /* a bit taller than the capitals */
.logo--word .logo-mark .lm-d { stroke-width: 7.5; }
.logo--word .logo-mark .lm-line { stroke-width: 5; }
.logo--word .logo-mark .lm-dot { r: 4.4; }
.logo--word .logo-text { text-transform: none; }
.logo--word .logo-text.is-inline b,
.logo--word .logo-text.is-inline small { font-size: 1em; letter-spacing: -.045em; }

/* ---------- Limited-time offer (js/config.js → promo) ---------- */
/* Hidden unless <html> has .promo-on (set before the first paint while the offer runs) */
.promo-bar,
.promo-banner,
[data-promo-only] { display: none; }

.promo-on .promo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .65rem;
  min-height: 40px;
  padding: .5rem var(--gutter);
  background: var(--ink);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.promo-bar:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.promo-bar:focus-visible { outline-color: var(--inv-accent); outline-offset: -4px; }
.promo-tag,
.promo-pill {
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.promo-tag { background: var(--highlight); color: var(--highlight-ink); }

.promo-on .promo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--paper);
}
.promo-pill { background: var(--highlight); color: var(--highlight-ink); }
.promo-banner p { color: var(--muted); }
.promo-banner strong { color: var(--ink); font-weight: 650; }

.promo-on .price-old {
  display: block;
  flex-basis: 100%;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none; /* the strike line is drawn (and animated) in the MOTION section */
}
.promo-on .price-save { display: block; width: fit-content; margin-top: .6rem; padding: .15rem .6rem; border-radius: 999px; background: var(--highlight); color: var(--highlight-ink); font-size: .875rem; font-weight: 650; }
.plan-featured .price-old { color: var(--inv-muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled,
.menu-open .site-header { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: .6rem; height: var(--header-h); }
.header-inner > .logo { margin-right: auto; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.lang button {
  min-width: 40px;
  height: 36px;
  padding: 0 .6rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu panel */
.nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  flex-direction: column;
  gap: 2rem;
  padding: 1rem var(--gutter) 2rem;
  overflow-y: auto;
  background: var(--paper);
}
.menu-open .nav { display: flex; }
.nav-link {
  display: block;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -.02em;
  text-decoration: none;
}

@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1080px) {
  :root { --header-h: 76px; }
  .header-inner { gap: 1rem; }
  .header-inner > .logo { margin-right: 0; }
  .nav {
    display: flex;
    position: static;
    height: auto;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    background: none;
  }
  .nav ul { display: flex; gap: .15rem; }
  .nav-link {
    padding: .5rem .8rem;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: 0;
    transition: color .15s, background-color .15s;
  }
  .nav-link:hover { color: var(--ink); background: var(--mist); }
  .nav-cta, .menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(4rem, 9vw, 7rem); overflow: hidden; }
/* Centered headline with the phone below it (layout from 21st.dev "Phone Scroll Hero") */
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); justify-items: center; text-align: center; }
.hero-copy {
  max-width: 56rem;
  translate: 0 calc(var(--drift, 0) * -24px); /* drifts up slower than the phone (js/main.js) */
}

.hero-place {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 500;
}
.hero-place .icon { width: 18px; height: 18px; color: var(--accent); }
.hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(2.6rem, 1.4rem + 5.2vw, 6rem); }
.hero .lead {
  max-width: 36em;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.hero-actions .btn { flex: 1 1 100%; }
.hero-note { margin-top: 1rem; color: var(--muted); font-size: .875rem; }

@media (min-width: 480px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

/* Phone mock-up */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}
.bloom {
  position: absolute;
  width: min(92%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--highlight);
}
.phone {
  position: relative;
  z-index: 1;
  width: clamp(208px, 56vw, 248px);
  aspect-ratio: 9 / 18.6;
  padding: 8px;
  border-radius: 40px;
  background: #000;
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .55);
  container-type: inline-size;
}
.phone::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 18px;
  border-radius: 10px;
  background: #000;
  transform: translateX(-50%);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  color: #111;
  font-size: 5.3cqi;
  line-height: 1.3;
}
.ms-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.4em 1.3em .9em;
  font-weight: 750;
  letter-spacing: -.02em;
}
.ms-menu { display: grid; gap: 3px; }
.ms-menu i { display: block; width: 14px; height: 2px; background: #000; }
.ms-hero {
  display: grid;
  gap: .6em;
  margin: 0 .7em;
  padding: 1.3em 1.1em 1.2em;
  border-radius: 1.2em;
  background: #000;
  color: #fff;
}
.ms-kicker { font-size: .8em; opacity: .7; }
.ms-title { font-size: 1.5em; font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.ms-cta {
  justify-self: start;
  padding: .55em 1em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .85em;
  font-weight: 600;
}
.ms-body { display: grid; flex: 1; grid-template-rows: auto auto minmax(5.6em, 1fr); gap: .7em; padding: 1.1em 1.3em 1.4em; }
.ms-label { color: #6B7280; font-size: .8em; font-weight: 600; }
.ms-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; }
.ms-slot {
  padding: .65em 0;
  border: 0;
  border-radius: .7em;
  background: #F1F1F3;
  color: #111;
  font-size: .85em;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.ms-slot:hover { background: #E4E4E7; }
.ms-slot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: .7em; }
.ms-slot.is-picked { background: var(--accent); color: var(--accent-ink); }
.ms-slots .ms-pick { animation: slot-pick .35s 1.3s var(--ease) both; }
.ms-map {
  position: relative;
  min-height: 5.6em;
  border-radius: 1em;
  background:
    linear-gradient(112deg, transparent 44%, #fff 44% 50%, transparent 50%),
    linear-gradient(18deg, transparent 58%, #fff 58% 62%, transparent 62%),
    #E9E9EC;
}
.ms-map::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 30%;
  width: 1.1em;
  height: 1.1em;
  border: .3em solid var(--accent);
  border-radius: 50%;
  background: #fff;
}

@keyframes slot-pick { to { background: var(--accent); color: var(--accent-ink); } }

.toasts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .9rem .55rem .55rem;
  border-radius: 16px;
  background: #fff;
  color: #111;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .05);
  font-size: .8125rem;
  line-height: 1.25;
  white-space: nowrap;
  animation: toast-in .6s var(--ease) both;
}
.toast b { display: block; font-weight: 650; }
.toast small { display: block; color: #5F6B66; font-size: .75rem; }
.toast-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.toast-ic .icon { width: 18px; height: 18px; }
.t1 { top: 2%;  left: 0;  animation-delay: 1.7s; }
.t2 { top: 63%; right: 0; animation-delay: 2.7s; }
.t3 { bottom: 4%; left: 2%; animation-delay: 3.7s; }

.toast.replay { animation: toast-in .5s var(--ease) both; animation-delay: 0s; }

.hero-try { margin-top: 1.25rem; color: var(--muted); font-size: .9375rem; text-align: center; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* 3D stage: tilted back at first, flattens and climbs as you scroll.
   --p (0 → 1) is set by js/main.js; without JS or with reduced motion it stays flat. */
.hero-demo { position: relative; z-index: 2; width: 100%; perspective: 1200px; }
.hero-visual {
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  transform: rotateX(calc((1 - var(--p, 1)) * 24deg)) scale(calc(.92 + var(--p, 1) * .08));
  transform-origin: 50% 35%;
  translate: 0 calc(var(--climb, 0) * -1px);
}

.hero-demo { margin-top: 1rem; }

@media (min-width: 960px) {
  /* two-line headline on desktop so the phone peeks in above the fold */
  .hero h1 { max-width: 20ch; font-size: clamp(3.5rem, 2rem + 3.6vw, 5.4rem); }
  .hero .lead { max-width: 42em; }
  .hero-visual { min-height: 680px; }
  .phone { width: 292px; }
  .bloom { width: min(92%, 500px); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.section-dark .section-head p { color: var(--inv-muted); }

/* ---------- Services: bento grid ---------- */
.bento { display: grid; gap: 1rem; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-height: 280px;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--mist);
}
.tile-tag {
  align-self: flex-start;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
}
.tile h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.025em; }
.tile > p { max-width: 30rem; color: var(--muted); }
.tile-demo { margin-top: auto; padding-top: .5rem; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-ads { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); }
  .tile-ads { grid-column: span 2; grid-row: span 2; }
  .tile-ads h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
  /* the big tile gets a bigger search screen */
  .tile-ads .demo-search { gap: .8rem; font-size: 1.05rem; }
  .tile-ads .ds-bar { padding: .95rem 1.3rem; }
  .tile-ads .ds-card { padding: 1.3rem 1.5rem; border-radius: 20px; }
  .tile-ads .ds-title { font-size: 1.35rem; }
  .tile-ads .ds-top, .tile-ads .ds-btn { font-size: .875rem; }
  .tile-ads .ds-ghost i { height: .7rem; }
}

/* The little screens inside the tiles look like the real apps (light UI) */
.demo-search, .demo-book, .demo-web, .demo-post { color: #111; font-size: .875rem; line-height: 1.35; }

/* Google search: someone types, your client's ad comes up first */
.demo-search { display: grid; gap: .6rem; }
.ds-bar { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 999px; background: #fff; color: #202124; }
.ds-bar .icon { width: 18px; height: 18px; color: #5F6368; }
.ds-query { white-space: nowrap; overflow: hidden; }
.ds-card { display: grid; gap: .3rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; }
.ds-top { display: flex; gap: .5rem; color: #4D5156; font-size: .78rem; }
.ds-sponsor { color: #202124; font-weight: 700; }
.ds-title { color: #1A0DAB; font-size: 1.05rem; }
.ds-desc { color: #4D5156; }
.ds-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.ds-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid #DADCE0; border-radius: 999px; color: #1A73E8; font-size: .78rem; font-weight: 600; }
.ds-btn .icon { width: 15px; height: 15px; }
.ds-ghost { gap: .45rem; opacity: .3; }
.ds-ghost i { display: block; height: .55rem; border-radius: 4px; background: #C9CDD2; }
.ds-ghost i:nth-child(1) { width: 38%; }
.ds-ghost i:nth-child(2) { width: 88%; }
.ds-ghost i:nth-child(3) { width: 64%; }

/* Booking: a free slot gets picked and confirmed */
.demo-book { display: grid; gap: .65rem; padding: 1rem; border-radius: 16px; background: #fff; }
.db-days, .db-times { display: grid; gap: .35rem; }
.db-days { grid-template-columns: repeat(6, 1fr); }
.db-times { grid-template-columns: repeat(4, 1fr); }
.db-days span, .db-times span { padding: .45rem 0; border-radius: 10px; font-size: .78rem; font-weight: 600; text-align: center; }
.db-days span { color: #6B7280; }
.db-days .on { background: #111; color: #fff; }
.db-times span { background: #F1F1F3; }
.db-times .taken { background: #F7F7F8; color: #9CA3AF; text-decoration: line-through; }
.db-times .pick { background: var(--accent); color: var(--accent-ink); }
.db-done { display: flex; align-items: center; gap: .4rem; color: #1F7A55; font-size: .8rem; font-weight: 600; }
.db-done .icon { width: 16px; height: 16px; stroke-width: 2.25; }

/* Website: the page builds itself block by block */
.demo-web { overflow: hidden; border-radius: 16px; background: #fff; }
.dw-url { display: flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-bottom: 1px solid #EEE; color: #6B7280; font-size: .75rem; }
.dw-url .icon { width: 13px; height: 13px; }
.dw-page { display: grid; gap: .45rem; padding: .85rem; }
.dw-page > span { display: block; height: .5rem; border-radius: 4px; background: #E5E7EB; transform-origin: left; }
.dw-page .dw-hero { height: 2.6rem; border-radius: 8px; background: var(--accent); }
.dw-page .w70 { width: 70%; }
.dw-page .w45 { width: 45%; }
.dw-page .dw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; height: auto; background: none; }
.dw-cols b { display: block; height: 1.6rem; border-radius: 6px; background: #F1F1F3; }

/* Instagram post that gets a like */
.demo-post { overflow: hidden; border-radius: 16px; background: #fff; font-size: .8rem; }
.dp-head { display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; }
.dp-head small { display: block; color: #6B7280; font-size: .7rem; }
.dp-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #17130E; color: #F2E8D5; font-size: .7rem; font-weight: 700; }
.dp-img { display: grid; place-items: center; aspect-ratio: 16 / 8; background: #17130E; color: #F2E8D5; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-style: italic; }
.dp-foot { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; }
.dp-foot .icon { width: 20px; height: 20px; }
.dp-heart { color: #ED4956; fill: #ED4956; }
.dp-cta { margin-left: auto; padding: .3rem .7rem; border-radius: 999px; background: #111; color: #fff; font-size: .72rem; font-weight: 600; }

/* Hosting status */
.demo-status { display: grid; gap: .5rem; }
.demo-status li { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: .9rem; font-weight: 500; }
.demo-status .icon { width: 18px; height: 18px; color: var(--accent); }
.ds-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Growth: light card with a monthly report and a link to the package */
.tile-growth { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile-growth .tile-tag { background: var(--paper); color: var(--accent); }
.tile-growth > p, .tile-growth .report-note { color: var(--inv-muted); }
.demo-report { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: .45rem; height: 88px; }
.demo-report span { height: calc(var(--h, .5) * 100%); border-radius: 6px 6px 2px 2px; background: var(--inv-line); transform-origin: bottom; }
.demo-report span:last-child { background: var(--inv-accent); }
.demo-report span:nth-child(1) { --h: .32; }
.demo-report span:nth-child(2) { --h: .4; }
.demo-report span:nth-child(3) { --h: .38; }
.demo-report span:nth-child(4) { --h: .55; }
.demo-report span:nth-child(5) { --h: .7; }
.demo-report span:nth-child(6) { --h: .92; }
.report-note { margin-top: .5rem; font-size: .78rem; }
.tile-go { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; color: var(--paper); font-weight: 650; text-decoration: none; }
.tile-go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tile-go:hover .icon { transform: translate(3px, -3px); }
.tile-growth :focus-visible { outline-color: var(--inv-accent); }

/* ---------- Site alone vs site + ads ---------- */
.section-follow { padding-top: 0; }
.compare { display: grid; gap: 1rem; }
.compare-col { display: grid; align-content: start; gap: 1.25rem; padding: 1.75rem; border-radius: var(--radius-lg); }
.compare-col h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.compare-col ul { display: grid; gap: .9rem; }
.compare-col li { display: flex; gap: .75rem; }
.compare-plain { background: var(--mist); color: var(--muted); }
.compare-plain h3 { color: var(--ink); }
.compare-mark { flex: none; width: 14px; height: 2px; margin-top: .75rem; background: var(--line-strong); border-radius: 2px; }
.compare-ours { border: 2px solid var(--ink); }
.compare-ours .icon { width: 22px; height: 22px; margin-top: .1rem; color: var(--accent); stroke-width: 2.25; }
.compare-ours .btn { justify-self: start; margin-top: .5rem; }

@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .compare-col { padding: 2.25rem; }
}

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; gap: 2.5rem; }
.steps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
  transform-origin: top;
}
.step { position: relative; padding-left: 2.75rem; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--mist);
}
.step:last-child::before { background: var(--accent); }
.step:last-child::after {
  /* dashed tail: growth keeps going */
  content: "";
  position: absolute;
  left: 7px;
  top: 1.6rem;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, var(--mist) 6px 12px);
}
.step-when { display: block; margin-bottom: .45rem; color: var(--accent); font-size: .9375rem; font-weight: 650; }
.step h3 { margin-bottom: .5rem; }
.step p { max-width: 30rem; color: var(--muted); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .step { padding: 2.75rem 0 0; }
  .step::before { top: 0; }
  .step:last-child::after {
    left: 1.6rem;
    right: calc(-1 * var(--gutter));
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 6px, var(--mist) 6px 12px);
  }
}

/* ---------- Portfolio ---------- */
.work-grid { display: grid; gap: 1.5rem; }
.work-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.work-body { padding: 1.5rem 1.5rem 1.75rem; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .6rem; color: var(--muted); font-size: .875rem; }
.tag {
  padding: .15rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
}
.work-card h3 { margin-bottom: .35rem; }
.work-card p:last-child { color: var(--muted); }

.work-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.work-cta p { font-size: var(--step-2); font-weight: 650; letter-spacing: -.02em; }

@media (min-width: 640px) and (max-width: 899px) {
  .work-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mini "screenshots" drawn in CSS (no image downloads) */
.shot {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  padding: 7% 8%;
  overflow: hidden;
  container-type: inline-size;
  line-height: 1.25;
}
.shot > * { font-size: 3.6cqi; } /* cqi = % of the mini-screen's width */
.shot-nav { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.shot-links { display: flex; gap: 2cqi; }
.shot-links i { display: block; width: 5cqi; height: 2px; background: currentColor; opacity: .5; }
.shot-title { max-width: 62%; margin-top: auto; font-size: 7.2cqi; line-height: 1.08; letter-spacing: -.02em; }
.shot-btn { align-self: flex-start; margin-top: 4cqi; padding: 1.8cqi 3.6cqi; font-size: 3.4cqi; font-weight: 600; }

.shot-barber { background: #17130E; color: #F2E8D5; }
.shot-barber .shot-nav, .shot-barber .shot-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.shot-barber .shot-title { font-style: italic; }
.shot-barber .shot-btn { border-radius: 3px; background: #C9A45C; color: #17130E; }
.sb-pole {
  position: absolute;
  right: 11cqi;
  top: 24%;
  width: 5cqi;
  height: 42%;
  border-radius: 3cqi;
  background: repeating-linear-gradient(150deg, #C8102E 0 2.5cqi, #F2E8D5 2.5cqi 5cqi, #1F4E9A 5cqi 7.5cqi, #F2E8D5 7.5cqi 10cqi);
  box-shadow: 0 0 0 1cqi #C9A45C;
}

.shot-pill { padding: 1cqi 3cqi; border: 1.5px solid currentColor; border-radius: 999px; font-size: 3cqi; }

/* Small price list / info card used inside the mini screens */
.shot-card {
  position: absolute;
  right: 8cqi;
  bottom: 8cqi;
  display: grid;
  gap: 2.2cqi;
  width: 40%;
  padding: 4cqi;
  border-radius: 3cqi;
  background: #fff;
  box-shadow: 0 2cqi 6cqi -2cqi rgba(0, 0, 0, .2);
  font-size: 3.3cqi;
}
.shot-card span { display: flex; justify-content: space-between; gap: 2cqi; }
.shot-card b { font-weight: 700; }

/* Beauty salon */
.shot-salon { background: #F6E7E3; color: #4B1F37; }
.shot-salon .shot-nav, .shot-salon .shot-title { font-family: Georgia, "Times New Roman", serif; }
.shot-salon .shot-title { max-width: 50%; font-style: italic; font-weight: 400; }
.shot-salon .shot-btn { border-radius: 999px; background: #4B1F37; color: #fff; }
.shot-salon .shot-card b { color: #A3416B; }

/* Pizza place */
.shot-pizza { background: #FFF1DC; color: #7A1C14; }
.shot-pizza .shot-nav { letter-spacing: .04em; }
.shot-pizza .shot-title { max-width: 58%; color: #B3261E; font-weight: 800; letter-spacing: -.035em; }
.shot-pizza .shot-btn { border-radius: 999px; background: #B3261E; color: #fff; }
.sp-pizza {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, #8E1B12 0 6%, transparent 6.5%),
    radial-gradient(circle at 62% 28%, #8E1B12 0 5.5%, transparent 6%),
    radial-gradient(circle at 46% 60%, #8E1B12 0 6%, transparent 6.5%),
    radial-gradient(circle at 70% 58%, #8E1B12 0 5%, transparent 5.5%),
    radial-gradient(circle at 28% 62%, #3F7A3A 0 3%, transparent 3.5%),
    radial-gradient(circle, #E3452F 0 60%, #F4CB78 61% 70%, #D59A47 71%);
}

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.25rem; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
/* Highlighted package (Growth): black card with a rose outline */
.plan-featured {
  border: 2px solid var(--accent);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 16%, transparent), 0 28px 56px -30px rgba(0, 0, 0, .55);
}
.plan-featured .plan-key { color: var(--paper); font-weight: 650; }
.plan-featured .btn-primary { background: var(--paper); color: var(--accent); }
.plan-featured .btn-primary:hover { background: color-mix(in oklab, var(--paper) 85%, var(--ink)); }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.plan h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.plan-badge {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--highlight-ink);
  font-size: .8125rem;
  font-weight: 600;
}
.plan-for { color: var(--muted); }
.plan-featured .plan-for,
.plan-featured .price-label { color: var(--inv-muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; }
.price-main {
  font-size: clamp(2.5rem, 2.1rem + 1.6vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-label { color: var(--muted); font-size: .9375rem; }
.price-monthly { margin-top: .5rem; font-weight: 600; }
.plan-list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: .7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.plan-featured .plan-list { border-top-color: var(--inv-line); }
.plan-list li { display: flex; gap: .65rem; }
.plan-list .icon { width: 20px; height: 20px; margin-top: .2rem; color: var(--accent); stroke-width: 2.25; }
.plan-featured .plan-list .icon { color: var(--inv-accent); }
.plan .btn { width: 100%; }
.plan-featured .btn-primary:focus-visible { outline-color: var(--paper); }
.plans-note { max-width: 42rem; margin-top: 1.75rem; color: var(--muted); font-size: .9375rem; }

@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; padding-block: 1.25rem; }
  .plan { padding: 2.25rem 2rem; }
  /* Growth card sits a little taller than the others (the padding above makes room) */
  .plan-featured { margin-block: -1.25rem; padding-block: 3.5rem; }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 3rem; }
.founder { display: grid; gap: 1.4rem; max-width: 34rem; margin-top: 2rem; }
.founder-head { display: flex; align-items: center; gap: 1.1rem; }
.founder-photo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-hi { font-size: 1.3rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.founder-role { margin-top: .25rem; color: var(--inv-muted); font-size: .9375rem; }
.founder-text { display: grid; gap: .85rem; color: #D3DFD8; font-size: 1.0625rem; line-height: 1.6; }
.call-card {
  display: inline-flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: 2.25rem;
  padding: 1.25rem 1.6rem;
  border: 1px solid var(--inv-line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s;
}
.call-card:hover { border-color: var(--inv-accent); }
.call-card small { color: var(--inv-muted); font-size: .9375rem; }
.call-card strong {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--inv-line);
}
.why-item:last-child { border-bottom: 1px solid var(--inv-line); }
.why-item .icon { width: 28px; height: 28px; color: var(--inv-accent); }
.why-item h3 { margin-bottom: .35rem; font-size: 1.25rem; }
.why-item p { color: var(--inv-muted); }

@media (min-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq-item summary:hover .icon { color: var(--ink); }
.faq-a { max-width: 40rem; padding-bottom: 1.5rem; color: var(--muted); }

/* Smooth open/close where the browser supports it */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height .35s var(--ease), content-visibility .35s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 5rem; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- Contact: three big ways to reach you ---------- */
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .25s, transform .35s var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.cc-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.4rem;
  border-radius: 18px;
  background: var(--accent);
  color: var(--accent-ink);
}
.cc-ic .icon { width: 26px; height: 26px; }
.cc-label { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; }
.cc-value { color: var(--accent); font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.cc-hint { margin-top: .4rem; color: var(--muted); font-size: .9375rem; }

@media (min-width: 900px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 3rem 2rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand p { margin-top: .6rem; color: var(--muted); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-nav a,
.footer-bottom a {
  display: inline-block;
  padding-block: .35rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-bottom a:hover { color: var(--ink); }
.footer-seo { max-width: 52rem; margin-top: 2rem; color: var(--muted); font-size: .875rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

/* =====================================================================
   MOTION
   Every movement shows something about the offer: the headline arrives
   like a film title, the booking happens on the phone, the "days" timeline
   fills as you read it, the offer price gets struck through.
   All of it is switched off for people who ask their device for less motion.
   ===================================================================== */
:root { --ease-out-expo: cubic-bezier(.16, 1, .3, 1); }

/* ---------- Hero: one staged entrance ---------- */
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes title-up { from { transform: translateY(104%); } }
@keyframes bloom-grow { from { opacity: 0; transform: scale(.55); } }
@keyframes phone-up { from { opacity: 0; transform: translateY(80px); } }

/* The headline slides up from behind its own edge (room is left for accents and descenders) */
.hero h1 { overflow: hidden; padding-block: .08em .16em; margin-block: -.08em -.16em; }
.h1-in { display: block; animation: title-up 1.15s var(--ease-out-expo) .1s both; }
.hero-place { animation: rise .8s var(--ease) both; }
.hero .lead { animation: rise .9s var(--ease) .4s both; }
.hero-actions { animation: rise .9s var(--ease) .55s both; }
.hero-note { animation: rise .9s var(--ease) .7s both; }
.bloom { animation: bloom-grow 1.5s var(--ease-out-expo) .2s both; }
.phone { animation: phone-up 1.3s var(--ease-out-expo) .45s both; }
.hero-try { animation: rise .9s var(--ease) 1.8s both; }

/* ---------- Statement: opens to full width, words light up as you scroll ---------- */
.statement {
  padding-block: clamp(5rem, 13vw, 10.5rem);
  background: var(--ink);
  color: var(--paper);
  /* --open goes 0 → 1 while it scrolls in (set by js/main.js) */
  clip-path: inset(0 calc((1 - var(--open, 1)) * 6vw) round calc((1 - var(--open, 1)) * 44px));
}
.statement-text {
  max-width: 15ch;
  font-size: clamp(2.4rem, 1.15rem + 5.4vw, 6.5rem);
  font-weight: 750;
  letter-spacing: -.048em;
  line-height: 1.02;
  text-wrap: balance;
}
.statement-text .w { color: #6D8579; transition: color .35s var(--ease); }
.statement-text .w.is-lit { color: var(--paper); }

/* ---------- Section reveals ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; translate: none; }

/* Grids: the cards arrive one after another */
@keyframes arrive { from { opacity: 0; translate: 0 44px; } }
.js .reveal.stagger { opacity: 1; translate: none; }
.js .reveal.stagger > * { opacity: 0; }
.js .reveal.stagger.is-in > * { opacity: 1; animation: arrive 1s var(--ease-out-expo) both; }
.js .reveal.stagger.is-in > :nth-child(2) { animation-delay: .12s; }
.js .reveal.stagger.is-in > :nth-child(3) { animation-delay: .24s; }
.js .reveal.stagger.is-in > :nth-child(4) { animation-delay: .36s; }

/* ---------- Services bento: each little screen acts out its service once ---------- */
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } }
@keyframes pick-in { from { background: #F1F1F3; color: #111; } }
@keyframes build { from { transform: scaleX(0); } }
@keyframes grow-up { from { transform: scaleY(0); } }
@keyframes like { from { fill: transparent; color: #111; } 55% { transform: scale(1.3); } }
.bento.is-in .ds-query { animation: type-in 1.1s steps(20, end) .5s both; }           /* someone searches */
.bento.is-in .ds-ad { animation: arrive .9s var(--ease-out-expo) 1.6s both; }          /* your ad comes up */
.bento.is-in .db-times .pick { animation: pick-in .4s var(--ease) 1.1s both; }         /* a slot is booked */
.bento.is-in .db-done { animation: rise .7s var(--ease) 1.5s both; }
.bento.is-in .dw-page > span { animation: build .7s var(--ease-out-expo) .5s both; }   /* the page builds */
.bento.is-in .dw-page > span:nth-child(2) { animation-delay: .7s; }
.bento.is-in .dw-page > span:nth-child(3) { animation-delay: .85s; }
.bento.is-in .dw-page > span:nth-child(4) { animation-delay: 1s; }
.bento.is-in .dp-heart { transform-box: fill-box; animation: like .6s var(--ease) 1.4s both; } /* a like */
.bento.is-in .demo-report span { animation: grow-up .8s var(--ease-out-expo) .6s both; }  /* calls go up */
.bento.is-in .demo-report span:nth-child(2) { animation-delay: .68s; }
.bento.is-in .demo-report span:nth-child(3) { animation-delay: .76s; }
.bento.is-in .demo-report span:nth-child(4) { animation-delay: .84s; }
.bento.is-in .demo-report span:nth-child(5) { animation-delay: .92s; }
.bento.is-in .demo-report span:nth-child(6) { animation-delay: 1s; }

/* ---------- How it works: the line fills in as you read down the steps ---------- */
.js .steps.reveal::before { transform: scaleY(0); transition: transform 1.1s .2s var(--ease); }
.js .steps.reveal.is-in::before { transform: none; }
.steps::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(var(--fill, 0)); /* set by js/main.js */
  transform-origin: top;
}
.step:last-child::after { z-index: 1; }
.step::before { transition: background-color .45s var(--ease), transform .45s var(--ease); }
.js .step.is-passed::before { background: var(--accent); transform: scale(1.2); }
@media (min-width: 900px) {
  .js .steps.reveal::before { transform: scaleX(0); }
  .js .steps.reveal.is-in::before { transform: none; }
  .steps::after { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; transform: scaleX(var(--fill, 0)); transform-origin: left; }
}

/* ---------- Pricing: the regular price gets struck through once the cards arrive ---------- */
.price-old [data-price-regular] { position: relative; }
.price-old [data-price-regular]::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 54%;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transition: transform .6s var(--ease) .8s;
}
.plan-featured .price-old [data-price-regular]::after { background: var(--inv-accent); }
.js .plans:not(.is-in) .price-old [data-price-regular]::after { transform: scaleX(0); }

/* ---------- Work: a slow camera push-in on the mini site when you point at a card ---------- */
@media (hover: hover) and (pointer: fine) {
  .shot { transition: transform 1.4s var(--ease); }
  .work-card:hover .shot { transform: scale(1.045); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .reveal.stagger > * { opacity: 1; translate: none; animation: none; }
  .js .steps.reveal::before { transform: none; }
  .statement { clip-path: none; }
}

/* ---------- 404 page ---------- */
.not-found { min-height: 100vh; display: grid; align-items: center; }
.not-found .container { display: grid; justify-items: start; gap: 1.25rem; max-width: 40rem; }
.not-found h1 { margin-top: 1.5rem; font-size: var(--step-4); }
.not-found p { color: var(--muted); }
