/* Murmint website. Black by default, white on request, one orange for actions. One typeface: Inter, served from this site. */
@font-face { font-family: Inter; font-weight: 100 900; font-style: normal; font-display: swap; src: url('assets/inter-latin.woff2') format('woff2'); }

:root {
  --bg: #000; --surface: #121214; --surface-2: #1a1a1d; --inner: #202024;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .18);
  --text: #f4f4f5; --dim: #7c7c84; --body: #a1a1a8;
  --orange: #ff6a1f; --orange-hi: #ff8547; --mark: rgba(255, 106, 31, .2);
  --nav: rgba(18, 18, 20, .78); --hover: rgba(255, 255, 255, .07);
  --max: 1264px; --ease: cubic-bezier(.3, .8, .3, 1);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #fff; --surface: #f4f4f5; --surface-2: #ececee; --inner: #fff;
  --line: rgba(0, 0, 0, .08); --line-2: rgba(0, 0, 0, .16);
  --text: #111113; --dim: #6c6c74; --body: #4f4f57;
  --mark: rgba(255, 106, 31, .16);
  --nav: rgba(255, 255, 255, .82); --hover: rgba(0, 0, 0, .05);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--body); text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--orange); color: #000; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 10px; }
.dim { color: var(--dim); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ---------- navigation: a floating pill ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1040px, calc(100% - 28px)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border: 0; border-radius: 999px; background: var(--nav); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.03em; justify-self: start; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 2px; }
.links a { padding: 9px 15px; border-radius: 999px; font-size: 15px; color: var(--body); transition: color .15s, background .15s; }
.links a:hover, .links a[aria-current] { color: var(--text); background: var(--hover); }
.nav .cta-slot { justify-self: end; display: flex; gap: 8px; align-items: center; }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s var(--ease), top .2s var(--ease); }
.menu i:first-child { top: 17px; } .menu i:last-child { top: 25px; }
.menu[aria-expanded='true'] i:first-child { top: 21px; transform: rotate(45deg); } .menu[aria-expanded='true'] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 550; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--orange); color: #0a0a0a; }
.btn.primary:hover { background: var(--orange-hi); }
.btn.ghost { border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: var(--hover); }
.btn.small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { padding: 190px 0 96px; text-align: center; }
.hero h1 { font-size: clamp(54px, 8.4vw, 112px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.hero .lead { max-width: 640px; margin: 30px auto 0; font-size: clamp(18px, 1.6vw, 20px); color: var(--dim); }
.hero .lead b { color: var(--text); font-weight: 450; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* ---------- typing versus Murmint ---------- */
.versus { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.panel { position: relative; overflow: hidden; border-radius: 32px; padding: 10px; background: var(--surface); display: flex; flex-direction: column; }
.panel.voice { background: radial-gradient(90% 80% at 75% 105%, rgba(255, 106, 31, .42), transparent 62%), radial-gradient(60% 60% at 0% 0%, rgba(255, 106, 31, .12), transparent 60%), var(--surface); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 0; }
.panel-head b { display: block; font-size: 15px; font-weight: 600; }
.panel-head span { display: block; margin-top: 4px; font-size: 14px; color: var(--dim); }
.sheet { margin: 18px 24px 0; flex: 1; padding: 22px 24px; border-radius: 20px; background: var(--inner); border: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--text); min-height: 150px; white-space: pre-wrap; }
.panel.type .sheet { color: var(--body); }
#said { display: block; }
.panel.voice .sheet { min-height: 300px; }
/* both panels keep one fixed height, so the demo typing in one never stretches the other */
.versus .panel { height: 560px; }
.versus .sheet { overflow: hidden; }
#typed:not(:empty) { display: block; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pill-demo { white-space: nowrap; }
.typo { text-decoration: underline wavy #e5484d; text-underline-offset: 4px; }
.keys { margin: 22px auto 16px; display: grid; grid-template-columns: repeat(10, 18px); gap: 5px; padding: 12px; border-radius: 12px; background: var(--inner); border: 1px solid var(--line); }
.keys i { height: 14px; border-radius: 4px; background: var(--surface-2); }
.keys i.on { background: var(--dim); } .keys i.wide { grid-column: span 4; }
.pill-demo { margin: 22px auto 16px; display: inline-flex; align-items: center; gap: 14px; padding: 13px 24px; border-radius: 999px; background: #050505; border: 1px solid rgba(255, 255, 255, .14); color: #f4f4f5; font-size: 14px; }
.pill-demo .dots { display: flex; gap: 5px; align-items: center; }
.pill-demo .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); animation: pulse 1.2s ease-in-out infinite; }
.pill-demo .dots i:nth-child(2) { animation-delay: .15s; } .pill-demo .dots i:nth-child(3) { animation-delay: .3s; } .pill-demo .dots i:nth-child(4) { animation-delay: .45s; } .pill-demo .dots i:nth-child(5) { animation-delay: .6s; }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .55; } }
.kbd { display: inline-block; padding: 1px 9px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 7px; font-size: .86em; font-weight: 600; color: var(--text); background: var(--surface-2); }
.pill-demo .kbd { background: #1c1c1f; color: #f4f4f5; border-color: rgba(255, 255, 255, .2); }
.caret { display: inline-block; width: 2px; height: 1.05em; vertical-align: -.16em; background: var(--orange); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- section scaffolding ---------- */
.block { padding: 150px 0 0; }
.display { font-size: clamp(44px, 6.2vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.chapter { padding: 190px 0 30px; text-align: center; }
.chapter h2 { font-size: clamp(60px, 9vw, 120px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.chapter p { max-width: 560px; margin: 24px auto 0; font-size: 19px; color: var(--dim); }

/* where it works */
.strip { margin-top: 56px; border-radius: 32px; padding: 30px 0; background: radial-gradient(70% 140% at 50% 120%, rgba(255, 106, 31, .2), transparent 60%), var(--surface); overflow: hidden; }
.strip-row { display: flex; gap: 14px; width: max-content; animation: slide 46s linear infinite; }
.strip-row + .strip-row { margin-top: 14px; animation-direction: reverse; animation-duration: 54s; }
.app { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 18px; background: var(--inner); border: 1px solid var(--line); font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.app i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.app svg { width: 22px; height: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }
.where-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-top: 26px; }
.where-foot p { max-width: 500px; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--surface); font-size: 15.5px; font-weight: 600; }
.chip svg { width: 18px; height: 18px; }

/* feature rows: words on the left, a working example on the right */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding-top: 90px; }
.row .copy { padding-top: 12px; position: sticky; top: 120px; }
.row h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.row .copy p { margin-top: 16px; font-size: 17.5px; max-width: 470px; }
.stage { position: relative; min-height: 420px; border-radius: 32px; background: var(--surface); padding: 44px; display: grid; place-items: center; overflow: hidden; }
.stage.warm { background: radial-gradient(80% 90% at 85% 110%, rgba(255, 106, 31, .3), transparent 62%), var(--surface); }
.stage.shot { padding: 36px 36px 0; place-items: end center; }
.stage.shot img { border-radius: 14px 14px 0 0; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); }
.card { width: 100%; max-width: 560px; padding: 26px 28px; border-radius: 22px; background: var(--inner); border: 1px solid var(--line); font-size: 17px; line-height: 1.65; color: var(--text); }
.card + .card { margin-top: 14px; }
.card .from { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; color: var(--dim); }
.card .from i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); } .card.out .from i { background: var(--orange); }
.cut { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; color: var(--dim); background: var(--mark); border-radius: 5px; padding: 0 3px; }
.add { background: var(--mark); border-radius: 5px; padding: 0 3px; color: var(--text); }
.card ul { margin: 0; padding-left: 20px; } .card li { margin: 2px 0; }
.mail-gap { display: block; height: 12px; }
.pause { display: inline-block; margin: 0 6px; padding: 0 9px; border-radius: 999px; background: var(--surface-2); color: var(--dim); font-size: 13px; vertical-align: 2px; }

/* two-up grid of smaller examples */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 90px; }
.duo .stage { min-height: 360px; }
.duo h3 { margin-top: 26px; font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
.duo p { margin-top: 12px; max-width: 520px; font-size: 17px; }

/* styles switcher */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-2); margin-bottom: 18px; }
.tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--body); font: inherit; font-size: 14.5px; font-weight: 550; cursor: pointer; transition: background .15s, color .15s; }
.tabs button[aria-pressed='true'] { background: var(--inner); color: var(--text); box-shadow: 0 1px 0 var(--line-2); }
.stage-col { width: 100%; max-width: 560px; }

