:root {
  --blue-dark: #1f3864;
  --blue-mid: #2e75b6;
  --blue-light: #d5e8f0;
  --grey-light: #f5f7fa;
  --grey-mid: #e8ecf0;
  --grey-text: #555;
  --green-bg: #e8f5e9;
  --green-dark: #2e7d32;
  --yellow-bg: #fff8e1;
  --yellow-dark: #f57f17;
  --red-bg: #fce4d6;
  --red-dark: #b71c1c;
  --purple-bg: #ede7f6;
  --purple-dark: #4527a0;
  --font: "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
}

body.locked {
  overflow: hidden;
}

a {
  color: var(--blue-mid);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-brand {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  transition: background 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: #fff;
  padding: 80px 32px 64px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  padding: 4px 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero h2 {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 28px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.8;
}

.hero-statement {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.hero-statement p {
  max-width: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.96;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.founder-note {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.audience-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, transform 0.1s;
  flex: 1 1 260px;
  max-width: 320px;
  text-align: center;
  line-height: 1.5;
}

.audience-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn {
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.notice {
  background: var(--yellow-bg);
  border-top: 3px solid var(--yellow-dark);
  padding: 14px 32px;
  font-size: 13px;
  color: #555;
  text-align: center;
}

.notice strong {
  color: var(--yellow-dark);
}

.site-identity {
  background: #eef4fb;
  border-top: 1px solid #d7e4f2;
  border-bottom: 1px solid #d7e4f2;
  padding: 12px 32px;
  font-size: 13px;
  color: #4a5a6a;
  text-align: center;
}

.site-identity strong {
  color: var(--blue-dark);
}

.site-purpose {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 32px 0;
  color: var(--grey-text);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

section {
  padding: 64px 32px;
  max-width: 960px;
  margin: 0 auto;
}

section.alt {
  background: var(--grey-light);
  max-width: 100%;
  padding: 64px 32px;
}

section.alt > .inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label,
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-mid);
  font-weight: 700;
  margin-bottom: 8px;
}

h2.section-title {
  font-size: 26px;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-sub {
  color: var(--grey-text);
  font-size: 14px;
  margin-bottom: 36px;
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 15px;
  color: var(--blue-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.6;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

.badge-a {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.badge-b {
  background: var(--green-bg);
  color: var(--green-dark);
}

.badge-c {
  background: var(--yellow-bg);
  color: var(--yellow-dark);
}

.badge-d {
  background: var(--purple-bg);
  color: var(--purple-dark);
}

.badge-gap {
  background: var(--red-bg);
  color: var(--red-dark);
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-mid);
}

.tl-item {
  position: relative;
  margin-bottom: 32px;
}

.tl-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-mid);
}

.tl-dot.dot-red {
  background: var(--red-dark);
  box-shadow: 0 0 0 2px var(--red-dark);
}

.tl-dot.dot-green {
  background: var(--green-dark);
  box-shadow: 0 0 0 2px var(--green-dark);
}

.tl-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.tl-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.tl-cluster {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tl-desc {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.6;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--blue-dark);
  background: #e6eef7;
  border: 1px solid #c8d8ea;
}

.tl-src {
  font-size: 11px;
  color: #777;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--grey-light);
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
}

.ev-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ev-table th {
  background: var(--blue-dark);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ev-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--grey-mid);
  vertical-align: top;
}

.ev-table tr:last-child td {
  border-bottom: none;
}

.ev-table tr:nth-child(even) td {
  background: var(--grey-light);
}

.ev-table .confirmed {
  border-left: 3px solid var(--blue-mid);
}

.ev-table .risk {
  border-left: 3px solid var(--yellow-dark);
}

.ev-table .gap {
  border-left: 3px solid var(--red-dark);
}

.evidence-summary {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}

.evidence-bullets {
  list-style: none;
  display: grid;
  gap: 12px;
}

.evidence-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #334155;
}

.evidence-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
}

.evidence-summary-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-mid);
  font-size: 13px;
  color: var(--grey-text);
}

.escalation-path {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.esc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  margin-bottom: 8px;
}

