:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-soft: #edf7f1;
  --ink: #102f2c;
  --muted: #58716b;
  --line: #d7e5dd;
  --leaf: #006b5e;
  --leaf-dark: #004a42;
  --alert: #f97316;
  --alert-soft: #fff1e7;
  --blue: #274c77;
  --shadow: 0 18px 45px rgba(15, 47, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 247, 0.94);
  border-bottom: 1px solid rgba(215, 229, 221, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1120px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand strong,
.footer-title {
  display: block;
  font-weight: 850;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--leaf);
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 107, 94, 0.18);
  cursor: pointer;
}

.button:hover,
.store-button:hover {
  background: var(--leaf-dark);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
}

.button-alert {
  background: var(--alert);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.2);
}

.button-alert:hover {
  background: #d85f0c;
}

.button-ghost {
  background: transparent;
  color: var(--leaf);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--surface-soft);
  color: var(--leaf-dark);
}

.button-full {
  width: 100%;
}

.hero,
.app-hero {
  position: relative;
  overflow: hidden;
  background: #edf7f1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/illustrations/glycemic-wave.svg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto 100%;
  opacity: 0.34;
  pointer-events: none;
}

.hero-inner,
.app-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.4rem 0 3.2rem;
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy,
.app-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: 2.55rem;
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy p,
.app-hero-copy p,
.article-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-visual,
.app-hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual img,
.app-hero-visual img {
  width: min(100%, 410px);
  margin: 0 auto;
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
}

.section,
.article-layout,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.section-heading p {
  color: var(--muted);
}

.feature-grid,
.link-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.link-grid a,
.score-card,
.answer-box,
.mini-note,
.qr-card {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card,
.link-grid a {
  min-height: 188px;
  padding: 1.35rem;
  text-decoration: none;
}

.feature-card:hover,
.link-grid a:hover {
  border-color: rgba(0, 107, 94, 0.42);
  transform: translateY(-2px);
}

.feature-card p,
.link-grid small {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 1rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 900;
}

.demo-section,
.download-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.demo-copy {
  max-width: 580px;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--alert);
}

.score-card {
  padding: 1.25rem;
}

.score-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.score-badge {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  display: grid;
  place-content: center;
  background: var(--alert-soft);
  color: var(--alert);
  text-align: center;
  flex: 0 0 76px;
}

.score-badge strong {
  font-size: 1.8rem;
  line-height: 1;
}

.score-badge span {
  color: var(--muted);
  font-size: 0.82rem;
}

.curve-wrap {
  margin: 1rem 0;
  border-radius: 1.2rem;
  background: #f9fcfa;
  border: 1px solid var(--line);
  overflow: hidden;
}

.score-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.score-verdict span,
.link-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.score-advice {
  color: var(--muted);
}

.content-hub {
  padding-top: 2.2rem;
}

.link-grid a {
  display: grid;
  gap: 0.45rem;
}

.link-grid strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.cta-band {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 4rem;
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
  align-items: center;
  border-radius: 1.5rem;
  background: var(--leaf);
  color: #fff;
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.article-hero {
  background: #edf7f1;
}

.article-shell {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--leaf);
  text-decoration: none;
}

.answer-box {
  margin-top: 1.5rem;
  padding: 1.2rem;
}

.answer-box span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--alert);
  font-weight: 900;
}

.answer-box p {
  margin: 0;
  font-weight: 750;
}

.article-layout {
  padding: 3rem 0 4rem;
  display: grid;
  gap: 2rem;
}

.article-layout.single {
  grid-template-columns: 1fr;
  max-width: 880px;
}

.article-content {
  min-width: 0;
  color: #203d39;
}

.article-content h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
}

.article-content p,
.article-content li {
  color: #405d58;
}

.article-content a {
  color: var(--leaf);
  font-weight: 800;
}

.article-content ul,
.article-content ol {
  padding-left: 1.2rem;
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--alert);
  background: var(--alert-soft);
  border-radius: 0.8rem;
}

.table-scroll {
  width: 100%;
  margin: 1.4rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--surface-soft);
  color: var(--leaf-dark);
  font-size: 0.88rem;
}

tr:last-child td {
  border-bottom: 0;
}

