/* ==========================================================================
   Smick Bee — site.css
   A small-press zine the studio prints itself. Every page is a spread inked
   in spot colours; the apps are its numbered index.

   Material
     paper        #F7F7F2 bright riso stock under real turbulence grain
     inks         pink / blue / yellow, each its own multiply layer
     small type   double-struck blue #00388F
     misregister  2–4px drift between plates; hover pushes them further out
                  of register; prefers-reduced-motion locks them in register

   Stacking rule (do not break): ink plates blend with `mix-blend-mode`, so
   none of their ancestors may create a stacking context. Screenshots and the
   reading column sit above the grain layer (z-index 60) and need the same.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* the three spot inks and the paper they print on */
  --paper: #F7F7F2;
  --pink: #FF48B0;
  --blue: #0078BF;
  --yellow: #FFE800;
  --press: #00388F;   /* blue struck twice: all small type */
  --deep: #001F5C;    /* type that sits on the pink field (>= 5:1) */

  /* the inks in use on this page; app pages overwrite these on <body> */
  --ink-1: var(--pink);    /* field: the big cut shape */
  --ink-2: var(--blue);    /* key: display type, slabs, buttons */
  --ink-3: var(--yellow);  /* spot: number plates, tags, stickers */
  --on-key: var(--paper);

  /* masks and tiles */
  --m-ink: url("../svg/ink.svg");
  --m-dots: url("../svg/dots.svg");
  --m-dots-fine: url("../svg/dots-fine.svg");
  --m-bloom: url("../svg/halftone-bloom.svg");
  --m-grain: url("../svg/grain.svg");

  /* one spacing rhythm: a 4px base, doubled */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6rem;
  --gutter: clamp(1.25rem, 3.2vw, 3rem);
  --band: clamp(3rem, 6vw, 5.5rem);
  --max: 1760px;
  --measure: 66ch;

  /* type */
  --font: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.125rem;
  --fs-small: .9375rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + .45vw, 1.4rem);
  --fs-h3: clamp(1.5rem, 1.25rem + .8vw, 2rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(3rem, 1.4rem + 5.6vw, 6rem);

  /* ink slip: rest drift between plates, and how hard hover pushes them */
  --reg: 1;
  --dur: .18s;
  --out: cubic-bezier(.16, 1, .3, 1);

  /* cut-paper outlines: few vertices, never rounded */
  --cut-tab: polygon(30px 0, 100% 2px, 100% 100%, 2px calc(100% - 3px), 0 30px);
  --cut-btn: polygon(0 40%, 8.7% 0, 99% 6%, 100% 95%, 1.3% 100%);
  --cut-strip: polygon(0 30%, 100% 0, 100% 78%, 0 100%);
  --cut-plate: polygon(0 30px, 30px 0, 100% 0, 100% 100%, 3px 100%);
  --cut-field: polygon(1% 13.6%, 48.1% 0, 92.2% 1.1%, 89% 15.8%, 100% 19.8%, 99.2% 73.3%, 90.2% 99.2%, 29.5% 96.5%, 2.6% 100%, 0 55.6%);
  --cut-field-b: polygon(0 30%, 4.5% 0, 51% 7%, 97% 0, 100% 9%, 98.6% 100%, 40% 93%, 3% 100%);
  --cut-slab: polygon(2.9% 1.7%, 100% 0, 100% 100%, 1% 100%, 4.3% 66.1%, 0 31%);
  --cut-sticker: polygon(100% 50%, 91.7% 79.7%, 72.2% 100%, 52.6% 96.1%, 28.5% 82.2%, 0 50%, 13.9% 17.7%, 33.4% 3.6%, 54.1% 0, 80.9% 12.5%);
  --cut-mat: polygon(0 1.4%, 99.4% 0, 100% 98.6%, .6% 100%);
  --cut-tag: polygon(0 0, 94% 0, 100% 22%, 100% 100%, 0 100%);
}

@media (prefers-reduced-motion: reduce) {
  :root { --reg: 0; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--paper);
  color: var(--press);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--ink-2) var(--paper);
  scroll-padding-top: 1.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  position: relative;               /* anchors the grain layer; never a stacking context */
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  font-stretch: 100%;
  font-optical-sizing: auto;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--press);
  background: var(--paper);
  caret-color: var(--ink-2);
  accent-color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; display: block; }
main:focus { outline: none; }

/* paper tooth over every spread */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .62;
  background: var(--m-grain) 0 0 / 420px 420px;
}

::selection { background: var(--yellow); color: var(--press); }
:focus-visible { outline: 3px solid var(--press); outline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  z-index: 100;
  left: var(--s-4);
  top: var(--s-4);
  padding: var(--s-3) var(--s-5);
  background: var(--press);
  color: var(--paper);
  font-weight: 700;
  translate: 0 -200%;
}
.skip:focus { translate: 0 0; outline-color: var(--yellow); }

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

/* Display voice: Bricolage ExtraBold at 75% width, struck in one ink. */
.disp, h1, h2, h3 {
  font-stretch: 75%;
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); color: var(--ink-2); }
h2 { font-size: var(--fs-h2); color: var(--ink-2); }
h3 { font-size: var(--fs-h3); color: var(--ink-2); line-height: 1; }
h4 { font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
p { text-wrap: pretty; }

/* Ink dropout: speckle and mottle knocked out of display type and plates. */
.ink-type, h1, h2 {
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-ink) 0 0 / 640px 640px;
  mask: var(--m-ink) 0 0 / 640px 640px;
}

.num { font-variant-numeric: lining-nums tabular-nums; }

/* Underlined links in running text: the highlighter strip is a spot plate. */
.text-link, .prose a {
  color: var(--press);
  text-decoration: underline;
  text-decoration-color: var(--ink-2);
  text-decoration-thickness: .12em;
  text-underline-offset: .2em;
  background: linear-gradient(var(--ink-3), var(--ink-3)) 0 90% / 0 .55em no-repeat;
  transition: background-size var(--dur) var(--out);
}
.text-link:is(:hover, :focus-visible), .prose a:is(:hover, :focus-visible) {
  background-size: 100% .55em;
  text-decoration-color: var(--press);
}

/* ---------- 3. Ink plates and the slip ---------- */
/* One rule moves every plate: --rx/--ry is its rest drift, --hx/--hy how much
   further it slips when its owner is hovered or focused (owner sets --shift: 1). */
