/* sodapowwer.com — SodaPower site styles */
@layer reset, base, layout, parts, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
  body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
  ul, ol { padding: 0; }
  img, svg { display: block; max-width: 100%; height: auto; }
  button, input { font: inherit; color: inherit; }
  a { color: inherit; }
}

@layer base {
  :root {
    --nx-ink: #15272b;
    --nx-soft: #46595e;
    --nx-teal: #0d6a72;
    --nx-teal-2: #0a525a;
    --nx-mint: #eaf6f6;
    --nx-mint-2: #f4fafa;
    --nx-coral: #e8502f;
    --nx-coral-2: #c93f21;
    --nx-sun: #ffb020;
    --nx-sand: #fff5ec;
    --nx-line: #d5e4e5;
    --nx-white: #ffffff;
    --nx-r: 22px;
    --nx-shadow: 0 14px 40px -18px rgba(13, 106, 114, .35);
    --nx-head: "Lexend", "Segoe UI", Arial, sans-serif;
    --nx-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  }
  html, body { overflow-x: clip; max-width: 100%; }
  body {
    font-family: var(--nx-body);
    font-size: 20px;
    line-height: 1.7;
    color: var(--nx-ink);
    background: var(--nx-white);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 { font-family: var(--nx-head); line-height: 1.18; letter-spacing: -.01em; color: var(--nx-ink); }
  h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800; }
  h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); font-weight: 700; }
  h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); font-weight: 650; }
  h4 { font-size: 1.15rem; font-weight: 650; }
  p + p { margin-top: 1em; }
  a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .nx-skip { position: absolute; left: -999px; top: 8px; background: var(--nx-teal); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 99; }
  .nx-skip:focus { left: 12px; }
  :focus-visible { outline: 3px solid var(--nx-coral); outline-offset: 3px; border-radius: 6px; }
  small, .nx-small { font-size: 16px; line-height: 1.55; }
}

@layer layout {
  .nx-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
  .nx-sec { padding-block: clamp(56px, 8vw, 104px); position: relative; }
  .nx-tint { background: var(--nx-mint-2); }
  .nx-warm { background: var(--nx-sand); }
  .nx-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
  .nx-head p { color: var(--nx-soft); margin-top: 14px; }
  .nx-eyebrow { display: inline-block; font-family: var(--nx-head); font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-coral-2); margin-bottom: 12px; }
  .nx-grid { display: grid; gap: 24px; }
  .nx-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
  @media (max-width: 980px) { .nx-g3, .nx-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nx-split { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) { body { font-size: 19px; } .nx-g2, .nx-g3, .nx-g4 { grid-template-columns: minmax(0, 1fr); } .nx-wrap { padding-inline: 16px; } }
}

