/*
  Dick Pics for the Blind: design system. One theme: cream paper-white blended with blush, rose accent.
  No brown, black, aubergine or navy. Every text pair is WCAG 2.2 AA (text >= 4.5:1, large text and
  non-text UI >= 3:1). Ratios were computed from the exact hex values.

  Backgrounds: paper #FBF7F0, warm band #F6EFE4, surface #FFFDF9, neutral fills #F1EBE3 / #F7F2EB, bands #F4EEE5 / #F5F0E8, stages #F3EDE4, footer #F2ECE3 (v3.1: pink tints removed).
    ink #16171B on paper 16.8 | warm band 15.7 | surface 17.6 | blush #F6E3DF 14.5 | blush #FBEDE8 15.7
    muted #5B6070 on paper 5.9 | warm band 5.5 | surface 6.2 | blush #F6E3DF 5.1 | blush #FBEDE8 5.5
    rose accent #B03A5B on paper 5.5 | warm band 5.1 | surface 5.7 | blush #FBEDE8 5.1 | blush #F6E3DF 4.7
    v3.1 neutral fills (#F1EBE3 #F7F2EB #F4EEE5 #F3EDE4 #F2ECE3 #F5F0E8): ink >= 15.1 | muted >= 5.3 | rose >= 4.9
      (links, eyebrows, prices; accent is never used for text on anything darker than #F6E3DF)
    white on accent 5.8 (primary button) | white on accent-strong #8E2B48 8.1 (hover)
    accent-strong #8E2B48 on paper 7.6 | surface 8.0 | blush #F6E3DF 6.6
    focus ring #2A45A0 on paper 8.0 | surface 8.4 | blush 6.9
    field border #8A8490 on paper 3.4 | on surface #FFFDF9 3.6 (non-text, needs 3:1)
    error #B3261E on paper 6.1 | surface 6.4 | ok #2B6B47 on paper 6.0 | surface 6.3
  Band/footer text is always ink. Hairlines (--line) and dot-field tints are decorative and carry no
  meaning. Card edges (--edge) are deliberately stronger than hairlines so boundaries stay visible.
  Decorative dots and paper grain are pseudo-elements or aria-hidden SVG: not in the accessibility tree.
  The dot language is a printer's halftone of embossed round dots. It encodes nothing (not braille).
*/
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/Fraunces-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/static/fonts/Inter-Variable.woff2") format("woff2");
}

