:root {
  --ink: #eee8dc;
  --ink-muted: #aaa296;
  --ink-soft: #79736b;
  --surface-0: #0e0d0c;
  --surface-1: #141310;
  --surface-2: #1a1815;
  --surface-3: #211e19;
  --line: rgba(205, 180, 132, 0.16);
  --line-strong: rgba(205, 180, 132, 0.3);
  --gold: #c7a363;
  --gold-bright: #e0c184;
  --gold-dark: #836638;
  --red: #9e4f42;
  --green: #7ea889;
  --amber: #c7964e;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(151, 94, 46, 0.09), transparent 25rem),
    var(--surface-0);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

mark {
  padding: 0 0.16em;
  color: var(--gold-bright);
  background: rgba(199, 163, 99, 0.13);
  border-bottom: 1px solid rgba(199, 163, 99, 0.45);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--surface-0);
  background: var(--gold-bright);
  border-radius: 4px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 13, 12, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #17130e;
  background:
    linear-gradient(135deg, #e2c487, #9b753e);
  border: 1px solid #eccf95;
  border-radius: 2px 8px 2px 8px;
  box-shadow:
    0 0 0 3px rgba(199, 163, 99, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  text-indent: 0;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  font-size: 19px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
  color: #f4ebdb;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: var(--ink-muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.status-pill,
.demo-label,
.sample-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 11px;
  color: #c4baaa;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(199, 150, 78, 0.8);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 102px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  top: 30px;
  right: -140px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(199, 163, 99, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(199, 163, 99, 0.025),
    0 0 0 104px rgba(199, 163, 99, 0.015);
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 7%;
  width: 600px;
  height: 600px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(134, 71, 35, 0.16), transparent 67%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Noto Serif SC", "Songti SC", "STSong", serif;
  font-weight: 600;
  line-height: 1.28;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5.25vw, 72px);
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
  color: var(--gold-bright);
  font-size: 0.85em;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.button-primary {
  color: #17130d;
  background: linear-gradient(135deg, #e1c17f, #ae8447);
  border-color: #e5c98e;
  box-shadow: 0 10px 32px rgba(157, 111, 56, 0.18);
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.button-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.release-note {
  color: var(--ink-soft);
  font-size: 12px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #b8b0a4;
  font-size: 12px;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li span {
  color: var(--gold);
}

.hero-card {
  position: relative;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(38, 34, 28, 0.96), rgba(20, 19, 16, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  content: "";
}

.hero-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold-dark);
  border-left: 2px solid var(--gold-dark);
}

.hero-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
}

.hero-card-top,
.table-header,
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-top {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.live-label {
  padding: 3px 7px;
  color: #dfc38b;
  background: rgba(199, 163, 99, 0.08);
  border: 1px solid rgba(199, 163, 99, 0.24);
  border-radius: 999px;
}

.term-lock {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0 24px;
  padding: 22px 18px;
  background: rgba(8, 8, 7, 0.38);
  border: 1px solid var(--line);
}

.term-lock p {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  text-align: center;
}

.term-source {
  color: #e5dfd3;
}

.term-target,
.term-arrow {
  color: var(--gold-bright);
}

.term-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(205, 180, 132, 0.1);
  font-size: 12px;
}

.term-meta span {
  color: var(--ink-soft);
}

.term-meta strong {
  color: #d5cec2;
  font-weight: 600;
}

.term-meta strong.pending {
  color: #cda466;
}

.card-footnote {
  margin: 20px 0 0;
  color: #7e776d;
  font-size: 11px;
  line-height: 1.75;
}

.translator-section,
.value-section,
.terminology-section,
.webpage-section,
.workflow-section,
.closing-section {
  padding: 100px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 38px;
}

.section-heading h2,
.terminology-copy h2,
.webpage-copy h2,
.closing-card h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.025em;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 5px;
  color: var(--ink-muted);
  font-size: 13px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.translator-window {
  overflow: hidden;
  background: #131210;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 22px;
  background: #181613;
  border-bottom: 1px solid var(--line);
}

.window-tabs {
  display: flex;
  align-self: stretch;
  gap: 4px;
}

.window-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #756f66;
  font-size: 12px;
}

.window-tab > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #968a78;
  border: 1px solid rgba(199, 163, 99, 0.16);
  border-radius: 50%;
  font-size: 10px;
}

.window-tab.active {
  color: var(--ink);
}

.window-tab.active::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.window-tab.active > span {
  color: var(--gold-bright);
  background: rgba(199, 163, 99, 0.09);
}

.demo-label {
  padding: 5px 9px;
  color: #a99f90;
}

.language-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  min-height: 56px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  color: #d8d1c6;
  font-size: 12px;
  font-weight: 700;
}

.language-bar > :nth-child(3) {
  padding-left: 30px;
}

.swap-icon {
  color: var(--gold);
  font-size: 17px;
}

.context-chip {
  padding: 5px 9px;
  color: #bcae99;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.translation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.translation-pane {
  min-height: 290px;
  padding: 28px 30px 26px;
}

.source-pane {
  border-right: 1px solid var(--line);
}

.result-pane {
  background:
    linear-gradient(135deg, rgba(199, 163, 99, 0.035), transparent 60%);
}

.pane-label {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sample-text {
  max-width: 500px;
  min-height: 104px;
  margin: 35px 0 30px;
  color: #d9d2c7;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-tags span {
  padding: 4px 8px;
  color: #9f9588;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(205, 180, 132, 0.12);
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.term-match {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--green);
  background: rgba(126, 168, 137, 0.08);
  border: 1px solid rgba(126, 168, 137, 0.25);
  border-radius: 50%;
  font-size: 12px;
}

.term-match div {
  display: flex;
  flex-direction: column;
}

.term-match strong {
  color: #bfc6bb;
  font-size: 11px;
}

.term-match div span {
  color: var(--ink-soft);
  font-size: 10px;
}

.translator-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px 14px 30px;
  background: #181613;
  border-top: 1px solid var(--line);
}

.translator-footer p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.button-disabled {
  min-width: 126px;
  color: #6d685f;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
  cursor: not-allowed;
}

.value-section {
  padding-top: 12px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  position: relative;
  min-height: 286px;
  padding: 30px;
  overflow: hidden;
  background: rgba(24, 22, 19, 0.68);
  border: 1px solid var(--line);
}

.value-card.featured {
  background:
    linear-gradient(145deg, rgba(52, 42, 28, 0.5), rgba(24, 22, 19, 0.72));
  border-color: var(--line-strong);
}

.value-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(199, 163, 99, 0.22);
  font-family: Georgia, serif;
  font-size: 12px;
}

