:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #17365d;
  --text: #294b73;
  --muted: #6f86a3;
  --line: #d8e5f3;
  --accent: #245b9e;
  --accent-strong: #174d8c;
  --accent-soft: #eef5fc;
  --accent-pale: #f7fbff;
  --shadow: 0 12px 34px rgba(36, 91, 158, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 38px auto 64px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 48px clamp(28px, 6vw, 78px) 46px;
  text-align: center;
}

h1 {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-family: inherit;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.subtitle {
  max-width: 900px;
  margin: 14px auto 20px;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 400;
  line-height: 1.45;
}

.authors {
  margin: 22px auto 6px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 400;
}

.authors sup,
.affiliations sup { font-size: .72em; }

.affiliations {
  margin: 0 auto;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.affiliations p { margin: 1px 0; }

.contact { margin: 8px 0 22px; font-size: .9rem; }
.contact a { color: var(--accent); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px auto 32px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #b9d0e8;
  border-radius: 9px;
  color: var(--accent-strong);
  background: var(--accent-pale);
  text-decoration: none;
  font-weight: 600;
}

.project-button.disabled { cursor: default; opacity: .82; }
.button-icon { font-size: .95em; }
.coming-soon { color: var(--muted); font-size: .74rem; font-weight: 500; }

.abstract-block {
  max-width: 970px;
  margin: 0 auto;
  padding: 25px 30px 27px;
  background: var(--accent-pale);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}

.abstract-block h2 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 650;
}

.abstract-block p { margin: 0; color: var(--text); }

.content-section { margin-top: 48px; padding: 0 6px; }

.section-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.section-number {
  flex: 0 0 auto;
  margin-top: 8px;
  color: #78a3cf;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.section-heading h2 {
  margin: 0;
  color: var(--accent-strong);
  font-family: inherit;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -.02em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  max-width: 900px;
}

.architecture-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36, 91, 158, .06);
}

.architecture-card img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  padding: clamp(10px, 2vw, 22px);
  background: #fff;
}

.architecture-card figcaption {
  padding: 17px 23px 20px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: .93rem;
}

.architecture-card figcaption strong { color: var(--accent-strong); }
.audio-section { margin-top: 54px; }

.audio-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 91, 158, .06);
}

.audio-table {
  width: 100%;
  min-width: 930px;
  border-collapse: collapse;
  table-layout: fixed;
}

.audio-table th,
.audio-table td {
  border-bottom: 1px solid #e7eff8;
  border-right: 1px solid #e7eff8;
  padding: 16px 14px;
  vertical-align: middle;
}

.audio-table th:last-child,
.audio-table td:last-child { border-right: 0; }
.audio-table tbody tr:last-child td { border-bottom: 0; }

.audio-table th {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
}

.audio-table .transcript-col { width: 38%; text-align: left; }
.audio-table th:not(.transcript-col) { width: 20.66%; }
.audio-table .ours-col { background: #e5f1fd; color: var(--accent-strong); }
.audio-table .ours-cell { background: #f8fbff; }

.transcript-cell { text-align: left; }
.example-id {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.transcript-cell p {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: .94rem;
  line-height: 1.5;
}

audio { display: block; width: 100%; min-width: 170px; height: 34px; }
.audio-note { margin: 9px 4px 0; color: var(--muted); font-size: .82rem; }

footer {
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
}

@media (max-width: 700px) {
  .page-shell { width: min(100% - 22px, 1180px); margin-top: 18px; }
  .hero-card { padding: 36px 20px 31px; border-radius: 16px; }
  .abstract-block { padding: 21px 20px; }
  .content-section { margin-top: 38px; }
  .section-heading { gap: 11px; }
  .section-number { display: none; }
}
