:root {
  color-scheme: light;
  --ink: #082c3c;
  --paper: #fffaf0;
  --sun: #f4b942;
  --coral: #e76f51;
  --mint: #cbe7dc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 28%, rgba(203, 231, 220, 0.75), transparent 30rem),
    linear-gradient(135deg, #fffaf0, #f7eee0);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, sans-serif;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

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

header {
  display: flex;
  width: min(1120px, calc(100% - 36px));
  margin: auto;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: inherit;
  font-family: "Kohinoor Gurmukhi", "Mukta Mahee", serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 8px;
  place-items: center;
  border-radius: 50% 50% 50% 12%;
  background: var(--ink);
  color: white;
}

nav { display: flex; gap: 18px; }
nav a, .credit a { color: inherit; font-weight: 700; }

main {
  width: min(1040px, calc(100% - 36px));
  margin: 5vh auto 12vh;
}

.eyebrow,
.status-label {
  margin: 0 0 12px;
  color: #42606a;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 68ch;
  margin: 28px 0 44px;
  font-size: 1.16rem;
  line-height: 1.65;
}

#demo h2 { font-size: 1rem; }

video {
  display: block;
  width: 100%;
  border: 8px solid var(--ink);
  border-radius: 24px;
  background: #051b24;
  box-shadow: 0 28px 70px rgba(8, 44, 60, 0.22);
}

.status-card,
.transcript {
  margin-top: 30px;
  border: 1px solid rgba(8, 44, 60, 0.16);
  border-radius: 20px;
  padding: clamp(22px, 5vw, 42px);
  background: rgba(255, 255, 255, 0.68);
}

.status-card { border-left: 8px solid var(--coral); }
.status-card h2 { max-width: 26ch; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.status-card p, .transcript li { line-height: 1.65; }
.transcript summary { cursor: pointer; font-size: 1.25rem; font-weight: 800; }
.transcript li { margin: 14px 0; }
.credit { margin-top: 28px; font-size: 0.9rem; }

.proposal-section { margin-top: 58px; }
.proposal-section > h2 { font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.7rem); }
.table-wrap { overflow-x: auto; border: 1px solid rgba(8, 44, 60, 0.16); border-radius: 18px; background: rgba(255, 255, 255, 0.7); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 18px; border-bottom: 1px solid rgba(8, 44, 60, 0.12); text-align: left; vertical-align: top; line-height: 1.5; }
thead th { background: var(--ink); color: white; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.fine-print { color: #42606a; font-size: 0.9rem; line-height: 1.6; }
.proposal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.proposal-grid article { padding: 26px; border-radius: 18px; background: var(--ink); color: white; }
.proposal-grid .status-label { color: var(--sun); }
.proposal-grid h2 { font-family: Georgia, serif; font-size: 1.8rem; }
.proposal-grid p { line-height: 1.6; }
.gate-list { padding-left: 1.25rem; }
.gate-list li { margin: 12px 0; line-height: 1.55; }

code { font-family: "SFMono-Regular", Consolas, monospace; }

@media (max-width: 620px) {
  header { align-items: flex-start; }
  nav { flex-direction: column; gap: 6px; text-align: right; }
  h1 { font-size: clamp(2.8rem, 17vw, 4.8rem); }
  .proposal-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