/* vocabulary example */
.word { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.word b { font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--mark); color: var(--orange-hi); font-size: 13px; font-weight: 600; }
:root[data-theme='light'] .tag { color: #c2410c; }
.heard { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15.5px; }
.heard span { color: var(--dim); } .heard em { font-style: normal; color: var(--text); }

/* rules example */
.rule { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rule:last-child { border-bottom: 0; }
.switch { flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-2); position: relative; border: 1px solid var(--line-2); }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--dim); }
.switch.on { background: var(--orange); border-color: var(--orange); } .switch.on::after { left: 20px; background: #fff; }

/* providers */
.providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 560px; }
.providers span { padding: 14px 16px; border-radius: 14px; background: var(--inner); border: 1px solid var(--line); font-size: 14.5px; font-weight: 550; }
.providers span small { display: block; font-weight: 450; color: var(--dim); font-size: 12.5px; margin-top: 2px; }

/* privacy */
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.privacy div { padding: 32px; border-radius: 28px; background: var(--surface); min-height: 240px; display: flex; flex-direction: column; }
.privacy svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy h3 { margin-top: 40px; font-size: 22px; font-weight: 650; letter-spacing: -.025em; }
.privacy p { margin-top: 10px; font-size: 16px; }

/* final call to action */
.final { margin-top: 170px; border-radius: 40px; padding: 130px 32px; text-align: center; background: radial-gradient(70% 90% at 50% 120%, rgba(255, 106, 31, .45), transparent 65%), var(--surface); }
.final h2 { font-size: clamp(48px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.final p { max-width: 520px; margin: 26px auto 0; font-size: 19px; }
.final .actions { margin-top: 40px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.faq h2 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; position: sticky; top: 120px; align-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; cursor: pointer; font-size: 19px; font-weight: 550; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translateY(-4px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 26px; max-width: 640px; font-size: 16.5px; }

/* inner pages */
.page-top { padding: 180px 0 40px; }
.page-top h1 { font-size: clamp(50px, 7.4vw, 100px); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; max-width: 1000px; }
.page-top p { max-width: 640px; margin-top: 26px; font-size: 19px; color: var(--dim); }
.page-top .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 17px; }
.table tr:first-child td { border-top: 1px solid var(--line); }
.table td:first-child { width: 52%; padding-right: 24px; color: var(--text); }
.table td:last-child { color: var(--body); }
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 64px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; color: var(--body); } .prose li { margin: 8px 0; }
.notice { display: flex; gap: 18px; padding: 28px 30px; border-radius: 26px; background: radial-gradient(80% 140% at 0% 0%, rgba(255, 106, 31, .18), transparent 60%), var(--surface); }
.notice svg { flex: none; width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice p { color: var(--text); } .notice p + p { margin-top: 12px; }
pre { margin: 0; padding: 26px 28px; border-radius: 22px; background: var(--surface); overflow-x: auto; font-size: 15px; line-height: 1.8; color: var(--text); }
pre .c { color: var(--dim); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 32px; border-radius: 28px; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #000; font-weight: 700; margin-bottom: 40px; }
.steps h3 { font-size: 22px; font-weight: 650; letter-spacing: -.025em; } .steps p { margin-top: 10px; font-size: 16px; }

/* ---------- footer ---------- */
footer { margin-top: 170px; padding: 70px 0 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot p { max-width: 340px; margin-top: 16px; font-size: 15.5px; }
.foot b { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.foot nav a { display: block; padding: 5px 0; font-size: 15.5px; color: var(--body); } .foot nav a:hover { color: var(--text); }
.legal { margin-top: 70px; font-size: 14px; color: var(--dim); }

/* light / dark switch */
.theme { position: fixed; right: 16px; bottom: 18px; z-index: 40; display: flex; gap: 2px; padding: 4px; border: 0; border-radius: 999px; background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.theme button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; }
.theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme button[aria-pressed='true'] { background: var(--hover); color: var(--text); }

@media (prefers-reduced-motion: reduce) { .strip-row, .pill-demo .dots i, .caret { animation: none; } * { transition-duration: .01ms !important; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .versus, .row, .duo, .faq { grid-template-columns: 1fr; }
  .row { gap: 28px; } .row .copy, .faq h2 { position: static; }
  .privacy, .steps { grid-template-columns: 1fr; } .privacy div { min-height: 0; }
  .where-foot { flex-direction: column; } .chips { justify-content: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; padding-left: 18px; border-radius: 28px; }
  .menu { display: block; }
  .links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--nav); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: none; }
  .links.open { display: flex; } .links a { padding: 14px 16px; font-size: 17px; }
  .nav .cta-slot .btn { display: none; }
  .hero { padding-top: 150px; } .block { padding-top: 110px; } .chapter { padding-top: 130px; }
  .stage { padding: 22px; min-height: 0; border-radius: 26px; } .stage.shot { padding: 22px 22px 0; } .card { padding: 20px; font-size: 16px; }
  .panel { min-height: 0; border-radius: 26px; }
  .versus .panel { height: auto; } .versus .panel.voice { height: 600px; } .sheet { margin: 26px 14px 0; } .panel-head { padding: 18px 16px 0; }
  .providers { grid-template-columns: 1fr 1fr; }
  .pill-demo { gap: 10px; padding: 11px 16px; font-size: 13px; }
  .final { padding: 90px 22px; border-radius: 30px; margin-top: 120px; }
  .table td:first-child { width: auto; } .table td { display: block; padding: 6px 0; border: 0; } .table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); } .table tr:first-child td { border: 0; }
  .wrap { width: calc(100% - 32px); }
  .theme { right: 10px; bottom: 12px; }
}

/* ---------- alternating rows: the example switches sides every other row ---------- */
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .copy { order: 2; }

/* ---------- what you said: a dark speech bubble, like the Murmint pill ---------- */
.said { align-self: flex-start; display: inline-flex; align-items: flex-start; gap: 12px; max-width: 92%; margin-bottom: 16px; padding: 12px 18px; border-radius: 20px 20px 20px 6px; background: #050505; border: 1px solid rgba(255, 255, 255, .13); color: #c9c9ce; font-size: 15px; line-height: 1.5; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.said-dots { flex: none; display: inline-flex; gap: 4px; margin-top: 8px; }
.said-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.said .pause { background: #1d1d20; color: #8a8a92; }
.stage-col { display: flex; flex-direction: column; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- what Murmint typed: inside the app it was typed into ---------- */
.window { width: 100%; max-width: 580px; border-radius: 18px; background: var(--inner); border: 1px solid var(--line); box-shadow: 0 26px 60px rgba(0, 0, 0, .35); overflow: hidden; align-self: flex-end; }
.stage > .window { align-self: center; }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.win-bar b { font-weight: 650; }
.win-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); flex: none; overflow: hidden; }
.win-ico svg { width: 15px; height: 15px; } .win-ico img { width: 24px; height: 24px; border-radius: 7px; }
.win-dots { margin-left: auto; display: flex; gap: 6px; } .win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); }
.win-body { padding: 22px 24px 24px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.win-body ul { margin: 6px 0 0; padding-left: 22px; } .win-body li { margin: 3px 0; }
.mail-head { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; }
.mail-head .dim { display: inline-block; width: 64px; }
.win-body .providers { max-width: none; }
:root[data-theme='light'] .window { box-shadow: 0 22px 50px rgba(0, 0, 0, .1); }
:root[data-theme='light'] .said { box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
@media (max-width: 1000px) { .row.flip { grid-template-columns: 1fr; } .row.flip .copy { order: 0; } .said { max-width: 100%; } }

/* ---------- legal pages ---------- */
.legal-doc h2 { font-size: 22px; margin-top: 48px; }
.legal-doc p, .legal-doc li { font-size: 16.5px; line-height: 1.7; }
.todo { padding: 1px 8px; border-radius: 6px; background: var(--mark); color: var(--text); }
a.inline { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* ---------- real logos (apps and AI providers) ---------- */
.app img { width: 24px; height: 24px; object-fit: contain; }
.win-ico img[src*="logos/"] { width: 16px; height: 16px; border-radius: 0; object-fit: contain; }
.providers .prov { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--inner); border: 1px solid var(--line); }
.prov .logo { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.prov .logo img { width: 22px; height: 22px; object-fit: contain; }
.prov .logo.letter { font-size: 15px; font-weight: 700; color: #111113; }
.prov b { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.prov b small { display: block; margin-top: 2px; font-weight: 450; color: var(--dim); font-size: 12.5px; }
.rule .kbd { margin-left: 4px; }
.app i.logo.letter { font-size: 16px; font-weight: 700; color: #111113; }

/* Speed and memory */
.speed { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.speed .panel { padding: 34px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.speed h3 { font-size: 15px; font-weight: 550; color: var(--dim); margin: 0 0 22px; }
.bars { display: grid; gap: 16px; }
.bars .bar-row { display: grid; grid-template-columns: 120px 1fr 78px; align-items: center; gap: 14px; font-size: 15px; }
.bars .track { height: 14px; border-radius: 999px; background: var(--inner); overflow: hidden; }
.bars .fill { height: 100%; border-radius: inherit; background: var(--line-strong, #3a3a3f); }
.bars .bar-row.us .fill { background: var(--orange); }
.bars .bar-row.us { font-weight: 600; }
.bars .val { text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; } .bars .bar-row.us .val { color: var(--text); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.figs b { display: block; font-size: clamp(38px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.figs span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--dim); }
.speed .note { margin-top: 22px; font-size: 13px; color: var(--dim); }
@media (max-width: 820px) { .speed { grid-template-columns: 1fr; } .bars .bar-row { grid-template-columns: 92px 1fr 64px; } }
.bars { align-content: start; gap: 22px; padding: 18px 0 8px; }
.btn { white-space: nowrap; }

/* Lists and long text sit in boxes instead of straight on the page */
.table { border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 26px; overflow: hidden; }
.table td { padding: 20px 30px; }
.table tr:first-child td { border-top: 0; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--hover); }
.prose { background: var(--surface); border-radius: 30px; padding: 6px 48px 44px; }
.prose h2:first-child { margin-top: 38px; }
.block.wrap > .prose { margin-inline: auto; }
@media (max-width: 720px) { .table td { padding: 16px 20px; } .prose { padding: 4px 24px 30px; } }

/* Comparison with other dictation apps */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 26px; overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--dim); }
.compare thead th.us, .compare td.us { background: rgba(255, 106, 31, .08); color: var(--text); font-weight: 600; }
.compare thead th.us { color: var(--orange); }
.compare tbody th { font-weight: 550; color: var(--text); width: 24%; }
.compare td { color: var(--body); }
.compare .yes { color: #3ccf8e; font-weight: 600; } .compare .no { color: var(--dim); }
.compare-wrap { overflow-x: auto; border-radius: 26px; }
.compare-note { margin-top: 16px; font-size: 13px; color: var(--dim); max-width: 860px; }

/* Legal and long-text pages: wide, large and easy to read */
.prose { max-width: 1040px; padding: 18px 64px 60px; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 30px; margin: 56px 0 14px; padding-top: 40px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 30px; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--body); }
.prose li + li { margin-top: 8px; }
.speed .note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .prose { padding: 8px 24px 36px; font-size: 16.5px; } .prose h2 { font-size: 24px; } }
/* the Murmint logo brings its own dark tile: no white backing behind it */
.win-ico:has(img[src$="logo.svg"]) { background: transparent; box-shadow: none; border-radius: 0; }
.win-ico img[src$="logo.svg"] { border-radius: 0; }

.bars .bar-row { grid-template-columns: 190px 1fr 70px; }
@media (max-width: 820px) { .bars .bar-row { grid-template-columns: 120px 1fr 60px; font-size: 13.5px; } }

/* Contributors */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person { display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: 28px; background: var(--surface); }
.person .avatar { flex: none; width: 80px; height: 80px; border-radius: 22px; background: var(--inner); object-fit: cover; }
.person h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.person .role { margin: 6px 0 12px; color: var(--orange); font-size: 14px; font-weight: 600; }
.person p { color: var(--body); margin: 0 0 12px; }
.person .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.person .links .btn { display: inline-flex; align-items: center; gap: 8px; }
.person .links svg { width: 17px; height: 17px; }
.person a:not(.btn), .prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .people { grid-template-columns: 1fr; } .person { padding: 24px; } }

/* Closed alpha notice, above the menu on every page */
.alpha { position: fixed; top: 0; left: 0; right: 0; z-index: 51; height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; }
.alpha b { color: var(--orange); font-weight: 650; }
.alpha span:last-child { color: var(--body); overflow: hidden; text-overflow: ellipsis; }
.alpha-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 31, .2); animation: alphaPulse 2.4s ease-in-out infinite; flex: none; }
@keyframes alphaPulse { 50% { box-shadow: 0 0 0 7px rgba(255, 106, 31, 0); } }
@media (prefers-reduced-motion: reduce) { .alpha-dot { animation: none; } }
.alpha a.alpha-join { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.alpha span:last-of-type { color: var(--body); overflow: hidden; text-overflow: ellipsis; }
.auth-card .lead-in { font-size: 22px; color: var(--text); font-weight: 550; }
.auth-card .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.auth-card a.btn { text-decoration: none; }
.discord-btn { display: inline-flex; align-items: center; gap: 10px; background: #5865f2 !important; color: #fff !important; }
.discord-btn svg { width: 20px; height: 20px; }

/* The menu bar stands out from the page: a tinted, slightly raised pill in light mode */
:root[data-theme='light'] { --nav: rgba(232, 232, 237, .9); }
.nav { box-shadow: 0 8px 30px rgba(0, 0, 0, .1), inset 0 0 0 1px var(--line); }
:root[data-theme='light'] .nav { box-shadow: 0 10px 30px rgba(17, 17, 19, .12), inset 0 0 0 1px rgba(0, 0, 0, .07); }
:root[data-theme='light'] .nav .links a[aria-current='page'] { background: #fff; }

/* Closed alpha: a small card in the corner instead of a bar */
.alpha-pop { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: min(360px, calc(100% - 36px)); display: flex; gap: 14px; padding: 18px 18px 16px; border-radius: 22px; background: var(--surface); box-shadow: 0 18px 50px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line); animation: popIn .45s cubic-bezier(.2, .9, .25, 1); }
.alpha-pop[hidden] { display: none; }
.alpha-pop .alpha-dot { margin-top: 7px; }
.alpha-pop b { display: block; font-size: 15px; font-weight: 650; }
.alpha-pop p { margin: 4px 0 12px; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.alpha-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .alpha-pop { animation: none; } }
.person .handle { margin: 2px 0 0; color: var(--dim); font-size: 14px; }
.auth-card { padding-top: 40px; }



/* Community */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 36px; background: radial-gradient(60% 120% at 0% 100%, rgba(88, 101, 242, .28), transparent 60%), radial-gradient(50% 90% at 100% 0%, rgba(255, 106, 31, .18), transparent 60%), var(--surface); }
.community h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.community p { margin: 18px 0 0; color: var(--body); font-size: 18px; max-width: 460px; }
.community .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.community-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.community-perks li { padding: 20px; border-radius: 20px; background: var(--inner); border: 1px solid var(--line); }
.community-perks b { display: block; font-size: 16px; }
.community-perks span { display: block; margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; padding: 32px 24px; } }
@media (max-width: 520px) { .community-perks { grid-template-columns: 1fr; } }

/* Acknowledgements: plain headings, no panels; compact person cards */
.ack { display: grid; gap: 56px; }
.ack-group h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.ack-group h2 span { padding: 2px 10px; border-radius: 999px; background: var(--surface); color: var(--dim); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.ack-group > p { margin: 8px 0 22px; color: var(--dim); font-size: 15px; }
.ack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ack-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s; min-width: 0; }
.ack-card:hover { border-color: rgba(255, 106, 31, .55); background: var(--surface-2); }
.ack-card img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 106, 31, .45); }
.ack-card .who { display: flex; flex-direction: column; min-width: 0; }
.ack-card b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ack-card small { font-size: 12.5px; color: var(--dim); }
.ack-empty { padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 14px; }
@media (max-width: 860px) { .ack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ack-grid { grid-template-columns: 1fr; } }
