/* Archivo, self-hosted (SIL Open Font License, fonts/OFL.txt): the exact variable files and
   @font-face rules Google Fonts serves, so widths 62-125% and weights 100-900 work as before. */
/* italic vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* italic latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* italic latin */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* normal vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* normal latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* normal latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Roger’s Website Dev Shack: the page is a printer’s proof sheet.
   Four process inks, one paper, one bench. Magenta ink is reserved for actions. */

:root {
  /* Paper and bench */
  --paper: #ffffff;
  --bench: #e3e5e7;
  --rule: rgb(35 31 32 / 0.16);
  --rule-strong: rgb(35 31 32 / 0.85);

  /* Process inks (screen values) */
  --ink: #231f20;          /* process black */
  --ink-2: #4b4648;        /* secondary text, 9:1 on paper */
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #fff200;

  /* Darker inks for text and actions, AA on paper */
  --magenta-ink: #c2006f;
  --magenta-press: #9e005a;
  --cyan-ink: #006ea6;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --step-4: clamp(2.875rem, 1.2rem + 6.4vw, 6rem);

  /* Space */
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --section: clamp(5rem, 3rem + 7vw, 9.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
  accent-color: var(--magenta-ink);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  interpolate-size: allow-keywords;
  scrollbar-color: var(--ink) var(--bench);
}

body {
  margin: 0;
  background: var(--bench);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--magenta-ink);
}

::selection { background: var(--yellow); color: var(--ink); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bench); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--bench); border-radius: 12px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

/* ---------- The sheet ---------- */
.sheet {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  background: var(--paper);
}

.crop { display: none; }

@media (min-width: 1440px) {
  body { padding: 3.5rem 0 4.5rem; }
  .sheet {
    box-shadow: 0 1px 2px rgb(35 31 32 / 0.06), 0 24px 60px -30px rgb(35 31 32 / 0.28);
  }
  .crop {
    display: block;
    position: absolute;
    width: 28px;
    height: 28px;
    pointer-events: none;
  }
  /* Each trim mark is two hairlines set off the corner, like on a press sheet */
  .crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
  .crop::before { width: 22px; height: 1px; }
  .crop::after { width: 1px; height: 22px; }
  .crop--tl { top: -36px; left: -36px; }
  .crop--tl::before { top: 35px; left: 0; } .crop--tl::after { left: 35px; top: 0; }
  .crop--tr { top: -36px; right: -36px; }
  .crop--tr::before { top: 35px; right: 0; } .crop--tr::after { right: 35px; top: 0; }
  .crop--bl { bottom: -36px; left: -36px; }
  .crop--bl::before { bottom: 35px; left: 0; } .crop--bl::after { left: 35px; bottom: 0; }
  .crop--br { bottom: -36px; right: -36px; }
  .crop--br::before { bottom: 35px; right: 0; } .crop--br::after { right: 35px; bottom: 0; }
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  transition: box-shadow 0.3s var(--ease-out);
}
.masthead.is-stuck { box-shadow: 0 1px 0 var(--rule), 0 8px 24px -18px rgb(35 31 32 / 0.35); }

.colorbar { display: flex; height: 6px; }
.colorbar i { flex: 1; background: var(--c); }
/* Four process inks at full, half and fifth strength (set here, not in style="",
   so the Content-Security-Policy can refuse inline styles) */
