*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --border: rgba(255, 255, 255, 0.07);
  --text-primary: #E8E4DC;
  --text-secondary: #6B6456;
  --accent: #C4A35A;
  --accent-dim: rgba(196, 163, 90, 0.12);
  --error: #c0453a;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────────────────── */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.container {
  width: 100%;
  max-width: 540px;
}

.container--wide {
  max-width: 680px;
}

/* ─── Wordmark ───────────────────────────────────────────── */

.wordmark {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
}

.wordmark span {
  color: var(--accent);
}

/* ─── Gate (State 1) ─────────────────────────────────────── */

.gate-headline {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.gate-sentence {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate-input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  padding: 0.875rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  text-transform: uppercase;
}

.gate-input::placeholder {
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: none;
}

.gate-input:focus {
  border-color: rgba(196, 163, 90, 0.4);
}

.gate-input.error {
  border-color: var(--error);
}

.gate-btn {
  background: var(--accent-dim);
  border: 1px solid rgba(196, 163, 90, 0.3);
  color: var(--accent);
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 0.875rem 1rem;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
}

.gate-btn:hover {
  background: rgba(196, 163, 90, 0.18);
  border-color: rgba(196, 163, 90, 0.5);
}

.gate-error {
  color: var(--error);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  min-height: 1.2em;
}

/* ─── Platform (State 2) ─────────────────────────────────── */

.platform-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.platform-title {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.platform-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
}

.section {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-body {
  font-size: 0.925rem;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.75;
}

.section-body p + p {
  margin-top: 0.75rem;
}

.dimensions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dimensions li {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}

.dimensions li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.dimensions li strong {
  color: var(--text-primary);
  font-weight: 500;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.cta-block {
  padding-top: 1rem;
}

.cta-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(196, 163, 90, 0.3);
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 0.875rem 2rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.cta-btn:hover {
  background: rgba(196, 163, 90, 0.18);
  border-color: rgba(196, 163, 90, 0.5);
}

/* ─── Footer ─────────────────────────────────────────────── */

.footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-align: center;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 600px) {
  .gate-headline {
    font-size: 1.25rem;
  }
  .platform-title {
    font-size: 1.4rem;
  }
}