:root {
  --bg: #FBF7F0;
  --surface: #FFFDF9;
  --tint: #F6EFE4;
  --ink: #16171B;
  --muted: #5B6070;
  --line: #ECE4DA;
  --edge: #CBC0B2;
  --accent: #B03A5B;
  --accent-strong: #8E2B48;
  --accent-ink: #FFFFFF;
  --secondary: #E9B3AA;
  --blush: #F1EBE3;
  --blush-soft: #F7F2EB;
  --field: #8A8490;
  --focus: #2A45A0;
  --error: #B3261E;
  --ok: #2B6B47;
  --band-ink: #16171B;
  --band-bg: #F4EEE5;
  --header-bg: rgba(251, 247, 240, .82);
  --page-bg: linear-gradient(180deg, #FBF7F0, #FBF7F0);
  --mesh-a: none;
  --mesh-b: none;
  --mesh-c: none;
  --hero-bg: #FBF7F0;
  --alt-bg: #F5F0E8;
  --blush-bg: #F5F0E8;
  --foot-bg: #F2ECE3;
  --shadow-rgb: 90, 60, 50;
  --grain-opacity: .05;
  --glow: rgba(0, 0, 0, 0);
  color-scheme: light;
}

:root {
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --radius-lg: 14px;
  /* Embossed halftone dots: each dot has a light top-left highlight and a soft bottom-right shadow.
     --dots is the larger grid; --dots-fine is a smaller, tighter grid for the faded fringe. */
  --dots:
    radial-gradient(circle at 10px 10px, rgba(255, 255, 255, .95) 0 3.2px, transparent 3.7px),
    radial-gradient(circle at 12.4px 12.6px, rgba(120, 104, 88, .28) 0 3.2px, transparent 3.9px),
    radial-gradient(circle at 11.2px 11.3px, rgba(222, 210, 196, .6) 0 3px, transparent 3.4px);
  --dots-fine:
    radial-gradient(circle at 6px 6px, rgba(255, 255, 255, .95) 0 1.7px, transparent 2.1px),
    radial-gradient(circle at 7.3px 7.5px, rgba(120, 104, 88, .28) 0 1.7px, transparent 2.3px),
    radial-gradient(circle at 6.6px 6.7px, rgba(222, 210, 196, .55) 0 1.6px, transparent 1.9px);
  --dots-size: 22px 22px;
  --dots-fine-size: 13px 13px;
  --dots-opacity: .55;
  --grain: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='n'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20values='0%200%200%200%20.25%200%200%200%200%20.25%200%200%200%200%20.3%200%201.3%200%200%20-.45'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
  --shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 1px 2px rgba(var(--shadow-rgb), .08),
    0 10px 24px -12px rgba(var(--shadow-rgb), .18),
    0 34px 60px -36px rgba(var(--shadow-rgb), .24);
  --shadow-sm: 0 1px 2px rgba(var(--shadow-rgb), .08), 0 8px 18px -12px rgba(var(--shadow-rgb), .26);
  --emboss: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 -1px 0 rgba(var(--shadow-rgb), .06) inset;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background-color: var(--bg); background-image: var(--page-bg); background-attachment: scroll;
  color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01";
  overflow-wrap: break-word; position: relative; min-height: 100vh;
}
/* paper grain over everything; purely decorative */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: var(--grain); background-size: 240px 240px;
  opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
}
img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }
main:focus { outline: none; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; color: var(--accent-strong); }
a[aria-current="page"] { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Type scale */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 560; font-optical-sizing: auto; line-height: 1.08;
  letter-spacing: -0.028em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 1.2rem + 4.8vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 520; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 3rem); letter-spacing: -0.035em; margin-top: 1.6em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.section h2, .page-head h1, .doc-head h1, .section-head h2 { margin-top: 0; }
.lead { font-size: clamp(1.1rem, 1.03rem + .45vw, 1.3rem); line-height: 1.65; color: var(--muted); max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: .55rem; height: .55rem; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0, #F3C9C6 55%, #D98B93 100%);
  box-shadow: 1px 1.5px 1px rgba(var(--shadow-rgb), .22);
}
.band .eyebrow { color: var(--band-ink); }
.fine { font-size: .9375rem; color: var(--muted); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .5rem; top: -5rem; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: .75rem 1rem; font-weight: 700; border-radius: 999px;
}
.skip-link:focus { top: .5rem; }

/* Halftone dot field: a regular grid of embossed round dots that thins out smoothly across the section
   (big dots where it is strongest, a finer grid in the fringe). Very low contrast, never behind body text.
   Put .tex on any container; content sits above via isolation. Decorative pseudo-elements only. */