.plate,
.pull::before, .pull::after,
.promise__stamp::before,
.btn::after,
.index-line__nav a::before,
.tab__num::before, .tab__digits, .tab__tide::before, .tab__tide::after,
.cover__main::before, .cover__main::after,
.hero::before, .hero::after, .hero__plate,
.stamp--lg::before,
.mat__stage::before, .mat__stage::after,
.slab::before,
.rail::before,
.price::before,
.sticker::before,
.row__num::before,
.field__ctl::before,
.sent::before {
  translate:
    calc((var(--rx, 0px) + var(--hx, 0px) * var(--shift, 0)) * var(--reg, 1))
    calc((var(--ry, 0px) + var(--hy, 0px) * var(--shift, 0)) * var(--reg, 1));
  transition: translate var(--dur) var(--out), opacity .12s linear;
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Dividers are halftone bands, not rules: one row of ink-2 dots at the 45 degree screen. */
.rows > .row::before, .rows > .row:last-child::after,
.features__item::before, .feature-spread__titles li::before,
.faq__item::before, .faq__item:last-child::after {
  content: "";
  display: block;
  height: 10px;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-dots-fine) 0 0 / 8px 8px;
  mask: var(--m-dots-fine) 0 0 / 8px 8px;
}

/* ---------- 4. Index line (header) ---------- */
.index-line {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-1) var(--s-6);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.25rem var(--gutter) .75rem;
}
.page-home .index-line {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 70;                       /* over the cover, which follows it and would take its clicks */
  margin-inline: auto;
}
.index-line__mark {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .3rem 0;
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  letter-spacing: .07em;
  color: var(--ink-2);
}
.index-line__mark span { mix-blend-mode: multiply; }
.index-line__mark i {
  width: .5em; height: .5em;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: polygon(50% 0, 100% 26%, 96% 76%, 52% 100%, 4% 74%, 0 22%);
  translate: calc(-3px * var(--reg)) calc(2px * var(--reg));
}
.index-line__nav { display: flex; gap: clamp(1rem, 2.1vw, 1.9rem); }
.index-line__nav a {
  position: relative;
  isolation: isolate;
  display: block;
  padding: .35rem .2rem;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: .03em;
  line-height: 1.2;
  color: var(--press);
  --rx: -3px; --ry: 3px; --hx: 6px; --hy: -1px;
}
.index-line__nav a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .2rem -.45rem -.05rem;
  background: var(--ink-1);
  opacity: 0;
  clip-path: polygon(0 14%, 100% 0, 97% 100%, 2% 86%);
}
.index-line__nav a::after {
  content: "";
  position: absolute;
  left: -.15rem; right: -.15rem; bottom: -.05rem;
  height: 4px;
  background: var(--ink-2);
  clip-path: var(--cut-strip);
  opacity: 0;
}
.index-line__nav a:is(:hover, :focus-visible, [aria-current]) { color: var(--deep); --shift: 1; }
.index-line__nav a:is(:hover, :focus-visible, [aria-current])::before { opacity: 1; }
.index-line__nav a[aria-current]::after { opacity: 1; }
.index-line__nav a:focus-visible { outline-offset: 3px; }

/* ---------- 5. Buttons and links ---------- */
/* Cut-paper primary: a blue plate printed into a knock-out in whatever is
   behind it. Hover slides the plate and its label together out of the hole. */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.5em .95em 1.35em;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--on-key);
  cursor: pointer;
  --hx: -5px; --hy: -3px;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -5px -4px -4px -5px;
  background: var(--paper);
  clip-path: var(--cut-btn);
}
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-2);
  clip-path: var(--cut-btn);
  -webkit-mask: var(--m-ink) 90px 40px / 640px 640px;
  mask: var(--m-ink) 90px 40px / 640px 640px;
}
.btn > span, .btn > svg {
  position: relative;
  translate:
    calc(var(--shift, 0) * var(--hx) * var(--reg))
    calc(var(--shift, 0) * var(--hy) * var(--reg));
  transition: translate var(--dur) var(--out);
}
.btn svg { width: 1.2em; height: .75em; flex: none; }
.btn:is(:hover, :focus-visible) { --shift: 1; }
.btn:active { --shift: 0; }
.btn:focus-visible { outline-offset: 8px; }
.btn--paper { color: var(--press); }
.btn--paper::after { background: var(--paper); -webkit-mask: none; mask: none; }
.btn--paper::before { background: var(--press); }
.btn--sm { font-size: 1.375rem; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-block: .35em .45em;
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--press);
  --rx: 0px; --ry: 0px; --hx: 5px; --hy: -3px;
}
.link-arrow svg { width: 1.15em; height: .7em; flex: none; }
.link-arrow::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: 0;
  height: 5px;
  background: var(--ink-2);
  clip-path: var(--cut-strip);
  translate:
    calc(var(--shift, 0) * var(--hx) * var(--reg))
    calc(var(--shift, 0) * var(--hy) * var(--reg));
  transition: translate var(--dur) var(--out);
}
.link-arrow:is(:hover, :focus-visible) { --shift: 1; }
.link-arrow--back svg { rotate: 180deg; }
.on-pink .link-arrow, .on-pink .link-arrow::after { color: var(--deep); }

/* ---------- 6. Status stamps ---------- */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: inherit;
}
.stamp svg { width: .95em; height: .95em; flex: none; }
.stamp__host {
  margin-left: .35em;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.stamp--lg {
  position: relative;
  isolation: isolate;
  padding: .7em 1.15em .7em 1em;
  font-size: .9375rem;
  color: var(--deep);
  rotate: -2deg;
  --rx: -3px; --ry: 2px;
}
.stamp--lg::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: polygon(0 18%, 3% 0, 100% 6%, 98% 100%, 2% 92%);
}