.colorbar i:nth-child(4n+1) { --c: var(--cyan); }
.colorbar i:nth-child(4n+2) { --c: var(--magenta); }
.colorbar i:nth-child(4n+3) { --c: var(--yellow); }
.colorbar i:nth-child(4n)   { --c: var(--ink); }
.colorbar i:nth-child(n+5)  { opacity: .5; }
.colorbar i:nth-child(n+9)  { opacity: .2; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.875rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__mark { width: 28px; height: 28px; flex: none; transition: transform 0.6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__name {
  font-weight: 750;
  font-stretch: 112%;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.nav__links { display: none; gap: 0.25rem; }
.nav__links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}
@media (hover: hover) { .nav__links a:hover { background: rgb(35 31 32 / 0.06); } }

@media (min-width: 960px) { .nav__links { display: flex; } }
@media (max-width: 420px) { .brand__name { font-size: 0.9375rem; } }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--magenta-ink);
  border-radius: 6px;
  background: var(--magenta-ink);
  color: #fff;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 1px 0 rgb(35 31 32 / 0.15), 0 6px 16px -8px rgb(194 0 111 / 0.55);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}
@media (hover: hover) {
  .btn:hover { background: var(--magenta-press); border-color: var(--magenta-press); }
}
.btn:active { transform: translateY(1px) scale(0.985); box-shadow: 0 0 0 rgb(0 0 0 / 0); }

.btn--small { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9375rem; white-space: nowrap; flex: none; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}
@media (hover: hover) {
  .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
}

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--magenta);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
@media (hover: hover) { .link:hover { color: var(--magenta-ink); text-decoration-color: currentColor; } }
.link--button { background: none; border: 0; padding: 0.5rem 0; cursor: pointer; }

.fine { font-size: var(--step--1); color: var(--ink-2); line-height: 1.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* the next section brings its own top space: no double gap under the hero */
  padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter) clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

/* ---------- 3D model: the registration mark, machined ---------- */
.hero__model {
  position: relative;
  width: clamp(150px, 42vw, 220px);
  aspect-ratio: 1;
  margin: -1.5rem 0 0.75rem -0.75rem;
}
.hero__model canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.hero__model.is-live canvas { opacity: 1; }
/* a soft contact shadow on the paper under the object */
.hero__model::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 3%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(35 31 32 / 0.22), transparent);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 0.6s;
  pointer-events: none;
}
.hero__model.is-live::after { opacity: 1; }

.regmark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30%;
  height: 30%;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.hero__model.is-live .regmark { opacity: 0; }

@media (min-width: 1000px) {
  .hero__model {
    position: absolute;
    top: clamp(0.5rem, -1rem + 2vw, 1.5rem);
    right: var(--gutter);
    width: clamp(220px, 22vw, 300px);
    margin: 0;
  }
}

/* ---------- Greeting ---------- */
.intro { display: none; }
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  cursor: pointer;
}
.intro-done .intro { display: none; }
.has-intro:not(.intro-done) { overflow: hidden; }

.intro__paper {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--ink) 75%) top / 100% 6px no-repeat,
    var(--paper);
}
.intro__lockup {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}
.intro__mark {
  width: clamp(72px, 9vw, 104px);
  height: auto;
  aspect-ratio: 1;
  color: var(--ink);
  overflow: visible;
  transform-origin: 0 0;
}
.intro__ring, .intro__line-v, .intro__line-h { stroke-dasharray: 1; stroke-dashoffset: 0; }
.intro__dot { transform-box: fill-box; transform-origin: center; }

/* same settings as .brand__name so the flight lands on it exactly */
.intro__name {
  font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3rem);
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
  transform-origin: 0 0;
}
.intro__tag { font-size: var(--step-0); color: var(--ink-2); }

.has-intro .intro__ring   { animation: draw 0.75s var(--ease-out) 0.1s both; }
.has-intro .intro__line-v { animation: draw 0.6s var(--ease-out) 0.3s both; }
.has-intro .intro__line-h { animation: draw 0.6s var(--ease-out) 0.38s both; }
.has-intro .intro__dot    { animation: dot-in 0.45s var(--ease-out) 0.62s both; }
.has-intro .intro__name   { animation: name-print 0.9s var(--ease-out) 0.45s both; }
.has-intro .intro__tag    { animation: fade-in 0.6s var(--ease-out) 0.8s both; }
.intro.is-flying .intro__ring,
.intro.is-flying .intro__line-v,
.intro.is-flying .intro__line-h,
.intro.is-flying .intro__dot,
.intro.is-flying .intro__name { animation: none; }