.article-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.mini-note {
  padding: 1.1rem;
  color: var(--muted);
}

.mini-note strong {
  color: var(--ink);
}

.faq-block {
  margin-top: 2.5rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

details p {
  margin: 0.8rem 0 0;
}

.app-hero {
  background: #edf7f1;
}

.app-features .feature-card {
  min-height: 178px;
}

.download-section {
  padding-top: 2rem;
}

.store-button {
  min-width: 170px;
  background: var(--blue);
  box-shadow: none;
}

.store-button.disabled {
  background: #dce5e1;
  color: #70847f;
  cursor: default;
}

.qr-card {
  width: min(100%, 260px);
  aspect-ratio: 1;
  justify-self: center;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--surface);
}

.qr-card span {
  border-radius: 0.5rem;
  background: var(--ink);
}

.qr-card span:nth-child(2),
.qr-card span:nth-child(4),
.qr-card span:nth-child(8) {
  background: var(--surface-soft);
}

.qr-card small {
  grid-column: 1 / -1;
  align-self: end;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.disclaimer {
  max-width: 640px;
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-inner,
  .app-hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 5.2rem;
  }

  .feature-grid,
  .link-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-section,
  .download-section {
    grid-template-columns: 1fr 0.86fr;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    width: min(100% - 1rem, 1120px);
  }

  .brand small {
    display: none;
  }

  .button-small {
    padding: 0.58rem 0.72rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.06;
  }

  .hero-inner,
  .app-hero {
    width: min(100% - 1.1rem, 1120px);
    padding: 2.2rem 0 1.55rem;
  }

  .section,
  .article-layout,
  .site-footer,
  .cta-band {
    width: min(100% - 1.1rem, 1120px);
  }

  .hero-actions .button,
  .store-row .store-button {
    width: 100%;
  }
}

/* Premium editorial pass */
body {
  background:
    linear-gradient(180deg, rgba(237, 247, 241, 0.65), rgba(248, 250, 247, 0) 560px),
    repeating-linear-gradient(90deg, rgba(16, 47, 44, 0.018) 0 1px, transparent 1px 92px),
    var(--bg);
}

.site-header {
  background: rgba(248, 250, 247, 0.82);
  box-shadow: 0 12px 34px rgba(16, 47, 44, 0.045);
}

.brand img {
  filter: drop-shadow(0 10px 18px rgba(0, 107, 94, 0.18));
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--alert);
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.button,
.store-button {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::before,
.store-button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: transform 420ms ease;
}

.button:hover,
.store-button:hover {
  transform: translateY(-2px);
}

.button:hover::before,
.store-button:hover::before {
  transform: translateX(115%);
}

.hero,
.app-hero {
  background:
    linear-gradient(135deg, #eef8f2 0%, #f9fbf8 58%, #fff4ea 100%);
}

.hero-inner {
  padding-top: 2.7rem;
  padding-bottom: 1.4rem;
}

.app-hero {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - 1120px) / 2));
  padding-right: max(1rem, calc((100% - 1120px) / 2));
}

.hero::after,
.app-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 107, 94, 0.32), transparent);
}

.hero-bg {
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: waveShift 12s ease-in-out infinite alternate;
}

.hero-copy,
.app-hero-copy {
  animation: riseIn 520ms ease both;
}

.hero-lab,
.hero-visual,
.app-hero-visual {
  animation: riseIn 700ms ease 90ms both;
}

.hero-visual {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 28px 76px rgba(16, 47, 44, 0.14);
}

.hero-visual picture,
.tip-grid picture {
  display: block;
}

.hero-visual img {
  width: 100%;
  height: min(430px, 42vw);
  min-height: 310px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.app-hero-visual img {
  border-radius: 2.05rem;
  transform: none;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.app-hero-visual img:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(16, 47, 44, 0.16);
}

.hero-lab {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 107, 94, 0.16);
  border-radius: 1.8rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 241, 0.78)),
    var(--surface);
  box-shadow: 0 28px 76px rgba(16, 47, 44, 0.14);
}

.hero-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.62) 42% 46%, transparent 46%),
    radial-gradient(circle at 80% 8%, rgba(249, 115, 22, 0.16), transparent 30%);
  pointer-events: none;
}

