:root {
  color-scheme: dark;
  --bg: #0c0f14;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4efe7;
  --muted: #b8afa2;
  --accent: #f8b84e;
  --accent-strong: #ffcf7a;
  --line: rgba(255, 255, 255, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(248, 184, 78, 0.2), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(105, 139, 255, 0.18), transparent 26rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  gap: 24px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.hero-actions,
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  border-color: rgba(248, 184, 78, 0.7);
  background: rgba(248, 184, 78, 0.15);
}

.button:hover,
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 184, 78, 0.62);
  background: var(--panel-strong);
}

.panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: clamp(24px, 5vw, 48px);
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article,
.note-card,
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.16);
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline p,
.note-card p,
.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.note-card code {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  color: var(--accent-strong);
}

.card {
  flex: 1 1 240px;
  display: block;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding: 36px 0;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 24px;
  }

  .grid-two,
  .timeline {
    grid-template-columns: 1fr;
  }
}
