:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #dbe7df;
  --paper: #ffffff;
  --soft: #f8fafc;
  --red: #dc2626;
  --gray: #1f2937;
  --yellow: #d97706;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, #ffffff 0%, #f0fdf4 100%);
  color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(16, 185, 129, 0.14), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.1), transparent 30%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(5, 150, 105, 0.08) 20% 21%, transparent 21% 56%, rgba(5, 150, 105, 0.06) 56% 57%, transparent 57%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 74px) 0 clamp(42px, 5vw, 64px);
  text-align: center;
}

.venue {
  margin: -4px 0 24px;
  color: var(--emerald-800);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: 1280px;
  margin: 0 auto 18px;
  color: var(--emerald-800);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  text-shadow: 0 0 24px rgba(16, 185, 129, 0.18);
}

h1 span {
  display: block;
}

.title-line {
  color: var(--emerald-800);
  font-size: clamp(30px, 4.55vw, 64px);
  white-space: nowrap;
}

.title-line span,
.title-tail span {
  display: inline;
}

.title-main {
  display: inline;
  background: linear-gradient(90deg, #047857, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-tail {
  margin-top: 6px;
  color: var(--emerald-700);
  font-size: clamp(24px, 3.35vw, 46px);
  line-height: 1.16;
  white-space: nowrap;
}

.author-block {
  max-width: 1000px;
  margin: 0 auto;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 auto 10px;
  color: #374151;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 650;
}

.authors span {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

sup {
  font-size: 0.68em;
  line-height: 0;
}

.notes {
  margin-bottom: 26px;
  color: #64748b;
  font-size: 14px;
  font-style: italic;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08);
}

.paper {
  background: linear-gradient(135deg, #ef4444, var(--red));
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.32), 0 12px 24px rgba(220, 38, 38, 0.18);
}

.code {
  background: linear-gradient(135deg, #374151, #111827);
  box-shadow: 0 0 10px rgba(31, 41, 55, 0.28), 0 12px 24px rgba(31, 41, 55, 0.16);
}

.data {
  background: linear-gradient(135deg, #f59e0b, var(--yellow));
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.32), 0 12px 24px rgba(217, 119, 6, 0.16);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 74px;
}

.figure-section {
  margin-bottom: 48px;
  text-align: center;
}

.figure-section img {
  display: block;
  width: min(100%, 1050px);
  height: auto;
  margin: 0 auto 18px;
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(6, 78, 59, 0.13);
}

.figure-section p {
  max-width: 900px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 17px;
}

.abstract-box,
.section {
  margin-bottom: 48px;
  border-radius: 20px;
}

.abstract-box {
  padding: clamp(26px, 4vw, 42px);
  border-left: 7px solid var(--emerald-600);
  background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
  box-shadow: 0 18px 42px rgba(5, 150, 105, 0.16);
}

.section {
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(5, 150, 105, 0.14);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--emerald-900);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
}

h2::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--emerald-600);
  box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.12);
}

.abstract-box p,
.section > p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 18px;
}

.abstract-box p:last-child,
.section > p:last-child {
  margin-bottom: 0;
}

.method-grid {
  display: grid;
  gap: 18px;
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.method-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--emerald-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  color: #111827;
  font-size: 21px;
}

.method-grid p {
  margin-bottom: 0;
  color: #64748b;
  font-size: 16px;
}

.wide-figure,
.sensitivity-figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px auto 0;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.case-study {
  overflow: visible;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.spectrum-grid article {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.spectrum-grid strong,
.spectrum-grid span {
  display: block;
}

.spectrum-grid strong {
  margin-bottom: 4px;
  color: #111827;
  font-size: 18px;
}

.spectrum-grid span {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectrum-grid p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.spectrum-grid .low {
  border-left: 7px solid #3b82f6;
}

.spectrum-grid .low span {
  color: #2563eb;
}

.spectrum-grid .medium {
  border-left: 7px solid #16a34a;
}

.spectrum-grid .medium span {
  color: #15803d;
}

.spectrum-grid .high {
  border-left: 7px solid #f97316;
}

.spectrum-grid .high span {
  color: #ea580c;
}

.sensitivity-figure {
  width: min(100%, 1040px);
}

.comparison-table {
  margin-top: 28px;
}

.comparison-table h3 {
  margin-bottom: 4px;
  color: #111827;
  font-size: 23px;
}

.table-note {
  margin-bottom: 14px;
  color: #64748b;
  font-size: 15px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid #d8dee4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 11px 12px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}

th:last-child,
td:last-child {
  border-right: 0;
}

thead th {
  background: #f3f4f6;
  color: #111827;
  font-weight: 800;
}

tbody tr:nth-child(even) {
  background: #fafafa;
}

tbody tr:hover {
  background: #f0fdf4;
}

tbody td:first-child {
  font-weight: 700;
  color: #111827;
}

tbody tr.ours {
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 850;
}

tbody tr.ours td {
  border-bottom-color: #bbf7d0;
}

.artifacts ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifacts li {
  padding: 14px 16px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 12px;
  background: var(--soft);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.citation pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 22px;
  border: 1px solid rgba(6, 78, 59, 0.14);
  border-radius: 14px;
  background: #0f172a;
  color: #e5e7eb;
}

.citation pre code {
  font-size: 14px;
}

footer {
  padding: 32px 16px 48px;
  color: #64748b;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .hero-inner {
    width: min(1120px, calc(100% - 28px));
    padding-top: 48px;
    padding-bottom: 48px;
  }

  h1 {
    line-height: 1.05;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .title-line,
  .title-tail {
    white-space: normal;
  }

  .title-line span,
  .title-tail span {
    display: block;
  }

  .title-line,
  .title-tail {
    font-size: clamp(22px, 5.8vw, 25px);
  }

  .actions {
    gap: 12px;
  }

  .authors {
    gap: 6px 16px;
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  main {
    width: min(1120px, calc(100% - 24px));
    padding-top: 36px;
  }

  .method-grid,
  .spectrum-grid,
  .artifacts ul {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 27px;
  }

  .abstract-box p,
  .section > p {
    font-size: 16px;
  }
}
