/* ===== PantryOS landing, static, no framework ===== */
:root {
  --navy: #0A1F44;
  --navy-2: #12294f;
  --cream: #F8F9FB;
  --blue: #93B5FF;
  --blue-ink: #3f63b8;
  --blue-soft: rgba(147, 181, 255, .16);
  --blue-line: rgba(147, 181, 255, .55);
  --bg: #F7F8FB;
  --card: #ffffff;
  --ink: #0A1F44;
  --muted: #5c6a86;
  --border: #e7eaf1;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .04), 0 8px 24px -14px rgba(10, 31, 68, .22);
  --shadow-md: 0 20px 50px -22px rgba(10, 31, 68, .32);
  --shadow-lg: 0 28px 70px -28px rgba(10, 31, 68, .45);
  --radius: 24px;
  --radius-sm: 16px;
  --maxw: 1140px;
  --font-head: 'Lato', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.ico-sm { width: 18px; height: 18px; }

/* ===== Eyebrow labels ===== */
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-ink); margin: 0 0 14px; }
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--blue); }

/* Rounded pill badge (hero eyebrow) */
.pill { display: inline-flex; align-items: center; background: var(--blue-soft); color: var(--blue-ink); font-family: var(--font-body); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 8px 18px; border-radius: 999px; margin: 0 0 30px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border-radius: 999px; padding: 12px 22px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(10, 31, 68, .6); }
.btn--primary:hover { background: var(--navy-2); }
.btn--ghost { background: var(--card); color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--invert { background: var(--cream); color: var(--navy); }
.btn--invert:hover { background: #fff; }
.btn--nav { padding: 9px 17px; font-size: 14px; background: var(--navy); color: var(--cream); }
.btn--nav:hover { background: var(--navy-2); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Brand ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 9px; flex-shrink: 0; }
.brand__word { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand__pantry { color: var(--navy); }
.brand__os { color: var(--blue); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--navy); }
.nav .btn--nav { margin-left: auto; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav .btn--nav { margin-left: 6px; } }

/* ===== Hero ===== */
.hero { padding: 84px 0 76px; overflow: hidden; }
.hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(42px, 8.5vw, 78px); letter-spacing: -0.035em; line-height: 1.02; }
.hero__accent { font-weight: 700; font-style: italic; color: var(--blue); }
.hero__sub { margin: 30px auto 0; font-size: clamp(16px, 2.3vw, 19px); color: var(--muted); max-width: 40em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

.hero__cards { display: grid; gap: 14px; margin: 66px auto 0; max-width: 860px; }
.pcard {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm);
  text-align: left;
  animation: rise .5s ease both;
}
.pcard:nth-child(2) { animation-delay: .08s; }
.pcard:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pcard__ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue-soft); border-radius: 13px; color: var(--navy); }
.pcard__ico svg { width: 24px; height: 24px; }
.pcard__text { flex: 1; min-width: 0; }
.pcard__name { font-weight: 600; font-size: 15.5px; }
.pcard__cat { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.pcard__check { width: 22px; height: 22px; color: var(--blue-ink); flex-shrink: 0; }
@media (min-width: 760px) { .hero__cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ===== Section titles ===== */
.section__title { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -0.03em; }
.on-dark { color: var(--cream); }

/* ===== Problem ===== */
.problem { padding: 72px 0; }
.problem__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.problem__num { margin-top: 26px; font-family: var(--font-head); font-weight: 900; font-size: clamp(52px, 13vw, 92px); color: var(--navy); line-height: 1; letter-spacing: -0.04em; }
.problem__num span { display: block; font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; margin-top: 10px; }
.problem__body { margin-top: 26px; font-size: 17.5px; color: var(--muted); line-height: 1.7; }
.problem__close { margin-top: 20px; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--navy); }
.problem__foot { margin-top: 22px; font-size: 12.5px; color: var(--muted); opacity: .75; }

/* ===== How it works ===== */
.how { padding: 76px 0; background: var(--navy); color: var(--cream); }
.how .section__title { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.step { }
.step__num { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: 46px; color: rgba(147, 181, 255, .55); line-height: 1; margin-bottom: 14px; letter-spacing: -0.03em; }
.step__title { color: var(--cream); font-size: 22px; }
.step__body { margin-top: 10px; color: rgba(248, 249, 251, .72); font-size: 15.5px; line-height: 1.7; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ===== Features ===== */
.features { padding: 80px 0; }
.features .section__title { margin-bottom: 52px; }
.feature-grid { display: grid; gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--blue-soft); border-radius: 15px; color: var(--navy); margin-bottom: 18px; }
.feature__ico svg { width: 26px; height: 26px; }
.feature__title { font-size: 18.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature__body { margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.tag { font-family: var(--font-body); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; }
.tag--premium { background: var(--navy); color: var(--cream); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Pricing ===== */
.pricing { padding: 80px 0; }
.pricing .section__title { margin-bottom: 24px; }
.billing-toggle { display: flex; width: fit-content; margin: 0 auto 44px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: var(--shadow-sm); }
.billing-toggle button { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.billing-toggle button.is-active { background: var(--navy); color: var(--cream); }
.billing-toggle__note { font-size: 11px; font-weight: 600; opacity: .8; }

.plan-grid { display: grid; gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan--featured { background: var(--navy); color: var(--cream); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 6px 15px; border-radius: 999px; }
.plan__name { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--muted); }
.plan--featured .plan__name { color: rgba(248, 249, 251, .65); }
.plan__price { margin: 14px 0 6px; min-height: 76px; }
.plan__amount { font-family: var(--font-head); font-weight: 900; font-size: 40px; color: var(--navy); letter-spacing: -0.03em; }
.plan--featured .plan__amount { color: var(--cream); }
.plan__amount--todo { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: #b26b00; background: #fff4e0; padding: 2px 8px; border-radius: 8px; letter-spacing: 0; }
.plan__period { font-size: 15px; color: var(--muted); }
.plan--featured .plan__period { color: rgba(248, 249, 251, .65); }
.plan__alt { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.plan--featured .plan__alt { color: rgba(248, 249, 251, .6); }
.plan__tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.plan--featured .plan__tagline { color: rgba(248, 249, 251, .72); }
.plan__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 13px; }
.plan__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.plan__list .check { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; color: var(--navy); }
.plan--featured .plan__list .check { color: var(--blue); }
.plan__soon { color: var(--muted); font-style: italic; }
.plan--featured .plan__soon { color: rgba(248, 249, 251, .5); }
.plan__soon::before { content: "•"; position: absolute; left: 4px; top: 0; color: var(--muted); opacity: .6; }
.plan .btn { margin-top: auto; }
.price-yearly { display: none; }
.pricing[data-cycle="yearly"] .price-monthly { display: none; }
.pricing[data-cycle="yearly"] .price-yearly { display: inline; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } .plan--featured { transform: scale(1.03); z-index: 1; } }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }
.faq .section__title { margin-bottom: 36px; }
.qa { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 17px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 26px; color: var(--blue-ink); transition: transform .2s ease; line-height: 1; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ===== CTA ===== */
.cta { padding: 40px 0 90px; }
.cta__sub { color: var(--muted); font-size: 17px; margin: 16px auto 30px; max-width: 30em; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: var(--cream); padding: 60px 0 32px; }
.footer__inner { display: grid; gap: 38px; }
.footer .brand__pantry { color: var(--cream); }
.footer__tagline { margin-top: 14px; color: rgba(248, 249, 251, .6); font-size: 14px; }
.footer__cols { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
.footer__col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 14px; }
.footer__col a { display: block; color: rgba(248, 249, 251, .78); font-size: 14.5px; padding: 4px 0; }
.footer__col a:hover { color: var(--cream); }
.footer__legal { margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__company { color: rgba(248, 249, 251, .6); font-size: 13px; }
.footer__copy { color: rgba(248, 249, 251, .45); font-size: 13px; margin-top: 8px; }
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1.5fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__legal { display: flex; justify-content: space-between; align-items: center; }
  .footer__copy { margin-top: 0; }
}
