/* TellWell website. Editorial layout; glass only where it means something (the demo window, the nav). */
:root {
  --ink: #111418;
  --muted: #5b6470;
  --faint: #8a929c;
  --accent: #0b8a87;
  --accent-ink: #ffffff;
  --bg: #f6f4ef;
  --paper: #fffdf9;
  --line: rgba(17, 20, 24, 0.10);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.9);
  --shadow: 0 30px 80px -30px rgba(30, 40, 50, 0.35), 0 2px 6px rgba(30, 40, 50, 0.08);
  --mark: rgba(11, 138, 135, 0.16);
  --strike: #c0392b;
  --key-top: #fbfbf9;
  --key-side: #d9d6cf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f2;
    --muted: #a3abb5;
    --faint: #737c87;
    --accent: #2dd4bf;
    --accent-ink: #03211f;
    --bg: #0e1013;
    --paper: #16191d;
    --line: rgba(255, 255, 255, 0.09);
    --glass: rgba(30, 34, 40, 0.62);
    --glass-edge: rgba(255, 255, 255, 0.12);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.4);
    --mark: rgba(45, 212, 191, 0.2);
    --strike: #ff7b6b;
    --key-top: #2b2f35;
    --key-side: #15181c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1 { font: 700 clamp(42px, 6.4vw, 76px)/1.0 'Space Grotesk', Inter, sans-serif; letter-spacing: -2px; margin: 0 0 22px; }
h2 { font: 700 clamp(30px, 4vw, 44px)/1.08 'Space Grotesk', Inter, sans-serif; letter-spacing: -1px; margin: 0 0 16px; }
h3 { font: 600 18px/1.35 Inter, sans-serif; margin: 0 0 6px; }

/* Floating glass navigation */
header.bar {
  position: sticky; top: 14px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 14px 0 0; padding: 8px 10px 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 8px 30px -12px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -0.5px; }