.value-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  place-items: center;
  color: var(--gold-bright);
  background: rgba(199, 163, 99, 0.07);
  border: 1px solid rgba(199, 163, 99, 0.22);
  border-radius: 2px 8px 2px 8px;
  font-family: Georgia, "Songti SC", serif;
}

.value-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.value-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.terminology-section {
  background:
    linear-gradient(180deg, rgba(199, 163, 99, 0.025), transparent 36%),
    #11100e;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.terminology-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(600px, 1.28fr);
  align-items: center;
  gap: 74px;
}

.terminology-copy h2,
.webpage-copy h2 {
  margin-bottom: 24px;
}

.terminology-copy > p:not(.eyebrow),
.webpage-copy > p:not(.eyebrow),
.closing-card p {
  color: var(--ink-muted);
  font-size: 13px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 10px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.verified-dot {
  background: var(--green);
}

.pending-dot {
  background: var(--amber);
}

.community-dot {
  background: #7c7a8c;
}

.term-table-wrap {
  overflow: hidden;
  background: #181613;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.table-header {
  min-height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.table-header > div {
  display: flex;
  flex-direction: column;
}

.table-header span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.table-header strong {
  color: #d9d2c6;
  font-size: 13px;
}

.sample-badge {
  color: #af9d83 !important;
}

.term-table {
  display: grid;
}

.term-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.9fr 0.65fr;
  align-items: center;
  min-height: 59px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(205, 180, 132, 0.09);
  color: #aaa297;
  font-size: 11px;
}

.term-row strong {
  color: #dfd8cc;
  font-family: Georgia, serif;
  font-size: 12px;
}

.term-row-head {
  min-height: 42px;
  color: #716b62;
  background: rgba(255, 255, 255, 0.015);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-pending {
  color: var(--amber);
}

.table-note {
  margin: 0;
  padding: 14px 24px;
  color: #69645d;
  background: rgba(0, 0, 0, 0.12);
  font-size: 9px;
}

.webpage-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
  padding: 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 163, 99, 0.08), transparent 28rem),
    #181613;
  border: 1px solid var(--line-strong);
}

.mock-url {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 8px 8px 8px 13px;
  background: #11100e;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
}

.mock-url > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-url button {
  padding: 7px 10px;
  color: #6f685e;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9px;
}

.reader-preview {
  overflow: hidden;
  background: #100f0d;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  transform: perspective(1000px) rotateY(-1.5deg);
}

.reader-toolbar {
  min-height: 42px;
  padding: 0 14px;
  color: #6c675f;
  background: #1c1a17;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.reader-dots {
  display: flex;
  gap: 5px;
}

