:root {
  --navy-deep: #0e2a38;
  --navy-mid: #163c4d;
  --navy-edge: #1f4f63;
  --teal-line: #3e6e78;
  --foam: #f2f6f1;
  --paper: #ece3d0;
  --paper-line: #d9cdae;
  --ink: #16211f;
  --ink-muted: #4c5e5a;
  --brass: #c07f2e;
  --brass-dark: #8f5c1f;
  --steel-text: #a9c0c4;
  --max-width: 1080px;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--navy-edge);
  position: sticky;
  top: 0;
  background: rgba(14, 42, 56, 0.94);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--foam);
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-mark {
  color: var(--brass);
  font-size: 1.1rem;
}

.logo-accent {
  color: var(--brass);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--steel-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: var(--brass);
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: radial-gradient(120% 140% at 15% -10%, var(--navy-edge) 0%, var(--navy-deep) 55%, #081b24 100%);
  color: var(--foam);
}

.hero-inner {
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brass);
  margin: 0 0 1.1rem;
}

.eyebrow-dark {
  color: var(--brass-dark);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: 0.005em;
  max-width: 20ch;
}

.lede {
  font-size: 1.08rem;
  color: var(--steel-text);
  max-width: 560px;
  margin: 0 0 2.25rem;
}

.btn {
  display: inline-block;
  background: var(--brass);
  color: #201202;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  padding: 0.9rem 1.9rem;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #d99640;
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.chart {
  background: var(--paper);
  color: var(--ink);
}

.section.deep {
  background: var(--navy-mid);
  color: var(--foam);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
}

.section.chart h2 {
  color: var(--ink);
}

.section.deep h2 {
  color: var(--foam);
}

.section-lede {
  color: var(--ink-muted);
  max-width: 680px;
  margin: 0 0 2.25rem;
  font-size: 1.02rem;
}

.section-lede.on-dark {
  color: var(--steel-text);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.75rem;
  border-top: 1px solid var(--paper-line);
  padding-top: 1.25rem;
}

/* Fact grid — instrument data plate */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}

.fact {
  background: var(--paper);
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 500;
}

.fact-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brass-dark);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--navy-edge);
  border: 1px solid var(--navy-edge);
}

.feature-list li {
  background: var(--navy-mid);
  padding: 1.5rem 1.35rem;
}

.feature-list h3 {
  font-family: var(--font-mono);
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foam);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--steel-text);
  font-size: 0.94rem;
}

/* Timeline — the sounding line, second appearance */
.timeline {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  border-left: 2px dashed var(--teal-line);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal-line);
}

.timeline li.done::before {
  background: var(--teal-line);
}

.timeline li.active::before {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 0 0 5px rgba(192, 127, 46, 0.18);
}

.tl-date {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brass-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.tl-event {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Independent quote panel */
.independent blockquote {
  margin: 0;
  border-left: 3px solid var(--brass);
  padding-left: 1.75rem;
  max-width: 640px;
}

.independent blockquote p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--steel-text);
}

.independent .quote-answer {
  color: var(--foam);
  font-weight: 700;
}

/* Notify */
.notify h2,
.notify .section-lede {
  text-align: left;
}

.notify-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0;
  border: 1px solid var(--ink);
}

.notify-form input[type="email"] {
  flex: 1 1 260px;
  padding: 0.95rem 1.1rem;
  border: none;
  background: var(--foam);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink);
}

.notify-form input[type="email"]:focus {
  outline: 2px solid var(--brass);
  outline-offset: -2px;
}

.notify-form button {
  background: var(--ink);
  color: var(--foam);
  border: none;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notify-form button:hover {
  background: var(--brass-dark);
}

.notify-message {
  min-height: 1.4em;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--brass-dark);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-edge);
  padding: 2rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel-text);
}

@media (max-width: 640px) {
  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero-inner {
    padding-left: 2.25rem;
  }

  .hero-line {
    left: 1%;
    width: 28px;
  }

  .section {
    padding: 3rem 0;
  }

  .section h2 {
    font-size: 1.7rem;
  }

  .independent blockquote p {
    font-size: 1.3rem;
  }

  .notify-form {
    flex-direction: column;
    border: none;
    gap: 0.75rem;
  }

  .notify-form input[type="email"],
  .notify-form button {
    border: 1px solid var(--ink);
  }
}
