* {
  box-sizing: border-box;
}

:root {
  --bg: #060709;
  --bg-alt: #0b0e12;
  --surface: rgba(14, 18, 24, 0.9);
  --surface-strong: rgba(18, 23, 31, 0.98);
  --text: #e6e1d7;
  --muted: #8f978f;
  --line: rgba(170, 186, 170, 0.16);
  --line-strong: rgba(201, 182, 132, 0.34);
  --accent: #b7a06a;
  --accent-strong: #d3be88;
  --danger: #8b2f2f;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(183, 160, 106, 0.08), transparent 28rem),
    radial-gradient(circle at bottom left, rgba(139, 47, 47, 0.08), transparent 32rem),
    linear-gradient(180deg, #050608 0%, #080b0e 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 3px, 3px 100%;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 7, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero,
.page {
  position: relative;
}

.hero {
  padding: 6rem 0 4.5rem;
}

.page {
  padding: 2rem 0 4rem;
}

.hero-grid,
.grid-2,
.grid-3,
.split,
.footer-grid,
.signal-grid,
.stats-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-grid,
.split {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero h1,
.page-head h1,
.section h2,
.card h2,
.card h3 {
  margin: 0 0 1rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.page-head h1,
.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.card h2 {
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.2rem;
}

.eyebrow,
.tier-name,
.status-label,
.micro-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lead,
.page-head .lead {
  max-width: 62ch;
  color: #c4c3be;
  font-size: 1.08rem;
}

.small,
.muted {
  color: var(--muted);
}

.small {
  font-size: 0.93rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(182, 160, 108, 0.18), rgba(108, 93, 62, 0.18));
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  cursor: pointer;
}

.button:hover {
  border-color: rgba(211, 190, 136, 0.56);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 22, 29, 0.94), rgba(9, 12, 16, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.15rem 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 190, 136, 0.24), transparent);
}

.section,
.section-narrow {
  padding: 2.5rem 0 4rem;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.hero-panel,
.hero-card,
.form-card,
.notice,
.terminal-list {
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(10, 13, 17, 0.98));
}

.hero-card {
  padding-top: 1.35rem;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: #d4d0c7;
}

.status-line:first-of-type {
  border-top: 0;
}

.status-line span:last-child {
  color: var(--accent);
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.metric {
  padding: 1rem;
  border: 1px solid rgba(183, 160, 106, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.metric strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 2.2rem;
  line-height: 1;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.feature-card p,
.quote,
.terminal-list,
.notice p,
.card p {
  color: #c6c4bd;
}

.signal-card,
.tier,
.quote {
  min-height: 100%;
}

.signal-card::before,
.tier::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.checklist,
.steps,
.terminal-list {
  margin: 0;
  padding-left: 1.1rem;
}

.checklist li,
.steps li,
.terminal-list li {
  margin: 0.6rem 0;
}

.steps strong {
  color: var(--text);
}

.quote span {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-head {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.tier.featured,
.notice,
.legal-card {
  border-color: var(--line-strong);
}

.stack {
  display: grid;
  gap: 1rem;
}

.center {
  text-align: center;
}

.code-block,
.terminal-box {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 4, 7, 0.72);
  font-family: "Courier New", monospace;
  color: #d0c9b5;
  font-size: 0.88rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbc4b4;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(183, 160, 106, 0.14);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(2, 4, 7, 0.74);
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(211, 190, 136, 0.28);
  border-color: rgba(211, 190, 136, 0.34);
}

input[type="range"] {
  padding: 0;
}

.notice {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 5, 7, 0.7);
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta {
  font-family: "Courier New", monospace;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .signal-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.2rem, 1160px);
  }

  .hero h1 {
    max-width: none;
  }

  .card,
  .button {
    border-radius: 18px;
  }
}
