:root {
  --ink: #17251e;
  --muted: #627066;
  --soft: #859085;
  --deep: #124738;
  --deep-2: #0c352a;
  --leaf: #3f936f;
  --moss: #6d8c76;
  --gold: #d1902b;
  --cream: #f7f2e5;
  --cream-2: #eee8d7;
  --paper: #fffdf8;
  --mint: #edf6ef;
  --line: rgba(23, 37, 30, .12);
  --shadow: 0 26px 80px rgba(18, 71, 56, .18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 147, 111, .16), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(209, 144, 43, .12), transparent 24rem),
    var(--cream);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  min-height: 100vh;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

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

.brand,
nav,
.actions {
  display: flex;
  align-items: center;
}

.site-header .brand {
  gap: 11px;
  color: var(--deep);
  font-size: 42px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.site-header .brand-icon {
  width: 54px;
  height: 54px;
}

.site-header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
}

.site-header nav a {
  transition: color .18s ease, transform .18s ease;
}

.site-header nav a:hover {
  color: var(--deep);
  transform: translateY(-1px);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger,
.hero-actions-mobile {
  display: none;
}

main {
  flex: 1;
  padding-bottom: 70px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: 640px;
  padding: 34px 0 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 610px;
  margin-bottom: 18px;
  color: var(--deep-2);
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: .98;
  letter-spacing: -.06em;
}

.intro {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.58;
  font-weight: 600;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 270px);
  transition: transform .18s ease, filter .18s ease;
}

.store-badge img {
  width: 100%;
  height: auto;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
}

.secondary-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 71, 56, .2);
  border-radius: 999px;
  background: rgba(255, 253, 248, .76);
  padding: 0 22px;
  color: var(--deep);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(18, 71, 56, .07);
  backdrop-filter: blur(12px);
}

.phone-stage {
  position: relative;
  min-height: 550px;
}

.phone {
  position: absolute;
  overflow: visible;
  background: transparent;
}

.phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 46px rgba(18, 71, 56, .22));
}

.phone-back {
  top: 46px;
  right: 12px;
  width: min(28vw, 245px);
  transform: rotate(6deg);
}

.phone-front {
  top: 0;
  left: 18px;
  width: min(31vw, 280px);
  transform: rotate(-3deg);
}

.section-copy p,
.faq p {
  color: var(--muted);
  line-height: 1.58;
  font-weight: 650;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .72fr);
  gap: clamp(36px, 7vw, 98px);
  align-items: center;
  padding: 68px 0 10px;
}

.section-copy h2,
.faq h2,
.final-cta h2 {
  margin-bottom: 18px;
  color: var(--deep-2);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.section-copy p {
  max-width: 570px;
  font-size: 17px;
}

.single-phone,
.mini-phone {
  background: transparent;
  filter: drop-shadow(0 24px 48px rgba(18, 71, 56, .2));
}

.single-phone {
  width: min(100%, 310px);
  margin: 0 auto;
}

.single-phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.insights-panel {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-top: 78px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(18, 71, 56, .94), rgba(12, 53, 42, .98)),
    var(--deep);
  padding: clamp(30px, 5vw, 58px);
  color: #fdf9ed;
  box-shadow: 0 26px 90px rgba(18, 71, 56, .2);
}

.insights-panel .eyebrow {
  color: #a9ddbe;
}

.insights-panel h2,
.insights-panel p {
  color: #fdf9ed;
}

.insights-panel p {
  color: rgba(253, 249, 237, .76);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.mini-phone {
  min-width: 0;
}

.mini-phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.lowered {
  margin-top: 54px;
}

.faq {
  max-width: 840px;
  padding-top: 64px;
}

.faq details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .78);
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 950;
}

.faq p {
  margin: 10px 0 0;
}

.simple-page {
  max-width: 780px;
  padding: 78px 0 130px;
}

.simple-page h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

.simple-page .intro {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(17px, 1.6vw, 20px);
}