@layer parts {
  /* ---------- top bar + header ---------- */
  .nx-top { background: var(--nx-mint); border-bottom: 1px solid var(--nx-line); font-size: 16px; text-align: center; padding: 9px 16px; color: var(--nx-teal-2); font-weight: 700; }
  .nx-top span { white-space: normal; }
  .nx-bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nx-line); }
  .nx-bar .nx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
  .nx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--nx-head); font-weight: 800; font-size: 26px; color: var(--nx-ink); }
  .nx-logo b { color: var(--nx-coral); }
  .nx-logo svg { width: 34px; height: 34px; flex: none; }
  .nx-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
  .nx-menu a { display: block; padding: 10px 13px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--nx-ink); }
  .nx-menu a:hover, .nx-menu a[aria-current="page"] { background: var(--nx-mint); color: var(--nx-teal-2); }
  .nx-burger { display: none; background: var(--nx-mint); border: 0; border-radius: 12px; width: 52px; height: 52px; cursor: pointer; }
  .nx-burger span { display: block; width: 24px; height: 3px; background: var(--nx-teal-2); margin: 5px auto; border-radius: 3px; transition: transform .25s, opacity .25s; }
  .nx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  @media (max-width: 1120px) {
    .nx-burger { display: block; }
    .nx-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--nx-line); padding: 12px 16px 20px; display: none; }
    .nx-nav.nx-open, .nx-nojs .nx-nav { display: block; }
    .nx-menu { flex-direction: column; align-items: stretch; }
    .nx-menu a { padding: 14px 12px; }
    .nx-bar .nx-cta-top { display: none; }
  }

  /* ---------- buttons ---------- */
  .nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px 30px; border-radius: 999px; border: 2px solid transparent; font-family: var(--nx-head); font-weight: 700; font-size: 19px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
  .nx-btn-main { background: var(--nx-coral); color: #fff; box-shadow: 0 12px 26px -12px rgba(232, 80, 47, .8); }
  .nx-btn-main:hover { background: var(--nx-coral-2); transform: translateY(-2px); }
  .nx-btn-line { background: #fff; border-color: var(--nx-teal); color: var(--nx-teal-2); }
  .nx-btn-line:hover { background: var(--nx-mint); transform: translateY(-2px); }
  .nx-btn-sm { min-height: 48px; padding: 10px 22px; font-size: 17px; }
  .nx-btn svg { width: 22px; height: 22px; }
  .nx-pulse { animation: nx-pulse 2.6s ease-in-out infinite; }
  @keyframes nx-pulse { 0%, 100% { box-shadow: 0 12px 26px -12px rgba(232, 80, 47, .8), 0 0 0 0 rgba(232, 80, 47, .35); } 50% { box-shadow: 0 12px 26px -12px rgba(232, 80, 47, .8), 0 0 0 14px rgba(232, 80, 47, 0); } }

  /* ---------- hero ---------- */
  .nx-hero { padding-block: clamp(34px, 6vw, 76px) clamp(48px, 7vw, 90px); background: radial-gradient(900px 500px at 88% 0%, var(--nx-mint) 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, var(--nx-sand) 0%, transparent 60%), #fff; overflow: hidden; }
  .nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
  .nx-hero h1 em { font-style: normal; color: var(--nx-coral); background: linear-gradient(transparent 68%, rgba(255, 176, 32, .38) 68%); }
  .nx-lead { font-size: 1.12em; color: var(--nx-soft); margin-top: 20px; }
  .nx-quick { margin-top: 26px; border: 2px solid var(--nx-line); border-radius: var(--nx-r); background: #fff; overflow: hidden; }
  .nx-quick h2 { font-size: 16px; letter-spacing: .14em; text-transform: uppercase; background: var(--nx-mint); color: var(--nx-teal-2); padding: 12px 20px; font-weight: 800; }
  .nx-quick dl { display: grid; grid-template-columns: 1fr; }
  .nx-quick div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 20px; border-top: 1px solid var(--nx-line); font-size: 18px; line-height: 1.45; }
  .nx-quick div:first-child { border-top: 0; }
  .nx-quick dt { font-weight: 800; color: var(--nx-teal-2); }
  .nx-ticks { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
  .nx-ticks li { position: relative; padding-left: 40px; font-weight: 700; }
  .nx-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--nx-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
  .nx-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .nx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
  .nx-stat { background: #fff; border: 1px solid var(--nx-line); border-radius: 18px; padding: 14px 10px; text-align: center; }
  .nx-stat b { display: block; font-family: var(--nx-head); font-size: 1.7rem; color: var(--nx-teal); line-height: 1.1; }
  .nx-stat b span { display: inline; font-size: inherit; color: inherit; margin: 0; line-height: inherit; }
  .nx-stat > span { font-size: 16px; color: var(--nx-soft); line-height: 1.3; display: block; margin-top: 4px; }
  .nx-stage { position: relative; }
  .nx-bottle-zone { position: relative; padding: 34px 0 10px; }
  .nx-bottle-zone::before { content: ""; position: absolute; inset: 6% 8% 4% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--nx-mint) 62%, transparent 72%); z-index: 0; }
  .nx-bottle { position: relative; z-index: 1; width: min(88%, 470px); margin-inline: auto; animation: nx-float 6s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(21, 39, 43, .22)); }
  @keyframes nx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .nx-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--nx-line); border-radius: 16px; padding: 9px 14px 9px 10px; box-shadow: var(--nx-shadow); max-width: 220px; animation: nx-bob 5s ease-in-out infinite; }
  .nx-chip i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--nx-mint); color: var(--nx-teal); }
  .nx-chip i svg { width: 22px; height: 22px; }
  .nx-chip b { display: block; font-family: var(--nx-head); font-size: 16px; line-height: 1.2; }
  .nx-chip span { display: block; font-size: 16px; color: var(--nx-soft); line-height: 1.25; }
  .nx-chip.c1 { left: 0; top: 8%; }
  .nx-chip.c2 { right: 0; top: 30%; animation-delay: -1.5s; }
  .nx-chip.c3 { left: 0; top: 58%; animation-delay: -3s; }
  .nx-chip.c4 { right: 0; bottom: 6%; animation-delay: -4s; }
  @keyframes nx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  @media (max-width: 1000px) {
    .nx-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .nx-stage { order: -1; }
    .nx-chip { position: static; animation: none; max-width: none; }
    .nx-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  }
  @media (max-width: 460px) { .nx-quick div { grid-template-columns: 1fr; gap: 2px; } .nx-chips { grid-template-columns: minmax(0, 1fr); } }
  @media (min-width: 1001px) and (min-height: 860px) { .nx-stage { position: sticky; top: 96px; } }
  @media (min-width: 1001px) { .nx-chips { display: contents; } .nx-bottle { width: min(70%, 380px); } .nx-chip.c1 { left: 2%; } .nx-chip.c3 { left: 0; top: 62%; } .nx-chip.c2 { right: 0; top: 26%; } }

  .nx-diagram { position: relative; margin-top: 26px; background: #fff; border: 2px solid var(--nx-line); border-radius: var(--nx-r); padding: 22px 18px 16px; box-shadow: var(--nx-shadow); }
  .nx-diagram h2 { font-size: 1.3rem; text-align: center; }
  .nx-diagram .nx-cap { text-align: center; font-size: 16px; color: var(--nx-soft); margin-top: 6px; }
  .nx-ribbon { position: absolute; top: -14px; right: -10px; background: var(--nx-sun); color: var(--nx-ink); font-family: var(--nx-head); font-weight: 800; font-size: 16px; padding: 10px 16px 10px 20px; border-radius: 12px 12px 4px 12px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4); transform: rotate(3deg); }
  @media (max-width: 460px) { .nx-ribbon { right: 4px; font-size: 16px; } }

  /* ---------- marquee ---------- */
  .nx-marq { background: var(--nx-mint); color: var(--nx-teal-2); border-block: 1px solid var(--nx-line); overflow: hidden; padding: 15px 0; }
  .nx-marq div { display: flex; width: max-content; animation: nx-scroll 34s linear infinite; }
  .nx-marq span { font-family: var(--nx-head); font-weight: 600; font-size: 17px; padding-inline: 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
  .nx-marq span::after { content: "⚡"; color: var(--nx-sun); }
  @keyframes nx-scroll { to { transform: translateX(-50%); } }

  /* ---------- cards / general ---------- */
  .nx-card { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 28px; box-shadow: var(--nx-shadow); transition: transform .25s, box-shadow .25s; }
  .nx-card:hover { transform: translateY(-5px); }
  .nx-card h3 { margin-bottom: 10px; }
  .nx-card p { color: var(--nx-soft); }
  .nx-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--nx-mint); color: var(--nx-teal); margin-bottom: 16px; }
  .nx-ico svg { width: 30px; height: 30px; }
  .nx-ico.warm { background: var(--nx-sand); color: var(--nx-coral); }

  /* spec sheet */
  .nx-spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--nx-line); border-radius: var(--nx-r); overflow: hidden; background: #fff; }
  .nx-spec div { padding: 22px 20px; border-left: 1px solid var(--nx-line); border-top: 1px solid var(--nx-line); }
  .nx-spec dt { font-size: 16px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--nx-coral-2); }
  .nx-spec dd { font-family: var(--nx-head); font-weight: 650; font-size: 1.2rem; line-height: 1.3; margin-top: 6px; }
  @media (max-width: 980px) { .nx-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .nx-spec { grid-template-columns: minmax(0, 1fr); } }

  /* summary "60 seconds" */
  .nx-sum { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
  .nx-sum-main { background: #fff; border-left: 8px solid var(--nx-coral); border-radius: 0 var(--nx-r) var(--nx-r) 0; padding: 30px 32px; box-shadow: var(--nx-shadow); }
  .nx-sum-main ol { margin: 16px 0 0 1.2em; display: grid; gap: 10px; }
  .nx-sum-side { background: var(--nx-mint); border-radius: var(--nx-r); padding: 30px; display: grid; gap: 16px; align-content: center; }
  .nx-sum-side p { font-weight: 700; }
  @media (max-width: 900px) { .nx-sum { grid-template-columns: minmax(0, 1fr); } }

  /* stepper */
  .nx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: st; position: relative; }
  .nx-steps::before { content: ""; position: absolute; top: 38px; left: 16%; right: 16%; height: 4px; background: repeating-linear-gradient(90deg, var(--nx-teal) 0 14px, transparent 14px 26px); opacity: .45; }
  .nx-step { position: relative; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 84px 26px 28px; text-align: center; box-shadow: var(--nx-shadow); }
  .nx-step::before { counter-increment: st; content: counter(st); position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--nx-coral); color: #fff; font-family: var(--nx-head); font-weight: 800; font-size: 22px; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; }
  .nx-step p { color: var(--nx-soft); margin-top: 8px; }
  @media (max-width: 900px) { .nx-steps { grid-template-columns: minmax(0, 1fr); } .nx-steps::before { display: none; } }

  /* ingredient cards + meter */
  .nx-ing { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .nx-ing a { text-decoration: none; background: #fff; border: 1px solid var(--nx-line); border-radius: 20px; padding: 22px 16px; text-align: center; transition: transform .25s, border-color .25s; display: block; }
  .nx-ing a:hover { transform: translateY(-6px); border-color: var(--nx-teal); }
  .nx-ing .nx-dot { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-family: var(--nx-head); font-weight: 800; font-size: 24px; color: #fff; }
  .nx-ing h3 { font-size: 1.1rem; }
  .nx-ing p { font-size: 16px; color: var(--nx-soft); line-height: 1.45; margin-top: 6px; }
  @media (max-width: 1050px) { .nx-ing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 640px) { .nx-ing { grid-template-columns: minmax(0, 1fr); } .nx-ing a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; text-align: left; align-items: center; } .nx-ing .nx-dot { margin: 0; } }
  .nx-meter { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 28px; box-shadow: var(--nx-shadow); }
  .nx-meter h3 { margin-bottom: 4px; }
  .nx-meter .nx-cap, .nx-cap { font-size: 16px; color: var(--nx-soft); }
  .nx-mrow { display: grid; grid-template-columns: 170px 1fr 170px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--nx-line); }
  .nx-mrow:first-of-type { margin-top: 14px; }
  .nx-mrow b { font-family: var(--nx-head); font-size: 1.05rem; }
  .nx-dots { display: flex; gap: 8px; }
  .nx-dots i { width: 100%; max-width: 44px; height: 16px; border-radius: 8px; background: var(--nx-line); transform-origin: left; }
  .nx-dots i.on { background: linear-gradient(90deg, var(--nx-teal), #2aa3ad); }
  .nx-mrow em { font-style: normal; font-size: 16px; color: var(--nx-soft); }
  @media (max-width: 720px) { .nx-mrow { grid-template-columns: 1fr; gap: 6px; } }

  /* facts panel */
  .nx-facts { background: #fff; border: 3px solid var(--nx-ink); border-radius: 10px; padding: 18px 22px; max-width: 560px; margin-inline: auto; box-shadow: var(--nx-shadow); }
  .nx-facts h3 { font-size: 2rem; border-bottom: 10px solid var(--nx-ink); padding-bottom: 6px; }
  .nx-facts table { width: 100%; border-collapse: collapse; font-size: 18px; }
  .nx-facts th, .nx-facts td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--nx-line); vertical-align: top; }
  .nx-facts td:last-child { text-align: right; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
  .nx-facts .nx-q { color: var(--nx-coral-2); }

  /* pros cons */
  .nx-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .nx-pc > div { background: #fff; border-radius: var(--nx-r); padding: 28px; border: 2px solid var(--nx-line); }
  .nx-pc h3 { margin-bottom: 14px; }
  .nx-pc .pro { border-color: #bfe3d3; background: #f4fbf7; }
  .nx-pc .con { border-color: #f4d3c8; background: #fff8f5; }
  .nx-pc ul { list-style: none; display: grid; gap: 12px; }
  .nx-pc li { padding-left: 34px; position: relative; }
  .nx-pc .pro li::before { content: "+"; background: #1f9d6b; }
  .nx-pc .con li::before { content: "–"; background: var(--nx-coral); }
  .nx-pc li::before { position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 800; display: grid; place-items: center; line-height: 1; font-family: var(--nx-head); }
  @media (max-width: 760px) { .nx-pc { grid-template-columns: minmax(0, 1fr); } }

  /* decision flow */
  .nx-flow { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; gap: 0; }
  .nx-fbox { background: #fff; border: 2px solid var(--nx-line); border-radius: var(--nx-r); padding: 24px; text-align: center; }
  .nx-fbox b { display: block; font-family: var(--nx-head); font-size: 1.15rem; margin-bottom: 8px; }
  .nx-fbox.ok { border-color: #a8dcc5; background: #f2fbf6; }
  .nx-fbox.stop { border-color: #f2c2b4; background: #fff6f2; }
  .nx-farrow { display: grid; place-items: center; color: var(--nx-teal); }
  .nx-farrow svg { width: 32px; height: 32px; }
  @media (max-width: 900px) { .nx-flow { grid-template-columns: minmax(0, 1fr); } .nx-farrow { padding: 8px 0; transform: rotate(90deg); } }

  /* day arc + caffeine */
  .nx-viz { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 26px; box-shadow: var(--nx-shadow); }
  .nx-viz h3 { margin-bottom: 4px; }
  .nx-cups { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
  .nx-cups svg { width: 54px; height: 54px; }
  .nx-budget { height: 26px; border-radius: 13px; background: var(--nx-line); overflow: hidden; display: flex; margin-top: 14px; }
  .nx-budget i { display: block; height: 100%; }
  .nx-budget .a { background: #b0762c; width: 82%; }
  .nx-budget .b { background: repeating-linear-gradient(45deg, var(--nx-coral) 0 8px, #f7a08c 8px 16px); width: 18%; }
  .nx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; margin-top: 12px; color: var(--nx-soft); }
  .nx-legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; background: var(--c, var(--nx-teal)); }

  /* pricing shelf */
  .nx-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; border-bottom: 10px solid var(--nx-line); border-radius: 0 0 6px 6px; }
  .nx-plan { position: relative; text-align: center; padding: 30px 22px 36px; background: linear-gradient(#fff, var(--nx-mint-2)); border: 2px solid var(--nx-line); border-bottom: 0; border-radius: 26px 26px 0 0; margin-inline: -1px; }
  .nx-plan.best { border-color: var(--nx-coral); background: linear-gradient(#fff, var(--nx-sand)); padding-block: 44px 42px; box-shadow: 0 -18px 40px -24px rgba(232, 80, 47, .55); z-index: 1; }
  .nx-tag { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--nx-coral); color: #fff; font-family: var(--nx-head); font-size: 16px; font-weight: 800; padding: 8px 20px; border-radius: 999px; white-space: nowrap; }
  .nx-plan h3 { font-size: 1.6rem; }
  .nx-plan .days { color: var(--nx-soft); font-weight: 700; }
  .nx-plan img { height: 210px; width: auto; margin: 18px auto; object-fit: contain; }
  .nx-price { font-family: var(--nx-head); font-weight: 800; font-size: 3.1rem; line-height: 1; color: var(--nx-teal-2); }
  .nx-price small { font-size: 1rem; font-weight: 600; color: var(--nx-soft); }
  .nx-plan ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 6px; font-size: 18px; }
  .nx-plan .nx-btn { width: 100%; }
  @media (max-width: 900px) { .nx-shelf { grid-template-columns: minmax(0, 1fr); border-bottom: 0; gap: 26px; } .nx-plan { border-radius: 26px; border-bottom: 2px solid var(--nx-line); } .nx-plan.best { order: -1; border-bottom: 2px solid var(--nx-coral); } .nx-plan img { height: 170px; } }
  .nx-bars { margin-top: 44px; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 28px; }
  .nx-bar-row { display: grid; grid-template-columns: 130px 1fr 270px; gap: 14px; align-items: center; margin-top: 14px; }
  .nx-bar-row b { font-family: var(--nx-head); }
  .nx-track { height: 30px; border-radius: 15px; background: var(--nx-mint); overflow: hidden; }
  .nx-track i { display: block; height: 100%; border-radius: 15px; background: linear-gradient(90deg, var(--nx-teal), #33b0ba); transform-origin: left; }
  .nx-bar-row.hl .nx-track i { background: linear-gradient(90deg, var(--nx-coral), var(--nx-sun)); }
  @media (max-width: 720px) { .nx-bar-row { grid-template-columns: 1fr; gap: 6px; } }

  /* tables (stack on phones) */
  .nx-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 2px solid var(--nx-line); border-radius: var(--nx-r); overflow: hidden; font-size: 18px; }
  .nx-table th, .nx-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--nx-line); }
  .nx-table thead th { background: var(--nx-mint); border-top: 0; font-family: var(--nx-head); color: var(--nx-teal-2); }
  .nx-table tbody th { font-family: var(--nx-head); font-weight: 650; }
  @media (max-width: 720px) {
    .nx-table, .nx-table tbody, .nx-table tr, .nx-table th, .nx-table td { display: block; width: 100%; }
    .nx-table thead { position: absolute; left: -9999px; }
    .nx-table tr { border-top: 8px solid var(--nx-mint); }
    .nx-table tr:first-child { border-top: 0; }
    .nx-table td::before { content: attr(data-l); display: block; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-coral-2); }
    .nx-table th, .nx-table td { border-top: 0; padding: 10px 16px; }
  }

  .nx-daylist { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
  .nx-daylist li { background: var(--nx-mint-2); border: 1px solid var(--nx-line); border-radius: 14px; padding: 12px 12px; }
  .nx-daylist b { display: block; font-family: var(--nx-head); font-size: 16px; letter-spacing: .06em; color: var(--nx-coral-2); }
  .nx-daylist span { display: block; font-size: 17px; line-height: 1.35; margin-top: 4px; }
  @media (max-width: 900px) { .nx-daylist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* 60-day calendar */
  .nx-cal svg { width: 100%; }
  .nx-cal-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 16px; color: var(--nx-soft); }

  /* bonuses */
  .nx-bonus { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; }
  .nx-bonus img { width: 130px; height: auto; border-radius: 6px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .2)); transition: transform .3s; }
  .nx-card:hover .nx-bonus img { transform: rotate(-3deg) scale(1.05); }
  .nx-bonus h3 { font-size: 1.25rem; }
  .nx-bonus p { font-size: 18px; margin-top: 6px; }
  @media (max-width: 460px) { .nx-bonus { grid-template-columns: 96px 1fr; gap: 14px; } .nx-bonus img { width: 96px; } }

  /* reviews */
  .nx-rev { text-align: left; }
  .nx-rev header { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
  .nx-rev img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid var(--nx-mint); }
  .nx-rev h3 { font-size: 1.2rem; margin: 0; }
  .nx-rev header span { font-size: 16px; color: var(--nx-soft); display: block; line-height: 1.3; }
  .nx-stars { color: var(--nx-sun); letter-spacing: 3px; font-size: 22px; line-height: 1; }
  .nx-rev blockquote { margin-top: 12px; color: var(--nx-ink); }
  .nx-score { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 30px; box-shadow: var(--nx-shadow); }
  .nx-big { font-family: var(--nx-head); font-weight: 800; font-size: 4.6rem; line-height: 1; color: var(--nx-teal); }
  .nx-big small { font-size: 1.4rem; color: var(--nx-soft); }
  .nx-cat { display: grid; grid-template-columns: 170px 1fr 44px; gap: 12px; align-items: center; margin-top: 12px; font-size: 18px; }
  .nx-cat b { font-family: var(--nx-head); font-size: 1rem; }
  .nx-cat span { font-weight: 800; text-align: right; }
  @media (max-width: 900px) { .nx-score { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 520px) { .nx-cat { grid-template-columns: 1fr 44px; } .nx-cat .nx-track { grid-column: 1 / -1; order: 3; } }
  .nx-radar { max-width: 460px; width: 100%; margin-inline: auto; }
  .nx-cta-band { text-align: center; margin-top: 40px; }
  .nx-cta-band h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
  .nx-cta-band p a { font-weight: 700; color: var(--nx-teal-2); }

  /* guarantee */
  .nx-guar { display: grid; grid-template-columns: 240px 1fr; gap: 38px; align-items: center; background: #fff; border: 2px dashed var(--nx-teal); border-radius: 30px; padding: clamp(24px, 4vw, 44px); }
  .nx-guar img { width: 220px; margin-inline: auto; animation: nx-spin 26s linear infinite; }
  @keyframes nx-spin { to { transform: rotate(360deg); } }
  @media (max-width: 760px) { .nx-guar { grid-template-columns: minmax(0, 1fr); text-align: center; } .nx-guar img { width: 170px; } }

  /* badges strip */
  .nx-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: center; }
  .nx-badges img { width: 150px; height: auto; }
  .nx-badges figure { text-align: center; }
  .nx-badges figcaption { font-size: 16px; color: var(--nx-soft); }

  /* blog cards */
  .nx-post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
  .nx-post .nx-tagline { font-size: 16px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--nx-coral-2); }
  .nx-post h3 a { text-decoration: none; }
  .nx-post h3 a:hover { color: var(--nx-teal); }
  .nx-post .nx-meta { font-size: 16px; color: var(--nx-soft); margin-top: auto; }

  /* FAQ */
  .nx-faq { max-width: 860px; margin-inline: auto; }
  .nx-find { display: block; width: 100%; padding: 16px 20px; border-radius: 16px; border: 2px solid var(--nx-line); background: #fff; margin-bottom: 20px; font-size: 19px; }
  .nx-find:focus { border-color: var(--nx-teal); outline: 0; }
  details.nx-q { background: #fff; border: 2px solid var(--nx-line); border-radius: 18px; margin-top: 12px; transition: border-color .2s, box-shadow .2s; }
  details.nx-q[open] { border-color: var(--nx-teal); box-shadow: var(--nx-shadow); }
  details.nx-q summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-family: var(--nx-head); font-weight: 650; font-size: 1.15rem; position: relative; line-height: 1.35; }
  details.nx-q summary::-webkit-details-marker { display: none; }
  details.nx-q summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--nx-mint); color: var(--nx-teal-2); display: grid; place-items: center; font-size: 26px; transition: transform .25s, background .25s; }
  details.nx-q[open] summary::after { content: "–"; background: var(--nx-teal); color: #fff; transform: translateY(-50%) rotate(180deg); }
  details.nx-q .nx-a { padding: 0 24px 22px; color: var(--nx-soft); }
  .nx-none { display: none; text-align: center; color: var(--nx-soft); margin-top: 16px; }

  /* sources */
  .nx-src { list-style: none; display: grid; gap: 12px; }
  .nx-src li { background: #fff; border: 1px solid var(--nx-line); border-radius: 16px; padding: 16px 20px; }
  .nx-src a { font-weight: 700; color: var(--nx-teal-2); }
  .nx-src span { display: block; font-size: 16px; color: var(--nx-soft); }

  /* final cta */
  .nx-final { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(40px, 6vw, 76px) clamp(22px, 5vw, 64px); background: linear-gradient(135deg, #fff 0%, var(--nx-mint) 55%, var(--nx-sand) 100%); border: 2px solid var(--nx-line); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
  .nx-final::before, .nx-final::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
  .nx-final::before { width: 340px; height: 340px; right: -90px; top: -110px; background: radial-gradient(circle, rgba(255, 176, 32, .32), transparent 70%); }
  .nx-final::after { width: 300px; height: 300px; left: -80px; bottom: -120px; background: radial-gradient(circle, rgba(13, 106, 114, .2), transparent 70%); }
  .nx-final > * { position: relative; z-index: 1; }
  .nx-final img { width: min(100%, 330px); margin-inline: auto; filter: drop-shadow(0 22px 24px rgba(21, 39, 43, .22)); }
  .nx-final ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-weight: 700; font-size: 17px; }
  .nx-final ul li::before { content: "✓ "; color: var(--nx-teal); }
  @media (max-width: 860px) { .nx-final { grid-template-columns: minmax(0, 1fr); text-align: center; } .nx-final ul, .nx-final .nx-cta-row { justify-content: center; } .nx-final img { order: -1; width: 220px; } }

  /* footer */
  .nx-foot { background: var(--nx-mint); border-top: 1px solid var(--nx-line); padding: 60px 0 110px; font-size: 18px; }
  .nx-fcols { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 30px; }
  .nx-foot h4 { margin-bottom: 12px; font-size: 1.05rem; }
  .nx-foot ul { list-style: none; display: grid; gap: 6px; }
  .nx-foot a { text-decoration: none; }
  .nx-foot a:hover { text-decoration: underline; }
  .nx-fine { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--nx-line); font-size: 16px; color: var(--nx-soft); display: grid; gap: 12px; }
  @media (max-width: 900px) { .nx-fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .nx-fcols { grid-template-columns: minmax(0, 1fr); } }

  /* sticky order bar */
  .nx-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--nx-line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); padding: 10px 16px; transform: translateY(110%); transition: transform .35s; }
  .nx-stick.nx-in { transform: none; }
  .nx-stick .nx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0; }
  .nx-stick p { font-weight: 700; font-size: 17px; line-height: 1.25; }
  .nx-stick .nx-btn { white-space: nowrap; flex: none; }
  .nx-stick p span { display: block; font-size: 16px; font-weight: 400; color: var(--nx-soft); }
  @media (max-width: 460px) { .nx-stick p { font-size: 16px; } .nx-stick .nx-btn { padding-inline: 20px; } }

  /* ---------- inner pages ---------- */
  .nx-phero { background: radial-gradient(700px 300px at 90% 0%, var(--nx-mint) 0%, transparent 70%), #fff; padding: clamp(40px, 6vw, 78px) 0 clamp(30px, 4vw, 50px); border-bottom: 1px solid var(--nx-line); }
  .nx-phero p.nx-lead { max-width: 760px; }
  .nx-crumbs { font-size: 16px; margin-bottom: 16px; color: var(--nx-soft); }
  .nx-crumbs a { color: var(--nx-teal-2); font-weight: 700; }
  .nx-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .nx-prose h2 { margin: 1.7em 0 .5em; font-size: clamp(1.6rem, 3vw, 2.05rem); }
  .nx-prose h3 { margin: 1.4em 0 .4em; }
  .nx-prose p, .nx-prose li { color: #24393e; }
  .nx-prose ul, .nx-prose ol { margin: 1em 0 1em 1.3em; display: grid; gap: 8px; }
  .nx-prose a { color: var(--nx-teal-2); }
  .nx-prose .nx-note { background: var(--nx-sand); border-left: 6px solid var(--nx-sun); border-radius: 0 16px 16px 0; padding: 18px 22px; margin: 1.6em 0; font-size: 18px; }
  .nx-prose .nx-callout { background: var(--nx-mint); border-radius: 18px; padding: 20px 24px; margin: 1.6em 0; }
  .nx-side { position: sticky; top: 100px; display: grid; gap: 18px; }
  .nx-side .nx-card { padding: 22px; }
  .nx-side ul { list-style: none; display: grid; gap: 8px; font-size: 18px; }
  .nx-side a { color: var(--nx-teal-2); font-weight: 700; }
  .nx-fig { margin: 1.8em 0; }
  @media (max-width: 1000px) { .nx-article { grid-template-columns: minmax(0, 1fr); } .nx-side { position: static; } }
  .nx-facts-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 1.6em 0; }
  .nx-facts-mini div { background: #fff; border: 1px solid var(--nx-line); border-radius: 16px; padding: 16px; text-align: center; }
  .nx-facts-mini b { display: block; font-family: var(--nx-head); font-size: 1.25rem; color: var(--nx-teal); line-height: 1.2; }
  .nx-facts-mini span { font-size: 16px; color: var(--nx-soft); }
  @media (max-width: 560px) { .nx-facts-mini { grid-template-columns: minmax(0, 1fr); } }
  .nx-relate { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
  .nx-relate a { background: var(--nx-mint); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--nx-teal-2); }
  .nx-relate a:hover { background: var(--nx-teal); color: #fff; }
  .nx-form { display: grid; gap: 16px; max-width: 640px; }
  .nx-form label { font-weight: 700; display: grid; gap: 6px; }
  .nx-form input, .nx-form textarea { padding: 14px 16px; border: 2px solid var(--nx-line); border-radius: 14px; font-size: 19px; width: 100%; }
  .nx-form textarea { min-height: 150px; }
}

@layer motion {
  .nx-rv { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .nx-rv.nx-on { opacity: 1; transform: none; }
  .nx-rv.l { transform: translateX(-40px); } .nx-rv.r { transform: translateX(40px); }
  .nx-rv.l.nx-on, .nx-rv.r.nx-on { transform: none; }
  .nx-dots i, .nx-track i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .nx-on .nx-dots i, .nx-on .nx-track i, .nx-on.nx-dots i, .nx-on.nx-track i { transform: scaleX(1); }
  .nx-draw path.ln, .nx-draw .ln { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s ease; }
  .nx-draw.nx-on path.ln, .nx-draw.nx-on .ln { stroke-dashoffset: 0; }
  .nx-pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s, transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: var(--d, 0s); }
  .nx-on .nx-pop, .nx-on.nx-pop { opacity: 1; transform: none; }
  .nx-orbit { transform-origin: 260px 170px; animation: nx-orb 40s linear infinite; }
  @keyframes nx-orb { to { transform: rotate(360deg); } }
  .nx-nojs .nx-rv, .nx-nojs .nx-pop { opacity: 1; transform: none; }
  .nx-nojs .nx-dots i, .nx-nojs .nx-track i { transform: none; }
  .nx-nojs .nx-draw .ln { stroke-dashoffset: 0; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .nx-rv, .nx-pop { opacity: 1; transform: none; }
    .nx-dots i, .nx-track i { transform: none; }
    .nx-draw .ln { stroke-dashoffset: 0; }
  }
}
