:root {
  --ink: #101820;
  --ink-soft: #4a5565;
  --paper: #fff7ed;
  --paper-strong: #fffdf8;
  --gold: #f7c873;
  --green: #8ad7c1;
  --red: #ef6f6c;
  --blue: #5c7cfa;
  --orange: #f27a1a;
  --orange-strong: #cf5f08;
  --shadow: 0 28px 80px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 16% 18%, rgba(247, 200, 115, 0.36), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(138, 215, 193, 0.35), transparent 22%),
    linear-gradient(135deg, #fff7ed 0%, #eef8f5 48%, #f8efe4 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Aptos Display", "Segoe UI", "Avenir Next", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1160px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 0 0 42px;
}

.hero {
  display: grid;
  min-height: auto;
  align-items: start;
  gap: 28px;
  padding: clamp(14px, 3vw, 32px) 0 clamp(34px, 7vw, 82px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: #9c4d25;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 clamp(22px, 4vw, 42px);
}

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

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.hero-text {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
}

.primary-link {
  color: #fffdf8;
  background: var(--ink);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.2);
}

.orange-link {
  color: #fffdf8;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  box-shadow: 0 18px 36px rgba(207, 95, 8, 0.28);
}

.secondary-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, 0.08);
}

.signal-panel,
.story-section,
.cards-section article,
.note-section,
.error-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel {
  padding: 22px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-grid span {
  min-height: 96px;
  display: grid;
  place-items: end start;
  border-radius: 24px;
  padding: 16px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(135deg, rgba(247, 200, 115, 0.7), rgba(138, 215, 193, 0.62));
  font-size: 1.1rem;
  font-weight: 900;
}

.story-section {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(24px, 5vw, 48px);
}

.story-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.story-section p,
.note-section p,
.error-card p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.cards-section {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.cards-section article {
  padding: 24px;
}

.cards-section h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.cards-section p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.note-section {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 24px;
}

.note-section p {
  margin-bottom: 0;
}

.final-cta {
  padding: clamp(24px, 5vw, 48px);
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.url-line {
  color: var(--ink);
  font-size: clamp(1.15rem, 3vw, 1.8rem) !important;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wide-cta {
  width: min(100%, 520px);
  min-height: 64px;
  font-size: 1.08rem;
}

.support-box {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 8%, rgba(247, 200, 115, 0.46), transparent 26%),
    rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, 0.08);
}

.support-box h3 {
  margin-bottom: 8px;
}

.support-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #7b3704;
  background: #fff1df;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(207, 95, 8, 0.16);
}

.error-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.error-card {
  max-width: 720px;
  padding: clamp(26px, 6vw, 56px);
}

.error-card h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

@media (min-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.6fr);
  }

  .story-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

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

  .support-box {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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

  .hero {
    padding-top: 14px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
    letter-spacing: -0.06em;
  }
}
