:root {
  --bg: #f6f2e8;
  --bg-deep: #1b1a17;
  --surface: rgba(255, 252, 245, 0.78);
  --surface-strong: #fffaf0;
  --ink: #161410;
  --muted: #665f54;
  --line: rgba(22, 20, 16, 0.12);
  --accent: #ef7b45;
  --accent-strong: #d85b26;
  --accent-cool: #1d6f78;
  --shadow: 0 24px 60px rgba(33, 25, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(239, 123, 69, 0.16), transparent 32%),
    radial-gradient(circle at right 15%, rgba(29, 111, 120, 0.12), transparent 28%),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg) 100%);
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(22, 20, 16, 0.06);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
}

.brand-tag,
.topnav a,
.lede,
.info-card p,
.feature-card p,
.launch-list,
.signal-list,
.phone-header p,
.message {
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 20px;
  font-size: 0.96rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.hero-panel,
.info-card,
.feature-card,
.launch-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cool);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.7rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  max-width: 13ch;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 20px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff8f0;
  box-shadow: 0 14px 28px rgba(216, 91, 38, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.signal-list,
.launch-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.hero-panel {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 360px);
  border-radius: 32px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(27, 26, 23, 0.96), rgba(54, 43, 34, 0.96));
  color: #fffdf9;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 248, 240, 0.14);
}

.phone-header strong {
  display: block;
}

.phone-header p {
  margin: 3px 0 0;
  font-size: 0.92rem;
}

.contact-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcf70, #ef7b45);
}

.message-thread {
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.message {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.97rem;
  line-height: 1.45;
}

.message.incoming {
  background: rgba(255, 255, 255, 0.08);
  justify-self: start;
  color: #f9eee8;
}

.message.outgoing {
  background: linear-gradient(135deg, rgba(239, 123, 69, 0.92), rgba(29, 111, 120, 0.78));
  justify-self: end;
  color: #fffefc;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 40px;
}

.strip p {
  margin: 0;
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.section-grid {
  display: grid;
  gap: 24px;
  margin: 52px 0;
}

.section-grid.alt {
  margin-top: 68px;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.feature-card {
  padding: 26px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(29, 111, 120, 0.1);
  color: var(--accent-cool);
  font-weight: 800;
}

.info-card p,
.feature-card p,
.launch-list {
  line-height: 1.7;
  font-size: 1rem;
}

.launch-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 30px;
  margin-top: 70px;
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.94), rgba(243, 239, 231, 0.96));
}

code {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(22, 20, 16, 0.08);
}

.reveal-1,
.reveal-2,
.reveal-3 {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 700ms ease forwards;
}

.reveal-2 {
  animation-delay: 120ms;
}

.reveal-3 {
  animation-delay: 240ms;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .launch-panel,
  .card-grid,
  .card-grid.two-up,
  .strip {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    padding: 34px 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .topnav {
    gap: 14px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-panel,
  .info-card,
  .feature-card,
  .launch-panel {
    border-radius: 22px;
  }
}
