:root {
  color-scheme: light;
  --background: #faf9f5;
  --surface: #ffffff;
  --surface-soft: #f4f4f0;
  --surface-warm: #fff8e7;
  --ink: #1b1c1a;
  --soft-ink: #444748;
  --muted: #747878;
  --line: rgba(27, 28, 26, 0.12);
  --gold: #d4a017;
  --gold-deep: #795900;
  --mint: #bdeed0;
  --forest: #2e5a44;
  --rose: #d88a7a;
  --shadow: 0 24px 70px rgba(27, 28, 26, 0.11);
  --soft-shadow: 0 10px 34px rgba(27, 28, 26, 0.07);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 249, 245, 0) 420px),
    radial-gradient(circle at top right, rgba(189, 238, 208, 0.3), transparent 360px),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.56;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--gold-deep);
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(27, 28, 26, 0.18);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  align-items: center;
  gap: 44px;
  min-height: 650px;
  padding: 30px 0 44px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 13px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 999px;
  color: var(--gold-deep);
  background: rgba(255, 248, 231, 0.86);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.tagline {
  max-width: 610px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: 0;
}

.lede {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--soft-ink);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.app-store-button,
.support-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 850;
}

.app-store-button {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(27, 28, 26, 0.17);
}

.support-pill {
  color: var(--gold-deep);
  border: 1px solid rgba(212, 160, 23, 0.26);
  background: rgba(255, 248, 231, 0.78);
}

.phone-visual {
  display: grid;
  min-height: 540px;
  place-items: center;
}

.phone-shell {
  width: min(100%, 334px);
  padding: 12px;
  border-radius: 42px;
  background: #171816;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 600px;
  padding: 18px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(250, 249, 245, 0.2)),
    var(--background);
  overflow: hidden;
}

.status-row,
.app-header,
.person-card,
.giftbot-card,
.mini-grid,
.research-card {
  position: relative;
  z-index: 1;
}

.status-row {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.signal-dots {
  letter-spacing: 2px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 14px;
}

.app-header p,
.giftbot-card p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.app-header strong {
  font-size: 30px;
  line-height: 1.08;
}

.app-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.person-card,
.giftbot-card,
.research-card {
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.person-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--forest);
  font-size: 22px;
  font-weight: 850;
}

.person-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
}

.person-card p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 13px;
}

.countdown {
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 900;
}

.giftbot-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  margin-top: 13px;
  padding: 16px;
  border-radius: 24px;
}

.spark {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 45%, var(--gold) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--gold) 45% 55%, transparent 55%),
    var(--surface-warm);
}

.giftbot-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.mini-grid div {
  min-height: 94px;
  padding: 14px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.mini-grid span,
.research-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-grid strong,
.research-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.research-card {
  margin-top: 13px;
  padding: 16px;
  border: 1px solid rgba(46, 90, 68, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(189, 238, 208, 0.5), rgba(255, 248, 231, 0.7)),
    var(--surface);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 0 42px;
}

.feature-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(27, 28, 26, 0.05);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(189, 238, 208, 0.62);
  font-size: 12px;
  font-weight: 850;
}

.feature-card h2 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.2;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 15px;
}

.callout-section {
  padding: 8px 0 68px;
}

.callout-card {
  max-width: 780px;
  padding: 32px;
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.92), rgba(255, 255, 255, 0.8)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.callout-card h2 {
  max-width: 680px;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

.callout-card p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 17px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
}

.site-footer p {
  margin-bottom: 0;
}

.legal-page {
  max-width: 880px;
  padding: 38px 0 70px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
}

.legal-hero p:last-child {
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 18px;
}

.legal-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.legal-section + .legal-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
}

.legal-section p {
  color: var(--soft-ink);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--gold-deep);
  font-weight: 750;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .phone-visual {
    min-height: 0;
    padding-bottom: 20px;
  }

  .feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-footer,
  main {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-links,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 21px;
  }

  .phone-shell {
    width: min(100%, 320px);
  }

  .phone-screen {
    min-height: 560px;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .legal-card,
  .callout-card {
    padding: 24px;
  }
}