.hero-lab > * {
  position: relative;
  z-index: 1;
}

.lab-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--leaf-dark);
}

.lab-topline span {
  color: var(--alert);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lab-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.lab-flow div,
.curve-comparison > div {
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 47, 44, 0.06);
}

.lab-flow div {
  min-height: 118px;
  padding: 0.95rem;
}

.lab-flow span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 950;
}

.lab-flow strong,
.lab-flow small {
  display: block;
}

.lab-flow small {
  color: var(--muted);
}

.curve-comparison {
  display: grid;
  gap: 0.75rem;
}

.curve-comparison > div {
  padding: 0.95rem;
}

.curve-comparison span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.curve-comparison svg {
  width: 100%;
  height: 86px;
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(237, 247, 241, 0.72), rgba(255, 255, 255, 0.5));
}

.curve-comparison path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: drawCurve 1.2s ease forwards;
}

.hero-lab p {
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 750;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(0, 107, 94, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--leaf-dark);
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(16, 47, 44, 0.055);
}

.intro-band {
  display: grid;
  gap: 1.6rem;
  align-items: stretch;
}

.intro-copy {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 241, 0.76)),
    var(--surface);
  box-shadow: var(--shadow);
}

.intro-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.principle-grid {
  display: grid;
  gap: 0.9rem;
}

.principle-grid article {
  position: relative;
  min-height: 148px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(16, 47, 44, 0.06);
  overflow: hidden;
}

.principle-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf), var(--alert));
}

.principle-grid span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--alert);
  font-weight: 950;
}

.principle-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.starch-playbook {
  position: relative;
}

.tip-grid {
  display: grid;
  gap: 1rem;
}

.tip-grid a {
  position: relative;
  min-height: 330px;
  padding: 0;
  display: grid;
  grid-template-rows: 150px auto;
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 247, 0.9));
  box-shadow: var(--shadow);
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tip-grid picture {
  height: 150px;
  overflow: hidden;
  background: var(--surface-soft);
}

.tip-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.tip-grid a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--leaf), var(--alert));
}

.tip-grid a::after {
  content: "→";
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--leaf);
  font-weight: 950;
  transition: transform 220ms ease, background 220ms ease;
}

.tip-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 107, 94, 0.34);
  box-shadow: 0 24px 62px rgba(16, 47, 44, 0.12);
}

.tip-grid a:hover img {
  transform: scale(1.035);
}

.tip-grid a:hover::after {
  transform: translateX(3px);
  background: var(--alert-soft);
  color: var(--alert);
}

.tip-grid span {
  width: max-content;
  margin: 1.1rem 1.2rem 0;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 950;
}

.tip-grid strong {
  display: block;
  max-width: 86%;
  margin: 0.75rem 1.2rem 0;
  font-size: 1.22rem;
  line-height: 1.22;
}

.tip-grid small {
  display: block;
  margin: 0.7rem 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.app-proof-card {
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 241, 0.75));
  box-shadow: var(--shadow);
}

.app-proof-card strong {
  color: var(--leaf-dark);
  font-size: 1.25rem;
}

.app-proof-card span {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  font-weight: 750;
}

.app-proof-card span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--leaf);
}

.feature-card,
.link-grid a,
.score-card,
.answer-box,
.mini-note,
.qr-card,
.table-scroll,
details {
  backdrop-filter: blur(12px);
}

.feature-card,
.link-grid a {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card::after,
.link-grid a::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--alert));
  transition: transform 220ms ease;
}

.feature-card:hover,
.link-grid a:hover {
  box-shadow: 0 24px 62px rgba(16, 47, 44, 0.12);
}

.feature-card:hover::after,
.link-grid a:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  background: linear-gradient(135deg, #e8f7ec, #fff1e7);
}

.demo-section {
  position: relative;
  padding: 4rem clamp(0rem, 2vw, 2rem);
}

.demo-section::before {
  content: "";
  position: absolute;
  inset: 1.8rem 0;
  z-index: -1;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(0, 107, 94, 0.08), rgba(249, 115, 22, 0.08)),
    rgba(255, 255, 255, 0.48);
}

