:root {
  --ink: #17120f;
  --muted: #786f65;
  --paper: #fff8ed;
  --paper-deep: #f2e7d7;
  --white: #fffdf8;
  --green: #2f6d52;
  --mint: #c6ead3;
  --red: #e75e4f;
  --gold: #d8a03b;
  --line: rgba(23, 18, 15, 0.12);
  --shadow: 0 28px 80px rgba(52, 38, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(198, 234, 211, 0.78), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(216, 160, 59, 0.2), transparent 22rem),
    radial-gradient(circle at 80% 88%, rgba(231, 94, 79, 0.12), transparent 24rem),
    linear-gradient(145deg, var(--paper) 0%, var(--paper-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 18, 15, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 18, 15, 0.026) 1px, transparent 1px);
  background-size: 18px 18px;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 12px 32px rgba(52, 38, 22, 0.08);
}

.site-header nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

main {
  position: relative;
  z-index: 1;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100vw - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 46px 0 70px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-slogan {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 950;
}

.hero-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 900;
}

.primary-action {
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 18px 38px rgba(47, 109, 82, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 130px));
  gap: 12px;
  margin: 0;
  align-self: start;
}

.trust-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.trust-strip dt {
  font-size: 28px;
  font-weight: 950;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.scan-card {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(47, 109, 82, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.scan-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(47, 109, 82, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.scan-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scan-card-head strong {
  font-size: 24px;
}

.scan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.qr-frame {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.scan-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.phone-preview {
  grid-column: 1 / -1;
  justify-self: end;
  width: min(420px, 100%);
  margin-top: -150px;
  margin-right: 370px;
  border: 10px solid #201914;
  border-radius: 36px;
  background: var(--paper);
  box-shadow: 0 26px 70px rgba(23, 18, 15, 0.22);
  overflow: hidden;
  transform: rotate(-2deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.phone-top i {
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(23, 18, 15, 0.22);
}

.phone-screen {
  padding: 18px;
}

.mini-eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.phone-screen h2 {
  max-width: 250px;
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.04;
}

.voice-orbit {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(198, 234, 211, 0.84), transparent 62%),
    rgba(255, 255, 255, 0.52);
}

.voice-orbit button {
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 0 0 18px rgba(47, 109, 82, 0.1);
}

.entry-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
}

.entry-row span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
}

.entry-row:nth-of-type(3) span {
  background: rgba(216, 160, 59, 0.35);
}

.entry-row strong,
.entry-row b {
  font-size: 15px;
}

.entry-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.insight-pill {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #1f1a16;
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
}

.feature-section,
.insight-section,
.final-scan {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.feature-section {
  padding: 70px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.insight-copy h2,
.final-scan h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 16px 42px rgba(52, 38, 22, 0.07);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.feature-grid p,
.insight-copy p,
.report-card p {
  color: var(--muted);
  line-height: 1.72;
}

.insight-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  padding: 64px;
  border: 1px solid rgba(23, 18, 15, 0.1);
  border-radius: 8px;
  background: rgba(31, 26, 22, 0.92);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.insight-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 248, 237, 0.72);
  font-size: 18px;
}

.report-card {
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.report-head span {
  color: var(--muted);
  font-weight: 900;
}

.report-head strong {
  font-size: 38px;
}

.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 140px;
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(23, 18, 15, 0.05);
}

.bars i {
  display: block;
  min-height: 22px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--gold), var(--green));
}

.final-scan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 74px 0;
}

.final-scan h2 {
  max-width: 720px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 3;
  }

  .phone-preview {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .feature-grid,
  .section-heading,
  .insight-section {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .insight-section {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-section,
  .feature-section,
  .insight-section,
  .final-scan,
  .site-footer {
    width: min(100% - 24px, 440px);
  }

  h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .scan-card {
    padding: 18px;
  }

  .phone-screen h2 {
    font-size: 32px;
  }

  .final-scan,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
