/* The site's pages: estokiapp.com and /pt-br/, the supplies page, Support, the kiosk, Delete your
   account and 404. Every colour, length, curve and duration is a token from
   docs/design-system/tokens.json (sage, clay and honey on oat); the fonts are the apps' own,
   self-hosted. The code pages and the published legal versions keep site.css. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap;
             src: url("/assets/fonts/bricolage-grotesque-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 200 800; font-display: swap;
             src: url("/assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --primary: #4f6f52; --on-primary: #ffffff; --primary-container: #d0ebcb; --on-primary-container: #0b2010;
  --secondary: #a0583c; --secondary-container: #ffdbce; --on-secondary-container: #390c00;
  --tertiary: #7a5900; --tertiary-container: #ffdf9c; --on-tertiary-container: #261a00;
  --surface: #fbf8f2; --on-surface: #1b1c17; --on-surface-variant: #47473f;
  --surface-low: #f6f3e8; --surface-container: #f1ede2; --surface-high: #ebe8dc; --surface-highest: #e5e2d6;
  --inverse-surface: #30312b; --outline: #78786e; --outline-variant: #c9c7ba; --error: #ba1a1a;
  --sage-deep: #364d39; --oat: #fbf8f2; --honey: #f0c14b; --clay-light: #ffb59a;
  --shadow-float: 0 6px 20px rgba(27, 28, 23, 0.14);
  --radius-xs: 8px; --radius-sm: 12px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px; --radius-full: 999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); --ease-decelerate: cubic-bezier(0, 0, 0, 1);
  --duration-screen: 250ms; --duration-success: 600ms;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --logo-e: #4f6f52; --logo-jar: #a0583c; --logo-lid: #e0a93b; --logo-shelf: #e0a93b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #b4cfb0; --on-primary: #1f3623; --primary-container: #364d39; --on-primary-container: #d0ebcb;
    --secondary: #ffb59a; --secondary-container: #7d2e15; --on-secondary-container: #ffdbce;
    --tertiary: #f0c14b; --tertiary-container: #5c4300; --on-tertiary-container: #ffdf9c;
    --surface: #13140f; --on-surface: #e5e2d6; --on-surface-variant: #c9c7ba;
    --surface-low: #1b1c17; --surface-container: #1f201b; --surface-high: #2a2b25; --surface-highest: #353630;
    --inverse-surface: #e5e2d6; --outline: #929287; --outline-variant: #47473f; --error: #ffb4ab;
    --shadow-float: 0 6px 20px rgba(0, 0, 0, 0.55);
    --logo-e: #fbf8f2; --logo-jar: #ffdbce; --logo-lid: #d0ebcb;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--on-surface); font-family: var(--text); font-size: 17px;
       line-height: 1.55; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p, ul, ol { margin: 0; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95em; background: var(--surface-high);
       padding: 2px 6px; border-radius: var(--radius-xs); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); }
.lead { font-size: 1.15rem; color: var(--on-surface-variant); max-width: 36rem; }
.fine { font-size: 0.9rem; color: var(--on-surface-variant); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 3px; border-radius: var(--radius-xs); }

/* Buttons: the design system's pills, 48px tall at least. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 var(--space-5);
       border-radius: var(--radius-full); font-family: var(--text); font-weight: 700; font-size: 1rem; text-decoration: none;
       border: 1.5px solid transparent; color: var(--on-primary); background: var(--primary);
       transition: transform var(--duration-screen) var(--ease-standard), box-shadow var(--duration-screen) var(--ease-standard); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.btn:active { transform: translateY(0); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-outline { background: transparent; color: var(--on-surface); border-color: var(--outline); }
.btn-oat { background: var(--oat); color: #364d39; }
.btn-ghost { background: transparent; color: var(--oat); border-color: rgba(251, 248, 242, 0.55); }
.btn-ghost:hover { background: rgba(251, 248, 242, 0.1); }
.btn svg { width: 20px; height: 20px; flex: none; }
/* Google's own badge, unaltered, at its minimum height; the App Store's is a pill until its artwork is in. */
.badge { display: inline-block; border-radius: 10px;
         transition: transform var(--duration-screen) var(--ease-standard), box-shadow var(--duration-screen) var(--ease-standard); }
