:root {
  --bg: #f5efe2;
  --paper: rgba(255, 252, 245, 0.78);
  --ink: #143222;
  --muted: #5f715f;
  --line: rgba(20, 50, 34, 0.12);
  --accent: #1f8f57;
  --accent-deep: #0d6b3f;
  --accent-soft: #d6f1d9;
  --sun: #ffc86f;
  --shadow: 0 20px 70px rgba(29, 56, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 200, 111, 0.55), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(113, 191, 131, 0.22), transparent 24%),
    linear-gradient(180deg, #fff8ed 0%, var(--bg) 52%, #efe4cf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 50, 34, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 50, 34, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
}

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

.topbar,
.hero,
.grid-section,
.quote-band,
.faq-section,
.footer {
  position: relative;
  z-index: 1;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #64c17b);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.top-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

a {
  color: var(--accent-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0 54px;
}

.eyebrow,
.card-kicker,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-deep);
}

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

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  margin: 12px 0 18px;
}

.serif-accent {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: var(--shadow);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.hero-points li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.device-stack {
  position: relative;
  min-height: 540px;
}

.phone-card {
  position: absolute;
  border-radius: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.phone-front {
  inset: 16px 54px auto auto;
  width: min(360px, 100%);
  transform: rotate(-4deg);
}

.phone-back {
  inset: auto auto 6px 6px;
  width: min(280px, 100%);
  min-height: 240px;
  transform: rotate(7deg);
  background: linear-gradient(180deg, #163225, #234a32);
  color: #f0f7f1;
}

.phone-header {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-pill {
  width: 84px;
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 50, 34, 0.1);
}

.phone-pill.small {
  width: 38px;
}

.phone-body {
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf7, #f2f8ef);
}

.phone-body h2 {
  font-size: 2rem;
  margin-top: 6px;
}

.phone-stat,
.scan-card p,
.footer-copy {
  color: var(--muted);
}

.progress {
  height: 12px;
  margin: 18px 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(31, 143, 87, 0.12);
}

.progress-fill {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79cb6c, #2b9d61);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(20, 50, 34, 0.07);
}

.task.done {
  background: var(--accent-soft);
}

.scan-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.scan-card h3 {
  font-size: 1.9rem;
  margin: 10px 0 8px;
  color: #fff;
}

.scan-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.scan-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.grid-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  margin: 14px 0 30px;
}

.feature-card,
.faq-item,
.quote-band {
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.feature-large {
  grid-row: span 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(240, 252, 239, 0.72));
}

.feature-card h2,
.faq-intro h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  margin: 10px 0 16px;
}

.feature-card h3,
.faq-item h3 {
  font-size: 1.32rem;
  margin: 10px 0 10px;
}

.feature-card p,
.faq-item p,
.feature-large p {
  color: var(--muted);
  line-height: 1.65;
}

.quote-band {
  margin: 14px 0 30px;
  background: linear-gradient(135deg, rgba(24, 86, 53, 0.97), rgba(35, 114, 66, 0.88));
  color: #f8f8f2;
}

.quote {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  max-width: 26ch;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.policy-strip {
  margin: 30px 0 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.policy-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  margin: 10px 0 12px;
}

.policy-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.policy-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.policy-page {
  display: grid;
  gap: 24px;
}

.policy-hero,
.policy-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.72;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  overflow: hidden;
}

.policy-table th,
.policy-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.policy-table th {
  color: var(--ink);
  font-size: 0.9rem;
}

.policy-table td {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 8px;
  align-items: end;
}

@media (max-width: 940px) {
  .hero,
  .grid-section,
  .faq-section,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .device-stack {
    min-height: 470px;
  }

  .phone-front {
    right: 10px;
  }
}

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

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

  .hero {
    padding-top: 12px;
  }

  h1 {
    max-width: none;
  }

  .device-stack {
    min-height: 440px;
  }

  .phone-front,
  .phone-back {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .phone-back {
    margin-top: 16px;
  }

  .feature-card,
  .faq-item,
  .quote-band {
    padding: 20px;
  }
}
