@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:wght@500;600&display=swap');

:root {
  color-scheme: only dark;
  --bg-0: #120f0c;
  --bg-1: #1b1510;
  --bg-2: #221a14;
  --card: #221b16;
  --card-soft: #2a211a;
  --ink-0: #f2ede6;
  --ink-1: #d7cfc6;
  --ink-2: #b7aa9f;
  --accent: #d18a44;
  --accent-2: #f0b16f;
  --accent-3: #b36a2c;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--ink-0);
  background: radial-gradient(1200px 700px at 15% 0%, #2b2016 0%, transparent 50%),
    radial-gradient(800px 500px at 85% 10%, #2a1d14 0%, transparent 55%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-0) 60%);
  padding: 48px clamp(20px, 6vw, 80px) 32px;
}

.bg-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="2" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.12"/></svg>');
  mix-blend-mode: soft-light;
  opacity: 0.55;
  z-index: -1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(150deg, #f6c288, #bf6c2b);
  color: #2a1608;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-subtitle {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.header-badge {
  background: rgba(209, 138, 68, 0.18);
  color: var(--accent-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(209, 138, 68, 0.4);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: stretch;
  margin-bottom: 48px;
}

.hero-left h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 10px 0 18px;
  line-height: 1.05;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--accent-2);
  margin: 0 0 10px;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-1);
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.04);
}

.pill.accent {
  border-color: rgba(209, 138, 68, 0.6);
  color: var(--accent-2);
  background: rgba(209, 138, 68, 0.15);
}

.status-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.status-title {
  font-weight: 600;
  margin-bottom: 20px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--ink-1);
}

.status-item:last-child {
  border-bottom: none;
}

.schema {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 40px;
}

.schema-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.schema-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.schema-subtitle {
  margin: 6px 0 0;
  color: var(--ink-2);
}

.schema-key {
  padding: 6px 12px;
  background: rgba(209, 138, 68, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-2);
  border: 1px solid rgba(209, 138, 68, 0.45);
}

.schema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.schema-step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.schema-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 60px at 10% 0%, rgba(209, 138, 68, 0.18), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.step-index {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}

.step-title {
  font-weight: 600;
  margin: 12px 0 6px;
}

.step-text {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

.notice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.notice-card {
  background: var(--card-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--line);
}

.notice-card.alt {
  border-color: rgba(209, 138, 68, 0.45);
  background: rgba(209, 138, 68, 0.12);
}

.notice-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .schema-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body {
    padding: 36px 18px 24px;
  }

  .status-card {
    padding: 20px;
  }
}