.badge img { height: 56px; width: auto; }
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }

/* Header: sticky, translucent, the logo's shelf and jar in the mark. */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
       background: color-mix(in srgb, var(--surface) 80%, transparent); border-bottom: 1px solid transparent;
       transition: border-color var(--duration-screen), background-color var(--duration-screen); }
.top.scrolled { border-bottom-color: var(--outline-variant); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-surface); text-decoration: none;
         font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand svg { width: 40px; height: auto; }
.logo-e { stroke: var(--logo-e); }
.logo-shelf { stroke: var(--logo-shelf); }
.logo-jar { fill: var(--logo-jar); }
.logo-lid { fill: var(--logo-lid); }
.top nav { display: flex; align-items: center; gap: var(--space-5); }
.top nav a { text-decoration: none; color: var(--on-surface-variant); font-weight: 700; font-size: 0.95rem; }
.top nav a:hover { color: var(--on-surface); }
.top nav a.btn { min-height: 40px; padding: 0 18px; font-size: 0.95rem; color: var(--on-primary); }
@media (max-width: 720px) { .top nav a.quiet { display: none; } }

/* Hero: sage running deeper, the shelf plank drawn across it with jars settling on it, the phone floating. */
.hero { position: relative; overflow: hidden; color: var(--oat);
        background: linear-gradient(135deg, #5b7d5e 0%, #4f6f52 45%, #364d39 100%); }
.hero::before { content: ""; position: absolute; inset: -40%; pointer-events: none; background:
  radial-gradient(40% 40% at 25% 30%, rgba(208, 235, 203, 0.2), transparent 70%),
  radial-gradient(35% 35% at 75% 75%, rgba(240, 193, 75, 0.14), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
              padding: 72px 0 64px; min-height: min(88vh, 820px); }
.hero h1 { color: var(--oat); }
.hero .eyebrow { color: #d0ebcb; }
.hero .lead { color: rgba(251, 248, 242, 0.84); margin-top: 20px; }
.hero .fine { margin-top: 18px; color: rgba(251, 248, 242, 0.72); }
.hero .fine a { color: inherit; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-6); }
.shelf { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; pointer-events: none; }
.shelf .plank { fill: none; stroke: var(--honey); stroke-width: 10; stroke-linecap: round; opacity: 0.9;
                stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2s var(--ease-decelerate) 0.2s forwards; }
.shelf .jar { opacity: 0; transform: translateY(-16px); animation: settle var(--duration-success) var(--ease-decelerate) forwards; }
.shelf .jar:nth-of-type(2) { animation-delay: 1.1s; }
.shelf .jar:nth-of-type(3) { animation-delay: 1.4s; }
.shelf .jar:nth-of-type(4) { animation-delay: 1.7s; }
.shelf .jar rect:first-child { fill: var(--clay-light); }
.shelf .jar rect:last-child { fill: #d0ebcb; }
.hero-phone { justify-self: center; align-self: end; }
.hero-phone .phone { animation: float 7s ease-in-out infinite; transition: transform var(--duration-success) var(--ease-standard); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; min-height: 0; text-align: center; }
  .hero .lead, .cta { margin-inline: auto; justify-content: center; }
  .hero-phone { margin-top: var(--space-5); }
}

/* The screenshots already wear their phone's body; the page gives them room and a shadow. */
.phone { width: 300px; max-width: 78vw; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
.phone.small { width: 250px; filter: drop-shadow(0 16px 32px rgba(27, 28, 23, 0.22)); }
@media (prefers-color-scheme: dark) { .phone.small { filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6)); } }

/* Sections. */
section { padding: 80px 0; }
section.alt { background: var(--surface-low); }
.section-head { max-width: 40rem; }
.section-head .lead { margin-top: var(--space-3); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature .copy h2 { margin-top: var(--space-3); }
.feature .copy p { margin-top: var(--space-4); color: var(--on-surface-variant); font-size: 1.1rem; max-width: 34rem; }
.feature .copy p.first { margin-top: var(--space-5); }
.feature .art { display: grid; place-items: center; }
.feature + .feature { margin-top: 96px; }
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; z-index: -1; filter: blur(44px); opacity: 0.7;
                background: var(--primary-container); }
.glow.clay::before { background: var(--secondary-container); }
.glow.honey::before { background: var(--tertiary-container); }

/* A figure from its source, beside the feature it belongs to. */
.figure { margin-top: var(--space-5); border-left: 4px solid var(--tertiary); padding: var(--space-2) 0 var(--space-2) var(--space-4); max-width: 34rem; }
.figure strong { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.15; color: var(--on-surface); }
.figure p { margin-top: var(--space-1); color: var(--on-surface-variant); font-size: 1rem; }
.figure cite { font-style: normal; font-size: 0.9rem; color: var(--on-surface-variant); }
.figure cite a { color: inherit; }

/* What the official advice says: one card each. */
.advice { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.advice blockquote { margin: 0; background: var(--surface-container); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: var(--space-3); }
.advice blockquote p { font-family: var(--display); font-size: 1.2rem; line-height: 1.3; }
.advice blockquote footer { font-size: 0.92rem; color: var(--on-surface-variant); }
.advice blockquote footer a { color: inherit; }
.ready-note { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center;
              justify-content: space-between; background: var(--primary-container); color: var(--on-primary-container);
              border-radius: var(--radius-lg); padding: 20px 28px; }
.ready-note p { max-width: 40rem; }
.ready-note .btn { flex: none; }

/* The kiosk. */
.kiosk { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kiosk .copy p { margin-top: var(--space-4); color: var(--on-surface-variant); font-size: 1.1rem; max-width: 34rem; }
.kiosk .copy h2 { margin-top: var(--space-3); }
.kiosk-screen img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--outline-variant);
                    box-shadow: 0 24px 48px rgba(27, 28, 23, 0.18); }
@media (prefers-color-scheme: dark) { .kiosk-screen img { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55); } }

/* What Estoki doesn't do. */
.honest { border: 1.5px solid var(--outline-variant); border-radius: var(--radius-xl); padding: 36px; margin-top: var(--space-6);
          display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.honest h2 { grid-column: 1 / -1; }
.honest div { padding-left: 18px; border-left: 3px solid var(--secondary-container); }
.honest strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.honest p { color: var(--on-surface-variant); margin-top: var(--space-1); }

/* Free, and Estoki Plus. */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: var(--space-6); }
.tier { background: var(--surface); border: 1.5px solid var(--outline-variant); border-radius: var(--radius-lg); padding: 28px;
        transition: transform 300ms var(--ease-standard), box-shadow 300ms var(--ease-standard); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.tier.plus { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.tier.plus h3, .tier.plus .eyebrow, .tier.plus p { color: var(--on-primary); }
.tier .eyebrow { color: var(--secondary); }
.tier p { margin-top: var(--space-2); color: var(--on-surface-variant); }
.tier ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tier li { padding-left: 26px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
                   background: var(--primary-container); }
.tier.plus li::before { background: var(--honey); }
.tier li strong { display: block; }
.tier .price { margin-top: var(--space-5); font-size: 0.95rem; }

/* The last call. */
.band { background: var(--sage-deep); color: var(--oat); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(79, 111, 82, 0.9), transparent 70%); }
.band .wrap { position: relative; }
.band h2 { color: var(--oat); }
.band .lead { color: rgba(251, 248, 242, 0.8); margin: var(--space-4) auto 0; }
.band .cta { justify-content: center; }
.band .fine { color: rgba(251, 248, 242, 0.72); margin-top: var(--space-4); }
.band .fine a { color: inherit; }

footer { padding: 40px 0 56px; color: var(--on-surface-variant); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-4) 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) 22px; }
footer a { color: inherit; }

