/* DocYouMeant website — Preview 07 (17 November 2026)
   Identity: approved burgundy #7A1F3D / #56142B, charcoal gradients, warm white. */

:root {
  --wine: #7a1f3d;
  --wine-dark: #56142b;
  --wine-soft: #f3e6ea;
  --ink: #282329;
  --muted: #6c6469;
  --paper: #f5f1eb;
  --paper-2: #ede6dd;
  --card: #fffdf9;
  --line: rgba(40, 35, 41, .13);
  --night: #1c171e;
  --night-2: #241a22;
  --warm-white: #f6f0e8;
  --soft-gray: #cbc6c9;
  --dim-gray: #a9a3a7;
  --dark-line: rgba(246, 240, 232, .14);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -28px rgba(20, 10, 18, .45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 20px; border-radius: 10px; background: var(--card); color: var(--ink); }
.keep-together { white-space: nowrap; }

:where(a, button, summary, input):focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; border-radius: 6px; }
.on-dark :where(a, button, summary, input):focus-visible,
.site-header :where(a, button):focus-visible,
.hero :where(a, button, summary, input):focus-visible,
.launch :where(a, button):focus-visible,
.film-shell :where(a, button, input):focus-visible { outline-color: var(--warm-white); }

/* ---------- Shared type ---------- */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h2 em { color: var(--wine); }
.section-lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; margin-top: 18px; }
.detail-note { font-size: 14px; color: var(--muted); margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--line); max-width: 34em; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; padding: 0;
  background: none; border: 0; font-size: 15px; font-weight: 650; color: var(--wine);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.text-link:hover { color: var(--wine-dark); }

.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-size: 16px; font-weight: 650; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button span { font-size: 12px; }
.button-light { background: var(--warm-white); color: var(--wine-dark); }
.button-light:hover { background: #fff; }
.button-ghost { border: 1px solid rgba(246, 240, 232, .38); color: var(--warm-white); }
.button-ghost:hover { border-color: var(--warm-white); }
.button-wine { background: var(--wine); color: #fff; }
.button-wine:hover { background: var(--wine-dark); }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e7a4b8; box-shadow: 0 0 0 4px rgba(231, 164, 184, .18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 23, 30, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--warm-white);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.035em; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: var(--soft-gray); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--warm-white); background: rgba(246, 240, 232, .07); }
.site-nav .nav-cta { margin-left: 8px; color: var(--warm-white); border: 1px solid rgba(246, 240, 232, .32); padding: 8px 16px; }
.site-nav .nav-cta:hover { border-color: var(--warm-white); }
.menu-toggle { display: none; }