@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes dot-in { from { opacity: 0; transform: scale(0.4); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes name-print {
  0% {
    opacity: 0;
    text-shadow: -0.14em -0.06em 0 rgb(0 174 239 / 0.85), 0.12em 0.05em 0 rgb(236 0 140 / 0.85), -0.04em 0.12em 0 rgb(255 242 0 / 0.95);
  }
  30% { opacity: 1; }
  100% {
    opacity: 1;
    text-shadow: 0 0 0 rgb(0 174 239 / 0), 0 0 0 rgb(236 0 140 / 0), 0 0 0 rgb(255 242 0 / 0);
  }
}

/* The top bar's own mark is hidden until the greeting lands on it */
.has-intro:not(.intro-done) .masthead .brand__mark { visibility: hidden; }
.has-intro:not(.intro-done) .masthead .brand__name { opacity: 0; }

/* The hero's own entrance waits for the greeting to finish */
.has-intro:not(.intro-done) .hero__title,
.has-intro:not(.intro-done) .plate,
.has-intro:not(.intro-done) .press__tilt,
.has-intro:not(.intro-done) .sep { animation-play-state: paused; }

/* The signature: the headline prints in four plates that pull into register on load */
.hero__title-wrap {
  position: relative;
  font-size: var(--step-4);
  max-width: 13ch;
  isolation: isolate;
}
.hero__title,
.plate {
  display: block;
  font-size: var(--step-4);
  font-weight: 820;
  font-stretch: 108%;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title { position: relative; z-index: 1; color: var(--ink); }
.plate {
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}
.plate--c { color: var(--cyan); }
.plate--m { color: var(--magenta); }
.plate--y { color: var(--yellow); }

@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: key-in 0.7s var(--ease-out) 0.85s both; }
  .plate--c { animation: register-c 1.35s var(--ease-out) 0.1s both; }
  .plate--m { animation: register-m 1.35s var(--ease-out) 0.1s both; }
  .plate--y { animation: register-y 1.35s var(--ease-out) 0.1s both; }
}

@keyframes key-in { from { opacity: 0.08; } to { opacity: 1; } }
@keyframes register-c {
  0% { opacity: 1; transform: translate(-0.09em, -0.05em); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}
@keyframes register-m {
  0% { opacity: 1; transform: translate(0.07em, 0.035em); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}
@keyframes register-y {
  0% { opacity: 1; transform: translate(-0.03em, 0.08em); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}

.hero__body {
  display: grid;
  gap: 3.5rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.lede {
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  max-width: 36ch;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.hero__pitch .fine { margin-top: 1.25rem; max-width: 40ch; }

@media (min-width: 1080px) {
  .hero__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 3rem;
  }
  /* the pitch and its button stay in view while the tall mockup scrolls past */
  .hero__pitch { padding-top: 0.5rem; position: sticky; top: 7rem; }
}

/* ---------- The proof (phone mockup with margin notes) ---------- */
.proof { margin: 0; }
.proof__caption {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.625rem;
}

.proof__types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 2rem;
}
.proof__types button {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
@media (hover: hover) { .proof__types button:hover { background: rgb(35 31 32 / 0.06); } }
.proof__types button:active { transform: scale(0.96); }
.proof__types button[aria-checked="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.proof__stage {
  position: relative;
  display: grid;
  gap: 2rem;
  justify-items: center;
}

/* ---------- 3D press: the phone assembles from its ink separations, then follows the pointer ---------- */
.press {
  position: relative;
  width: min(300px, 100%);
  perspective: 1100px;
  perspective-origin: 50% 40%;
}
.press__tilt {
  position: relative;
  transform-style: preserve-3d;
}
.sep {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  opacity: 0;
  pointer-events: none;
  transform: rotate(-1.5deg);
}
.sep--c { background: var(--cyan); }
.sep--m { background: var(--magenta); }
.sep--y { background: var(--yellow); }

@media (prefers-reduced-motion: no-preference) {
  /* fill: backwards only, so the pointer tilt owns the transform once this ends */
  .press__tilt { animation: press-in 1.5s var(--ease-out) 0.2s backwards; }
  .sep--c { animation: sep-c 1.5s var(--ease-out) 0.2s both; }
  .sep--m { animation: sep-m 1.5s var(--ease-out) 0.26s both; }
  .sep--y { animation: sep-y 1.5s var(--ease-out) 0.32s both; }
}
@keyframes press-in {
  from { transform: rotateX(24deg) rotateY(-30deg) rotateZ(4deg) scale(0.94); }
}
@keyframes sep-c {
  0%   { opacity: 0.92; transform: translate3d(16px, 12px, -70px) rotate(-1.5deg); }
  70%  { opacity: 0.92; }
  100% { opacity: 0; transform: translate3d(0, 0, -2px) rotate(-1.5deg); }
}
@keyframes sep-m {
  0%   { opacity: 0.92; transform: translate3d(32px, 24px, -140px) rotate(-1.5deg); }
  70%  { opacity: 0.92; }
  100% { opacity: 0; transform: translate3d(0, 0, -3px) rotate(-1.5deg); }
}
@keyframes sep-y {
  0%   { opacity: 0.92; transform: translate3d(48px, 36px, -210px) rotate(-1.5deg); }
  70%  { opacity: 0.92; }
  100% { opacity: 0; transform: translate3d(0, 0, -4px) rotate(-1.5deg); }
}

.phone__glare {
  position: absolute;
  inset: -40%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / 0.5) 50%, transparent 62%);
  mix-blend-mode: soft-light;
}

.phone {
  --mock: #7a1f2b;
  --mock-soft: #f4e9e6;
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 600;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow:
    0 2px 3px rgb(35 31 32 / 0.2),
    0 30px 60px -28px rgb(35 31 32 / 0.55);
  transform: rotate(-1.5deg);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #fff;
  padding: 2.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.phone__screen::before { /* the speaker notch */
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 18px;
  translate: -50% 0;
  background: var(--ink);
  border-radius: 10px;
}
.phone__screen.is-swapping { opacity: 0; filter: blur(3px); }

.m-bar { display: flex; align-items: center; gap: 0.5rem; }
.m-logo {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--mock);
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
}
.m-name { font-weight: 700; font-stretch: 105%; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-menu { width: 18px; height: 18px; color: var(--ink); }

.m-photo {
  flex: 1 1 auto;
  min-height: 120px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--mock);
  font-size: 0.75rem;
  font-weight: 600;
  background:
    /* the layout-room "photo goes here" box: a frame crossed corner to corner */
    linear-gradient(to top right, transparent calc(50% - 0.6px), rgb(35 31 32 / 0.18) 50%, transparent calc(50% + 0.6px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.6px), rgb(35 31 32 / 0.18) 50%, transparent calc(50% + 0.6px)),
    var(--mock-soft);
}
.m-photo span { background: rgb(255 255 255 / 0.85); padding: 0.375rem 0.625rem; border-radius: 4px; line-height: 1.2; }

.m-head {
  font-size: 1.1875rem;
  font-weight: 780;
  font-stretch: 104%;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.m-cta { position: relative; }
.m-btn {
  display: block;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: var(--mock);
  color: #fff;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: filter 0.15s ease, background-color 0.15s ease, transform 0.12s var(--ease-out);
}
@media (hover: hover) {
  .m-btn:hover { filter: brightness(0.86); }
  .m-btn--ghost:hover { filter: none; background: var(--mock-soft); }
}
.m-btn:active { transform: scale(0.97); }
.m-btn:focus-visible { outline: 2.5px solid var(--cyan-ink); outline-offset: 2px; }
.m-btn--ghost { background: transparent; color: var(--mock); box-shadow: inset 0 0 0 1.5px var(--mock); }

/* The proofreader’s ring around the main action */
.m-circle {
  position: absolute;
  inset: -12px -10px;
  width: calc(100% + 20px);
  height: calc(100% + 24px);
  overflow: visible;
  pointer-events: none;
}
.m-circle path {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 2.25;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.phone.is-drawing .m-circle path { animation: draw-ring 0.6s var(--ease-in-out) both; }
@keyframes draw-ring { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.m-info {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgb(35 31 32 / 0.12);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 550;
}
.m-info span { display: inline-flex; align-items: center; gap: 0.3rem; }
.m-info svg { width: 14px; height: 14px; color: var(--mock); }

/* Margin notes, in proofreader’s magenta */
.notes {
  display: grid;
  gap: 0.75rem;
  width: min(300px, 100%);
  counter-reset: note;
}
.note {
  counter-increment: note;
  position: relative;
  padding-left: 2.25rem;
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--magenta-ink);
}
.note::before {
  content: counter(note);
  position: absolute;
  left: 0;
  top: -0.05rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Side notes only when the proof itself has room for phone + a readable note column */
.proof { container-type: inline-size; }
@container (min-width: 34rem) {
  .proof__stage {
    grid-template-columns: 300px 15rem;
    justify-content: start;
    align-items: stretch;
    gap: 0;
  }
  .press { width: 300px; }
  .notes { position: relative; width: 15rem; display: block; }
  .note {
    position: absolute;
    left: 2.75rem;
    width: 12.25rem;
    padding-left: 0;
    transform: translateY(-50%);
  }
  .note::before { display: none; }
  /* Leader lines reach back into the phone */
  .note::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 0.5rem);
    width: 3.5rem;
    height: 0;
    border-top: 1.5px solid var(--magenta);
  }
  .note--a { top: 10%; }
  .note--b { top: 77%; }
  .note--c { top: 93.5%; }
}

@media (min-width: 1080px) {
  .proof { padding-left: clamp(0rem, -6rem + 8vw, 4rem); }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section) var(--gutter) 0;
}
.section__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section h2 {
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.03em;
}
.section__intro {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
}
@media (min-width: 900px) {
  .section__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
    gap: 3rem;
  }
}

/* ---------- What we build: three plates ---------- */
.plates { border-top: 2px solid var(--ink); }
.plate-row {
  display: grid;
  gap: 0.75rem 3rem;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--rule);
}
.plate-row--c { --ink-c: var(--cyan); }
.plate-row--m { --ink-c: var(--magenta); }
.plate-row--y { --ink-c: var(--yellow); }
.plate-row h3 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: var(--step-2);
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.dot {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--ink-c);
  box-shadow: inset 0 0 0 1px rgb(35 31 32 / 0.12);
}
.plate-row p { max-width: 58ch; }
.plate-row__eg { font-size: 0.9375rem; color: var(--ink-2); }