/* Reveal on scroll, staggered; nothing moves under reduce-motion. */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-decelerate), transform 700ms var(--ease-decelerate); }
[data-reveal].in { opacity: 1; transform: none; }
.advice [data-reveal]:nth-child(2), .tiers [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.advice [data-reveal]:nth-child(3) { transition-delay: 240ms; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes drift { to { transform: translate(6%, 4%) rotate(8deg); } }

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .feature, .kiosk, .honest, .tiers, .advice { grid-template-columns: 1fr; }
  .feature, .kiosk { gap: var(--space-6); }
  .feature.flip .copy { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .honest { padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero-phone .phone, .shelf .plank, .shelf .jar { animation: none; }
  .shelf .plank { stroke-dashoffset: 0; }
  .shelf .jar { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .tier, .badge { transition: none; }
}

/* The supplies page. */
.calc-hero { padding: 56px 0 40px; }
.calc-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: var(--space-3); }
.calc-hero .lead { margin-top: var(--space-4); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.calc form { background: var(--surface-container); border-radius: var(--radius-xl); padding: 28px; display: grid; gap: 22px; }
.calc form h2 { font-size: 1.2rem; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.stock { display: grid; gap: var(--space-4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--on-surface-variant); }
.field input, .field select { width: 100%; min-height: 52px; border: 1.5px solid var(--outline-variant); border-radius: var(--radius-sm);
                              background: var(--surface); color: var(--on-surface); font: inherit; font-size: 1.1rem; padding: 0 14px;
                              transition: border-color 200ms, box-shadow 200ms; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary);
                                          box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.people .field input { min-height: 48px; font-size: 1.05rem; padding: 0 10px; }
.people .field label { font-size: 0.85rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
                background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%2378786e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
                background-repeat: no-repeat; background-position: right 14px center; }
.unit { display: flex; align-items: center; gap: var(--space-2); background: var(--surface); border: 1.5px solid var(--outline-variant);
        border-radius: var(--radius-sm); padding: 0 14px; min-height: 52px; transition: border-color 200ms, box-shadow 200ms; }
.unit:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.unit input { border: 0; min-height: 48px; padding: 0; background: transparent; box-shadow: none; }
.unit input:focus { box-shadow: none; }
.unit span { color: var(--on-surface-variant); font-weight: 700; white-space: nowrap; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--tertiary-container);
          color: var(--on-tertiary-container); border-radius: var(--radius-lg); padding: var(--space-4) 20px; margin-top: 28px; max-width: 44rem; }
.notice svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.notice strong { font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: var(--space-1); }
.notice p { font-size: 0.98rem; }
.result { background: var(--sage-deep); color: var(--oat); border-radius: var(--radius-xl); padding: var(--space-6); position: sticky; top: 88px;
          background-image: radial-gradient(60% 50% at 80% 0%, rgba(208, 235, 203, 0.22), transparent 70%); }
.result .eyebrow { color: #d0ebcb; }
.result h2 { color: var(--oat); margin-top: var(--space-2); font-size: 1.5rem; }
.result .baseline { margin-top: var(--space-3); color: rgba(251, 248, 242, 0.85); }
.result .baseline a { color: inherit; }
.rows { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); align-items: baseline;
           background: rgba(251, 248, 242, 0.08); border-radius: var(--radius-md); padding: 14px 18px; }
.rows .what { font-weight: 700; }
.rows .days { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; text-align: right; }
.rows .from { grid-column: 1 / -1; font-size: 0.9rem; color: rgba(251, 248, 242, 0.75); }
.rows li[data-state="covered"] .days { color: #d0ebcb; }
.rows li[data-state="short"] .days { color: var(--honey); }
.rows li[data-state="unknown"] .days { color: rgba(251, 248, 242, 0.6); font-size: 1.1rem; }
.result .ask { margin-top: var(--space-4); background: var(--tertiary-container); color: var(--on-tertiary-container);
               border-radius: var(--radius-md); padding: var(--space-4); }
.result .cta { margin-top: var(--space-5); }
.result .next { margin-top: var(--space-4); color: rgba(251, 248, 242, 0.85); }
.leaves { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leaves div { background: var(--surface-container); border-radius: var(--radius-lg); padding: 22px; }
.leaves strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.leaves p { color: var(--on-surface-variant); margin-top: 6px; }
.sources { margin-top: var(--space-6); font-size: 0.9rem; color: var(--on-surface-variant); }
.sources ul { padding-left: 20px; display: grid; gap: var(--space-1); margin-top: var(--space-2); }
.sources a { color: inherit; }
@media (max-width: 860px) {
  .calc, .leaves { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .result { position: static; }
}

/* Support, the kiosk and Delete your account. */
.doc-hero { padding: 56px 0 8px; }
.doc-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: var(--space-3); }
.doc-hero .lead { margin-top: 14px; }
.doc-body { padding: 40px 0 72px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--sage-deep);
           color: var(--oat); border-radius: var(--radius-xl); padding: 28px 32px; }
.contact h2 { color: var(--oat); font-size: 1.5rem; }
.contact p { color: rgba(251, 248, 242, 0.84); margin-top: 6px; max-width: 34rem; }
.contact .btn { flex: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.card { background: var(--surface-container); border-radius: var(--radius-lg); padding: 26px; }
.card h3 { margin-bottom: var(--space-2); }
.card p + p, .card ul, .card ol { margin-top: var(--space-3); }
.card ul, .card ol { padding-left: 20px; color: var(--on-surface-variant); display: grid; gap: 6px; }
.card p { color: var(--on-surface-variant); }
.card p strong, .card li strong { color: var(--on-surface); }
.card .btn { margin-top: var(--space-2); }
.card.quiet { background: transparent; border: 1.5px solid var(--outline-variant); }
.card pre { margin: var(--space-3) 0 0; background: var(--inverse-surface); color: var(--oat); border-radius: var(--radius-md); padding: 14px 18px;
            overflow-x: auto; font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .card pre { color: #1b1c17; } }
.card pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.doc-body .honest { margin-top: 28px; }
.doc-body .fine { margin-top: var(--space-5); }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* The kiosk case's assembly guide. */
.case-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 28px; }
.case-photos img, .steps img, .case-pictures img { border-radius: var(--radius-lg); border: 1px solid var(--outline-variant); }
.case-pictures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.case-pictures figcaption { margin-top: var(--space-2); font-size: 0.9rem; color: var(--on-surface-variant); }
.case-pictures figure, .steps figure { margin: 0; }
.case-section { margin-top: var(--space-7); }
.case-section > h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.case-section > p { margin-top: var(--space-3); color: var(--on-surface-variant); max-width: 46rem; }
.case-table { width: 100%; border-collapse: collapse; margin-top: var(--space-3); font-size: 0.97rem; }
.case-table th, .case-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--outline-variant); }
.case-table th { font-weight: 700; color: var(--on-surface); }
.case-table td { color: var(--on-surface-variant); }
.steps { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 16px; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; background: var(--surface-container); border-radius: var(--radius-lg);
              padding: 22px 26px 24px 74px; color: var(--on-surface-variant); }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: var(--radius-full);
                      background: var(--primary); color: var(--on-primary); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.steps h3 { color: var(--on-surface); margin-bottom: var(--space-2); }
.steps ul { margin-top: var(--space-3); padding-left: 20px; display: grid; gap: 6px; }
.steps p + p, .steps ul + p { margin-top: var(--space-3); }
.steps strong { color: var(--on-surface); }
.steps figure { margin-top: var(--space-4); max-width: 30rem; }
@media (max-width: 860px) {
  .case-photos, .case-pictures { grid-template-columns: 1fr; }
  .steps > li { padding: 70px 20px 22px; }
  .case-table { font-size: 0.92rem; }
}

/* Page not found. */
.lost { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: var(--space-7) 0; }
.lost .brand { flex-direction: column; font-size: 2.2rem; gap: var(--space-3); }
.lost .brand svg { width: 96px; }
.lost h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: var(--space-5); }
.lost .lead { margin: var(--space-3) auto 0; }
.lost .cta { justify-content: center; }