/* ---------- 7. App index tabs and the rail ---------- */
.tab {
  position: relative;
  isolation: isolate;                 /* the paper window is its own opaque sheet */
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 9.2rem;
  background: var(--paper);
  clip-path: var(--cut-tab);
  color: var(--press);
}
.tab:is(:hover, :focus-visible) { --shift: 1; }
.tab:focus-visible { outline: 0; }
.rail__item:has(.tab:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 6px; }
.tab__num {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 .35rem 0 .6rem;
}
.tab__num::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-plate);
  --rx: -3px; --ry: 2px; --hx: -2px; --hy: 1px;
}
.rail__item:nth-child(even) .tab__num::before {
  background: var(--ink-1);
  --rx: 3px; --ry: -2px; --hx: 2px; --hy: -1px;
}
.tab__digits {
  position: relative;
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink-2);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-ink) 200px 120px / 640px 640px;
  mask: var(--m-ink) 200px 120px / 640px 640px;
  --hx: -3px; --hy: 4px;
}
.tab__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  padding: 1.1rem 1rem 1rem 1.15rem;
}
.tab__name {
  font-size: 1.8125rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink-2);
}
.tab__tag {
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 500;
  text-wrap: pretty;
}
.tab .stamp { margin-top: auto; padding-top: .15rem; flex-wrap: wrap; row-gap: .5em; }
.tab .stamp__host { flex-basis: 100%; margin-left: 0; overflow-wrap: anywhere; }
.rail__item.is-featured .tab .stamp { margin-top: .35rem; }

.tab__tide {
  position: absolute;
  left: 38%; right: 0; bottom: 0;
  height: 3.9rem;
  pointer-events: none;
}
.tab__tide::before, .tab__tide::after { content: ""; position: absolute; inset: 0; }
.tab__tide::before {
  background: var(--ink-1);
  mix-blend-mode: multiply;
  clip-path: polygon(0 52%, 14% 22%, 28% 46%, 44% 16%, 60% 42%, 76% 12%, 94% 34%, 100% 34%, 100% 100%, 0 100%);
  --rx: 3px; --ry: -2px; --hx: 5px; --hy: -3px;
}
.tab__tide::after {
  background: var(--ink-2);
  mix-blend-mode: multiply;
  clip-path: polygon(0 18%, 14% 0, 28% 22%, 44% 0, 60% 18%, 76% 0, 94% 14%, 100% 14%, 100% 52%, 0 60%);
  -webkit-mask: var(--m-dots-fine) 0 0 / 8px 8px;
  mask: var(--m-dots-fine) 0 0 / 8px 8px;
  --hx: -3px; --hy: 4px;
}

.rail { position: relative; }
.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  clip-path: var(--cut-slab);
  -webkit-mask: var(--m-ink) 300px 80px / 640px 640px;
  mask: var(--m-ink) 300px 80px / 640px 640px;
}
.rail__list {
  position: relative;
  display: grid;
  gap: .75rem;
  padding: 2rem 1.4rem 2.3rem 2.4rem;
}
.rail__item.is-featured .tab { min-height: 14.5rem; }
.rail__item.is-featured .tab__digits { font-size: 5.5rem; }
.rail__item.is-featured .tab__num { padding: 0 .5rem 0 .75rem; }
.rail__item.is-featured .tab__name { font-size: 3rem; }
.rail__item.is-featured .tab__tag { font-size: 1rem; }
.rail__item.is-featured .tab__body { padding-top: 1.3rem; }

/* ---------- 8. Home cover (first viewport) ---------- */
.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(22rem, 29%, 30rem);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-top: clamp(4.6rem, 5.15vw, 5rem);
  overflow-x: clip;
}
.cover__main {
  position: relative;
  min-width: 0;
  margin: clamp(1.4rem, 2.1vw, 2rem) calc(var(--gutter) * -.55) 0 calc(var(--gutter) * .65);
  padding: clamp(1.4rem, 1.7vw, 1.6rem) clamp(1.5rem, 4.7%, 3.6rem) clamp(1.1rem, 1.3vw, 1.3rem) clamp(1.5rem, 4.7%, 3.6rem);
}
.cover__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-1);
  mix-blend-mode: multiply;
  clip-path: var(--cut-field);
  -webkit-mask: var(--m-ink) 0 0 / 640px 640px;
  mask: var(--m-ink) 0 0 / 640px 640px;
  --rx: 3px; --ry: -2px;
}
/* halftone bloom spilling across the pink edge */
.cover__main::after {
  content: "";
  position: absolute;
  left: 95.3%; top: 11.2%;
  width: 68.8%;
  aspect-ratio: 1;
  margin: -34.4% 0 0 -34.4%;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  clip-path: inset(0 47.7% 0 0);
  -webkit-mask: var(--m-bloom) center / 100% 100% no-repeat;
  mask: var(--m-bloom) center / 100% 100% no-repeat;
  pointer-events: none;
}
.cover__title {
  position: relative;
  max-width: 3.95em;
  margin: 0;
  font-size: clamp(3.4rem, 13.1vw, 11rem);
  line-height: .83;
  color: var(--ink-2);
  rotate: -1.2deg;
  transform-origin: 0 0;
  text-wrap: wrap;
}
.cover__sub {
  position: relative;
  max-width: 34em;
  margin-top: clamp(1.4rem, 1.9vw, 1.75rem);
  font-size: var(--fs-lead);
  line-height: 1.4;
  font-weight: 600;
  color: var(--deep);
  mix-blend-mode: multiply;
}
.cover__sub b { font-weight: 800; }
.cover__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5) clamp(1.5rem, 2.6vw, 2.5rem);
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
.cover { padding-bottom: 2.1rem; }
.cover__marks { position: absolute; inset: 0; pointer-events: none; }
.cover__reg {
  position: absolute;
  top: 1.45rem;
  left: 38.9%;
}
.cover__foot {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: .55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.cover__foot .print-bar { margin-inline: auto; }
.sticker {
  position: absolute;
  right: 8%;
  bottom: 5%;
  width: clamp(6.5rem, 10vw, 9rem);
  aspect-ratio: 1.5;
  margin: 0;
  color: var(--deep);
}
.sticker span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: .5rem .9rem;
  text-align: center;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  rotate: -8deg;
  text-wrap: balance;
}
/* The plate is a plain multiply layer in the cover's own stacking context, so it prints over the pink. */
.sticker::before {
  content: "";
  position: absolute;
  inset: -12% -4%;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-sticker);
  rotate: -8deg;
  --rx: -3px; --ry: 2px;
}
.print-mark { width: 1.7rem; height: 1.7rem; color: var(--ink-2); }
.print-bar { display: flex; gap: .3rem; }
.print-bar i { width: 1rem; height: 1rem; mix-blend-mode: multiply; }
.print-bar i:nth-child(3n+1) { background: var(--ink-1); }
.print-bar i:nth-child(3n+2) { background: var(--ink-2); }
.print-bar i:nth-child(3n) { background: var(--ink-3); }
.print-bar i:nth-child(odd) { translate: calc(3px * var(--reg)) calc(-2px * var(--reg)); }