/* ---------- Hero & film ---------- */
.hero {
  background: radial-gradient(ellipse at 62% 30%, #4a2033 0, #2a1a26 46%, var(--night) 100%);
  color: var(--warm-white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
.hero-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
.hero .eyebrow { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft-gray); margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); letter-spacing: -.05em; line-height: 1.02; color: var(--warm-white); }
.hero h1 em { color: var(--warm-white); opacity: .92; }
.hero-lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--soft-gray); max-width: 26em; margin-bottom: 6px; }
.hero-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.film-wrap { margin-top: clamp(40px, 5vw, 64px); }
.film-shell {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #120d12; border: 1px solid var(--dark-line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.film-shell video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #120d12; }
.film-overlay-play {
  position: absolute; left: 50%; top: calc(50% - 34px); transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0;
  background: rgba(246, 240, 232, .94); color: var(--wine-dark); font-size: 28px;
  display: grid; place-items: center; padding-left: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: transform .2s ease;
}
.film-overlay-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film-overlay-play[hidden] { display: none; }

.film-controls { display: flex; align-items: center; gap: 18px; padding: 12px 16px; background: #181218; border-top: 1px solid var(--dark-line); }
.film-controls[hidden] { display: none; }
.control-buttons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.control-buttons button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--soft-gray);
  font-size: 14px; font-weight: 600;
}
.control-buttons button:hover { background: rgba(246, 240, 232, .08); color: var(--warm-white); }
.control-buttons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#sound[aria-pressed="true"] { color: var(--warm-white); }
.timeline { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.seek-wrap { position: relative; flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; }
#film-seek { width: 100%; margin: 0; accent-color: #e7a4b8; cursor: pointer; position: relative; z-index: 1; background: transparent; }
.chapter-ticks { position: absolute; inset: 0 8px; pointer-events: none; }
.chapter-ticks span { position: absolute; top: 50%; width: 2px; height: 12px; transform: translate(-1px, -50%); background: rgba(246, 240, 232, .45); border-radius: 1px; }
#film-time { font-size: 13px; color: var(--soft-gray); font-variant-numeric: tabular-nums; white-space: nowrap; }

.film-shell.is-expanded {
  position: fixed; inset: 12px; z-index: 1000; display: flex; flex-direction: column;
  box-shadow: 0 0 0 100vmax rgba(16, 11, 18, .96);
}
.film-shell.is-expanded video { flex: 1; height: 0; min-height: 0; aspect-ratio: auto; object-fit: contain; }

.film-error { margin-top: 14px; color: var(--soft-gray); font-size: 15px; }
.film-error a { color: var(--warm-white); }
.film-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: 18px; }
#film-description { font-size: 15px; color: var(--soft-gray); }
#film-description strong { color: var(--warm-white); font-weight: 650; margin-right: 8px; }
.film-summary summary { cursor: pointer; font-size: 14px; color: var(--soft-gray); }
.film-summary p { max-width: 46em; margin-top: 10px; font-size: 14px; color: var(--soft-gray); }
.film-chapters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.chapters-label { font-size: 13px; color: var(--dim-gray); margin-right: 6px; }
.film-chapters button {
  border: 1px solid rgba(246, 240, 232, .22); background: transparent; color: var(--soft-gray);
  border-radius: 999px; padding: 7px 14px; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s;
}
.film-chapters button:hover { border-color: rgba(246, 240, 232, .6); color: var(--warm-white); }
.film-chapters button[aria-current="true"] { background: var(--warm-white); border-color: var(--warm-white); color: var(--wine-dark); font-weight: 650; }

/* ---------- Formats strip ---------- */
.formats { background: var(--night); color: var(--soft-gray); border-top: 1px solid var(--dark-line); }
.formats-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 32px; padding: 26px 0; }
.formats-title { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--warm-white); line-height: 1.4; }
.format-list { display: flex; flex-wrap: wrap; gap: 8px; }
.format-list li { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 8px; background: rgba(246, 240, 232, .07); color: var(--warm-white); }
.formats-note { grid-column: 1 / -1; font-size: 13px; color: var(--dim-gray); }

/* ---------- Process ---------- */
.process { padding: clamp(72px, 9vw, 128px) 0; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.steps { margin-top: 36px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-size: 14px; font-weight: 700; color: var(--wine); padding-top: 3px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 4px; }

.process-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: start; }
/* Slim device frame around the screen-only captures. */
.phone a {
  display: block; padding: 7px; border-radius: 34px;
  background: linear-gradient(160deg, #3a3237, #17121a 60%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .35s ease;
}
.phone img { width: 100%; border-radius: 27px; background: #f2f2f2; }
.phone a:hover { transform: translateY(-3px); }
.phone-front { margin-top: 64px; }
.phone figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; padding: 0 4px; }
.phone figcaption strong { display: block; color: var(--ink); font-size: 15px; font-weight: 650; margin-bottom: 2px; }

/* ---------- Tools ---------- */
.tools { padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); background: var(--card); border-top: 1px solid var(--line); }
.section-intro { max-width: var(--max); }
.section-intro h2 { max-width: 13em; }
.tool-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 44px; margin-bottom: clamp(48px, 6vw, 80px); }
.tool-tiles a {
  display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 650; line-height: 1.3;
  transition: border-color .2s, transform .2s, background-color .2s;
}
.tool-tiles a:hover { border-color: rgba(122, 31, 61, .45); background: var(--wine-soft); transform: translateY(-2px); }
.tool-tiles svg { width: 26px; height: 26px; fill: none; stroke: var(--wine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.feature-reverse .feature-copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3vw, 40px); }
.feature-copy > p:not(.detail-note) { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 30em; }
.feature .subfeature { font-size: clamp(22px, 2.2vw, 28px); margin-top: 32px; }
.feature-visual img { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--night); }
.feature-visual figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Handwriting example ---------- */
.handwriting-example { position: relative; padding-bottom: 8px; }
.handwriting-example img { width: 84%; background: var(--card); box-shadow: var(--shadow); }
.recognized-card {
  position: relative; margin: -6% 0 0 auto; width: min(66%, 400px);
  padding: 18px 20px; display: grid; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: 15px;
}
.recognized-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }

/* ---------- Originals ---------- */
.originals { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.originals .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px clamp(32px, 6vw, 88px); align-items: center; }
.originals h2 { grid-column: 1 / -1; max-width: 12em; }
.principles { display: grid; gap: 16px; }
.principles li { padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.principles h3 { font-size: 20px; letter-spacing: -.02em; }
.principles p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.saved-card img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 88px); padding: clamp(72px, 9vw, 120px) 0; }
.faq-intro .text-link { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 18px; font-weight: 650; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--wine); font-size: 24px; line-height: 1; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; }

/* ---------- Launch ---------- */
.launch { background: radial-gradient(ellipse at 50% 0%, #6a2240 0, #321b2b 58%, var(--night) 100%); color: var(--warm-white); text-align: center; padding: clamp(72px, 10vw, 128px) 0; }
.launch-inner { display: flex; flex-direction: column; align-items: center; }
.launch img { width: 72px; margin-bottom: 26px; }
.launch h2 { color: var(--warm-white); }
.launch p { color: var(--soft-gray); font-size: 18px; margin-top: 16px; }
.launch-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--soft-gray); padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--dark-line); }
.footer-brand .brand { color: var(--warm-white); font-size: 19px; }
.footer-brand p { margin-top: 10px; color: var(--dim-gray); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer-nav a { color: var(--soft-gray); text-decoration: none; }
.footer-nav a:hover { color: var(--warm-white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; color: var(--dim-gray); font-size: 13px; }
.footer-bottom summary { cursor: pointer; color: var(--soft-gray); }
.footer-bottom details p { margin-top: 10px; max-width: 40em; color: var(--soft-gray); }
.footer-bottom a { color: var(--warm-white); }

/* ---------- Secondary pages ---------- */
.page-hero { background: radial-gradient(ellipse at 70% 0%, #4a2033 0, #2a1a26 55%, var(--night) 100%); color: var(--warm-white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.045em; }
.page-hero p { color: var(--soft-gray); font-size: 18px; margin-top: 16px; max-width: 36em; }
.draft-banner { margin-top: 24px; display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: rgba(246, 240, 232, .1); border: 1px solid rgba(246, 240, 232, .25); color: var(--warm-white); font-size: 15px; max-width: 46em; }
.draft-banner strong { white-space: nowrap; }
.doc { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.doc-toc { position: sticky; top: 92px; font-size: 14px; }
.doc-toc p { font-weight: 700; margin-bottom: 10px; }
.doc-toc ol { display: grid; gap: 6px; }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--wine); text-decoration: underline; }
.doc-body { max-width: 44em; }
.doc-body h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 44px 0 14px; letter-spacing: -.02em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin: 24px 0 8px; letter-spacing: -.01em; }
.doc-body p, .doc-body li { color: #4a4349; }
.doc-body p + p { margin-top: 12px; }
.doc-body ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.placeholder { background: #fbecc4; color: #4a3500; padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .94em; }
.to-confirm { display: block; margin-top: 12px; padding: 12px 14px; border-left: 3px solid #c9930c; background: #fdf6e3; color: #4a3500; font-size: 15px; border-radius: 0 8px 8px 0; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.support-card { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.support-card h2 { font-size: 22px; margin: 0 0 8px; }
.support-card p { color: var(--muted); font-size: 16px; }
.status-note { margin-bottom: 36px; padding: 18px 20px; border-radius: var(--radius); background: var(--wine-soft); border: 1px solid rgba(122, 31, 61, .22); display: grid; gap: 8px; }
.status-note p { color: var(--ink) !important; font-size: 15px; margin: 0 !important; }
.status-note strong { color: var(--wine-dark); }
.status-note-wide { margin-bottom: 16px; }
.holding { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.holding-inner { display: flex; flex-direction: column; align-items: center; }
.holding-mark { width: 72px; margin-bottom: 14px; }
.holding-name { font-size: 22px; font-weight: 700; letter-spacing: -.035em; color: var(--warm-white); margin: 0 0 28px !important; }
.holding h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; line-height: 1.04; }
.holding-status { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px !important; font-size: 14px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft-gray) !important; }
.holding-contact { margin-top: 28px !important; font-size: 17px !important; color: var(--soft-gray) !important; }
.holding-contact a { color: var(--warm-white); }
.holding-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; }
.holding-links a { color: var(--soft-gray); font-size: 15px; }
.holding-links a:hover { color: var(--warm-white); }
.holding-legal { margin-top: 40px !important; font-size: 13px !important; color: var(--dim-gray) !important; }
.brand-center { justify-content: center; margin-bottom: 28px; }
.faq-tight { padding-top: 0; }
.doc-updated { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted) !important; }
.doc-action { margin-top: 20px; }
.doc-body a.button { color: #fff; text-decoration: none; }
.not-found { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(44px, 6vw, 72px); }
.not-found p { color: var(--soft-gray); margin: 16px auto 28px; max-width: 30em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tool-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-heading { grid-template-columns: 1fr; }
  .hero-lede { margin-top: 22px; }
  .hero-actions { grid-column: 1; }
  .process-grid, .feature, .recognition-heading, .recognition-comparison, .originals .wrap, .faq, .doc-grid { grid-template-columns: 1fr; }
  .feature-reverse .feature-copy { order: 0; }
  .process-visual { max-width: 560px; }
  .recorded-pair { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .saved-card { max-width: 460px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .js .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: 10px; background: transparent; color: var(--warm-white);
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  /* Without JavaScript the links simply wrap below the logo. */
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .site-nav { flex-wrap: wrap; gap: 0 4px; padding-bottom: 8px; }
  .site-nav a { padding: 8px; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px var(--gutter) 18px; background: var(--night);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .5);
    border-bottom: 1px solid var(--dark-line);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav a { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .js .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .header-inner { position: relative; min-height: 58px; }
  .brand { font-size: 19px; }

  .film-shell { border-radius: var(--radius); }
  .film-controls { flex-wrap: wrap; gap: 6px 10px; padding: 10px; }
  .control-buttons { width: 100%; justify-content: space-between; }
  .control-buttons button { padding: 0 8px; }
  .fullscreen-label, .control-label { display: none; }
  .film-overlay-play { width: 64px; height: 64px; font-size: 22px; top: calc(50% - 50px); }
  .formats-inner { grid-template-columns: 1fr; }
  .tool-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .process-visual { gap: 12px; }
  .phone-front { margin-top: 40px; }
  .phone a { padding: 5px; border-radius: 24px; }
  .phone img { border-radius: 19px; }
  .phone figcaption { font-size: 13px; }
  .phone figcaption strong { font-size: 14px; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { padding-right: 0; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 400px) {
  .film-shell.is-expanded .fullscreen-label { display: none; }
  .hero-actions .button, .launch-actions .button { width: 100%; justify-content: center; }
  .handwritten-page figcaption { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .film-wrap, .launch, .menu-toggle { display: none !important; }
  body { background: #fff; }
}