.score-card {
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237, 247, 241, 0.55), transparent 42%);
  pointer-events: none;
}

.score-card > * {
  position: relative;
  z-index: 1;
}

.score-badge {
  animation: scoreBreath 3.8s ease-in-out infinite;
}

.curve-wrap path:first-of-type {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawCurve 1.6s ease forwards;
}

.curve-wrap line {
  animation: dashGlide 3s linear infinite;
}

.article-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #edf7f1, #f9fbf8 58%, #fff4ea);
}

.article-shell-rich {
  width: min(1120px, calc(100% - 2rem));
  display: grid;
  gap: 2rem;
  align-items: center;
}

.article-hero-copy {
  min-width: 0;
  animation: riseIn 520ms ease both;
}

.article-hero-media {
  position: relative;
  animation: riseIn 700ms ease 80ms both;
}

.article-hero-media picture {
  display: block;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 28px 76px rgba(16, 47, 44, 0.14);
}

.article-hero-media img {
  width: 100%;
  height: clamp(260px, 32vw, 390px);
  object-fit: cover;
  transition: transform 480ms ease;
}

.article-hero-media:hover img {
  transform: scale(1.035);
}

.article-media-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(310px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(215, 229, 221, 0.92);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(16, 47, 44, 0.12);
  backdrop-filter: blur(12px);
}

.article-media-card span,
.article-media-card strong,
.article-media-card small {
  display: block;
}

.article-media-card span {
  margin-bottom: 0.35rem;
  color: var(--alert);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-media-card strong {
  color: var(--leaf-dark);
  font-size: 1.1rem;
  line-height: 1.16;
}

.article-media-card small {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.article-mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.article-mini-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.4rem 0.72rem 0.4rem 0.44rem;
  border: 1px solid rgba(0, 107, 94, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--leaf-dark);
  font-size: 0.87rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(16, 47, 44, 0.055);
}

.article-mini-steps b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-size: 0.8rem;
}

.article-reassurance {
  max-width: 820px;
  margin: 1rem 0 0;
  color: var(--leaf-dark);
  font-weight: 750;
}

.article-content {
  padding: clamp(0rem, 1vw, 0.6rem);
}

.article-content h2 {
  position: relative;
  padding-top: 0.4rem;
}

.article-content h2::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--alert));
}

.article-content h3 {
  margin-top: 1.55rem;
  color: var(--leaf-dark);
  font-size: 1.25rem;
}

.article-content strong {
  color: var(--leaf-dark);
}

.article-content li::marker {
  color: var(--leaf);
}

.article-content blockquote {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.05rem;
}

.article-content blockquote::before {
  content: "i";
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--alert);
  font-family: var(--serif);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28);
}

.article-content .table-scroll {
  margin-top: 1.1rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(42, 51, 38, 0.07);
}

.article-content td:first-child {
  color: var(--leaf-dark);
  font-weight: 850;
}

tbody tr {
  transition: background 160ms ease;
}

tbody tr:hover {
  background: rgba(237, 247, 241, 0.62);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #006b5e, #0d3f3b 66%, #274c77);
  box-shadow: 0 24px 62px rgba(0, 74, 66, 0.18);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.1) 32% 34%, transparent 34% 100%);
  animation: bandSheen 7s ease-in-out infinite;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes waveShift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(22px);
  }
}

@keyframes drawCurve {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dashGlide {
  to {
    stroke-dashoffset: -30;
  }
}

@keyframes scoreBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

@keyframes bandSheen {
  0%,
  58% {
    transform: translateX(-45%);
  }

  100% {
    transform: translateX(45%);
  }
}

@media (min-width: 760px) {
  .intro-band {
    grid-template-columns: 1.02fr 0.98fr;
  }

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

  .curve-comparison {
    grid-template-columns: repeat(2, 1fr);
  }

  .tip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .article-shell-rich {
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.84fr);
  }
}

@media (max-width: 760px) {
  .hero-pills span {
    font-size: 0.78rem;
  }

  .intro-copy,
  .principle-grid article {
    border-radius: 1.25rem;
  }

  .article-reassurance {
    font-size: 0.95rem;
  }

  .tip-grid strong {
    max-width: 100%;
  }

  .article-hero-media img {
    height: 230px;
  }

  .article-media-card {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }

}