/* ---------- 9. Bands and section heads ---------- */
.band { padding-block: var(--band); }
.band--tight { padding-block: var(--s-7); }
.band__title { margin-bottom: var(--s-6); }
.band__lede { max-width: var(--measure); margin-bottom: var(--s-6); font-size: var(--fs-lead); line-height: 1.45; }

.spread {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-7) clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.spread__head { position: sticky; top: var(--s-6); }

/* ---------- 10. Heroes ---------- */
.hero {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(.5rem, 1.2vw, 1rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 clamp(.25rem, 1.4vw, 1.5rem);
  background: var(--ink-1);
  mix-blend-mode: multiply;
  clip-path: var(--cut-field-b);
  -webkit-mask: var(--m-ink) 120px 260px / 640px 640px;
  mask: var(--m-ink) 120px 260px / 640px 640px;
  --rx: 3px; --ry: -2px;
}
.hero { overflow-x: clip; }
/* halftone bloom spilling past the pink edge, as on the home cover */
.hero::after {
  content: "";
  position: absolute;
  right: -6%; top: -12%;
  height: min(118%, 36vw);
  aspect-ratio: 1;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-bloom) center / 100% 100% no-repeat;
  mask: var(--m-bloom) center / 100% 100% no-repeat;
  pointer-events: none;
  --rx: -3px; --ry: 2px;
}
.hero--read::after, .hero--plain::after { display: none; }
.hero > .wrap { position: relative; }
.hero__title { max-width: 14ch; color: var(--ink-2); text-wrap: balance; }
.hero__lede {
  max-width: 36em;
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  line-height: 1.4;
  font-weight: 600;
  color: var(--deep);
  mix-blend-mode: multiply;
}
.hero__lede + .hero__lede { margin-top: var(--s-3); }
.hero--plain::before { display: none; }

/* ---------- 11. Apps index rows ---------- */
.rows { display: grid; gap: 0; }
.row { position: relative; border-top: 0; }
.row__link {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: var(--s-3) var(--s-6);
  align-items: start;
  padding: var(--s-6) 0;
  color: var(--press);
}
.row__num {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  font-size: 2.75rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  color: var(--ink-2);
}
.row__num::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-plate);
  --rx: -3px; --ry: 2px; --hx: -2px; --hy: 1px;
  z-index: -1;
}
.row:nth-child(even) .row__num::before { background: var(--ink-1); --rx: 3px; --ry: -2px; --hx: 2px; --hy: -1px; }
.row__num { isolation: isolate; }
.row__num span { mix-blend-mode: multiply; }
.row__name {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .95;
  letter-spacing: -.005em;
  color: var(--ink-2);
  text-decoration: underline .09em transparent;
  text-underline-offset: .12em;
  transition: text-decoration-color .12s linear;
}
.row__link:is(:hover, :focus-visible) .row__name { text-decoration-color: var(--ink-1); }
.row__tag { margin-top: var(--s-2); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.row__summary { font-size: var(--fs-small); line-height: 1.5; max-width: 44ch; }
.row__meta { display: grid; gap: var(--s-3); justify-items: start; }
.row__plat { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.row__go { align-self: center; justify-self: end; width: 2.25rem; height: 1.4rem; color: var(--ink-2); translate: calc(var(--shift, 0) * 6px * var(--reg)) 0; transition: translate var(--dur) var(--out); }
.row__link:is(:hover, :focus-visible) { --shift: 1; }
.row__link:focus-visible { outline-offset: -3px; }

.row__main > span, .row__sum-wrap > span { display: block; }
.row__sum-wrap > .row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-3); }
.row__link--plain { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center; }
.row__meta-line { font-size: var(--fs-small); font-weight: 600; }
.row__meta-line span + span::before { content: "·"; margin-inline: .5em; }

/* ---------- 12. App page ---------- */
.preview-flag {
  max-width: var(--max);
  margin: var(--s-3) auto 0;
  padding: var(--s-2) var(--gutter);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--deep);
}
.preview-flag span { padding: .3em .7em; background: var(--ink-3); }

.app-hero__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4) clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.app-hero__grid--noicon { grid-template-columns: minmax(0, 1fr); }
.app-hero__back { grid-column: 1 / -1; margin-bottom: var(--s-2); }
.app-hero__back .link-arrow { font-size: 1.125rem; }
.app-hero__title { font-size: clamp(2.9rem, 1.2rem + 6.4vw, 6rem); max-width: none; text-wrap: wrap; overflow-wrap: break-word; }
.app-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.app-hero__tag {
  margin-top: var(--s-4);
  max-width: 28em;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1.15;
  color: var(--deep);
  mix-blend-mode: multiply;
  text-wrap: balance;
}
.app-hero__sum {
  max-width: 34em;
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 500;
  color: var(--deep);
  mix-blend-mode: multiply;
}
.app-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }
.app-hero__plat--below { margin-top: var(--s-4); }
.soon { font-size: 1.125rem; padding: .85em 1.3em .85em 1.1em; }
.soon svg { width: 1.05em; height: 1.05em; }
.app-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-6); }
.app-hero__links .link-arrow { font-size: 1.125rem; }
.app-hero__plat { font-size: var(--fs-small); font-weight: 600; color: var(--deep); }

/* mats: real screenshots and icons, unfiltered, in cut paper */
.mat { position: relative; margin: 0; }
.mat__stage { position: relative; }
.mat__stage::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-mat);
  --rx: 3px; --ry: 4px; --hx: 3px; --hy: 3px;
}
.mat__stage::after {
  content: "";
  position: absolute;
  left: -1.1rem; top: -1.1rem;
  width: 5.5rem; height: 5.5rem;
  background: var(--ink-1);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-dots) 0 0 / 12px 12px;
  mask: var(--m-dots) 0 0 / 12px 12px;
  --rx: 3px; --ry: -2px; --hx: -4px; --hy: -3px;
}
.mat:nth-child(even) .mat__stage::before { background: var(--ink-1); }
.mat:nth-child(even) .mat__stage::after { background: var(--ink-3); }
.mat:hover { --shift: 1; }
.mat__frame { position: relative; padding: .7rem; }
.mat__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: var(--cut-mat);
}
.mat__img {
  position: relative;
  z-index: 60;                       /* above the grain: screenshots print clean */
  width: 100%;
  height: auto;
  background: #fff;
}
.mat__cap {
  position: relative;
  max-width: 46ch;
  margin-top: calc(var(--s-4) + 6px);
  padding-right: 1.5rem;
  font-size: var(--fs-small);
  line-height: 1.45;
  font-weight: 500;
}
.mat--icon { width: clamp(6.5rem, 14vw, 11rem); }
.mat--icon .mat__frame { padding: .55rem; }
.mat--icon .mat__img { border-radius: 22%; aspect-ratio: 1; object-fit: cover; }
.mat--icon .mat__stage::before { inset: -6px; --rx: 3px; --ry: 3px; }