.reader-dots i {
  display: block;
  width: 5px;
  height: 5px;
  background: #57524b;
  border-radius: 50%;
}

.reader-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reader-columns > div {
  min-height: 246px;
  padding: 24px;
}

.reader-columns > div:first-child {
  border-right: 1px solid var(--line);
}

.reader-lang {
  display: block;
  margin-bottom: 25px;
  color: #676159;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reader-columns strong {
  display: block;
  margin-bottom: 13px;
  color: #d6d0c6;
  font-family: Georgia, "Songti SC", serif;
  font-size: 14px;
}

.reader-columns p {
  min-height: 76px;
  margin-bottom: 22px;
  color: #8d867c;
  font-size: 9px;
  line-height: 1.8;
}

.reader-line {
  display: block;
  width: 62%;
  height: 3px;
  margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.reader-line.wide {
  width: 84%;
}

.reader-line.gold {
  background: rgba(199, 163, 99, 0.16);
}

.workflow-section {
  padding-top: 36px;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading.centered > p {
  max-width: none;
  margin-top: 12px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 50px 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.workflow-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 34px;
  border-top: 1px solid var(--line-strong);
}

.workflow-list li:not(:last-child)::after {
  position: absolute;
  top: -4px;
  right: -3px;
  z-index: 2;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--surface-0);
  border: 1px solid var(--gold-dark);
  transform: rotate(45deg);
}

.step-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 12px;
}

.workflow-list strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
}

.workflow-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11px;
}

.closing-section {
  padding-top: 24px;
}

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 48px 52px;
  background:
    linear-gradient(115deg, rgba(128, 74, 37, 0.16), transparent 45%),
    #1a1815;
  border: 1px solid var(--line-strong);
}

.closing-card h2 {
  margin-bottom: 14px;
}

.closing-card p {
  margin-bottom: 0;
}

.closing-card .button {
  flex: 0 0 auto;
}

.site-footer {
  padding: 40px 0;
  color: #706a62;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  padding: 28px;
  place-items: center;
}

.not-found-card {
  width: min(620px, 100%);
  padding: 56px;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.not-found-card h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 7vw, 58px);
}

.not-found-card p {
  margin-bottom: 30px;
  color: var(--ink-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 50px;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-brand span {
  color: #756f66;
}

.footer-grid p {
  max-width: 650px;
  margin: 0;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-grid,
  .terminology-grid,
  .webpage-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-card {
    max-width: 620px;
  }

  .terminology-grid {
    gap: 44px;
  }

  .terminology-copy {
    max-width: 650px;
  }

  .webpage-card {
    gap: 45px;
  }

  .reader-preview {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
  }

  .footer-grid > span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 740px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy span {
    display: none;
  }

  .status-pill {
    font-size: 9px;
  }

  .hero {
    padding: 70px 0 72px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions,
  .section-heading,
  .closing-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-list {
    gap: 10px 16px;
  }

  .translator-section,
  .value-section,
  .terminology-section,
  .webpage-section,
  .workflow-section,
  .closing-section {
    padding: 72px 0;
  }

  .section-heading {
    display: flex;
    gap: 16px;
  }

  .window-bar {
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .window-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .window-tab {
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .window-tab > span {
    display: none;
  }

  .demo-label {
    display: none;
  }

  .language-bar {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 18px;
  }

  .language-bar > :nth-child(3) {
    padding-left: 14px;
  }

  .context-chip {
    display: none;
  }

  .translation-grid,
  .value-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .translation-pane {
    min-height: 250px;
    padding: 24px 20px;
  }

  .source-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sample-text {
    min-height: auto;
    margin: 28px 0;
  }

  .translator-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 18px 20px;
  }

  .value-card {
    min-height: 250px;
  }

  .term-table-wrap {
    overflow-x: auto;
  }

  .term-table,
  .table-header,
  .table-note {
    min-width: 650px;
  }

  .webpage-card {
    padding: 30px 20px;
  }

  .reader-columns {
    grid-template-columns: 1fr;
  }

  .reader-columns > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reader-columns > div {
    min-height: 215px;
  }

  .workflow-list {
    gap: 0;
  }

  .workflow-list li:not(:last-child)::after {
    right: auto;
    bottom: -3px;
    left: 32px;
  }

  .closing-card {
    padding: 34px 26px;
  }

  .not-found-card {
    padding: 38px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 440px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .status-pill {
    padding-inline: 8px;
  }

  .hero-actions .button,
  .closing-card .button {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
  }

  .term-lock {
    grid-template-columns: 1fr;
  }

  .term-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .mock-url {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mock-url button {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
