/* The scroll story gives way to a static product and purchase recap. */
.jar-summary {
  --summary-ink: #f7f9ff;
  --summary-muted: #cbd7ec;
  --summary-accent: #b1f379;
  --summary-line: #415474;
  --summary-panel: #1a2945;
  color: var(--summary-ink);
  background: radial-gradient(ellipse at 78% 5%, #30496e 0%, transparent 37%),
    linear-gradient(165deg, #192640, #111a2f 54%, #15243b);
  padding-bottom: clamp(2.25rem, 6vw, 5rem);
}

.jar-summary,
.jar-summary section[id] { scroll-margin-top: 65px; }
.jar-summary .lead, .jar-summary .hero-facts { color: var(--summary-muted); }
.jar-summary .eyebrow, .jar-summary .summary-kicker {
  display: inline-block;
  margin: 0 0 .7rem;
  padding: .45em .8em;
  color: var(--summary-accent);
  background: #233c36;
  border: 1px solid #49614c;
  border-radius: 999px;
  font: 600 .76rem/1.2 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jar-summary .btn { justify-content: center; min-height: 44px; }
.jar-summary .btn-primary {
  border-color: var(--summary-accent);
  background: var(--summary-accent);
  color: #15243b;
}
.jar-summary .btn-ghost { color: var(--summary-ink); border-color: #8396b5; }
.jar-summary .btn-ghost:hover { background: #2e4160; }
.jar-summary .btn:hover { box-shadow: 0 5px 0 #0c152a; }
.jar-summary :focus-visible { outline-color: var(--summary-accent); }

.summary-masthead { padding-block: clamp(2.6rem, 7vw, 5.25rem) clamp(2.25rem, 5vw, 3.75rem); }
.summary-masthead .wrap { gap: clamp(1.4rem, 4vw, 3.5rem); }
.summary-masthead h1, .summary-masthead h2 {
  max-width: 15ch;
  margin-bottom: .34em;
  font-size: clamp(2.15rem, 4.3vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.summary-masthead :is(h1,h2) .hl { padding: 0; color: var(--summary-accent); background: none; }
.summary-masthead .summary-lead, .summary-masthead .lead {
  max-width: 46ch;
  margin-bottom: 1.2rem;
  color: var(--summary-muted);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
}
.summary-masthead .summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.summary-masthead .hero-facts { gap: .35rem .9rem; margin-top: 1rem; font-size: .88rem; }
.summary-masthead .hero-facts li:nth-child(3)::before { background: #e1e9f9; }
.summary-masthead .hero-photo picture {
  display: block;
  overflow: hidden;
  border: 1px solid #667795;
  border-radius: clamp(17px, 3vw, 27px);
  background: #f3f0ec;
  box-shadow: 0 1.25rem 3rem #0c152c66;
}
.summary-masthead .hero-photo picture img { border-radius: 0; box-shadow: none; }
.summary-masthead .price-tag {
  right: .7rem;
  bottom: .7rem;
  padding: .55rem .8rem;
  color: var(--summary-muted);
  background: #16233d;
  border: 1px solid #556884;
  border-radius: .85rem;
  transform: none;
}
.summary-masthead .price-tag strong { font-size: 1.35rem; color: var(--summary-accent); }
@media (min-width: 760px) {
  .summary-masthead .wrap { grid-template-columns: 1.07fr .93fr; }
}

.jar-summary #pricing { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.jar-summary #pricing > .wrap {
  padding: clamp(1.3rem, 4vw, 2.6rem);
  border: 1px solid var(--summary-line);
  border-radius: clamp(18px, 3vw, 28px);
  background: linear-gradient(145deg, #233958, #192941 64%);
}
.jar-summary #pricing h2 { margin-bottom: .35em; }
.jar-summary #pricing .lead { max-width: 50ch; margin-bottom: 0; font-size: 1rem; }
.jar-summary .plans { gap: .85rem; max-width: none; margin-top: 1.55rem; }
.jar-summary .plan {
  padding: 1rem clamp(.8rem, 2.2vw, 1.3rem) 1.15rem;
  color: var(--summary-ink);
  background: #15243d;
  border: 1px solid #596d90;
  border-radius: 18px;
}
.jar-summary .plan.best { background: #1a3238; border-color: #92d266; box-shadow: none; }
.jar-summary .plan .badge { background: var(--summary-accent); border-color: #1a3238; }
.jar-summary .plan h3 { margin-bottom: .1rem; font-size: 1.1rem; }
.jar-summary .plan .amt { margin: .1rem 0 .35rem; color: #fff; font-size: clamp(2.2rem, 5vw, 3rem); }
.jar-summary .plan .per { margin-bottom: .9rem; color: var(--summary-muted); font-size: .88rem; }
.jar-summary .plan .btn { padding: .55rem .6rem; font-size: .95rem; }
.jar-summary .ship-note { margin: 1.15rem auto 0; color: var(--summary-muted); font-size: .88rem; }
.jar-summary .pack-visual { display: flex; justify-content: center; align-items: end; gap: .34rem; height: 2.5rem; margin: .1rem 0 .45rem; }
.jar-summary .pack-jar {
  --pack-fill: #83db49;
  --pack-lid: #477b31;
  position: relative;
  display: block;
  width: 1.1rem;
  height: 1.46rem;
  border: 1px solid #ffffff38;
  border-radius: .34rem .34rem .27rem .27rem;
  background: linear-gradient(115deg, #fff4, transparent 55%, #0004), var(--pack-fill);
}
.jar-summary .pack-jar[data-palette="sky"] { --pack-fill: #74b7f0; --pack-lid: #3a709f; }
.jar-summary .pack-jar[data-palette="titanium"] { --pack-fill: #526b9a; --pack-lid: #293b5c; }
.jar-summary .pack-jar::before {
  content: "";
  position: absolute;
  inset: -.22rem -.06rem auto;
  height: .36rem;
  border: 1px solid #ffffff40;
  border-radius: .14rem;
  background: repeating-linear-gradient(90deg, #fff3 0 1px, transparent 1px 3px), var(--pack-lid);
}
@media (max-width: 759px) {
  .jar-summary .plans { gap: 1.05rem; }
  .jar-summary .pack-visual { height: 1.75rem; }
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 1.25rem);
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.summary-grid > section {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: linear-gradient(150deg, #213451, var(--summary-panel) 58%);
  border: 1px solid var(--summary-line);
  border-radius: clamp(17px, 3vw, 25px);
}
.summary-grid > section > .wrap { display: block; width: 100%; }
.summary-grid .center { text-align: start; }
.summary-grid .center .lead { margin-inline: 0; }
.summary-grid h2 { margin-bottom: .35em; font-size: clamp(1.42rem, 3vw, 1.9rem); }
.summary-grid .lead { margin-bottom: .9rem; font-size: 1rem; }
.summary-grid .cards { grid-template-columns: 1fr; gap: .5rem; margin-top: .8rem; }
.summary-grid .card {
  display: block;
  color: var(--summary-ink);
  background: #16243e;
  border: 1px solid #435979;
  border-radius: .8rem;
  box-shadow: none;
}
.summary-grid .card-body { align-items: center; flex-direction: row; padding: .65rem .75rem; gap: .65rem; }
.summary-grid .card h3 { margin-bottom: .1rem; font-size: 1rem; }
.summary-grid .card p { color: var(--summary-muted); font-size: .87rem; }
.summary-grid .swatch { width: 1.2rem; height: 1.2rem; border: 1px solid #afc1df; box-shadow: none; }
.summary-grid .swap-chips { display: grid; justify-items: start; gap: .5rem; margin-top: .8rem; }
.summary-grid .chip { padding: .55rem .85rem .55rem .6rem; color: var(--summary-ink); background: #16243e; border-color: #536a8c; }
.summary-grid .chip i { box-shadow: 0 0 0 1px #8398b7; }
.summary-grid #swap p:last-child, .summary-grid .ticks { color: var(--summary-muted); font-size: .9rem; }
.summary-grid #swap p:last-child { margin-bottom: 0; }
.summary-grid .specs { gap: .5rem; margin-top: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-grid .spec {
  padding: .65rem .7rem;
  color: var(--summary-ink);
  background: #16243e;
  border-color: #435979;
  border-radius: .8rem;
}
.summary-grid .spec dt, .summary-grid .spec dd small { color: var(--summary-muted); }
.summary-grid .spec dd { color: var(--summary-ink); font-size: 1rem; }
.summary-grid .spec dd small { font-size: .78rem; }
.summary-grid .ticks { gap: .5rem; margin-top: .8rem; }
.summary-grid .ticks li::before { width: 1.05rem; height: 1.05rem; background-size: 75%; }
.summary-grid .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .75rem; }
.summary-grid .use {
  padding: .65rem .7rem;
  color: var(--summary-ink);
  background: #16243e;
  border-color: #435979;
  border-radius: .8rem;
}
.summary-grid .use h3 { margin-bottom: .28rem; font-size: 1rem; }
.summary-grid .use p { color: var(--summary-muted); font-size: .84rem; }
.summary-grid .use .ico { width: 2rem; height: 2rem; margin-bottom: .5rem; border-radius: .65rem; }
.summary-grid .use .ico svg { width: 1.18rem; height: 1.18rem; }
@media (min-width: 760px) {
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .summary-grid .use-grid { grid-template-columns: 1fr; }
}

/* Keep the navigation and footer usable at the smallest layouts. */
.site-header .btn { min-height: 44px; white-space: nowrap; }
@media (max-width: 399px) {
  .site-header .wrap { width: calc(100% - 1.7rem); gap: .6rem; }
  .site-header .logo { font-size: 1.18rem; }
  .site-header .btn { padding-inline: .78em; font-size: .89rem; }
}
footer { color: #d7e1f1; background: #0e1728; border-top-color: #354662; }
footer .logo { color: #f7f9ff; }
footer .logo span span { color: #a7d4f4; }
footer a { color: #d7e1f1; text-underline-offset: .2em; }
footer .small-print { border-top-color: #354662; }
footer :focus-visible { outline-color: #b1f379; }
.footer-replay { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; color: #b1f379; font-weight: 600; }
.footer-replay span { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