@media (min-width: 900px) {
  .plate-row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.5fr);
    align-items: baseline;
    padding: 2.5rem 0 2.75rem;
  }
  .plate-row h3 { align-self: start; }
  .plate-row__eg { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 2.5rem;
}
.step { position: relative; display: grid; gap: 0.75rem; align-content: start; }
.step__num {
  font-size: clamp(4rem, 3rem + 3vw, 6rem);
  font-weight: 300;
  font-stretch: 75%;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: var(--step-2);
  font-weight: 740;
  font-stretch: 106%;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.step p { color: var(--ink-2); max-width: 38ch; }

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .step { padding: 0 2rem 0 0; }
  .step + .step { padding-left: 2rem; border-left: 1px solid var(--rule); }
}

/* ---------- Pricing: one quote sheet, three columns ---------- */
.price-sheet {
  display: grid;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
}
.price + .price { border-top: 1px solid var(--rule-strong); }
.price__name {
  font-size: var(--step-1);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}
.price__amount {
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.price__from {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  vertical-align: 0.9em;
  margin-right: 0.15em;
}
.price__fee { margin-top: -0.25rem; font-size: 0.9375rem; font-weight: 550; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
.price__desc { color: var(--ink-2); }
.ticks { display: grid; gap: 0.5rem; margin-bottom: 0.75rem; }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.3em;
  width: 1rem;
  height: 0.85rem;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 7.5l4 4L14.5 2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1.5 7.5l4 4L14.5 2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price .btn { margin-top: auto; }

/* The plan most businesses need is marked the way a proofreader would mark it */
.price--marked { background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 100% 6px no-repeat, var(--paper); }
.price--marked .price__name {
  align-self: flex-start;
  background: linear-gradient(transparent 55%, rgb(255 242 0 / 0.9) 55%);
  padding: 0 0.15em;
  margin-left: -0.15em;
}

@media (min-width: 900px) {
  .price-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price + .price { border-top: 0; border-left: 1px solid var(--rule-strong); }
}

/* ---------- FAQ ---------- */
.faq__list { border-top: 2px solid var(--ink); max-width: 64rem; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
.qa summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .qa summary:hover { color: var(--magenta-ink); } }
.qa__icon {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.35s var(--ease-out);
}
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__a { padding: 0 3rem 1.75rem 0; }
.qa__a p { max-width: 64ch; color: var(--ink-2); }

/* Smooth open where the browser supports animating details */
.qa::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 3rem;
  padding-bottom: var(--section);
}
.contact__intro { display: grid; gap: 1.25rem; align-content: start; }
.contact__intro p { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.contact__intro .contact__alt { font-size: var(--step-0); }

@media (min-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .contact__intro { position: sticky; top: 7rem; }
}

.signoff {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--paper);
}

.form {
  display: grid;
  gap: 1.375rem 1.5rem;
}
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form__foot { grid-column: 1 / -1; }
}

