:root {
  color-scheme: dark;
  --bg: #111615;
  --ink: #f0f0e8;
  --muted: #a4ada7;
  --accent: #e9b96e;
  --line: #38403b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 92% 26%, #28372d88, transparent 57%);
  pointer-events: none;
}
.page {
  max-width: 1360px;
  margin: auto;
  padding: 36px 64px 24px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.6;
}
.signature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  width: 17px;
  height: 17px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
  position: relative;
  flex-shrink: 0;
}
.mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--accent);
}
.muted {
  color: var(--muted);
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 76px 0 64px;
}
.chapter {
  color: var(--accent);
  margin: 0 0 28px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 5.7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0 0 30px;
  max-width: 8.5em;
  white-space: pre-line;
}
h1 em {
  font-weight: 400;
  color: var(--accent);
}
.intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #b7beb8;
  max-width: 29em;
  margin: 0;
  white-space: pre-line;
}
.appointment {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.6;
}
.appointment::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.right {
  padding-top: 20px;
}
.counter-heading {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 400;
}
.counter {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 14px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
}
.unit {
  min-width: 0;
}
.number {
  display: block;
  font-family: ui-monospace, "Courier New", monospace;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.07em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.unit:last-child .number {
  color: var(--accent);
}
.label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}
.puzzle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin: 0 0 16px;
}
.puzzle-label::before {
  content: "+";
  font-size: 1.15rem;
}
.puzzle h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
  margin: 0 0 12px;
}
.puzzle p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}
.riddles {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: riddle;
}
.riddles li {
  counter-increment: riddle;
  position: relative;
  border-top: 1px solid var(--line);
  padding: 18px 0 16px 38px;
}
.riddles li::before {
  content: "0" counter(riddle);
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--accent);
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
.riddles p {
  margin: 0;
  color: var(--ink);
}
.riddles details {
  margin-top: 4px;
}
.riddles .answer {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  padding: 4px 0;
}
.cipher {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #ffffff03;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.cipher.is-decoding,
.cipher.is-revealed {
  border-color: var(--accent);
  color: var(--accent);
  background: #e9b96e0a;
}
.cipher.is-revealed {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  box-shadow: 0 0 24px #e9b96e0c;
}
@media (prefers-reduced-motion: no-preference) {
  .cipher {
    transition:
      border-color 0.3s ease,
      background-color 0.3s ease,
      box-shadow 0.5s ease;
  }
}
.puzzle-form {
  margin-top: 14px;
}
.puzzle-form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.input-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
input {
  min-width: 0;
  width: 100%;
  flex: 1 1 180px;
  background: #0c1110;
  border: 1px solid #59635d;
  color: var(--ink);
  padding: 12px;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
}
button {
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  padding: 11px 15px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
}
button:hover {
  background: #e9b96e16;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.riddles .feedback {
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 10px;
}
.riddles h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 400;
}
.riddles .support {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 10px 0;
}
.trust-stage {
  padding: 16px;
  border: 1px solid var(--line);
  margin-top: 14px;
}
.doors {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.doors button {
  flex: 1;
  padding: 10px 4px;
}
.riddles .step {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.trust-start {
  margin-top: 14px;
}
@media (min-width: 701px) {
  main > section:first-child {
    position: sticky;
    top: 48px;
  }
}
details {
  margin-top: 18px;
  font-size: 0.875rem;
  line-height: 1.7;
}
summary {
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0;
  width: fit-content;
}
summary:hover {
  color: var(--accent);
}
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
details p {
  padding-top: 10px;
  max-width: 30em;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.milestones {
  margin-top: 30px;
  border: 1px solid var(--line);
  padding: 20px;
}
.milestones h2 {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--accent);
}
.milestone-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.milestone-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.milestone-list time {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.milestone-list strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.milestone-list .locked {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}
.milestone-list .revealed {
  color: var(--accent);
}
.agenda-menu {
  grid-column: 1 / -1;
  margin: 0;
}
.agenda-menu summary {
  color: var(--accent);
  min-height: 44px;
}
.agenda-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 4px 0 10px;
}
.agenda-choices a {
  color: var(--ink);
  font-size: 0.875rem;
  padding: 10px 0;
  text-underline-offset: 4px;
}
.agenda-all {
  display: inline-block;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 16px;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.5;
}
.agenda-all:hover {
  background: #e9b96e16;
}
.agenda-choices a:focus-visible,
.agenda-all:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.agenda-help {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 10px 0 0;
}
@media (max-width: 400px) {
  .milestone-list li {
    grid-template-columns: 1fr;
  }
}
.next-reveal {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.6;
}
.launch-name {
  font-size: clamp(2.7rem, 5.5vw, 5.5rem);
  overflow-wrap: anywhere;
}
.expired {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1.35;
  margin: 0 0 30px;
}
[hidden] {
  display: none !important;
}
noscript p {
  padding: 14px;
  border: 1px solid var(--line);
  line-height: 1.6;
}
@media (min-width: 1500px) {
  .page {
    padding-top: 48px;
  }
}
@media (max-width: 900px) {
  .page {
    padding: 28px 32px 22px;
  }
  main {
    gap: 38px;
  }
  .counter {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .page {
    padding: 24px;
  }
  header {
    align-items: flex-start;
  }
  header .muted {
    max-width: 9em;
    text-align: right;
  }
  main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0;
  }
  h1 {
    font-size: clamp(3.25rem, 12vw, 5rem);
  }
  .right {
    padding: 0;
  }
  .number {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }
  .counter {
    gap: 16px;
  }
  .appointment {
    margin-top: 28px;
  }
  footer {
    flex-direction: column;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  main {
    animation: arrive 0.7s ease-out both;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.milestones-intro {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 20px;
}
.puzzle {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