.shots {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--s-8) var(--s-8);
  padding-right: 14px;
}
.strip {
  display: flex;
  gap: var(--s-7);
  margin-inline: calc(var(--gutter) * -1);
  padding: 1.9rem var(--gutter) 2.4rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-color: var(--ink-2) transparent;
}
.strip + .strip { margin-top: var(--s-5); }
.strip:focus-visible { outline-offset: -4px; }
.strip > .mat { flex: 0 0 15rem; scroll-snap-align: start; }
.strip > .mat--tablet { flex-basis: 27rem; }
.strip > .mat--desktop { flex-basis: 40rem; }
.mat--phone { flex: 0 1 16rem; max-width: 17rem; }
.mat--tablet { flex: 1 1 22rem; max-width: 36rem; }
.mat--desktop { flex: 1 1 28rem; max-width: 62rem; }
.shots .mat { width: 100%; }

/* features: a typeset list, not a row of cards */
.features { display: grid; }
.features__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-2) clamp(2rem, 6vw, 6rem);
  padding-block: var(--s-6) var(--s-6);
}
.features__item::before { position: absolute; left: 0; right: 0; top: 0; }
.features__item:last-child { padding-bottom: 0; }
.features__title { font-size: var(--fs-h3); }
.features__text { max-width: 52ch; font-size: 1.0625rem; line-height: 1.55; }
.features--tight .features__item { padding-block: var(--s-5); }

/* pricing: a hang-tag */
.price {
  position: relative;
  isolation: isolate;
  max-width: 46rem;
  padding: var(--s-7) var(--s-7) var(--s-6) clamp(3.75rem, 8vw, 5.5rem);
  color: var(--deep);
}
.price::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-tag);
  -webkit-mask: radial-gradient(circle .6rem at 1.9rem 1.9rem, #0000 97%, #000);
  mask: radial-gradient(circle .6rem at 1.9rem 1.9rem, #0000 97%, #000);
  --rx: -3px; --ry: 2px;
}
.price p { font-size: 1.3125rem; line-height: 1.45; font-weight: 600; }
.price p + p { margin-top: var(--s-4); font-size: 1.125rem; font-weight: 500; }
.price .text-link { color: var(--deep); }

/* pull-quote slab: a line from the app's own summary, set large on a spot plate */
.pull {
  position: relative;
  max-width: 62rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.75rem, 6vw, 5rem) clamp(2.25rem, 5vw, 4.25rem);
  color: var(--deep);
}
.pull::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: var(--cut-field-b);
  -webkit-mask: var(--m-ink) 220px 40px / 640px 640px;
  mask: var(--m-ink) 220px 40px / 640px 640px;
  --rx: -3px; --ry: 2px;
}
.pull::after {
  content: "";
  position: absolute;
  right: -1.5rem; bottom: -1.75rem;
  width: clamp(7rem, 16vw, 13rem);
  aspect-ratio: 1;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-bloom) center / 100% 100% no-repeat;
  mask: var(--m-bloom) center / 100% 100% no-repeat;
  pointer-events: none;
  --rx: 3px; --ry: -2px;
}
.pull__text {
  position: relative;
  max-width: 17ch;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .96;
  letter-spacing: -.005em;
  color: var(--deep);
  text-wrap: balance;
}

/* privacy block */
.privacy-block { max-width: 54rem; }
.privacy-block p { font-size: 1.1875rem; line-height: 1.55; margin-bottom: var(--s-5); max-width: var(--measure); }
.privacy-line { font-size: var(--fs-lead); font-weight: 600; max-width: var(--measure); }

/* FAQ */
.faq { max-width: 56rem; }
.faq__item { position: relative; }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 1.4rem; height: 1.4rem;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 100% 5px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 5px 100% no-repeat;
  mix-blend-mode: multiply;
  transition: scale var(--dur) var(--out);
}
.faq details[open] summary::after {
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 100% 5px no-repeat;
}
.faq summary:is(:hover, :focus-visible)::after { scale: 1.2; }
.faq summary:focus-visible { outline-offset: -2px; }
.faq__a { max-width: 62ch; padding: 0 var(--s-8) var(--s-6) 0; font-size: 1.0625rem; line-height: 1.6; }

/* closing slab with the support link */
.slab {
  position: relative;
  isolation: isolate;
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.75rem, 5vw, 4.5rem);
  color: var(--on-key);
}
.slab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-2);
  clip-path: var(--cut-slab);
  -webkit-mask: var(--m-ink) 40px 300px / 640px 640px;
  mask: var(--m-ink) 40px 300px / 640px 640px;
}
.slab::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2.5rem; top: 50%;
  width: clamp(9rem, 22vw, 18rem);
  aspect-ratio: 1;
  margin-top: calc(clamp(9rem, 22vw, 18rem) / -2);
  background: var(--paper);
  opacity: .42;
  -webkit-mask: var(--m-bloom) center / 100% 100% no-repeat;
  mask: var(--m-bloom) center / 100% 100% no-repeat;
  pointer-events: none;
}
.slab__title {
  max-width: 18ch;
  margin-bottom: var(--s-6);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  line-height: .98;
  color: var(--on-key);
  mix-blend-mode: normal;
  -webkit-mask: none;
  mask: none;
}
.slab__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); }

/* About: contact facts */
.facts { display: grid; gap: var(--s-5); margin: 0; }
.facts dt { font-weight: 800; font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; }
.facts dd { margin: var(--s-1) 0 0; font-size: 1.1875rem; font-weight: 600; }