.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--ink-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid rgb(35 31 32 / 0.55);
  border-radius: 6px;
  background: var(--paper);
  font-size: 1rem; /* 16px keeps iOS from zooming */
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field ::placeholder { color: #6e686a; opacity: 1; }
@media (hover: hover) {
  .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--cyan-ink);
}
.field [aria-invalid="true"] { border-color: var(--magenta-ink); background: #fff7fb; }

.field__err {
  min-height: 0;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--magenta-ink);
}
.field__err:empty { display: none; }

/* Type of business: pills like the mockup switcher, on real radio buttons */
.choice { display: grid; gap: 0.6rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 0.6rem; font-weight: 600; font-size: 0.9375rem; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.choice__opts label { position: relative; }
.choice__opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice__opts span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 550;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
@media (hover: hover) { .choice__opts input:hover + span { background: rgb(35 31 32 / 0.06); } }
.choice__opts input:active + span { transform: scale(0.96); }
.choice__opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice__opts input:focus-visible + span { outline: 2.5px solid var(--cyan-ink); outline-offset: 2px; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select svg {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  pointer-events: none;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
}
.form__foot .fine { max-width: 34ch; }
.form__err { flex-basis: 100%; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }
/* Spam trap: invisible to people and screen readers, filled in only by bots */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Thank-you, stamped like a signed-off proof */
.thanks {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1rem 0 0.5rem;
  outline: none;
  word-break: break-word;  /* Safari before 15.4 */
  overflow-wrap: anywhere; /* a long email or business name echoed back must not push the page sideways */
}
.thanks[hidden] { display: none; }
.thanks p { max-width: 46ch; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.thanks__title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.stamp {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 1rem 0.45rem;
  border: 3px solid var(--magenta-ink);
  border-radius: 6px;
  color: var(--magenta-ink);
  font-size: 1.5rem;
  font-weight: 850;
  font-stretch: 118%;
  letter-spacing: 0.01em;
  transform: rotate(-6deg);
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: no-preference) {
  .thanks:not([hidden]) .stamp { animation: stamp-down 0.45s var(--ease-out) both; }
  .thanks:not([hidden]) .thanks__title,
  .thanks:not([hidden]) p,
  .thanks:not([hidden]) .link { animation: settle 0.5s var(--ease-out) both; animation-delay: 0.18s; }
}
@keyframes stamp-down {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.6); filter: blur(2px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.foot {
  padding: 2.5rem var(--gutter) 2rem;
  border-top: 2px solid var(--ink);
  margin: 0 var(--gutter);
  padding-left: 0;
  padding-right: 0;
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.foot__row .brand { margin-right: 0; }
.foot__row p { color: var(--ink-2); font-size: 0.9375rem; margin-right: auto; }
.foot__legal { margin-top: 1.75rem; font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .phone { transform: none; }
  .sep, .phone__glare { display: none; }
}

.form[hidden] { display: none; }