.mark-bar { fill: var(--ink); } .mark-stem { fill: var(--accent); }
nav { display: flex; gap: 2px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 999px; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: var(--accent-ink); background: var(--accent); }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 84px 0 40px; }
.hero h1 { max-width: 11em; font-size: clamp(46px, 7.6vw, 96px); letter-spacing: -2.6px; }
.hero .lede { margin-left: auto; margin-right: auto; max-width: 32em; font-size: 21px; }
.hero .cmd { margin: 0 auto; text-align: left; }
.hero .fine a { color: var(--faint); }
.eyebrow { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.eyebrow b { color: var(--accent); font-weight: 600; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; font-weight: 500; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }
.fine { font-size: 14px; color: var(--faint); margin: 16px 0 0; }

/* Install command */
.cmd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 44em; padding: 7px 7px 7px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.cmd code { flex: 1 1 16em; min-width: 0; padding: 6px 0; font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
.cmd code::before { content: "$ "; color: var(--faint); user-select: none; }
.copy { flex: none; min-height: 38px; padding: 6px 16px; border-radius: 10px; border: 0; background: var(--accent); color: var(--accent-ink); font: 600 14px Inter, sans-serif; cursor: pointer; }

/* 3D demo stage */
.stage { position: relative; width: 100%; max-width: 760px; margin: 64px auto 40px; text-align: left; }
.window {
  position: relative; width: 100%; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
}
.titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 7px; margin-right: 8px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.field-label { padding: 14px 20px 0; font-size: 13px; color: var(--faint); }
.field { min-height: 128px; padding: 8px 26px 22px; font-size: 24px; line-height: 1.5; letter-spacing: -0.2px; }
.raw .tok { color: var(--muted); font-style: italic; }
.tok { display: inline-block; white-space: pre; transition: opacity 0.35s, max-width 0.45s 0.15s, color 0.3s; max-width: 20em; vertical-align: bottom; overflow: hidden; }
.tok.drop { color: var(--strike); text-decoration: line-through; }
.tok.gone { opacity: 0; max-width: 0; }
.tok .new { display: none; }
.tok.swapped .old { display: none; }
.tok.swapped .new { display: inline; }
.tok.ctx.swapped .new { background: var(--mark); border-radius: 5px; padding: 0 3px; }
.clean .tok, .clean .tok span { color: var(--ink); font-style: normal; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.statusbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); min-height: 44px; }
.wave { display: flex; gap: 3px; align-items: center; height: 20px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--accent); opacity: 0.35; transition: height 0.15s, opacity 0.2s; }
.listening .wave i { opacity: 1; animation: talk 0.9s ease-in-out infinite; }
.listening .wave i:nth-child(2) { animation-delay: -0.2s; } .listening .wave i:nth-child(3) { animation-delay: -0.45s; }
.listening .wave i:nth-child(4) { animation-delay: -0.1s; } .listening .wave i:nth-child(5) { animation-delay: -0.6s; }
@keyframes talk { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.ctx-tag { opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; color: var(--accent); font-weight: 500; }
.ctx-tag.show { opacity: 1; transform: none; }

/* The talk key */
.key {
  position: absolute; left: -34px; bottom: -40px; z-index: 2;
  width: 120px; height: 82px; border-radius: 16px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 10px 14px;
  background: linear-gradient(180deg, var(--key-top), var(--key-top) 60%, color-mix(in srgb, var(--key-top) 88%, #000));
  box-shadow: 0 9px 0 var(--key-side), 0 22px 30px -10px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.12s, box-shadow 0.12s; font: 600 13px Inter, sans-serif; color: var(--muted);
}
.key .glyph { font-size: 22px; color: var(--ink); align-self: flex-end; }
.key.down { transform: translateY(7px); box-shadow: 0 2px 0 var(--key-side), 0 10px 16px -8px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
.key-caption { position: absolute; left: 4%; bottom: -44px; font-size: 13px; color: var(--faint); }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.prose p { margin: 0 0 16px; color: var(--muted); max-width: 36em; }
.prose p.lead { color: var(--ink); font-size: 19px; }

/* Before/after list: hairlines, not cards */
.pairs { margin: 0; padding: 0; list-style: none; }
.pairs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pairs li:first-child { padding-top: 0; }
.pairs .said { color: var(--faint); font-size: 15px; margin: 0 0 4px; }
.pairs .said s { color: var(--strike); }
.pairs .typed { margin: 0; font-size: 18px; }
mark { background: var(--mark); color: var(--ink); border-radius: 5px; padding: 0 3px; }
.pairs .why { display: block; margin-top: 4px; font-size: 13px; color: var(--faint); }

/* Maker's note */
.note-block { max-width: 760px; }
.note-block blockquote { margin: 0; font: 500 clamp(22px, 2.6vw, 30px)/1.4 'Space Grotesk', Inter, sans-serif; letter-spacing: -0.4px; }
.note-block blockquote p { margin: 0 0 18px; }
.signoff { color: var(--muted); font-size: 16px; }

/* Screenshot */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow); }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--faint); }
ol.steps { margin: 0; padding-left: 22px; color: var(--muted); }
ol.steps li { margin: 0 0 12px; padding-left: 4px; }
ol.steps b { color: var(--ink); }
.numbers { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.numbers li { color: var(--muted); font-size: 15px; }
.numbers b { display: block; font: 700 28px/1.15 'Space Grotesk', Inter, sans-serif; color: var(--ink); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 500; color: var(--muted); width: 30%; }
.table-note, .sub { color: var(--muted); }
.table-note { font-size: 14px; margin: 12px 2px 0; }
.sub { max-width: 40em; margin: 0 0 28px; }

/* FAQ: two columns of hairline rows */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq p { margin: 0; color: var(--muted); font-size: 16px; }

/* Comparison page bits */
.kicker { margin: 0 0 16px; font-size: 15px; color: var(--accent); font-weight: 600; }
.demo { border-radius: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.demo .row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.demo .row:last-child { border-bottom: 0; }
.demo small { display: block; font-size: 12px; font-weight: 600; color: var(--faint); margin-bottom: 2px; }
.demo s { color: var(--strike); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.verdict ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.verdict li { margin: 6px 0; }
.answer { max-width: 46em; font-size: 18px; color: var(--muted); margin: 0; }
.crumbs { font-size: 14px; color: var(--faint); margin: 28px 0 0; }
.crumbs a { color: var(--faint); }

footer { padding: 40px 0 56px; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); }
footer p { margin: 0 0 8px; }

@media (max-width: 900px) {
  .hero, .split, .split.flip, .verdict { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 380px; margin-bottom: 40px; }
  header.bar { border-radius: 24px; }
  nav a { padding: 6px 9px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .caret, .listening .wave i { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  header.bar, .window { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
}
.hero .cta { justify-content: center; margin-bottom: 8px; }
.hero .demo { margin-top: 36px; width: 100%; max-width: 560px; text-align: left; }

/* The film: a button in the hero opens it in a dialog */
.watch { display: inline-flex; align-items: center; gap: 10px; margin: 22px auto 0; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 16px Inter, sans-serif; cursor: pointer; }
.watch span[aria-hidden] { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; padding-left: 2px; box-sizing: border-box; }
.watch .len { color: var(--faint); font-weight: 500; }
.watch:hover { border-color: var(--accent); }
dialog#film { width: min(1000px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
dialog#film::backdrop { background: rgba(8, 10, 14, 0.82); }
dialog#film video { display: block; width: 100%; height: auto; border-radius: 16px; }
dialog#film p { position: absolute; left: 0; right: 0; bottom: -40px; margin: 0; text-align: center; font-size: 14px; color: #cfd6de; }
dialog#film p a { color: #cfd6de; }
dialog#film .close { position: absolute; right: -6px; top: -46px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff; font-size: 16px; cursor: pointer; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-actions .watch { margin: 0; text-decoration: none; }
.watch.star span[aria-hidden] { background: transparent; color: #e3a008; font-size: 18px; width: 22px; padding: 0; }
.star-ask { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Android page: a large download button and a portrait demo video */
.btn.big { min-height: 60px; padding: 16px 34px; font-size: 19px; border-radius: 16px; }
.hero-actions + .hero-actions { margin-top: 14px; }
dialog#film.portrait { width: min(400px, 88vw, 46vh); }

/* Mac install: a download button plus pictures of the one-time macOS confirmation. */
.alt-install { align-self: center; color: var(--muted); font-size: 15px; }
.alt-head { margin-top: 34px; }
.mac-steps .mock { margin: 14px 0 6px; max-width: 360px; font-size: 13px; line-height: 1.35; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.mock p { margin: 0; }
.mock-alert { padding: 18px 18px 14px; text-align: center; }
.mock-icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 10px; background: url(img/app-icon.png) center / contain no-repeat; }
.mock-title { font-weight: 600; }
.mock-text { margin: 4px 0 12px !important; color: var(--muted); }
.mac-steps { max-width: 44em; }
.mock-btn { white-space: nowrap; display: inline-block; margin: 3px; padding: 4px 14px; border-radius: 7px; border: 1px solid var(--line);
  background: var(--bg); font-weight: 500; }
.mock-btn.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.mock-settings { padding: 12px 14px; }
.mock-head { font-weight: 600; margin-bottom: 8px !important; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px;
  border-radius: 8px; background: var(--bg); }
.mock-alert .mock-btn { display: block; margin: 6px 0 0; }

/* Shared menu: a Platforms dropdown that every page carries. */
nav { align-items: center; }
.platforms { position: relative; }
.platforms summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 999px; }
.platforms summary::-webkit-details-marker { display: none; }
.platforms summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.platforms summary:hover, .platforms[open] summary { color: var(--ink); }
.platforms .menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 30; display: grid; gap: 2px; min-width: 260px; padding: 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.platforms .menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; }
.platforms .menu a span { display: block; color: var(--faint); font-size: 13px; font-weight: 400; }
.platforms .menu a span span { display: inline; font-size: inherit; }
.platforms .menu a:hover, .platforms .menu a[aria-current] { background: var(--mark); }
nav a[aria-current] { color: var(--ink); }
.foot-nav a { color: var(--muted); }

/* Device-aware content. site.js sets <html data-device>; with no JavaScript, only the Mac default shows. */
html:not([data-device="android"]) [data-show="android"],
html:not([data-device="mac"]) [data-show="mac"],
html:not([data-device="ios"]):not([data-device="other"]) [data-show="elsewhere"],
html[data-device="android"] [data-hide="android"] { display: none !important; }
.device-note { margin: 16px auto 0; max-width: 32em; font-size: 15px; color: var(--muted); }

/* Phones: one line of menu (brand, Platforms, Download). Compare, FAQ and GitHub are in every footer. */
@media (max-width: 640px) {
  header.bar { flex-wrap: nowrap; padding: 6px 6px 6px 14px; border-radius: 999px; }
  nav { flex-wrap: nowrap; }
  nav a.wide { display: none; }
  .platforms summary { padding: 6px 9px; }
  .platforms .menu { left: auto; right: -70px; min-width: 240px; }
}

/* Devanagari text (Hindi page and examples): a matching font and a little more line height. */
:lang(hi) { font-family: 'Noto Sans Devanagari', Inter, system-ui, sans-serif; line-height: 1.8; }
h1 :lang(hi), h1:lang(hi) { font-family: 'Noto Sans Devanagari', 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: 0; }

/* Android page: a phone that shows switching to TellWell from your keyboard and back. Always dark, like the phone. */
.ph-stage { display: flex; justify-content: center; }
.ph { position: relative; width: 300px; height: 600px; border-radius: 40px; padding: 12px; background: #050607; box-shadow: var(--shadow); font: 13px/1.45 Inter, system-ui, sans-serif; color: #e8eaed; }
.ph-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #0f1113; display: flex; flex-direction: column; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 18px 16px 0; font-weight: 600; font-size: 12px; }
.ph-top i { width: 20px; height: 20px; border-radius: 50%; background: #1f4d47; color: #5eead4; font: 600 10px/20px Inter, sans-serif; text-align: center; font-style: normal; }
.ph-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px 10px; }
.ph-bubble { align-self: flex-start; max-width: 80%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #23272c; font-size: 12px; }
.ph-field { margin-top: 12px; min-height: 38px; padding: 9px 14px; border-radius: 19px; border: 1.5px solid #2dd4bf; font-size: 12px; }
.ph-field .ph-caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: #2dd4bf; animation: blink 1s steps(1) infinite; }
.ph-field .ph-new { color: #fff; background: rgba(45, 212, 191, 0.22); border-radius: 3px; transition: background 1.2s; }
.ph-field .ph-new.settled { background: transparent; }
.ph-bottom { position: relative; height: 218px; }
.ph-kb, .ph-tw { position: absolute; inset: 0; padding: 10px 5px 14px; transition: transform .35s ease, opacity .35s ease; }
.ph-kb { background: #1a1d21; display: grid; grid-template-rows: repeat(4, 1fr); gap: 7px; }
.ph-row { display: flex; justify-content: center; gap: 3px; }
.ph-row b { flex: 0 1 23px; min-width: 0; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #2b2f35; font-weight: 500; font-size: 12px; color: #d7dade; }
.ph-row b.w { flex: 0 1 34px; font-size: 10px; } .ph-row b.space { flex: 1 1 auto; max-width: 128px; } .ph-row b.acc { background: #1f4d47; color: #5eead4; }
.ph.tw .ph-tw { transform: none; opacity: 1; } .ph.tw .ph-kb { transform: translateY(105%); opacity: 0; }
.ph-tap { position: absolute; z-index: 5; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); border: 2px solid rgba(255, 255, 255, 0.7); opacity: 0; transform: scale(.6); pointer-events: none; }
.ph-tap.go { animation: phtap .55s ease-out; }
@keyframes phtap { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.ph-caption { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); min-height: 1.6em; }
@media (max-width: 900px) { .ph-stage { margin-top: 8px; } }
@media (max-width: 380px) { .ph { transform: scale(.9); transform-origin: top center; margin-bottom: -60px; } }
@media (prefers-reduced-motion: reduce) { .ph-kb, .ph-tw, .ph-field .ph-new { transition: none; } .ph-field .ph-caret { animation: none; } }

/* Blog: index list and article. Prose stays narrow; tables and figures may run wider. */
.post-list { list-style: none; margin: 0 0 64px; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; gap: 6px; padding: 26px 0; text-decoration: none; color: var(--ink); }
.post-list a:hover .post-title { color: var(--accent); }
.post-date { font-size: 14px; color: var(--faint); }
.post-title { font: 700 clamp(22px, 3vw, 30px)/1.2 'Space Grotesk', Inter, sans-serif; letter-spacing: -0.5px; }
.post-desc { color: var(--muted); max-width: 44em; }
.post { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }
.post h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -1.2px; margin-top: 20px; }
.post h2 { font-size: clamp(24px, 3vw, 32px); margin: 56px 0 14px; }
.post p, .post li { font-size: 18px; }
.post .lead { font-size: 20px; color: var(--ink); }
.post .byline { font-size: 14px; color: var(--faint); margin: 0 0 28px; }
.post .byline a { color: var(--muted); }
.post .table-wrap { margin: 20px 0; }
.post table { font-size: 15px; }
.post .faq { margin-top: 12px; }
.post .faq p { font-size: 16px; }
.post-split { gap: 32px; align-items: start; }
.post-figure { margin: 36px 0 8px; }
.refs { font-size: 15px; color: var(--muted); padding-left: 22px; }
.refs li { font-size: 15px; margin-bottom: 6px; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .post .table-wrap { margin-left: -90px; margin-right: -90px; } }

/* Home: the Mac window and the Android phone side by side, both animating. */
.duo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 36px; }
.duo .stage { margin: 0 0 96px; min-height: 300px; }
.duo .ph-stage { margin: 0 0 20px; }
.duo h3 { margin-top: 6px; }
.duo p { color: var(--muted); margin: 0; }
.duo-mac { padding-top: 120px; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 56px; } .duo-mac { padding-top: 0; } .key { left: 8px; } }

/* TellWell's keyboard panel, as in the app (TellWellIME + MarkView): label, the mark, then keyboard / language / delete / return. */
.ph-tw { background: #0e1013; display: flex; flex-direction: column; align-items: stretch; padding: 12px 6px 8px; transform: translateY(105%); opacity: 0; }
.ph-state { text-align: center; font: 500 11px/1.3 Inter, sans-serif; color: #a3abb5; min-height: 15px; }
.ph-mark { display: block; width: 100%; height: 132px; margin: 4px 0 2px; }
.ph-icons { display: flex; align-items: center; gap: 2px; margin-top: auto; padding: 0 4px; }
.ph-icons svg { flex: 0 0 auto; width: 34px; height: 34px; padding: 8px; fill: #a3abb5; }
.ph-mid { flex: 1; display: flex; justify-content: center; }
.ph-lang { display: inline-flex; padding: 2px; border-radius: 15px; background: rgba(255, 255, 255, 0.1); }
.ph-lang span { min-width: 54px; padding: 4px 10px; border-radius: 13px; text-align: center; font: 600 10px/1.4 Inter, sans-serif; color: #a3abb5; }
.ph-lang span.on { background: #2dd4bf; color: #03211f; }
/* "YOU SAY" is an annotation over the chat (as in the film), not part of the app. */
.ph-chat { position: relative; }
.ph-said { position: absolute; top: 8px; left: 12px; right: 12px; padding: 8px 10px; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 10px; font-size: 11.5px; line-height: 1.5; color: #c9ced4; opacity: 0; transition: opacity .3s; }
.ph-said.on { opacity: 1; }
.ph-said small { display: block; color: #737c87; font-size: 9px; letter-spacing: .08em; }
.ph-said s { color: #ff7b6b; text-decoration-thickness: 1.5px; }
.ph-said .w { opacity: 0; transition: opacity .15s; } .ph-said .w.on { opacity: 1; }

/* Blog graphics: a settings path, and a map of where your voice goes. */
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 6px; font: 500 14px/1 Inter, sans-serif; }
.path span { padding: 8px 12px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.path span + span::before { content: "›"; margin: 0 10px 0 -2px; color: var(--faint); }
.path span:last-child { border-color: var(--accent); }
.voicemap { margin: 26px 0 10px; padding: 18px 18px 10px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.vm-row { display: grid; grid-template-columns: 110px auto minmax(60px, 1fr) minmax(120px, auto); align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vm-row:last-of-type { border-bottom: 0; }
.vm-app { font: 600 15px Inter, sans-serif; }
.vm-you { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--mark); color: var(--ink); white-space: nowrap; }
.vm-line { position: relative; height: 2px; background: var(--line); }
.vm-line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: vmgo 2.4s linear infinite; }
.vm-line.short i { animation-name: vmstay; }
.vm-line.split i.b { animation-delay: -1.2s; opacity: .55; }
.vm-to { font-size: 13px; line-height: 1.35; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.vm-to.here { border-color: var(--accent); color: var(--ink); }
.vm-to.both { display: grid; gap: 4px; border: 0; padding: 0; }
.vm-to.both em, .vm-to em { font-style: normal; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--accent); color: var(--ink); }
.vm-to.both em.cloud, .vm-to.cloud { border: 1px dashed var(--faint); color: var(--muted); }
.voicemap figcaption { margin-top: 8px; font-size: 13px; color: var(--faint); }
@keyframes vmgo { from { left: 0; } to { left: calc(100% - 10px); } }
@keyframes vmstay { 0%, 100% { left: 0; } 50% { left: calc(50% - 5px); } }
@media (max-width: 640px) {
  .vm-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .vm-line { grid-column: 1 / -1; }
  .vm-to { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .vm-line i { animation: none; left: calc(100% - 10px); } .vm-line.short i { left: calc(50% - 5px); } }

/* Analytics consent banner: small, bottom corner, two equal choices. */
#consent { position: fixed; z-index: 50; right: 16px; bottom: 16px; max-width: 380px; padding: 16px 16px 14px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; color: var(--ink); }
#consent p { margin: 0 0 12px; }
#consent .consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
#consent .btn { min-height: 38px; padding: 8px 16px; font-size: 14px; cursor: pointer; font-family: inherit; }
@media (max-width: 640px) { #consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
