/* Hush Hush · hushush.app — one stylesheet, sections labelled below.
   Theme: docs/WEBSITE-STYLE.md. Mac system fonts and self-hosted Flaticon UIcons; the only
   outside script is Google Analytics, and only after the visitor says yes (js/cookie-consent.js). */
:root {
  --night: #14163c;
  --indigo: #2e3487;
  --mist: #eef0f8;
  --ink: #1d2040;
  --gold: #ffc83d;        /* the one accent: Buy and Download, focus ring */
  --gold-hover: #ffd96e;
  --gold-ink: #a87400;    /* the same gold, dark enough to read on white */
  /* Buttons (docs/WEBSITE-STYLE.md): every button glows, lifts on hover, settles when pressed. */
  --glow-gold: 0 6px 22px -6px rgba(255, 200, 61, 0.55);
  --glow-gold-hover: 0 10px 30px -6px rgba(255, 200, 61, 0.85);
  --glow-light: 0 6px 22px -8px rgba(201, 205, 255, 0.45);
  --glow-light-hover: 0 10px 30px -8px rgba(201, 205, 255, 0.75);
  --lift: translateY(-2px);
  --button-motion: background 0.15s, box-shadow 0.15s, transform 0.15s;
  --slate: #666b8f;
  --paper: #ffffff;
  --round: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --measure: 34rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--text);
  color: var(--ink);
  background: var(--mist);
}
a { color: var(--indigo); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
img { max-width: 100%; }

/* Skip link (every page, first in <body>): hidden until it gets keyboard focus. */
.skip-link { position: fixed; top: -100%; left: 1rem; z-index: 1000; padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--gold); color: var(--night); font: 600 0.95rem/1 var(--round); text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* Wide column (Aldo, 2026-11-29: less empty margin on wide screens); text lines stay short via --measure. */
.wrap { width: min(84rem, 100% - clamp(3rem, 7vw, 7rem)); margin-inline: auto; }

/* Header (copied into every page) */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none;
  font: 700 1.15rem/1 var(--round); }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