.tex { position: relative; isolation: isolate; }
.tex::before, .tex::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tex::before {
  background-image: var(--dots); background-size: var(--dots-size); opacity: var(--dots-opacity);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.tex::after {
  background-image: var(--dots-fine); background-size: var(--dots-fine-size); opacity: calc(var(--dots-opacity) * .8);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 30%, transparent 70%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0, transparent 30%, transparent 70%, #000 100%);
}
.tex.tex-right::before {
  -webkit-mask-image: radial-gradient(45% 80% at 100% 20%, #000 0, transparent 100%);
  mask-image: radial-gradient(45% 80% at 100% 20%, #000 0, transparent 100%);
}
.tex.tex-right::after {
  -webkit-mask-image: radial-gradient(65% 100% at 100% 20%, transparent 40%, #000 62%, transparent 100%);
  mask-image: radial-gradient(65% 100% at 100% 20%, transparent 40%, #000 62%, transparent 100%);
}
.tex.tex-full::before { opacity: calc(var(--dots-opacity) * .5); }
.tex.tex-full::after { display: none; }
/* a scatter of single "pearl" dots as small accents */
.pearls { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.pearls i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0, #F6D6D2 50%, #DE9CA0 100%); box-shadow: 1px 2px 2px rgba(var(--shadow-rgb), .18); opacity: .8; }

/* Layout */
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
body.is-page main { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(3rem, 6vw, 5rem); }
body.is-full main > .flash-region { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section.tint { background: var(--alt-bg); border-block: 1px solid var(--line); }
.section.tint::before { content: ""; position: absolute; inset: 0; background: var(--mesh-c); pointer-events: none; }
.section.tint > .wrap { position: relative; }
.section-head { max-width: 42rem; margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }

/* Header: translucent, sticky, blurred */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 24px -20px rgba(var(--shadow-rgb), .5);
}
.header-inner { max-width: 88rem; margin-inline: auto; padding: .6rem var(--gutter); display: flex; align-items: center; gap: .75rem; }
.wordmark { margin: 0; font-family: var(--display); font-size: 1.22rem; font-weight: 620; letter-spacing: -.02em; line-height: 1.1; }
.wordmark a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.wordmark a:hover { color: var(--ink); }
.wordmark .dot-mark { flex: none; }
.wm-for { font-weight: 400; color: var(--muted); }
.header-inner > nav, .header-inner > .header-cta { display: none; }
.header-inner > nav { margin-inline-start: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .15rem; }
nav li a, nav .link-button { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .7rem; color: var(--ink); text-decoration: none; font-size: 1rem; border-radius: 999px; }
nav li a:hover, nav .link-button:hover { color: var(--accent); background: rgba(var(--shadow-rgb), .05); text-decoration: none; }
nav li a[aria-current="page"] { color: var(--accent); font-weight: 600; background: rgba(var(--shadow-rgb), .05); }
.nav-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; font: inherit; font-size: 1rem; cursor: pointer; }

/* Menu popover (details/summary, keyboard operable without JS) */
.menu { margin-inline-start: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .4rem 1rem; border: 1.5px solid var(--edge); border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--accent); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.1rem; height: 2px; background: currentColor; content: ""; position: relative; border-radius: 2px; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.menu[open] summary { border-color: var(--accent); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + .6rem); width: min(22rem, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: .75rem 1rem 1.1rem;
}
.menu-panel ul { flex-direction: column; margin-bottom: 1rem; }
.menu-panel li a, .menu-panel .link-button { width: 100%; font-size: 1.05rem; border-radius: 10px; }
.menu-panel .button { width: 100%; }
@media (min-width: 72rem) {
  .header-inner > nav { display: block; }
  nav li a, nav .link-button { font-size: .9rem; padding-inline: .6rem; }
  .header-inner > .header-cta { display: inline-flex; margin-inline-start: .35rem; }
  .menu { display: none; }
}
@media (max-width: 30rem) { .wordmark { font-size: 1rem; } .wm-for { display: none; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; min-width: 44px; padding: .7rem 1.6rem; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff) 0%, var(--accent) 100%);
  color: var(--accent-ink); border: 1.5px solid var(--accent-strong); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 16px -8px rgba(var(--shadow-rgb), .55);
  transition: background-color .18s, transform .18s, box-shadow .18s;
}
.button:hover { background: var(--accent-strong); color: var(--accent-ink); text-decoration: none; box-shadow: 0 10px 22px -10px rgba(var(--shadow-rgb), .6); transform: translateY(-1px); }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--edge); box-shadow: var(--shadow-sm); }
.button-secondary:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.button-danger { background: var(--surface); color: var(--error); border-color: var(--error); box-shadow: none; }
.button-danger:hover { background: var(--error); border-color: var(--error); color: var(--bg); }
.button-small { min-height: 44px; padding: .45rem 1.2rem; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.band .button-secondary { background: rgba(255,255,255,.55); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem); background: var(--hero-bg); border-bottom: 1px solid var(--line); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 2rem; align-items: center; position: relative; }
.hero-text h1 { margin-bottom: .4em; }
.hero-text .lead { margin-bottom: 0; }
.hero-visual { position: relative; display: flex; flex-direction: column; }
.hero-stage { position: relative; aspect-ratio: 2000 / 2100; width: min(100%, 38rem); margin-inline: auto; }
.hero-stage::before {
  content: ""; position: absolute; inset: 8% 4% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 72%); filter: blur(10px); z-index: 0;
}
.hero-stage picture, .hero-stage img, .hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-stage img { object-fit: contain; }
.hero-stage canvas { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-stage.is-live canvas { opacity: 1; }
.hero-stage.is-live picture { visibility: hidden; }
.hero-hint { position: relative; z-index: 2; text-align: center; margin: .5rem 0 0; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .hero-stage { width: 100%; }
}

/* Dots behind product imagery fade toward the edges so the picture stays the focus */
.product-stage::before, .gallery .g-stage::before, .split .stage::before {
  -webkit-mask-image: radial-gradient(ellipse at 100% 0, #000 0, transparent 75%); mask-image: radial-gradient(ellipse at 100% 0, #000 0, transparent 75%);
}

/* Cards and products */
.cards { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
@media (min-width: 40rem) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card, article {
  background: var(--surface);
  border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.product { display: flex; flex-direction: column; }
.product-stage {
  position: relative; isolation: isolate; aspect-ratio: 4 / 3.4; display: grid; place-items: center;
  background: #F3EDE4; border-bottom: 1px solid var(--edge);
}
.product-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: var(--dots-size); opacity: var(--dots-opacity); }
.product-stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; padding: 1.25rem; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-stage img { transform: translateY(-4px) scale(1.015); }
.card-body { padding: clamp(1.4rem, 3vw, 2.1rem); }
.card-body h2, .card-body h3 { margin-top: 0; }
.price { font-family: var(--display); font-size: 1.9rem; font-weight: 560; letter-spacing: -.02em; color: var(--accent); margin: .25rem 0 .75rem; }
.specs { list-style: none; margin: 1rem 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.specs span { font-weight: 650; color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.gallery .g-stage { aspect-ratio: 4 / 4.6; display: grid; place-items: center; background: #F3EDE4; position: relative; isolation: isolate; }
.gallery .g-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: var(--dots-size); opacity: calc(var(--dots-opacity) * .8); }
.gallery img { height: 100%; width: auto; max-width: 100%; object-fit: contain; padding: .9rem; }
figcaption { font-size: .9rem; color: var(--muted); padding: .7rem 1rem .9rem; line-height: 1.45; }

/* Steps */
.steps-grid { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 40rem) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.steps-grid li {
  counter-increment: s; position: relative; padding: 1.4rem 1.4rem 1.5rem; background: var(--surface);
  border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.steps-grid li::before { content: "0" counter(s); font-family: var(--display); font-size: 1rem; color: var(--muted); display: block; margin-bottom: .75rem; letter-spacing: .05em; }
.step-icon { display: inline-flex; color: var(--accent); margin-bottom: .6rem; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); box-shadow: var(--emboss), 0 0 0 1px var(--line); }
.steps-grid h3 { margin-bottom: .3em; }
.steps-grid p { font-size: .97rem; color: var(--muted); margin: 0; }
.wide-figure { margin: 0 auto 0 0; max-width: 48rem; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.wide-figure img { width: 100%; }
.icon { flex: none; }

/* Consent band */
.band { background: var(--band-bg); color: var(--band-ink); padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; isolation: isolate; border-block: 1px solid var(--line); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: var(--dots-size); opacity: var(--dots-opacity); -webkit-mask-image: radial-gradient(80% 100% at 100% 0, #000, transparent 70%); mask-image: radial-gradient(80% 100% at 100% 0, #000, transparent 70%); }
.band h2, .band h3 { color: var(--band-ink); }
.band a { color: var(--band-ink); }
.trust-grid { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid li { background: rgba(255,255,255,.5); border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.trust-grid p { font-size: .97rem; margin: 0; }
.trust-grid .icon { margin-bottom: .6rem; color: var(--accent-strong); }
.band-link { font-weight: 650; }

/* Split sections */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split img { width: 100%; }
.split .frame { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.split .stage { display: grid; place-items: center; background: #F3EDE4; padding: 1.5rem; position: relative; isolation: isolate; }
.split .stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: var(--dots-size); opacity: var(--dots-opacity); }
.small-img { max-width: 20rem; margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { padding: .4rem 0 .4rem 2.1rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .3rem; top: .95rem; width: .95rem; height: .5rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.final-cta { text-align: center; background: var(--hero-bg); }
.final-cta .lead { margin-inline: auto; }
.final-cta .cta-row { justify-content: center; }

/* Page heads and rows (how it works) */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); background: var(--hero-bg); border-bottom: 1px solid var(--line); }
.doc-head { padding-block: 0 clamp(.5rem, 2vw, 1rem); }
.page-head h1, .doc-head h1 { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4rem); }
.doc-head { margin-bottom: clamp(1rem, 3vw, 2rem); }
.rows { padding-block: 1rem clamp(3rem, 7vw, 5rem); }
.row { display: grid; gap: 1.75rem; padding-block: clamp(2.25rem, 5vw, 4rem); border-top: 1px solid var(--line); align-items: center; }
.row:first-child { border-top: 0; }
@media (min-width: 56rem) {
  .row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .row.flip .row-media { order: -1; }
}
.row-media { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.row-media img { width: 100%; }
.row-media img.tall { max-width: 26rem; margin-inline: auto; }
.row-media.stage { display: grid; place-items: center; background: #F3EDE4; padding: 1.5rem; }
.row-media.stage img { max-height: 30rem; width: auto; }
.step-no { font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.row h2 { margin-top: 0; }
.steps { padding-left: 1.4rem; max-width: 42rem; }
.steps li { margin-bottom: .75rem; padding-left: .25rem; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.spec-table { margin: 1.5rem 0; max-width: 52rem; border-top: 1px solid var(--edge); }
.spec-table div { display: grid; gap: .25rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .spec-table div { grid-template-columns: 13rem 1fr; } }
.spec-table dt { font-family: var(--display); font-weight: 580; font-size: 1.2rem; letter-spacing: -.01em; }
.spec-table dd { margin: 0; }

/* Before/after compare (progressively enhanced by site.js) */
.compare { margin: 0; }
.compare-pair { display: grid; gap: 0; }
.compare-pair figure { margin: 0; }
.compare.is-on .compare-pair { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.compare.is-on .compare-pair figure { position: absolute; inset: 0; }
.compare.is-on .compare-pair figure img { width: 100%; height: 100%; object-fit: cover; }
.compare.is-on .compare-pair figure + figure { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare.is-on figcaption.c-cap { display: none; }
.compare-handle { display: none; }
.compare.is-on .compare-handle {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; z-index: 3; pointer-events: none;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 14px rgba(0,0,0,.4);
}
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; margin: -1.3rem; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.compare-ui { display: none; padding: 1rem 1.25rem 1.25rem; }
.compare.is-on .compare-ui { display: block; }
.compare-ui label { display: block; font-weight: 650; margin-bottom: .5rem; }
.compare-ui input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--accent); margin: 0; }
.compare-ends { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); }

/* Documents with side nav */
.doc { display: grid; gap: 1.5rem; }
.doc-body { max-width: 44rem; }
.doc-body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem); padding-top: .6em; border-top: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.doc-body h2:first-child { margin-top: 0; }
.toc { border: 1px solid var(--edge); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.1rem 1.3rem; align-self: start; }
.toc-title { font-size: .75rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.toc ul { flex-direction: column; }
.toc a { display: inline-block; min-height: 44px; padding: .55rem 0; font-size: .97rem; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; background: none; }
@media (min-width: 62rem) {
  .doc { grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; }
  .toc { position: sticky; top: 6rem; }
  .toc a { min-height: 0; padding: .3rem 0; }
}
.callout, .draft-notice, .notice {
  border: 1px solid var(--edge); border-left: 5px solid var(--accent); background: var(--surface); border-radius: 4px var(--radius) var(--radius) 4px;
  padding: 1.05rem 1.3rem; margin: 1.5rem 0; box-shadow: var(--shadow-sm);
}
.callout p:last-child, .draft-notice:last-child { margin-bottom: 0; }
.draft-notice { border-left-color: var(--secondary); }
.notice { max-width: 46rem; font-weight: 600; }

/* Tables */
table { border-collapse: collapse; width: 100%; }
table caption { text-align: left; font-family: var(--display); font-weight: 580; font-size: 1.25rem; padding-bottom: .75rem; letter-spacing: -.01em; }
th, td { text-align: left; vertical-align: top; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--edge); background: var(--tint); }
tbody th { font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
table.pricing, table.orders, table.admin { margin: 2rem 0; background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--edge), var(--shadow-sm); overflow: hidden; }
table.pricing td:last-child { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; color: var(--accent); }
table.orders, table.admin { margin: 1.25rem 0 2rem; font-size: 1rem; }
table.orders caption, table.admin caption { padding: .9rem 1.1rem 0; }
@media (max-width: 40rem) {
  table { font-size: .9375rem; }
  th, td { padding: .55rem .5rem; overflow-wrap: anywhere; }
  table.pricing td:last-child { white-space: normal; }
}
.table-scroll { overflow-x: auto; }

/* Forms */
.field { margin: 1.35rem 0; border: 0; padding: 0; min-width: 0; }
.field label, legend { display: block; font-weight: 650; margin-bottom: .35rem; padding: 0; }
.field-check { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .25rem .75rem; margin: .6rem 0; }
.field-check label { display: inline; font-weight: 400; margin: 0; flex: 1; }
.field-check input { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--accent); flex: none; }
.field-check .hint, .field-check .error { flex-basis: 100%; }
input[type="text"], input[type="email"], input[type="password"], input[type="file"],
input[type="number"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: .65rem .9rem; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--field); border-radius: 12px; box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .08) inset;
}
input[type="file"] { padding: .7rem; }
textarea { min-height: 7rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error); }
.hint { color: var(--muted); font-size: .97rem; margin: 0 0 .4rem; }
.error { color: var(--error); font-weight: 650; margin: 0 0 .4rem; display: flex; gap: .4rem; align-items: flex-start; }
.error .icon, .error-summary .icon { width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.error-summary { border: 2px solid var(--error); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.25rem 0; background: var(--surface); max-width: 40rem; box-shadow: var(--shadow-sm); }
.error-summary h2 { margin: 0 0 .5rem; font-size: 1.35rem; color: var(--error); display: flex; gap: .5rem; align-items: center; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 40rem; margin-top: 1.5rem; }
.form-card form > .button, .form-card .button { margin-top: .5rem; }
.dob { display: flex; gap: 1rem; flex-wrap: wrap; }
.dob input { width: auto; }
fieldset.field { border: 0; }
.flash { border: 1.5px solid var(--field); border-left-width: 6px; border-radius: var(--radius); background: var(--surface); padding: .8rem 1.1rem; margin: 1rem 0; box-shadow: var(--shadow-sm); }
.flash-error { border-color: var(--error); color: var(--error); font-weight: 650; }
.flash-success, .flash-ok { border-color: var(--ok); }

/* App pages */
body.is-page main > h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.3rem); }
body.is-page main > h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); margin-top: 2.25rem; }
body.is-page main > p, body.is-page main > ul, body.is-page main > ol, body.is-page main > dl { max-width: 44rem; }
.status {
  display: inline-flex; align-items: center; padding: .3rem .95rem; border-radius: 999px; border: 1.5px solid var(--accent);
  font-weight: 650; font-size: .95rem; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm);
}
.status::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); margin-right: .55rem; box-shadow: 1px 1px 0 rgba(var(--shadow-rgb), .3); }
ol.progress { list-style: none; padding: 0; max-width: 42rem; }
ol.progress li { margin-bottom: .55rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--edge); background: var(--surface); border-radius: 4px var(--radius) var(--radius) 4px; }
ol.progress li.done { border-left-color: var(--ok); }
ol.progress li.done strong::before { content: "\2713\00a0"; }
ol.progress li[aria-current="step"] { border-left: 8px solid var(--accent); font-weight: 650; box-shadow: var(--shadow-sm); }
figure.preview { margin: 1.5rem 0; max-width: 32rem; }
figure.preview img { border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow); }
dl.details { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; max-width: 42rem; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.3rem 1.6rem; }
dl.details dt { font-weight: 650; color: var(--muted); }
dl.details dd { margin: 0; }
body.is-page main section[aria-labelledby] { max-width: 44rem; }
body.is-page main > section[aria-labelledby] { margin-top: 2rem; }
body.is-page main section .field { max-width: 36rem; }
body.is-page main section form { margin-block: .75rem; }
body.is-page main section form .button { margin-top: .25rem; }
blockquote { margin: 1.5rem 0; padding: .6rem 1.3rem; border: 1px solid var(--edge); border-left: 5px solid var(--secondary); background: var(--surface); border-radius: 4px var(--radius) var(--radius) 4px; max-width: 40rem; }
.inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .25rem .75rem .25rem 0; }
.inline-form label { margin-right: .25rem; font-weight: 650; }
.inline-form input[type="text"] { width: auto; min-width: 12rem; }
article { padding: 1.1rem 1.6rem; margin: 1.25rem 0; max-width: 50rem; }
article h2 { margin-top: 0; font-size: 1.4rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; background: var(--tint); border: 1px solid var(--line); padding: 1rem; border-radius: var(--radius); }
address { font-style: normal; }
.braille-label { font-size: 3rem; letter-spacing: .1em; }
body.is-page main > ul li, body.is-page main > ol li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--foot-bg); color: var(--ink); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; position: relative; isolation: isolate; border-top: 1px solid var(--edge); margin-top: 0; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots); background-size: var(--dots-size); opacity: calc(var(--dots-opacity) * .7); -webkit-mask-image: linear-gradient(0deg, #000 0, transparent 80%); mask-image: linear-gradient(0deg, #000 0, transparent 80%); }
.site-footer a { color: var(--ink); }
.site-footer nav li a { color: var(--ink); font-size: 1rem; padding-inline: 0; }
.site-footer nav li a:hover { color: var(--accent-strong); background: none; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer nav ul { flex-direction: column; gap: 0; }
.footer-title { font-size: .75rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.footer-brand p { font-size: .97rem; max-width: 26rem; }
.footer-word { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); letter-spacing: -.02em; margin: 1rem 0 0; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--edge); font-size: .9rem; color: var(--muted); }
.footer-base p { margin: 0; }

/* Scroll reveal: JS adds .reveal to elements and .is-in when they arrive. Nothing is hidden without JS. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Motion is decorative only and off for people who ask. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:hover, .product:hover .product-stage img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .card, article, .toc, .steps-grid li { border-color: CanvasText; }
}
@media print {
  .site-header, .site-footer, .skip-link, .no-print { display: none; }
  body::before { display: none; }
  body.slip { color: #000; background: #fff; }
}