@media (max-width: 520px) {
  .hero-lab {
    display: none;
  }

  .hero-inner {
    padding-top: 1.7rem;
    padding-bottom: 1.3rem;
  }

  .hero-visual img {
    height: 150px;
    min-height: 0;
  }

  .app-hero-visual {
    display: none;
  }

  .tip-grid a {
    min-height: auto;
    grid-template-rows: 132px auto;
  }

  .tip-grid picture {
    height: 132px;
  }

  .article-shell {
    padding: 2.1rem 0;
  }

  .article-hero-media img {
    height: 190px;
  }

  .article-mini-steps span {
    flex: 1 1 calc(50% - 0.55rem);
  }

  .article-mini-steps span:last-child {
    flex-basis: 100%;
  }

  .article-reassurance {
    display: none;
  }
}

/* Mockup fidelity pass */
:root {
  --bg: #fbfaf5;
  --surface: #fffdf7;
  --surface-soft: #eef4e7;
  --ink: #123c2b;
  --muted: #53645d;
  --line: #e4ddcf;
  --leaf: #3f753f;
  --leaf-dark: #123c2b;
  --alert: #d94b35;
  --alert-soft: #fff0e8;
  --gold: #d9bf8f;
  --shadow: 0 16px 42px rgba(42, 51, 38, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    linear-gradient(180deg, rgba(245, 247, 238, 0.9), rgba(251, 250, 245, 0.96) 430px),
    radial-gradient(circle at 84% 8%, rgba(217, 191, 143, 0.18), transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

h1,
h2,
h3,
.brand strong,
.footer-title,
.article-content h2,
.score-card h3,
.link-grid strong,
.visual-card strong,
.daily-card h3,
.swap-card strong {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--leaf-dark);
  font-size: clamp(2.85rem, 5.6vw, 4.8rem);
  line-height: 0.93;
}

h2 {
  color: var(--leaf-dark);
  font-size: clamp(1.85rem, 3.15vw, 2.85rem);
  line-height: 1.02;
}

h3 {
  color: var(--leaf-dark);
}

.site-header {
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid rgba(228, 221, 207, 0.92);
  box-shadow: 0 8px 26px rgba(42, 51, 38, 0.045);
}

.nav-shell {
  width: min(1220px, calc(100% - 3rem));
  min-height: 72px;
  gap: 1.25rem;
}

.brand {
  gap: 0.78rem;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: none;
}

.brand strong {
  color: var(--leaf-dark);
  font-size: 2rem;
  line-height: 1;
}

.brand small {
  display: none;
}

.nav-links {
  gap: clamp(1rem, 2vw, 2.2rem);
  color: #252c28;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a::after {
  bottom: -1rem;
  height: 3px;
  border-radius: 999px;
  background: var(--leaf);
}

.nav-search {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  text-decoration: none;
}

.nav-search span {
  width: 17px;
  height: 17px;
  display: block;
  border: 2px solid #26312c;
  border-radius: 999px;
  position: relative;
}

.nav-search span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #26312c;
  transform: rotate(45deg);
}

.button,
.store-button {
  min-height: 48px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.94rem;
}

.button-alert,
.site-header .button-alert {
  background: var(--alert);
  box-shadow: 0 13px 26px rgba(217, 75, 53, 0.18);
}

.button-alert:hover,
.site-header .button-alert:hover {
  background: #bd3b29;
}

.hero,
.app-hero,
.article-hero {
  background: linear-gradient(180deg, #fbfaf5 0%, #f7f4ea 100%);
}

.hero::after,
.app-hero::after,
.article-hero::after {
  background: linear-gradient(90deg, transparent, rgba(63, 117, 63, 0.2), transparent);
}

.hero-bg {
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.home-hero .hero-inner {
  width: min(1220px, calc(100% - 3rem));
  min-height: 485px;
  padding: 2rem 0 1.1rem;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.03fr);
  gap: 2rem;
}

.home-hero .hero-copy p {
  max-width: 500px;
  color: #25342f;
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-hero h1 {
  max-width: 540px;
  font-size: clamp(3.05rem, 4.7vw, 4.05rem);
}

.hero-search {
  width: min(100%, 420px);
  min-height: 48px;
  margin-top: 1.1rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #ddd8cc;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 10px 28px rgba(42, 51, 38, 0.05);
}

.hero-search span {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid #6b746e;
  border-radius: 999px;
  position: relative;
}

.hero-search span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #6b746e;
  transform: rotate(45deg);
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.hero-search input::placeholder {
  color: #8a918c;
}

.home-hero .hero-actions {
  margin-top: 1rem;
}

.home-hero .hero-actions .button:first-child {
  background: var(--leaf);
}

.home-hero .hero-actions .button-ghost {
  background: rgba(255, 253, 247, 0.8);
  border-color: #b9c5b6;
  color: var(--leaf-dark);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4eddf;
  box-shadow: 0 18px 46px rgba(42, 51, 38, 0.08);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.55), transparent 30%),
    linear-gradient(180deg, transparent 62%, rgba(251, 250, 245, 0.28));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: clamp(315px, 32vw, 435px);
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: none;
}

.section,
.article-layout,
.site-footer,
.cta-band {
  width: min(1220px, calc(100% - 3rem));
}

.section {
  padding: 3rem 0;
}

.section-heading.with-link {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-heading.with-link h2,
.content-hub .section-heading h2 {
  max-width: 780px;
  font-size: clamp(1.6rem, 2.35vw, 2.15rem);
  line-height: 1.07;
}

.section-heading.with-link p,
.content-hub .section-heading p {
  max-width: 690px;
}

.section-heading.with-link a,
.daily-card strong {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

.section-title-line {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.section-title-line span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 117, 63, 0.35), transparent);
}

.section-title-line h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.daily-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.daily-card {
  min-height: 178px;
  padding: 1.2rem 1.2rem 1.05rem;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #e6dccb;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(245, 239, 226, 0.72));
  box-shadow: 0 12px 34px rgba(42, 51, 38, 0.065);
  color: var(--ink);
  text-decoration: none;
}

.daily-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 47%, rgba(255, 253, 247, 0.18) 78%),
    linear-gradient(180deg, transparent 45%, rgba(255, 253, 247, 0.3));
  pointer-events: none;
}

