:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #52606d;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --line: #dce5df;
  --green: #18775d;
  --green-dark: #0e5845;
  --blue: #2458b8;
  --coral: #e4674d;
  --sun: #f5c95e;
  --shadow: 0 20px 55px rgba(31, 61, 48, 0.14);
  --page: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 223, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--page);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
}

.site-nav .button,
.site-nav .button:hover {
  color: white;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  content: "";
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  background: var(--green);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 30%, rgba(255, 255, 255, 0.34) 57%, rgba(255, 255, 255, 0) 75%),
    url("hero-pantry.png");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0 96px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 530px;
  margin-bottom: 30px;
  color: #34434d;
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: #3e5148;
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-row span::before {
  color: var(--green);
  content: "✓";
  margin-right: 7px;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--soft);
}

.section.blue-band {
  background: var(--blue);
  color: white;
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 44px;
}

.section-heading h2,
.split-copy h2,
.cta-band h2,
.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.split-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature {
  border-top: 4px solid var(--green);
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 30px rgba(35, 61, 50, 0.08);
  padding: 26px;
}

.feature:nth-child(2) {
  border-color: var(--blue);
}

.feature:nth-child(3) {
  border-color: var(--coral);
}

.feature-number {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feature h3 {
  margin: 12px 0 9px;
  font-size: 1.25rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dff2e9;
  color: var(--green-dark);
  content: "✓";
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
}

.phone {
  width: min(100%, 380px);
  min-height: 660px;
  margin: 0 auto;
  border: 10px solid #202b34;
  border-radius: 34px;
  overflow: hidden;
  background: #f6f8f7;
  box-shadow: var(--shadow);
}

.phone-top {
  height: 34px;
  background: #202b34;
}

.phone-screen {
  padding: 22px 18px 18px;
}

.phone-screen h3 {
  margin-bottom: 5px;
  font-size: 1.65rem;
}

.phone-screen > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 12px 8px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.35rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.67rem;
}

.app-list {
  display: grid;
  gap: 9px;
}

.app-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 11px;
}

.item-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e3f3eb;
  color: var(--green-dark);
  font-weight: 850;
}

.app-item strong,
.app-item small {
  display: block;
}

.app-item small {
  color: var(--muted);
}

.stock-pill {
  border-radius: 999px;
  background: #fff0ea;
  color: #a43c2a;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 800;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 0.67rem;
  text-align: center;
}

.phone-nav b {
  color: var(--green-dark);
}

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

.tier {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 30px;
}

.tier.featured {
  border-color: var(--sun);
  background: white;
  color: var(--ink);
}

.tier h3 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.tier .price {
  margin-bottom: 18px;
  font-weight: 800;
}

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

.tier li + li {
  margin-top: 8px;
}

.privacy-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border-left: 5px solid var(--coral);
  background: #fff7f4;
  padding: 28px;
}

.privacy-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
}

.privacy-strip h3,
.privacy-strip p {
  margin-bottom: 0;
}

.privacy-strip p {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 60px 0;
}

.cta-band h2 {
  max-width: 650px;
  margin: 0;
}

.site-footer {
  background: #17212b;
  color: #d8e1e5;
  padding: 52px 0 28px;
}

.footer-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 40px;
}

.site-footer .brand {
  color: white;
}

.footer-copy {
  max-width: 360px;
  margin-top: 14px;
  color: #aebcc4;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: white;
}

.footer-links a {
  color: #c2cdd2;
  text-decoration: none;
}

.copyright {
  width: var(--page);
  margin: 36px auto 0;
  border-top: 1px solid #33414b;
  padding-top: 22px;
  color: #91a1aa;
  font-size: 0.85rem;
}

.legal-hero {
  background: var(--soft);
  padding: 76px 0 56px;
}

.legal-hero .section-inner {
  max-width: 900px;
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-layout {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 92px;
}

.legal-layout h2 {
  margin: 42px 0 12px;
  font-size: 1.5rem;
}

.legal-layout h2:first-child {
  margin-top: 0;
}

.legal-layout p,
.legal-layout li {
  color: #3e4d57;
}

.legal-layout li + li {
  margin-top: 7px;
}

.notice {
  border-left: 4px solid var(--blue);
  background: #f0f5ff;
  padding: 18px 20px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.support-options {
  display: grid;
  gap: 18px;
}

.support-option {
  border-left: 4px solid var(--green);
  padding-left: 18px;
}

.support-option:nth-child(2) {
  border-color: var(--blue);
}

.support-option:nth-child(3) {
  border-color: var(--coral);
}

.support-option h3 {
  margin-bottom: 4px;
}

.support-option p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: 0 12px 40px rgba(31, 61, 48, 0.09);
  padding: clamp(22px, 4vw, 38px);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #aebdc4;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(36, 88, 184, 0.14);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--green-dark);
}

.form-status[data-state="error"] {
  color: #a02f22;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  :root {
    --page: min(100% - 28px, 680px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: white;
    padding: 10px 14px 16px;
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 680px;
    align-items: end;
    background-image: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.18) 76%),
      url("hero-pantry.png");
    background-position: 65% center;
  }

  .hero-inner {
    padding: 250px 0 44px;
  }

  h1 {
    font-size: 3.75rem;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .split,
  .tier-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 14px;
  }

  .split {
    gap: 48px;
  }

  .phone {
    min-height: 610px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .button-row .button {
    width: 100%;
  }

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

  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full,
  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