.text-link {
  color: var(--deep);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.legal-page {
  max-width: 860px;
  padding: 76px 0 120px;
}

.legal-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  color: var(--deep);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.legal-copy p,
.legal-copy li,
.meta {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 600;
}

.legal-copy a {
  color: var(--deep);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-copy ul {
  padding-left: 22px;
}

.site-footer {
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(23, 37, 30, .12);
  background: rgba(255, 253, 248, .42);
  padding: 46px max(18px, calc((100% - 1180px) / 2)) 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(130px, .65fr) minmax(130px, .65fr);
  gap: clamp(28px, 5vw, 72px);
}

.footer-learn,
.footer-column,
.footer-group {
  display: grid;
  align-content: start;
}

.footer-learn,
.footer-column {
  gap: 16px;
}

.footer-learn-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-group,
.footer-column {
  gap: 8px;
}

.site-footer strong {
  color: var(--deep-2);
  font-size: 17px;
}

.footer-group span {
  color: var(--leaf);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a {
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .18s ease;
}

.site-footer a:hover {
  color: var(--deep);
}

.site-footer .footer-copyright {
  width: 100%;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 18%, rgba(169, 221, 190, .32), transparent 16rem),
    var(--deep);
  padding: clamp(30px, 5vw, 50px);
  color: #fdf9ed;
}

.final-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #fdf9ed;
}

.final-cta .eyebrow {
  color: #a9ddbe;
}

@media (max-width: 980px) {
  .hero,
  .feature-row,
  .insights-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .phone-stage {
    min-height: 560px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .phone-back {
    width: 260px;
  }

  .phone-front {
    width: 295px;
  }

}

@media (max-width: 760px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--deep);
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--leaf);
    outline-offset: 2px;
  }

  .site-header nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 17px;
  }

  .site-header nav a {
    width: 100%;
    padding: 12px 4px;
  }

  .nav-toggle:checked ~ nav {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-header .brand {
    font-size: 34px;
  }

  .site-header .brand-icon {
    width: 44px;
    height: 44px;
  }

  .hero-actions-desktop {
    display: none;
  }

  .hero-actions-mobile {
    display: flex;
    justify-content: center;
    margin-top: 22px;
  }

  .hero-actions-mobile .store-badge {
    width: min(58%, 210px);
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero {
    padding-bottom: 36px;
  }

  .phone-stage {
    min-height: 460px;
  }

  .phone-front {
    left: 0;
    width: 64vw;
    max-width: 270px;
  }

  .phone-back {
    right: 0;
    width: 56vw;
    max-width: 250px;
  }

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

  .feature-row {
    padding-top: 74px;
  }

  .insights-panel {
    margin-top: 70px;
    border-radius: 28px;
  }

  .lowered {
    margin-top: 0;
  }

  .mini-phone {
    max-width: 310px;
    margin-inline: auto;
  }

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

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

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

  .footer-learn-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .site-header,
  main {
    width: min(100% - 26px, 1180px);
  }

  .site-header .brand {
    font-size: 30px;
  }

  .site-header .brand-icon {
    width: 40px;
    height: 40px;
  }

  .site-header nav {
    gap: 8px 14px;
    font-size: 16px;
  }

  .intro,
  .section-copy p {
    font-size: 16px;
  }

  .phone-stage {
    min-height: 420px;
  }

  .phone-front {
    width: 65vw;
  }

  .phone-back {
    right: 8px;
    width: 54vw;
  }
}

.article-shell {
  width: min(920px, calc(100% - 36px));
  padding: 34px 0 80px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 50px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.article-hero {
  padding-bottom: 24px;
}

.article-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.3vw, 64px);
  line-height: 1;
}

.article-section,
.related-guides {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, .78);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 18px 50px rgba(18, 71, 56, .07);
}

.article-section h2,
.related-guides h2 {
  margin-bottom: 14px;
  color: var(--deep-2);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.article-section p,
.article-section li,
.guide-card span,
.final-cta p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 600;
}

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

.ingredient-card,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 22px;
}

.ingredient-card h3,
.guide-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.25;
}

.citation,
.sources a {
  color: var(--deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .article-shell {
    padding-top: 22px;
  }

  .breadcrumbs {
    margin-bottom: 34px;
    font-size: 13px;
  }

  .article-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .article-section,
  .related-guides {
    border-radius: 22px;
    padding: 22px;
  }

  .ingredient-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-inner,
  .footer-learn-groups {
    grid-template-columns: 1fr;
  }

  .footer-learn {
    grid-column: auto;
  }
}