.daily-card > div {
  position: relative;
  z-index: 2;
  width: min(64%, 260px);
}

.daily-card-alert {
  background: linear-gradient(135deg, rgba(255, 247, 240, 0.98), rgba(255, 253, 247, 0.86));
  border-color: #edd6c5;
}

.daily-card span,
.visual-card span,
.swap-side span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #e5eedc;
  color: var(--leaf-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-card-alert span,
.swap-side.avoid span {
  background: #ffe2d7;
  color: var(--alert);
}

.daily-card h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.08rem;
  line-height: 1.12;
}

.daily-card p {
  margin-bottom: 0.65rem;
  color: #46554f;
  font-size: 0.86rem;
  line-height: 1.4;
}

.daily-card picture,
.daily-card img {
  width: 100%;
  height: 100%;
}

.daily-card picture {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  z-index: 0;
  overflow: hidden;
}

.daily-card img {
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: transform 260ms ease;
}

.daily-card:hover img,
.visual-card:hover img {
  transform: translateY(-3px) scale(1.03);
}

.swap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.swap-card {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: stretch;
  border: 1px solid #e6dccb;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(42, 51, 38, 0.055);
}

.swap-card > b {
  align-self: center;
  justify-self: center;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #b9c5b6;
  border-radius: 999px;
  color: var(--leaf);
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  background: var(--surface);
  z-index: 1;
}

.swap-side {
  padding: 0.85rem 0.9rem 1rem;
  display: grid;
  gap: 0.42rem;
  align-content: start;
  text-align: center;
}

.swap-side.avoid {
  background: rgba(255, 241, 232, 0.7);
}

.swap-side.prefer {
  background: rgba(239, 246, 235, 0.72);
}

.swap-side span {
  justify-self: center;
}

.swap-side picture {
  order: 2;
  height: 82px;
  margin: 0.15rem -0.9rem 0.2rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.56);
}

