:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b182a;
  --panel: rgba(12, 27, 46, .88);
  --panel-strong: #0e2036;
  --line: rgba(154, 187, 218, .16);
  --line-strong: rgba(53, 221, 200, .3);
  --text: #f4f8fc;
  --muted: #a5b6c9;
  --faint: #718399;
  --mint: #28e0c1;
  --cyan: #26bce8;
  --violet: #8b72ff;
  --danger: #ff7b8e;
  --warning: #ffc86b;
  --success: #44e6a7;
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 2%, rgba(20, 174, 217, .11), transparent 30rem),
    radial-gradient(circle at 90% 22%, rgba(111, 76, 246, .1), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, select, label { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; }
.is-hidden { display: none !important; }
.sr-only {
  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 {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--mint);
  color: #02120f;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(154, 187, 218, .1);
  background: rgba(5, 14, 26, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.back-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.back-link span:first-child { color: var(--mint); font-size: 1.25rem; }
.back-link:hover { color: var(--text); transform: translateX(-2px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: .92rem; letter-spacing: .02em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 24px rgba(30, 218, 194, .15); }
.brand strong { color: var(--mint); }
.language-switch {
  justify-self: end;
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}
.lang-btn {
  min-width: 42px;
  min-height: 34px;
  border-radius: 9px;
  background: transparent;
  color: var(--faint);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { background: var(--mint); color: #041612; box-shadow: 0 6px 18px rgba(40, 224, 193, .2); }

.hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 40px), var(--max));
  min-height: 570px;
  margin: 0 auto;
  padding: 100px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: center;
  gap: 50px;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 22px -80px 10px;
  border-radius: 48px;
  border: 1px solid rgba(144, 185, 218, .08);
  background:
    linear-gradient(rgba(47, 221, 201, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 221, 201, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 76%, transparent);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 280px; height: 280px; right: 9%; top: 18%; background: rgba(30, 199, 207, .09); box-shadow: 0 0 130px rgba(30, 199, 207, .12); }
.hero-glow-two { width: 210px; height: 210px; left: -9%; top: 15%; background: rgba(121, 84, 241, .08); box-shadow: 0 0 120px rgba(121, 84, 241, .1); }
.eyebrow, .section-kicker, .capability-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(40, 224, 193, .45);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(40, 224, 193, 0); } 100% { box-shadow: 0 0 0 0 rgba(40, 224, 193, 0); } }
.hero h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(3rem, 6.2vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.062em;
  text-wrap: balance;
  background: linear-gradient(118deg, #fff 5%, #d8f8f3 48%, #9ddbf3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #cfdae6;
  font-size: .82rem;
  font-weight: 700;
}
.hero-pills i { color: var(--mint); font-style: normal; }

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(73, 158, 233, .18);
  border-radius: 34px;
  background: #03070d;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .42), 0 0 80px rgba(42, 115, 255, .1);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(2, 7, 14, .16), transparent 50%, rgba(35, 86, 173, .08));
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: 51% center; }
.hero-visual-ring { position: absolute; z-index: 1; inset: 17px; border: 1px solid rgba(100, 181, 255, .15); border-radius: 24px; pointer-events: none; }

.app-section, .results-section, .visual-feature, .info-grid, .compatibility {
  width: min(calc(100% - 40px), var(--max));
  margin-left: auto;
  margin-right: auto;
}
.app-section { padding: 70px 0 50px; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2, .results-head h2, .compatibility h2 {
  margin: 12px 0 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.section-heading p { margin: 0; color: var(--muted); line-height: 1.7; }
.workspace-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 35, 57, .94), rgba(7, 21, 37, .96));
  box-shadow: var(--shadow);
}
.workspace-main { min-width: 0; padding: clamp(22px, 4vw, 42px); }
.capability-card { padding: 42px 30px; border-left: 1px solid var(--line); background: rgba(4, 15, 28, .48); }
.drop-zone {
  min-height: 250px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed rgba(63, 226, 206, .36);
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(40, 224, 193, .055), transparent 70%);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--mint); background-color: rgba(40, 224, 193, .06); transform: translateY(-2px); }
.drop-zone:focus-within { outline: 3px solid rgba(40, 224, 193, .18); outline-offset: 3px; }
.upload-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(40, 224, 193, .17), rgba(39, 171, 230, .08));
  color: var(--mint);
}
.upload-icon svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong { font-size: 1.14rem; }
.drop-zone > span:not(.upload-icon) { margin-top: 7px; color: var(--muted); font-size: .92rem; }
.drop-zone small { max-width: 560px; margin-top: 16px; color: var(--faint); font-size: .76rem; line-height: 1.5; }
.file-card {
  min-width: 0;
  margin-top: 16px;
  padding: 15px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(40, 224, 193, .055);
}
.file-type { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(40, 224, 193, .12); color: var(--mint); font-size: 1.4rem; }
.file-meta { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.file-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta span { color: var(--muted); font-size: .8rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; background: transparent; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--danger); }
.settings-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-label { display: flex; flex-direction: column; gap: 8px; color: #ced9e5; font-size: .8rem; font-weight: 800; }
select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  appearance: none;
  background-color: rgba(3, 13, 24, .56);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--text);
  outline: none;
}
select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(40, 224, 193, .1); }
select option { background: #0c1b2d; color: var(--text); }
.notice { margin-top: 18px; padding: 15px 16px; display: flex; gap: 13px; border: 1px solid rgba(255, 200, 107, .2); border-radius: 15px; background: rgba(255, 200, 107, .055); }
.notice-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 200, 107, .13); color: var(--warning); font-weight: 900; }
.notice strong { font-size: .84rem; color: #ffdfaa; }
.notice p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.device-notice, .status-message { margin-top: 16px; padding: 13px 15px; border-radius: 13px; font-size: .82rem; line-height: 1.55; }
.device-notice { border: 1px solid rgba(255, 200, 107, .22); background: rgba(255, 200, 107, .07); color: #f4d69e; }
.status-message.is-error { border: 1px solid rgba(255, 123, 142, .28); background: rgba(255, 123, 142, .08); color: #ffc2cb; }
.status-message.is-info { border: 1px solid rgba(38, 188, 232, .25); background: rgba(38, 188, 232, .07); color: #bceeff; }
.progress-panel { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(1, 10, 19, .32); }
.progress-block + .progress-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.progress-head { display: flex; justify-content: space-between; gap: 15px; color: #d9e3ec; font-size: .82rem; font-weight: 800; }
.progress-head strong { color: var(--mint); }
.progress-track { height: 9px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .075); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--cyan), var(--violet)); transition: width .25s ease; }
.progress-panel small { display: block; min-height: 1.1em; margin-top: 8px; color: var(--faint); font-size: .72rem; }
.action-row { margin-top: 22px; display: flex; gap: 12px; }
.primary-btn, .secondary-btn, .tool-btn {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
}
.primary-btn { flex: 1; padding: 0 22px; background: linear-gradient(110deg, var(--mint), #34d7df); color: #041612; box-shadow: 0 14px 34px rgba(40, 224, 193, .17); }
.btn-spark { margin-right: 9px; }
.secondary-btn { padding: 0 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); color: #d3dee8; }
.primary-btn:hover:not(:disabled), .secondary-btn:hover:not(:disabled), .tool-btn:hover:not(:disabled) { transform: translateY(-2px); }
.primary-btn:disabled, .secondary-btn:disabled, .tool-btn:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.privacy-line { margin: 14px 0 0; display: flex; justify-content: center; gap: 8px; color: var(--faint); font-size: .74rem; text-align: center; }
.privacy-line span:first-child { color: var(--success); }

.capability-card h3 { margin: 12px 0 24px; font-size: 1.25rem; line-height: 1.3; }
.capability-list { display: flex; flex-direction: column; }
.capability-list > div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.capability-list span:not(.cap-dot) { color: var(--muted); font-size: .8rem; }
.capability-list strong { font-size: .72rem; text-align: right; }
.cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 4px rgba(113, 131, 153, .08); }
.cap-dot.is-good { background: var(--success); box-shadow: 0 0 0 4px rgba(68, 230, 167, .09); }
.cap-dot.is-warn { background: var(--warning); box-shadow: 0 0 0 4px rgba(255, 200, 107, .09); }
.cap-dot.is-bad { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 123, 142, .09); }
.engine-result { margin-top: 22px; padding: 15px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(40, 224, 193, .055); }
.engine-result span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.engine-result strong { color: var(--mint); }
.capability-card > p { margin: 18px 0 0; color: var(--faint); font-size: .76rem; line-height: 1.6; }

.results-section { padding: 30px 0 70px; }
.results-card { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15, 35, 57, .94), rgba(7, 21, 37, .96)); box-shadow: var(--shadow); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.results-head h2 { margin-bottom: 0; }
.complete-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: rgba(68, 230, 167, .1); color: #a9f7d6; font-size: .75rem; font-weight: 900; }
.complete-badge i { font-style: normal; color: var(--success); }
#transcriptText { width: 100%; min-height: 270px; resize: vertical; padding: 20px; border: 1px solid var(--line); border-radius: 16px; outline: none; background: rgba(2, 11, 21, .55); color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92rem; line-height: 1.75; }
#transcriptText:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(40, 224, 193, .08); }
.result-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.tool-btn { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); color: #d9e3ec; font-size: .78rem; }
.tool-btn span:first-child { color: var(--mint); }
.timestamps-wrap { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.timestamps-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.timestamps-head h3 { margin: 0; font-size: 1rem; }
.timestamps-head span { color: var(--faint); font-size: .75rem; }
.timestamps-list { max-height: 360px; margin-top: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 15px; }
.timestamp-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 18px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.timestamp-row:last-child { border-bottom: 0; }
.timestamp-row time { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .75rem; }
.timestamp-row p { margin: 0; color: #d7e0e9; font-size: .82rem; line-height: 1.5; }

.visual-feature {
  min-height: 470px;
  margin-top: 40px;
  padding: clamp(26px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 50%, rgba(42, 178, 239, .1), transparent 38%),
    linear-gradient(135deg, rgba(12, 30, 51, .8), rgba(6, 17, 31, .86));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}
.visual-feature-subtitles { grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); }
.visual-feature-subtitles .visual-feature-art { order: 2; }
.visual-feature-art { min-width: 0; display: grid; place-items: center; }
.visual-feature-art img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .28)); }
.visual-feature-copy { max-width: 500px; }
.visual-feature-copy h2 { margin: 15px 0 17px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.03; letter-spacing: -.047em; text-wrap: balance; }
.visual-feature-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.info-grid { padding: 70px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-grid article { position: relative; min-height: 250px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(11, 27, 45, .56); }
.info-grid article::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 140px; height: 140px; border: 1px solid rgba(40, 224, 193, .12); border-radius: 50%; }
.info-number { color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; }
.info-grid h2 { margin: 62px 0 10px; font-size: 1.25rem; }
.info-grid p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.compatibility { margin-bottom: 80px; padding: 32px 36px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 55px; border: 1px solid rgba(139, 114, 255, .22); border-radius: 24px; background: linear-gradient(110deg, rgba(139, 114, 255, .08), rgba(38, 188, 232, .04)); }
.compatibility h2 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.compatibility > p { margin: 0; color: var(--muted); line-height: 1.75; }

