:root {
  --bg: #071416;
  --bg-soft: #0d1d21;
  --panel: rgba(16, 34, 38, 0.88);
  --panel-border: rgba(143, 180, 188, 0.22);
  --text: #e6f1f2;
  --muted: #9ab2b7;
  --accent: #8fb4bc;
  --accent-strong: #c7a65a;
  --danger: #8f4337;
  --shadow: rgba(0, 0, 0, 0.35);
  --max-width: 1240px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(143, 180, 188, 0.08), transparent 35%),
    linear-gradient(180deg, #071416 0%, #091518 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 24px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: rgba(7, 20, 22, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 166, 90, 0.35);
  border-radius: 10px;
  background: rgba(199, 166, 90, 0.08);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  font-family: Cinzel, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
}

.section-grid,
.content-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 96px 0 72px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-family: Cinzel, serif;
}

.hero-lede {
  margin-top: 28px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #071416;
}

.button-secondary {
  border: 1px solid rgba(143, 180, 188, 0.3);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.launch-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.launch-facts div {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.02);
}

.launch-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.launch-facts dd {
  margin: 10px 0 0;
  font-weight: 600;
}

.case-file {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(199, 166, 90, 0.18);
  background: linear-gradient(180deg, rgba(14, 28, 31, 0.95), rgba(9, 18, 20, 0.98));
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.case-file-header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.monitor-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(143, 180, 188, 0.16);
  background: rgba(7, 20, 22, 0.84);
}

.monitor-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 12px rgba(143, 67, 55, 0.8);
}

.monitor-title {
  margin-top: 18px;
  font-size: 1.5rem;
  font-weight: 700;
}

.vital-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.vital-grid div {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}

.vital-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.vital-grid strong {
  display: block;
  margin-top: 8px;
}

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stamp-row span {
  padding: 10px 14px;
  border: 1px dashed rgba(199, 166, 90, 0.28);
  border-radius: 999px;
  color: rgba(199, 166, 90, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.content-section {
  padding: 72px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.body-copy {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: Cinzel, serif;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.feature-card,
.release-panel,
.signup-form {
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.feature-card {
  padding: 26px;
}

.feature-number {
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
}

.release-panel {
  padding: 32px;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.release-grid article {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.release-grid ul {
  padding-left: 20px;
  color: var(--muted);
}

.updates-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.signup-form {
  padding: 28px;
}

.signup-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.signup-row {
  display: flex;
  gap: 12px;
}

.signup-row input,
.signup-row button {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.signup-row input {
  flex: 1;
  padding: 0 16px;
  background: rgba(0,0,0,0.2);
  color: var(--text);
}

.signup-row button {
  min-width: 160px;
  background: rgba(143,180,188,0.14);
  color: var(--text);
}

.signup-form small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 42px 0 56px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.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: 960px) {
  .hero,
  .two-column,
  .updates-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .release-grid,
  .launch-facts {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,0.02);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-footer {
    flex-direction: column;
  }
}