.swap-side img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.swap-side strong {
  order: 3;
  display: block;
  font-size: 0.94rem;
  line-height: 1.12;
}

.swap-side small {
  order: 4;
  color: #5a665f;
  font-size: 0.8rem;
  line-height: 1.25;
}

.swap-side span {
  order: 1;
}

.ig-rules {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid #e5dccd;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(241, 246, 235, 0.84));
  box-shadow: var(--shadow);
}

.ig-rules h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
}

.ig-rules article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 0.8rem;
  align-items: start;
}

.ig-rules article span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 900;
}

.ig-rules h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
}

.ig-rules p {
  grid-column: 2;
  margin: 0;
  color: #56625d;
  font-size: 0.9rem;
  line-height: 1.4;
}

.visual-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.visual-card {
  min-height: 258px;
  display: grid;
  grid-template-rows: 118px auto;
  gap: 0.6rem;
  overflow: hidden;
  border: 1px solid #e6dccb;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 26px rgba(42, 51, 38, 0.055);
  text-decoration: none;
}

.visual-card picture {
  overflow: hidden;
  background: #f2ecdf;
}

.visual-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.visual-card span,
.visual-card strong,
.visual-card small {
  margin-left: 0.9rem;
  margin-right: 0.9rem;
}

.visual-card span {
  margin-top: 0.1rem;
}

.visual-card strong {
  font-size: 1rem;
  line-height: 1.12;
}

.visual-card small {
  margin-bottom: 0.9rem;
  color: #56625d;
  font-size: 0.81rem;
  line-height: 1.35;
}

.compact-links a {
  min-height: 145px;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 8px 20px rgba(42, 51, 38, 0.045);
}

.app-news-band {
  padding: 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.3rem;
  align-items: center;
  border: 1px solid #e6dccb;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf7, #f5efe2);
  box-shadow: var(--shadow);
}

.phone-peek {
  height: 185px;
  padding: 1rem;
  align-self: end;
  border: 8px solid #17211e;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: #fffdf7;
  box-shadow: 0 18px 32px rgba(42, 51, 38, 0.12);
}

.phone-peek span,
.phone-peek strong,
.phone-peek em {
  display: block;
}

.phone-peek span {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.phone-peek strong {
  width: 82px;
  height: 82px;
  margin: 0.75rem auto 0.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e5eedc;
  color: var(--leaf);
  font-size: 1.7rem;
}

.phone-peek small {
  font-size: 0.75rem;
}

.phone-peek em {
  text-align: center;
  color: var(--leaf-dark);
  font-style: normal;
  font-weight: 800;
}

.newsletter-card {
  padding: 1.2rem;
  border: 1px solid #e6dccb;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.92);
}

.newsletter-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.22rem;
}

.app-news-band h2 {
  font-size: clamp(1.55rem, 2.35vw, 2.2rem);
  line-height: 1.06;
}

.newsletter-card p,
.newsletter-card small {
  color: #56625d;
}

.newsletter-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  margin: 0.8rem 0 0.65rem;
}

.newsletter-card input {
  min-height: 44px;
  min-width: 0;
  padding: 0 0.9rem;
  border: 1px solid #ddd8cc;
  border-radius: 999px;
  background: #fff;
  font: inherit;
}

.newsletter-card button {
  min-height: 44px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-weight: 900;
}

.article-shell-rich {
  width: min(1220px, calc(100% - 3rem));
  padding: 3rem 0 2.8rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1fr);
  align-items: start;
}

.article-hero h1 {
  font-size: clamp(2.55rem, 3.6vw, 3.45rem);
  line-height: 1.02;
}

.breadcrumb {
  margin-bottom: 1.4rem;
}

.answer-box {
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.86);
}

.article-mini-steps span {
  background: #fffdf7;
}

.article-hero-media picture,
.article-compare-visual {
  border-radius: 14px;
  overflow: hidden;
  background: #f4eddf;
  box-shadow: 0 16px 34px rgba(42, 51, 38, 0.08);
}

.article-hero-media > picture img {
  height: clamp(280px, 30vw, 390px);
  object-fit: cover;
  object-position: center;
}

.article-compare-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fffdf7;
}