.esc-num {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.esc-content h3 {
  font-size: 15px;
  color: var(--blue-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

.esc-content p {
  font-size: 13px;
  color: var(--grey-text);
}

.esc-arrow {
  text-align: center;
  font-size: 18px;
  color: var(--blue-mid);
  margin: -4px 0;
}

.structure-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.structure-column {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 24px;
}

.structure-column h3 {
  font-size: 18px;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.structure-stack {
  display: grid;
  gap: 10px;
}

.structure-chip {
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7fbff 0%, #e8f0f8 100%);
  border: 1px solid #d1dfed;
  color: var(--blue-dark);
  font-weight: 700;
  text-align: center;
}

.structure-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--grey-text);
}

.structure-links {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.structure-links span {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(46, 117, 182, 0.2) 0%, rgba(46, 117, 182, 0.95) 50%, rgba(46, 117, 182, 0.2) 100%);
  position: relative;
}

.structure-links span::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.role-box {
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  overflow: hidden;
}

.role-box-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue-dark);
}

.role-box-body {
  padding: 16px;
}

.role-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 13px;
}

.role-item:last-child {
  border-bottom: none;
}

.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
  margin-top: 5px;
  flex-shrink: 0;
}

.role-item strong {
  color: var(--blue-dark);
}

.role-note {
  font-size: 12px;
  color: #888;
}

.role-summary {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
}

.highlight-box.yellow {
  background: var(--yellow-bg);
  border-color: var(--yellow-dark);
}

.numbers-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.num-box {
  flex: 1;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.num-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-mid);
  line-height: 1.1;
}

.num-label {
  font-size: 12px;
  color: var(--grey-text);
  margin-top: 4px;
}

.num-src {
  font-size: 10px;
  color: #aaa;
  margin-top: 6px;
}

.reform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.reform-item {
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  padding: 24px;
  border-top: 3px solid var(--blue-mid);
}

.reform-item h3 {
  font-size: 15px;
  color: var(--blue-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.reform-item p {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.6;
}

.source-list {
  columns: 2;
  gap: 24px;
}

.source-item {
  break-inside: avoid;
  font-size: 13px;
  color: var(--grey-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-mid);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.source-dot {
  color: var(--blue-mid);
  font-weight: 700;
  flex-shrink: 0;
}

footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 28px 32px;
  font-size: 12px;
  line-height: 1.8;
}

footer strong {
  color: rgba(255, 255, 255, 0.9);
}

hr.section-hr {
  border: none;
  border-top: 1px solid var(--grey-mid);
  margin: 0;
}

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.legend-item.a {
  background: var(--blue-light);
  border-color: #b0c8e0;
  color: var(--blue-dark);
}

.legend-item.b {
  background: var(--green-bg);
  border-color: #b8d8b8;
  color: var(--green-dark);
}

.legend-item.c {
  background: var(--yellow-bg);
  border-color: #e0c860;
  color: var(--yellow-dark);
}

.legend-item.gap {
  background: var(--red-bg);
  border-color: #e0b8a0;
  color: var(--red-dark);
}

.password-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.985), rgba(13, 12, 11, 0.975)),
    radial-gradient(circle at top, rgba(159, 45, 32, 0.16), transparent 28%);
  z-index: 1000;
  transition: opacity 240ms ease, visibility 240ms ease;
  backdrop-filter: blur(18px);
}

.password-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-card {
  width: min(520px, 100%);
  padding: 34px 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(247, 240, 230, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.gate-card h1 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.gate-copy {
  color: var(--grey-text);
  margin-bottom: 18px;
}

.unlock-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.unlock-form input {
  min-width: 0;
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.gate-error {
  min-height: 1.4em;
  margin-top: 12px;
  color: var(--red-dark);
  font-weight: 700;
}

.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;
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 26px;
  }

  .nav-links {
    display: none;
  }

  section,
  section.alt {
    padding: 48px 20px;
  }

  .site-identity {
    padding: 12px 20px;
  }

  .source-list {
    columns: 1;
  }

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

  .structure-board {
    grid-template-columns: 1fr;
  }

  .structure-links {
    display: none;
  }

  .unlock-form {
    grid-template-columns: 1fr;
  }
}