/* ---------- 13. Reading layout (policies, long text) ---------- */
/* Read mode: a plain sheet above the grain. Riso lives in the chrome only. */
.reading {
  position: relative;
  z-index: 60;
  background: var(--paper);
  padding-block: var(--s-8) var(--band);
}
.reading__inner { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.reading__meta {
  display: grid;
  gap: var(--s-2) var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 2px solid var(--press);
  font-size: var(--fs-small);
}
.reading__meta dt { font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.reading__meta dd { margin: 0; font-weight: 600; font-size: 1rem; }
.prose { max-width: var(--measure); font-size: 1.125rem; line-height: 1.7; font-weight: 450; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1; -webkit-mask: none; mask: none; mix-blend-mode: normal; color: var(--press); }
.prose h3 { margin-top: 2em; font-size: 1.5rem; color: var(--press); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--ink-2); font-weight: 800; }
.prose strong { font-weight: 800; }
.prose blockquote {
  padding: 1.1em 1.4em 1.2em;
  background: var(--ink-3);
  color: var(--deep);
  clip-path: polygon(0 4%, 3% 0, 100% 2%, 99% 100%, 1% 96%);
}
.prose hr { height: 10px; border: 0; margin-block: 2.5em; background: var(--press); -webkit-mask: var(--m-dots-fine) 0 0 / 8px 8px; mask: var(--m-dots-fine) 0 0 / 8px 8px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: .6em .8em; text-align: left; border-bottom: 1px solid var(--press); vertical-align: top; }
.reading__end { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 2px solid var(--press); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); }
.hero--read { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--read .hero__title { max-width: 18ch; }

/* ---------- 14. Support form ---------- */
.form { display: grid; gap: var(--s-6); max-width: 44rem; }
.form__row { display: grid; align-items: start; gap: var(--s-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; align-content: start; gap: var(--s-2); min-width: 0; border: 0; padding: 0; margin: 0; }
.field__label, .field legend {
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
}
.field legend { padding-bottom: var(--s-2); }
.field__hint { font-size: var(--fs-small); font-weight: 500; }
.field__ctl { position: relative; isolation: isolate; --rx: -4px; --ry: 3px; }
.field__ctl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: polygon(0 4%, 100% 0, 99% 100%, 1% 96%);
  opacity: 0;
}
.field__ctl:focus-within { --shift: 1; --hx: -3px; --hy: 2px; }
.field__ctl:focus-within::before { opacity: 1; }
.input, .select, .textarea {
  display: block;
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--press);
  border-radius: 0;
  background: #FDFDFB;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--deep);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #4D5F87; opacity: 1; }
.textarea { min-height: 12rem; resize: vertical; }
.select {
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%2300388F' stroke-width='3.2' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem auto;
}
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--press); outline-offset: 2px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--deep); border-width: 3px; padding: calc(.8rem - 1px) calc(1rem - 1px); }
.field.has-error .field__ctl::before { opacity: 1; background: var(--ink-1); --shift: 0; }
.error {
  display: flex;
  align-items: flex-start;
  gap: .5em;
  width: fit-content;
  max-width: 100%;
  padding: .35em .7em .4em .55em;
  background: var(--ink-1);
  clip-path: polygon(0 10%, 2% 0, 100% 4%, 99% 100%, 1% 94%);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--deep);
}
.error svg { width: 1.05em; height: 1.05em; margin-top: .18em; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; inset: 0; }
.chip span {
  position: relative;
  display: block;
  padding: .65rem 1.15rem .7rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--press);
  isolation: isolate;
}
.chip span::before, .chip span::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--press);
  clip-path: polygon(0 18%, 6% 0, 100% 5%, 98% 100%, 1% 94%);
}
.chip span::after { inset: 2px; background: var(--paper); }
.chip input:checked + span { color: var(--on-key); }
.chip input:checked + span::before, .chip input:checked + span::after { background: var(--ink-2); }
.chip input:hover + span::after { background: var(--ink-3); }
.chip input:checked:hover + span::after { background: var(--ink-2); }
.chip input:focus-visible + span { outline: 3px solid var(--press); outline-offset: 4px; }
.field.has-error .chip span::before { background: var(--deep); }

.form__summary {
  position: relative;
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6);
  max-width: 44rem;
  color: var(--deep);
  isolation: isolate;
}
.form__summary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-1);
  clip-path: polygon(0 6%, 3% 0, 100% 3%, 98% 100%, 1% 95%);
}
.form__summary h2 { font-size: 1.75rem; color: var(--deep); -webkit-mask: none; mask: none; mix-blend-mode: normal; line-height: 1; }
.form__summary ul { margin-top: var(--s-3); display: grid; gap: var(--s-1); }
.form__summary a { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; color: var(--deep); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.sent { position: relative; isolation: isolate; max-width: 40rem; padding: var(--s-7) var(--s-6); color: var(--deep); }
.sent::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: polygon(0 5%, 4% 0, 100% 3%, 97% 100%, 1% 96%);
  --rx: -3px; --ry: 2px;
}
.sent h2 { color: var(--deep); -webkit-mask: none; mask: none; mix-blend-mode: normal; margin-bottom: var(--s-4); }
.sent p { font-size: 1.25rem; font-weight: 600; max-width: 32em; }
.sent .link-arrow { margin-top: var(--s-5); }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--s-8) clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.support-grid > aside { position: sticky; top: var(--s-6); }

/* ---------- 15. Gateway tabs (home, below the fold) ---------- */
.rail--wide { margin-top: 0 !important; }
.rail--wide::before { clip-path: polygon(0 9%, 1.2% 0, 100% 3%, 99.2% 100%, .4% 93%); }
.rail--wide .rail__list { padding: 2.4rem clamp(1.25rem, 2.6vw, 2.5rem) 2.6rem; }
.gate { gap: 1rem; }
@media (min-width: 1024px) { .rail--wide .rail__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .rail--wide .rail__list { grid-template-columns: minmax(0, 1fr); } }
.gate .tab { min-height: 9.5rem; }
.gate .tab__digits { font-size: 2.25rem; }
.gate .tab__name { font-size: 2.25rem; }
.gate .tab__tag { font-size: 1rem; }

.band--feature { padding-block: var(--s-7); }
.feature-spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7) clamp(2rem, 5vw, 5rem); align-items: start; }
.feature-spread__shots { display: flex; align-items: flex-start; justify-content: flex-start; gap: var(--s-6); padding: .75rem .75rem 1rem 0; }
.feature-spread__shots .mat { flex: 1 1 0; min-width: 0; max-width: 12.5rem; }
.feature-spread__shots .mat--tablet, .feature-spread__shots .mat--desktop { flex: 1 1 14rem; max-width: 22rem; }
.feature-spread__shots .mat:nth-child(even) { margin-top: 2.75rem; }
.feature-spread__titles { margin-top: var(--s-6); }
.feature-spread__titles li { position: relative; padding-block: var(--s-3) var(--s-3); font-size: 1.1875rem; font-weight: 800; font-stretch: 75%; line-height: 1.1; color: var(--ink-2); }
.feature-spread__titles li::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; }
.feature-spread__title { font-size: var(--fs-h2); line-height: .9; }
.feature-spread__sum { max-width: 34em; margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.45; }
.feature-spread__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-6); margin-top: var(--s-5); }