.article-compare-visual figure {
  position: relative;
  margin: 0;
  min-height: clamp(300px, 28vw, 390px);
  overflow: hidden;
}

.article-compare-visual figure + figure {
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.article-compare-visual picture {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.article-compare-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-compare-visual figcaption {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  min-width: max-content;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(42, 51, 38, 0.1);
}

.article-media-card {
  right: 1.1rem;
  bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.95);
}

.article-layout {
  gap: 2.4rem;
}

.article-content {
  max-width: 760px;
}

.article-content h2 {
  font-size: 1.62rem;
}

.article-content blockquote {
  border-left-color: var(--alert);
  background: #fff7ed;
}

.score-card,
.mini-note,
.cta-band,
.feature-card,
.link-grid a,
details,
.table-scroll {
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.92);
}

.score-badge {
  border-radius: 999px;
}

.site-footer {
  border-top-color: #e6dccb;
}

.footer-grid {
  align-items: start;
}

.footer-title {
  color: var(--leaf-dark);
  font-size: 1.6rem;
}

@media (min-width: 760px) {
  .nav-search {
    display: grid;
  }
}

@media (max-width: 1060px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual img {
    height: 290px;
  }

  .daily-card-grid,
  .swap-grid,
  .visual-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-rules,
  .app-news-band {
    grid-template-columns: 1fr 1fr;
  }

  .ig-rules > div,
  .app-news-band .newsletter-card {
    grid-column: 1 / -1;
  }

  .article-shell-rich {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 1rem, 1220px);
  }

  .brand strong {
    font-size: 1.45rem;
  }

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

  .site-header .button-small {
    min-height: 42px;
    padding: 0.55rem 0.78rem;
    font-size: 0.82rem;
  }

  .home-hero .hero-inner,
  .section,
  .article-layout,
  .site-footer,
  .cta-band {
    width: min(100% - 1.1rem, 1220px);
  }

  .home-hero .hero-inner {
    min-height: 0;
    padding-top: 2rem;
    grid-template-columns: 1fr;
  }

  h1,
  .article-hero h1 {
    font-size: clamp(2.1rem, 9.6vw, 2.9rem);
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.25rem);
  }

  .section-heading.with-link h2,
  .content-hub .section-heading h2,
  .app-news-band h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .hero-visual img {
    height: 210px;
  }

  .daily-card-grid,
  .swap-grid,
  .visual-card-grid,
  .ig-rules,
  .app-news-band {
    grid-template-columns: 1fr;
  }

  .daily-card {
    min-height: 175px;
  }

  .daily-card > div {
    width: min(70%, 300px);
  }

  .daily-card picture {
    width: 46%;
  }

  .section-heading.with-link {
    display: block;
  }

  .ig-rules article {
    grid-column: auto;
  }

  .ig-rules p {
    grid-column: 2;
  }

  .phone-peek {
    display: none;
  }

  .newsletter-card form {
    grid-template-columns: 1fr;
  }

  .article-compare-visual figure {
    min-height: 210px;
  }

  .article-media-card {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }
}

@media (max-width: 520px) {
  .home-hero .hero-inner {
    padding-top: 1.5rem;
  }

  .hero-search {
    min-height: 46px;
  }

  .hero-visual img {
    height: 185px;
  }

  .daily-card {
    min-height: 185px;
    padding: 1rem 0.95rem;
  }

  .daily-card h3 {
    font-size: 1.02rem;
    line-height: 1.14;
  }

  .daily-card p {
    font-size: 0.82rem;
  }

  .daily-card::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.93) 66%, rgba(255, 253, 247, 0.16) 100%),
      linear-gradient(180deg, transparent 40%, rgba(255, 253, 247, 0.36));
  }

  .daily-card > div {
    width: min(64%, 245px);
  }

  .swap-card {
    grid-template-columns: 1fr;
  }

  .swap-card > b {
    margin: -0.65rem auto;
    transform: rotate(90deg);
  }

  .swap-side picture,
  .swap-side img {
    height: 92px;
  }

  .visual-card {
    min-height: auto;
  }

  .article-compare-visual {
    grid-template-columns: 1fr;
  }

  .article-compare-visual figure + figure {
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