.nav a { color: inherit; text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav .nav__buy { opacity: 1; font: 600 0.95rem/1 var(--round); padding: 0.65rem 1rem; border-radius: 999px;
  background: var(--gold); color: var(--night); box-shadow: var(--glow-gold); transition: var(--button-motion); }
.nav .nav__buy:hover { background: var(--gold-hover); box-shadow: var(--glow-gold-hover); text-decoration: none; }
.hero .nav a:not(.nav__buy) { color: var(--mist); }

/* Hero: night sky, the fn key and the text it types */
.hero { background: var(--night); color: var(--mist); padding-bottom: 3.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: center; padding-top: 4.5rem; }
/* Four short lines, one per promise; each stays on its own line. */
.hero h1 {
  font: 700 clamp(2.2rem, 4.6vw, 3.6rem)/1.06 var(--round);
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero .lede { font-size: 1.25rem; line-height: 1.55; max-width: 30rem; color: #c9cbe6; margin: 0 0 2.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
/* Buttons: one system for the whole site (docs/WEBSITE-STYLE.md).
   Primary = gold with a gold glow. Secondary = outline with a light glow.
   All of them lift 2px on hover and settle back when pressed. */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font: 600 1.05rem/1 var(--round);
  padding: 1rem 1.5rem; border-radius: 999px;
  transition: var(--button-motion);
}
.btn:hover, .nav .nav__buy:hover, .lang-switch button:hover { transform: var(--lift); }
.btn:active, .nav .nav__buy:active, .lang-switch button:active { transform: none; }
.btn-buy { background: var(--gold); color: var(--night); box-shadow: var(--glow-gold); }
.btn-buy:hover { background: var(--gold-hover); box-shadow: var(--glow-gold-hover); }
.btn-quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor, var(--glow-light); }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px currentColor, var(--glow-light-hover); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.fineprint { font-size: 0.9rem; color: #9ea1c8; margin-top: 1.1rem; }

/* The demo: a keycap and a text field */
/* Top of the window lines up with the headline, not centred lower (Aldo, 2026-11-29). */
.demo { position: relative; align-self: start; margin-top: 0.4rem; }
.field {
  background: #f7f7fb; color: var(--ink); border-radius: 14px;
  padding: 1.25rem 1.4rem 1.6rem; height: 18rem; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  font-size: 1.1rem; line-height: 1.55;
}
/* Title bar of the active window: the red, yellow and green buttons, app name centred. */
.field-bar { position: relative; display: flex; align-items: center; gap: 7px; margin-bottom: 1rem; min-height: 12px; }
.field-bar span { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.field-bar span:nth-child(1) { background: #ff5f57; }
.field-bar span:nth-child(2) { background: #febc2e; }
.field-bar span:nth-child(3) { background: #28c840; }
/* Pause / Play: a quiet round secondary button just outside the window's bottom-right corner. */
.demo-pause { position: absolute; right: 0; top: calc(18rem + 0.55rem); width: 1.9rem; height: 1.9rem; padding: 0;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: rgba(238, 240, 248, 0.6); background: transparent; border: 0;
  box-shadow: inset 0 0 0 1.5px rgba(238, 240, 248, 0.3); transition: var(--button-motion); }
.demo-pause svg { width: 0.75rem; height: 0.75rem; fill: currentColor; }
.demo-pause .i-play, .demo-pause.is-paused .i-pause { display: none; }
.demo-pause.is-paused .i-play { display: block; }
.demo-pause:hover { color: var(--mist); transform: var(--lift); box-shadow: inset 0 0 0 1.5px rgba(238, 240, 248, 0.7), var(--glow-light-hover); }
.demo-pause:active { transform: none; }
.demo-pause[hidden] { display: none; }
.app-name { position: absolute; left: 50%; transform: translateX(-50%); font: 600 0.85rem/1 var(--text); color: #4a4d6c; white-space: nowrap; }
/* One window, three apps: only the current one shows. */
.app-view { display: none; }
.field[data-app="email"] .app-email, .field[data-app="message"] .app-message, .field[data-app="doc"] .app-doc { display: block; }
.chat-to { text-align: center; font-size: 0.85rem; color: var(--slate); border-bottom: 1px solid #e3e4ef; padding-bottom: 0.6rem; margin-bottom: 0.9rem; }
.bubble { max-width: 80%; padding: 0.55rem 0.85rem; border-radius: 1.1rem; margin-bottom: 0.5rem; font-size: 1.02rem; line-height: 1.4; }
.bubble-in { background: #e5e6ef; border-bottom-left-radius: 0.35rem; }
.bubble-out { background: var(--indigo); color: #fff; margin-left: auto; border-bottom-right-radius: 0.35rem; min-height: 2.3rem; }
.bubble-out .typed { white-space: pre-line; }
.typed::after { background: #fff; }
.bubble-out:has(.typed:empty) { visibility: hidden; }   /* no empty bubble while listening */
.doc-title { font: 700 1.35rem/1.2 var(--round); margin-bottom: 0.6rem; }
.field-to { font-size: 0.85rem; color: var(--slate); border-bottom: 1px solid #e3e4ef; padding-bottom: 0.6rem; margin-bottom: 0.8rem; }
.typed { white-space: pre-line; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.15em; vertical-align: -0.2em;
  background: var(--indigo); margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.keyrow { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; margin-top: 2.75rem; height: 6.5rem; }
/* Drawn like the real Mac key: graphite, outlined globe bottom left, "fn" bottom right. */
.keycap {
  position: relative; flex: none;
  width: 5.5rem; height: 5.5rem; border-radius: 0.9rem;
  background: linear-gradient(#323236, #262629);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -5px 0 rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 22px 2px rgba(201, 205, 255, 0.22), 0 18px 30px -10px rgba(0, 0, 0, 0.6);
  color: #f2f3f7;
  transition: transform 0.12s, box-shadow 0.2s;
}
.keycap .globe { position: absolute; left: 0.85rem; bottom: 0.85rem; width: 1.15rem; height: 1.15rem; }
.keycap .fn { position: absolute; right: 0.9rem; bottom: 0.7rem; font: 500 1.3rem/1 var(--text); }
.globe { fill: none; stroke: currentColor; stroke-width: 1.6; }
.keycap.down { transform: translateY(5px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 200, 61, 0.9), 0 0 34px 8px rgba(255, 200, 61, 0.5), 0 8px 14px -8px rgba(0, 0, 0, 0.6); }
.keycap .ring { position: absolute; inset: -9px; border-radius: 1.35rem; border: 2px solid var(--gold); opacity: 0; }
.keycap.down .ring { animation: listen 1.2s ease-out infinite; }
@keyframes listen { from { opacity: 0.9; transform: scale(0.95); } to { opacity: 0; transform: scale(1.15); } }
/* Up to two lines so long labels ("Mantén para hablar") show whole; the row height stays fixed. */
.hold-label { font: 500 1.05rem/1.3 var(--round); color: #c9cbe6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.lang-switch { display: flex; gap: 0.35rem; }
.lang-switch button { font: 500 0.85rem/1 var(--text); color: #c9cbe6; background: transparent; border: 1px solid #3b3f78;
  border-radius: 999px; padding: 0.45rem 0.7rem; cursor: pointer; min-width: 6.4rem; text-align: center;
  box-shadow: var(--glow-light); transition: var(--button-motion); }
.lang-switch button:hover { box-shadow: var(--glow-light-hover); border-color: #6e73b8; }
.lang-switch button[aria-pressed="true"] { background: var(--mist); color: var(--night); border-color: var(--mist); }

/* Sections */
section { padding-block: 5.5rem; }
section h2 { font: 700 clamp(1.9rem, 3.6vw, 2.6rem)/1.1 var(--round); letter-spacing: -0.01em; margin: 0 0 1rem; max-width: 24ch; }
section .intro { max-width: var(--measure); color: #43476b; margin: 0 0 3rem; font-size: 1.15rem; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.ways h3, .words h3 { font: 600 1.2rem/1.3 var(--round); margin: 0 0 0.5rem; }
.ways p { margin: 0; color: #43476b; }
.kbd { display: inline-flex; align-items: center; gap: 0.35em; font: 500 0.85em/1 var(--text); padding: 0.3em 0.5em;
  border-radius: 0.4em; background: #2c2c30; box-shadow: inset 0 -2px 0 #111; color: #f2f3f7; vertical-align: 0.05em; }
.kbd .globe { width: 0.95em; height: 0.95em; }

/* Privacy: the honest list */
.privacy { background: var(--paper); }
.whisper-note { font: 500 1.15rem/1.5 var(--round); max-width: 38rem; margin: -1.5rem 0 3rem;
  padding: 1rem 1.25rem; background: var(--mist); border-radius: 14px; }
.whisper-note span { margin-right: 0.4rem; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ledger h3 { font: 600 1.15rem/1.3 var(--round); margin: 0 0 1rem; }
.ledger ul { list-style: none; padding: 0; margin: 0; }
.ledger li { padding: 0.85rem 0; border-top: 1px solid #e6e7f1; }
.ledger li:last-child { border-bottom: 1px solid #e6e7f1; }
.ledger li b { display: block; font-weight: 600; }
.ledger li span { color: #5a5e82; font-size: 0.97rem; }
.stays b::before { content: "●"; color: var(--indigo); margin-right: 0.5rem; font-size: 0.7em; vertical-align: 0.15em; }
.leaves b::before { content: "○"; color: var(--gold-ink); margin-right: 0.5rem; font-size: 0.8em; }

/* Words */
/* Compare: Hush Hush first, then the two best-known Mac dictation apps (Aldo, 2026-11-29). */
.compare { background: var(--paper); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 44rem; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 0.95rem 1rem; border-bottom: 1px solid #e6e7f1; }
.compare-table thead th { font: 600 1.05rem/1.3 var(--round); border-bottom: 2px solid #d6d8e8; }
.compare-table tbody th { font-weight: 600; }
.compare-table td { color: #5a5e82; }
.compare-table .us { background: var(--mist); color: var(--ink); }
.compare-table thead .us { background: var(--night); color: #fff; border-radius: 14px 14px 0 0; border-bottom-color: var(--night); }
.compare-table tbody tr:last-child .us { border-radius: 0 0 14px 14px; border-bottom-color: transparent; }
.compare-table .yes { color: #1f8a4c; font-weight: 700; }
.compare-table .no { color: #b0485a; font-weight: 700; }
/* One line per row; the table scrolls sideways on narrow screens. */
.compare-table th, .compare-table td { white-space: nowrap; }
/* Hover (or focus/tap) tip: dotted underline, the other price in a small dark bubble. */
.compare-table .tip { position: relative; text-decoration: underline dotted; text-underline-offset: 0.25em; cursor: help; outline-offset: 2px; }
.compare-table .tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 0.5rem); transform: translateX(-50%);
  background: var(--night); color: #fff; font-size: 0.85rem; padding: 0.4rem 0.65rem; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 2; }
.compare-table .tip:hover::after, .compare-table .tip:focus::after { opacity: 1; }
.compare-table td:last-child .tip::after { left: auto; right: 0; transform: none; }
.compare-note { font-size: 0.9rem; color: var(--slate); margin: 1.25rem 0 0; max-width: var(--measure); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.words-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.fix { background: var(--paper); border-radius: 14px; padding: 1.5rem; font-size: 1.05rem; }
.fix p { margin: 0.35rem 0; }
.fix del { color: #9b5c5c; text-decoration-thickness: 2px; }
.fix ins { text-decoration: none; background: #e7e9fb; padding: 0 0.2em; border-radius: 0.2em; }
.fix .note { font-size: 0.9rem; color: var(--slate); margin-top: 1rem; }

/* Price */
.buy { background: var(--night); color: var(--mist); }
.buy h2 { color: var(--mist); }
.price-row { display: flex; flex-wrap: wrap; gap: 3rem; align-items: end; justify-content: space-between; }
.price { font: 700 clamp(3.5rem, 8vw, 5.5rem)/1 var(--round); letter-spacing: -0.03em; }
.price small { display: block; font: 400 1.1rem/1.4 var(--text); color: #c9cbe6; letter-spacing: 0; margin-top: 0.6rem; }
.buy ul { margin: 1.5rem 0 0; padding-left: 1.2rem; color: #c9cbe6; }
.buy .fineprint a { color: #c9cbe6; }
.error { color: #f0b9a8; margin-top: 1rem; min-height: 1.4em; }

/* FAQ */
.faq details { border-top: 1px solid #d9dbea; padding: 1.1rem 0; max-width: 46rem; }
.faq details:last-child { border-bottom: 1px solid #d9dbea; }
.faq summary { cursor: pointer; font: 600 1.1rem/1.4 var(--round); list-style-position: outside; }
.faq details p { margin: 0.7rem 0 0; color: #43476b; max-width: var(--measure); }

/* Footer (copied into every page) */
.site-footer { background: var(--night); color: #b9bcdc; padding-block: 3.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.site-footer .brand { color: var(--mist); margin-bottom: 0.8rem; }
.site-footer p { margin: 0; max-width: 22rem; }
.site-footer nav { display: grid; gap: 0.45rem; align-content: start; }
.site-footer h2 { font: 600 0.95rem/1.3 var(--round); color: var(--mist); margin: 0 0 0.3rem; }
.site-footer a { color: #b9bcdc; text-decoration: none; }
.site-footer a:hover { color: var(--mist); text-decoration: underline; }
.site-footer .fine { font-size: 0.85rem; margin-top: 0.6rem; }
/* Language links: "Español" / "English" in the top bar, both in the footer (2026-11-30). */
.nav .nav__lang { font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.nav .nav__lang .fi { font-size: 1em; line-height: 1; }
.site-footer .lang-links { margin-top: 1rem; display: flex; align-items: center; gap: 0.4rem; }
.site-footer .lang-links .fi { font-size: 0.9rem; line-height: 1; }
.site-footer .lang-links a[aria-current] { color: var(--mist); font-weight: 600; }
.page .fine-note { font-size: 0.9rem; color: var(--slate); }

/* Pillars: the three reasons, right under the hero */
.pillars { background: var(--paper); padding-block: 4rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.pillar .fi { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.9rem;
  background: var(--mist); color: var(--indigo); font-size: 1.35rem; margin-bottom: 1rem; }
.pillar h2 { font: 700 1.35rem/1.25 var(--round); margin: 0 0 0.5rem; max-width: none; }
.pillar p { margin: 0; color: #43476b; }

/* Simple pages (thanks, support, privacy, terms) */
.page { padding-block: 3rem 5rem; }
.page h1 { font: 700 clamp(2.2rem, 5vw, 3.2rem)/1.08 var(--round); margin: 0 0 1rem; }
.page .prose { max-width: 40rem; }
.page .prose h2 { font: 600 1.3rem/1.3 var(--round); margin: 2.2rem 0 0.6rem; }
.keybox { background: var(--paper); border-radius: 14px; padding: 1.25rem; margin: 1.5rem 0; max-width: 40rem; }
.keybox code { display: block; word-break: break-all; font: 500 0.95rem/1.5 ui-monospace, monospace; user-select: all; }
.keybox button { margin-top: 1rem; }
form.stack { display: grid; gap: 0.9rem; max-width: 32rem; }
form.stack label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
form.stack input, form.stack textarea {
  font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid #cfd2e4; background: var(--paper);
}
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.4em; }

/* Analytics consent (js/cookie-consent.js): small, bottom left, privacy-first wording. */
.consent-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 900; width: min(22rem, 100% - 2rem);
  background: var(--night); color: var(--mist); border-radius: 14px; padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); font-size: 0.95rem; }
.consent-title { font: 700 1.05rem/1.3 var(--round); margin: 0 0 0.3rem; }
.consent-message { margin: 0 0 1rem; color: #c9cbe6; }
.consent-message a { color: var(--mist); }
.consent-buttons { display: flex; gap: 0.6rem; justify-content: flex-end; }
.consent-buttons .btn { font-size: 0.95rem; padding: 0.7rem 1.15rem; }

/* Speed facts, with their sources. */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fact { background: var(--paper); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; }
.fact-num { font: 700 2.6rem/1 var(--round); color: var(--indigo); }
.fact-unit { font: 600 1.05rem/1.3 var(--round); margin-top: 0.3rem; }
.fact p { margin: 0.7rem 0 1rem; color: #43476b; font-size: 0.97rem; }
.fact a, .ref { font-size: 0.72rem; color: var(--slate); }
.fact a { margin-top: auto; text-align: right; }
.uses-note .ref { display: block; text-align: right; margin-top: 0.3rem; }
/* Talk to your AI. */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 5rem; }
.ai .intro { margin-bottom: 1.25rem; }
.ai-fact { font-size: 0.95rem; color: var(--slate); margin: 0; max-width: var(--measure); }
.ai-fact a { color: var(--slate); font-size: 0.72rem; display: block; text-align: right; margin-top: 0.3rem; }
.ai-chat { background: var(--paper); border-radius: 14px; padding: 1.25rem 1.4rem 1.4rem; box-shadow: 0 20px 40px -24px rgba(20, 22, 60, 0.35); }
.ai-chat-bar { font: 600 0.85rem/1 var(--text); color: var(--slate); padding-bottom: 0.8rem; border-bottom: 1px solid #e6e7f1; margin-bottom: 1rem; }
.ai-prompt { background: var(--mist); border-radius: 12px; padding: 1rem 1.1rem; line-height: 1.55; }
.ai-hint { margin-top: 0.8rem; font-size: 0.85rem; color: var(--slate); display: flex; align-items: center; gap: 0.5rem; }
/* Use cases under "How it works": real apps people type in. */
.uses-title { font: 700 1.5rem/1.25 var(--round); margin: 4rem 0 1.5rem; }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.use { background: var(--paper); border-radius: 14px; padding: 1.4rem; }
.use-icon { font-size: 1.6rem; line-height: 1; }
.use h4 { font: 600 1.1rem/1.3 var(--round); margin: 0.8rem 0 0.3rem; }
.use p { margin: 0; color: var(--slate); font-size: 0.97rem; }
.uses-note { margin: 1.25rem 0 0; color: var(--slate); }
/* The maker's note: Mist like the sections around it, left-aligned. */
.story-inner > * { max-width: 40rem; }
.story p { font-size: 1.2rem; line-height: 1.6; color: #2f3358; margin: 0 0 1rem; }
.story .story-sign { font: 600 1rem/1.4 var(--round); color: var(--slate); margin-top: 1.5rem; }
/* Closing call to action, the last thing before the footer: Paper, left-aligned (style guide). */
.closing { background: var(--paper); }
.closing p { color: #43476b; font-size: 1.15rem; margin: 0 0 2rem; max-width: var(--measure); }
.closing .btn-quiet { color: var(--ink); }
.closing .fineprint { font-size: 0.9rem; color: var(--slate); margin: 1.1rem 0 0; }
@media (max-width: 860px) {
  .hero-grid, .ledger, .words-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ways, .pillar-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .uses { grid-template-columns: 1fr 1fr; }
  .facts, .ai { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.nav__buy):not(.nav__lang) { display: none; }
  .top nav { gap: 1rem; }
  .top .brand, .nav .nav__buy { white-space: nowrap; }
}
/* Narrow phones: the top Buy button drops its price, so the language link fits (2026-11-30). */
@media (max-width: 420px) { .nav .nav__price { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* One glow per section from a top corner, alternating top-left / top-right down the page, starting
   top-left (Aldo, 2026-11-29). The centre sits on the top edge, so only the lower half shows, and it
   stops well before the side edges. No gold (it looked dirty on white; gold is only for primary
   buttons): white sections glow light blue (Mist), Mist sections and dark sections glow indigo. */
.hero, .pillars, #how, .privacy, #accent, .compare, .story, .testimonials, .buy, .faq, .closing, .site-footer {
  --glow-x: 26%; --glow-in: rgba(225, 229, 246, 1); --glow-mid: rgba(238, 240, 248, 0.8); --base: var(--paper);
  background: radial-gradient(24% 75% at var(--glow-x) 0, var(--glow-in), var(--glow-mid) 45%, transparent), var(--base);
}
#how, #accent, .story, .faq { --base: var(--mist); --glow-in: rgba(132, 140, 240, 0.16); --glow-mid: rgba(132, 140, 240, 0.08); }
.hero, .buy, .site-footer { --base: var(--night); --glow-in: rgba(150, 158, 250, 0.32); --glow-mid: rgba(150, 158, 250, 0.17); }
.pillars, .privacy, .compare, .testimonials, .faq, .site-footer { --glow-x: 74%; }
/* Rating badge with laurels, small, under each pair of Download / Buy buttons. Hidden until real
   ratings from people who used the app come in (main.js, RATING). The maker's own rating doesn't count. */
/* The buttons and the badge as one group, so the badge sits centred under the two buttons. */
.cta { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; }
.rating { display: flex; align-items: center; gap: 0; margin-top: 1.1rem; color: inherit; }
.rating[hidden] { display: none; }
/* Proof row under the buttons (hero and price): the rating on the left, "Made for macOS" on the
   right, centred on each other vertically (Aldo, 2026-11-29). */
.proof { align-self: center; display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.55rem; }
.proof .rating { margin-top: 0; }
/* Sizes above are smaller than the buttons so the buttons stay the biggest thing; the same size
   everywhere and centred under the two buttons (Aldo, 2026-11-29). */
/* On the white closing section the macOS badge uses dark ink. */
.closing .mac-badge { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 22, 60, 0.22); }
.closing .mac-badge small { color: var(--slate); }
/* "Made for macOS" badge in our own style, no Apple logo (Apple has no such badge for apps
   outside the App Store). Quiet outline like a secondary button, never a link. */
.mac-badge { display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.36rem 0.7rem 0.36rem 0.55rem; border-radius: 9px; box-shadow: inset 0 0 0 1.5px rgba(238, 240, 248, 0.35); color: var(--mist); }
.mac-badge svg { width: 1.15rem; height: 1.15rem; flex: none; opacity: 0.9; }
.mac-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.mac-badge b { font: 600 0.72rem/1.2 var(--round); }
.mac-badge small { font-size: 0.6rem; color: #c9cbe6; }
/* Fine print between the buttons and the badge: left-aligned and as wide as the buttons, so it
   doesn't move the badge off centre. */
.cta .fineprint { align-self: stretch; width: 0; min-width: 100%; text-align: left; margin-bottom: 0; }
.rating .laurel { width: 2.16rem; height: 3.9rem; opacity: 0.9; margin-right: -0.5rem; }
.rating .laurel.flip { margin-right: 0; margin-left: -0.5rem; }
.rating .laurel.flip { transform: scaleX(-1); }
.rating-body { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.rating-num { font: 800 1.2rem/1 var(--round); }
.rating-stars { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold); }
.rating-text { font-size: 0.66rem; opacity: 0.8; }
.closing .rating { color: var(--ink); }
/* Testimonials: real quotes only, used with permission. */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; background: var(--paper); border-radius: 14px; padding: 1.5rem; box-shadow: inset 0 0 0 1px rgba(46, 52, 135, 0.08); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink); font-style: italic; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-size: 0.9rem; color: var(--slate); }
.quote figcaption b { color: var(--ink); margin-right: 0.35rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Hero: Aldo's square video on the right, three plain benefits under it (Aldo, 2026-11-29). */
.hero-media { align-self: start; justify-self: end; width: 100%; max-width: 24.3rem; margin-top: 0.4rem; }
/* One soft glow behind the video and the three points together (Aldo, 2026-11-29). */
.hero-media { position: relative; isolation: isolate; }
.hero-media::before { content: ""; position: absolute; z-index: -1; inset: -3rem -3.5rem; pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 158, 250, 0.52), rgba(150, 158, 250, 0.22) 55%, transparent); }
.hero-video { margin: 0; position: relative; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; background: #0d0f2b;
  box-shadow: 0 0 0 1px rgba(201, 205, 255, 0.18), 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
/* Our own captions (the browser's can't have rounded corners or padding): drawn from the
   video's caption track by main.js, a little above the bottom edge. */
.hero-video video::cue { color: transparent; background: transparent; }
/* No full-screen button (Safari ignores controlslist for it). */
.hero-video video::-webkit-media-controls-fullscreen-button { display: none; }
.video-caption { position: absolute; left: 50%; bottom: 3.6rem; transform: translateX(-50%); max-width: 88%;
  padding: 0.35rem 0.85rem; border-radius: 10px; background: rgba(0, 0, 0, 0.72); color: #fff;
  font: 500 1rem/1.35 var(--text); text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.12s; }
.video-caption.is-on { opacity: 1; }
.hero-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.55rem; }
.hero-points li { display: flex; align-items: center; gap: 0.6rem; font: 600 1.05rem/1.3 var(--round); color: var(--mist); }
.hero-points li .fi { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 0.55rem;
  background: rgba(238, 240, 248, 0.1); color: #fff; font-size: 0.95rem; line-height: 1; }

/* The fn-key demo now lives in "How it works" (a light section): dark text on the light background. */
#how .demo { max-width: 44rem; margin: 0 auto 3.5rem; }
#how .hold-label { color: var(--slate); }
#how .lang-switch button { color: var(--ink); border-color: #c9cbe0; }
#how .lang-switch button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
#how .demo-pause { color: var(--slate); box-shadow: inset 0 0 0 1.5px rgba(20, 22, 60, 0.25); }
#how .demo-pause:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 22, 60, 0.5), var(--glow-light-hover); }