/* ---------- Promise: a big-type moment on the home page ---------- */
.promise { padding-block: var(--s-7) var(--band); }
.promise__head { margin-top: 0; }
.promise__title { max-width: 15em; font-size: var(--fs-h1); line-height: .93; }
.promise__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-7) clamp(2rem, 4vw, 4rem);
  margin-top: var(--s-8);
}
.promise__stamp {
  position: relative;
  isolation: isolate;
  display: inline-block;
  max-width: 100%;
  padding: .12em .42em .2em .34em;
  font-size: var(--fs-h2);
  line-height: .95;
  color: var(--ink-2);
}
.promise__stamp span { mix-blend-mode: multiply; }
.promise__stamp::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink-3);
  mix-blend-mode: multiply;
  clip-path: polygon(0 12%, 3% 0, 100% 5%, 98% 100%, 1% 92%);
  -webkit-mask: var(--m-ink) 60px 200px / 640px 640px;
  mask: var(--m-ink) 60px 200px / 640px 640px;
  --rx: -3px; --ry: 2px;
}
.promise__item:nth-child(2) .promise__stamp::before { background: var(--ink-1); clip-path: polygon(0 6%, 2% 0, 100% 9%, 99% 96%, 3% 100%); --rx: 3px; --ry: -2px; }
.promise__item:hover .promise__stamp::before { --shift: 1; --hx: -3px; --hy: 2px; }
.promise__item { --shift: 0; }
.promise__item:hover { --shift: 1; }
.promise__text { margin-top: var(--s-4); max-width: 22em; font-size: var(--fs-lead); line-height: 1.4; font-weight: 600; }
.promise__note { margin-top: var(--s-5); max-width: 60ch; font-size: var(--fs-small); line-height: 1.5; font-weight: 600; }

/* ---------- 16. Error / default ---------- */
.about__side { display: grid; gap: var(--s-7); align-content: start; }
.band__foot { margin-top: var(--s-6); }
.privacy-line + .band__foot { margin-top: var(--s-7); }
.features--stack .features__item { grid-template-columns: minmax(0, 1fr); }
.gate .tab__digits svg { width: 1.1em; height: .7em; }
.reading + .foot { margin-top: 0; }
.lost__code {
  font-size: clamp(8rem, 4rem + 22vw, 20rem);
  line-height: .78;
  color: var(--ink-2);
  max-width: none;
}
.lost__title { max-width: 14ch; margin-top: var(--s-5); }
.lost__text { max-width: 30em; margin-top: var(--s-5); font-size: var(--fs-lead); font-weight: 600; color: var(--deep); mix-blend-mode: multiply; }
.lost__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); margin-top: var(--s-6); }