footer { border-top: 1px solid var(--line); background: rgba(3, 11, 21, .58); }
.footer-inner { width: min(calc(100% - 40px), var(--max)); min-height: 116px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 5px; }
.footer-inner strong { color: var(--mint); }
.footer-inner span, .footer-inner p { color: var(--faint); font-size: .78rem; }
.footer-inner a { color: #c7d6e4; font-weight: 800; text-decoration-color: rgba(40, 224, 193, .45); text-underline-offset: 4px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 13px; background: #10283d; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); color: var(--text); font-size: .82rem; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 82px; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { max-width: 820px; }
  .hero-visual { min-height: 360px; }
  .workspace-card { grid-template-columns: 1fr; }
  .visual-feature, .visual-feature-subtitles { min-height: 0; grid-template-columns: 1fr; text-align: center; }
  .visual-feature-copy { max-width: 680px; margin: 0 auto; }
  .visual-feature-subtitles .visual-feature-art { order: 0; }
  .capability-card { border-top: 1px solid var(--line); border-left: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid article { min-height: 200px; }
  .info-grid h2 { margin-top: 38px; }
  .compatibility { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .nav-wrap { width: min(calc(100% - 24px), var(--max)); min-height: 64px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .back-link span:last-child { display: none; }
  .back-link { width: 40px; height: 40px; justify-content: center; }
  .back-link span:first-child { font-size: 1.5rem; }
  .brand { justify-self: center; font-size: .76rem; }
  .brand img { width: 32px; height: 32px; }
  .language-switch { padding: 3px; }
  .lang-btn { min-width: 35px; min-height: 32px; }
  .hero, .app-section, .results-section, .visual-feature, .info-grid, .compatibility { width: min(calc(100% - 24px), var(--max)); }
  .hero { gap: 22px; padding: 64px 0 40px; }
  .hero::after { inset: 8px -30px 0; }
  .hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 13vw, 4rem); letter-spacing: -.055em; }
  .hero-copy { line-height: 1.62; }
  .hero-pills { justify-content: center; }
  .hero-visual { min-height: 0; aspect-ratio: 3 / 2; transform: none; margin: 4px 0 0; border-radius: 24px; }
  .hero-visual img { min-height: 0; object-position: center; }
  .hero-visual-ring { inset: 10px; border-radius: 16px; }
  .app-section { padding-top: 54px; }
  .workspace-main, .capability-card, .results-card { padding: 20px; }
  .drop-zone { min-height: 230px; padding: 26px 16px; }
  .settings-grid { grid-template-columns: 1fr; }
  .action-row { flex-direction: column; }
  .primary-btn, .secondary-btn { width: 100%; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .timestamp-row { grid-template-columns: 1fr; gap: 6px; }
  .info-grid { padding: 45px 0; }
  .visual-feature { margin-top: 28px; padding: 24px 18px 30px; gap: 12px; }
  .visual-feature-art img { max-height: 330px; }
  .compatibility { margin-bottom: 55px; padding: 24px; }
  .footer-inner { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
  .footer-inner p { margin: 0; }
}

@media (max-width: 390px) {
  .brand span { display: none; }
  .hero-visual { margin: 0; }
  .result-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .tool-btn { justify-content: center; }
}

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

@media print {
  .site-header, .hero, .app-section, .result-actions, .visual-feature, .info-grid, .compatibility, footer, .toast { display: none !important; }
  body { background: #fff; color: #111; }
  .results-section { width: 100%; padding: 0; }
  .results-card { border: 0; box-shadow: none; background: #fff; padding: 0; }
  #transcriptText { min-height: auto; border: 0; background: #fff; color: #111; }
}