/* ---------- 17. Footer ---------- */
.foot { position: relative; margin-top: var(--s-7); padding: var(--s-6) 0 var(--s-6); }
.foot::before {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); top: 0;
  height: 10px;
  background: var(--ink-2);
  mix-blend-mode: multiply;
  -webkit-mask: var(--m-dots-fine) 0 0 / 8px 8px;
  mask: var(--m-dots-fine) 0 0 / 8px 8px;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-7);
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--s-5) var(--gutter) 0;
  font-size: 1rem;
  font-weight: 600;
}
.foot__legal { font-weight: 800; letter-spacing: .03em; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.foot__nav a { padding: .35rem 0; text-decoration: underline; text-decoration-color: var(--ink-2); text-decoration-thickness: .12em; text-underline-offset: .22em; }
.foot__nav a:is(:hover, :focus-visible) { text-decoration-color: var(--ink-1); text-decoration-thickness: .22em; }
.foot__marks { display: flex; align-items: center; gap: var(--s-5); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1199px) {
  .row__link { grid-template-columns: 4.5rem minmax(0, 1fr) auto; }
  .row__summary { grid-column: 2 / 3; }
  .row__meta { grid-column: 2 / 3; }
  .row__go { grid-row: 1; grid-column: 3; }
}

@media (max-width: 1023px) {
  .cover { grid-template-columns: minmax(0, 1fr); }
  .cover__main { margin: 1.25rem 0 0; padding-inline: clamp(1.5rem, 5vw, 3rem); }
  .cover__title { font-size: clamp(3.4rem, 20vw, 10rem); }
  .cover__main::after { top: 24%; width: 52%; margin: -26% 0 0 -26%; left: 97%; }
  .rail:not(.rail--wide) { margin-top: -2.5rem; }
  .rail__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3.2rem 1.5rem 2.6rem 2.1rem; }
  .rail__item.is-featured { grid-column: 1 / -1; }
  .spread, .support-grid, .feature-spread { grid-template-columns: minmax(0, 1fr); }
  .spread__head, .support-grid > aside { position: static; }
  .features__item { grid-template-columns: minmax(0, 1fr); }
  .feature-spread__shots { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .promise__list { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
}

@media (max-width: 639px) {
  :root { --fs-body: 1.0625rem; }
  .index-line { padding-top: 1rem; }
  .index-line__nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .index-line__nav a { padding: .65rem .1rem; }
  .cover { padding-top: 6.4rem; }
  .cover__main { padding-inline: 1.4rem; }
  .cover__title { font-size: clamp(3.2rem, 23vw, 6rem); }
  .rail__list { grid-template-columns: minmax(0, 1fr); padding: 3rem 1rem 2.4rem 1.6rem; }
  .rail__item.is-featured .tab__digits { font-size: 4.5rem; }
  .rail__item.is-featured .tab__name { font-size: 2.5rem; }
  .sticker { right: 3%; bottom: 3.4rem; width: 6.5rem; }
  .sticker span { padding: .4rem .5rem; font-size: 1rem; }
  .soon { font-size: 1rem; }
  .cover__reg { left: auto; right: var(--gutter); }
  .strip > .mat { flex-basis: 12.5rem; }
  .strip > .mat--tablet { flex-basis: 20rem; }
  .strip > .mat--desktop { flex-basis: 24rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .row__link { grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: var(--s-3) var(--s-4); }
  .row__num { font-size: 2rem; }
  .shots { gap: var(--s-7); padding-right: 12px; }
  .mat--phone { flex-basis: 12rem; max-width: 14rem; }
  .price { padding-left: 4rem; padding-right: var(--s-5); }
  .faq__a { padding-right: 0; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .btn { white-space: normal; }
  .hero__title { max-width: none; }
  .hero::after { display: none; }
  .pull::after { display: none; }
  .promise__list { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-7); }
  .app-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .mat--icon { width: 6.5rem; }
}

@media (min-width: 1760px) {
  .cover__title { font-size: 11rem; }
}

/* ---------- 19. Forced colors and print ---------- */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .tab { border: 2px solid CanvasText; clip-path: none; }
  .chip span { border: 2px solid ButtonText; }
  .chip input:checked + span { outline: 3px solid Highlight; }
  body::after { display: none; }
}

@media print {
  body::after, .cover__marks, .skip, .index-line__nav, .foot__marks { display: none !important; }
  .reading { padding-block: 0; }
  body { font-size: 11pt; }
  .hero::before { display: none; }
}

/* FAQ answers: paragraphs and links (shared by every app page) */
.faq__a p + p { margin-top: .85em; }
.faq__a a { text-decoration: underline; text-decoration-color: var(--ink-2); text-decoration-thickness: .12em; text-underline-offset: .2em; font-weight: 700; }
.faq__a a:is(:hover, :focus-visible) { text-decoration-color: var(--press); }

/* ---------- Home: the featured app in Apple's official bezels ----------
   Words beside the devices on one screen on desktop; the devices stand on
   plain paper (no mat, no ink behind a device), sized by the viewport height.
   Device frames: assets/css/devices.css. */
.feature-devices__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 30rem) auto;
  justify-content: center;
  align-items: center;
  gap: var(--s-7) clamp(2rem, 1rem + 4vw, 6rem);
}
.feature-devices__title { font-size: var(--fs-h1); }
.feature-devices__tag { margin-top: var(--s-4); font-size: var(--fs-h3); font-weight: 800; font-stretch: 75%; line-height: 1.05; color: var(--deep); }
.feature-devices__sum { margin-top: var(--s-4); max-width: 30em; font-size: var(--fs-lead); line-height: 1.45; font-weight: 500; color: var(--deep); }
.feature-devices .feature-spread__act { margin-top: var(--s-6); }
.feature-devices__stage {
  --th: min(70svh, 46rem);
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(.75rem, 1.6vw, 1.5rem);
}
.feature-devices__stage .dev--feature-phone { --ph: calc(var(--th) * .72); }
@media (max-width: 1023px) {
  .feature-devices__grid { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .feature-devices__stage { --th: min(52svh, calc((100vw - 2 * var(--gutter)) * .86)); justify-content: center; }
}
@media (max-width: 639px) {
  .feature-devices__stage { --th: min(44svh, calc((100vw - 2 * var(--gutter)) * .78)); }
}

/* ---------- A short index (two apps): the tabs and rows carry more ---------- */
.tab__icon, .row__icon { display: block; width: 3.5rem; height: 3.5rem; border-radius: 22%; flex: none; position: relative; z-index: 60; }
.rail--few { display: flex; }
.rail--few .rail__list { flex: 1; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 2.4rem 2.8rem; }
.rail--few .rail__item { display: flex; }
.rail--few .tab { flex: 1; min-height: 14.5rem; }
.rail--few .tab__body { gap: .7rem; padding-top: 1.4rem; }
.rail--few .tab__digits { font-size: 5.5rem; }
.rail--few .tab__num { padding: 0 .5rem 0 .75rem; }
.rail--few .tab__name { font-size: clamp(1.875rem, .9rem + 1.45vw, 2.75rem); overflow-wrap: anywhere; }
.rail--few .tab__tag { font-size: 1rem; }
.rail--few .tab__icon { width: clamp(3.5rem, 2.5rem + 2vw, 4.75rem); height: auto; aspect-ratio: 1; }
.rail--few .rail__item.is-featured .tab .stamp { margin-top: auto; }
@media (max-width: 1023px) {
  .rail--few .rail__list { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail--few .rail__item.is-featured { grid-column: auto; }
}
@media (max-width: 639px) {
  .rail--few .rail__list { grid-template-columns: minmax(0, 1fr); }
  .rail--few .tab { min-height: 11rem; }
  .rail--few .tab__digits { font-size: 4.5rem; }
}

.band--few .row__link { padding-block: var(--s-8); align-items: center; }
.band--few .row__num { min-height: 7rem; font-size: 4rem; }
.band--few .row__link { grid-template-columns: 7rem minmax(0, 5fr) minmax(0, 6fr) auto; }
.band--few .row__main { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-5); align-items: center; }
.band--few .row__icon { grid-row: span 2; width: clamp(4rem, 3rem + 2vw, 5.5rem); height: auto; aspect-ratio: 1; }
.band--few .row__name { font-size: clamp(2.5rem, 1.8rem + 2vw, 4rem); }
.band--few .row__tag { font-size: 1.1875rem; }
.band--few .row__summary { font-size: 1.0625rem; max-width: 48ch; }
@media (max-width: 1199px) {
  .band--few .row__link { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
  .band--few .row__sum-wrap { grid-column: 2 / 3; }
  .band--few .row__go { grid-row: 1; grid-column: 3; }
}
@media (max-width: 639px) {
  .band--few .row__link { grid-template-columns: 3.5rem minmax(0, 1fr) auto; padding-block: var(--s-6); }
  .band--few .row__num { min-height: 4.5rem; font-size: 2.25rem; }
  .band--few .row__main { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-2); }
  .band--few .row__icon { grid-row: auto; width: 3.5rem; }
}

/* An app whose page is not public yet: its tab or row is inert (no link, no
   hover, no focus stop), showing the name, tagline and status only. */
.tab.is-inert, .row__link.is-inert { cursor: default; --shift: 0; }
.tab.is-inert:hover, .row__link.is-inert:hover { --shift: 0; }
.row__link.is-inert:hover .row__name { text-decoration-color: transparent; }
/* index rows on narrower screens: the summary sits under the name, beside the number */
@media (max-width: 1199px) {
  .row__sum-wrap { grid-column: 2 / 3; }
}
