/* P in the Cup — the only stylesheet for pinthecup.com.
   CSP: style-src 'self'; img-src 'self' data:. No web fonts, no inline styles.
   Contrast notes (WCAG 2.2 AA, checked with the WCAG relative-luminance formula):
     ink #183045 on bg #F7FAFC 12.95 · muted #4A5D70 on #F7FAFC 6.48 · link #0F67A8 on #FFF 5.96
     white on navy 14.55 · gold on navy 7.05 · teal-text #157A77 on #F7FAFC 4.91
     green-text #1F7A4E 5.07 · coral-text #B4472F on #FFF 5.41 · sky #8FD3F7 on navy 8.89
   Brand blue #147BC8, turquoise, green, gold and coral are used for decoration and large
   shapes only; text uses the darker "-text" variants. */

:root {
  --navy: #112A46;
  --navy-2: #1A3A5E;
  --blue: #147BC8;
  --blue-text: #0F67A8;
  --teal: #1E9E9B;
  --teal-text: #157A77;
  --green: #2C9F66;
  --green-text: #1F7A4E;
  --gold: #E4AB35;
  --gold-text: #7A5200;
  --coral: #EC745E;
  --coral-text: #B4472F;
  --bg: #F7FAFC;
  --surface: #FFFFFF;
  --alt: #EDF4F9;
  --hero: #EAF4FB;
  --ink: #183045;
  --muted: #4A5D70;
  --line: #D5E1EB;
  --on-navy: #FFFFFF;
  --on-navy-muted: #CFE3F3;
  --on-navy-link: #8FD3F7;
  --on-navy-accent: #7FD6D3;

  --tint-blue: #E8F2FB;
  --tint-teal: #E3F5F4;
  --tint-green: #E7F5EE;
  --tint-gold: #FCF4E2;
  --tint-coral: #FDEEEA;
  --tint-grey: #EEF2F6;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 42, 70, .06), 0 6px 20px rgba(17, 42, 70, .07);
  --shadow-lg: 0 2px 4px rgba(17, 42, 70, .08), 0 18px 48px rgba(17, 42, 70, .14);
  --gutter: clamp(16px, 4vw, 32px);
  --focus: 3px solid var(--blue-text);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; margin: 0 0 .6em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .3rem; }
a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--tint-grey); padding: .05em .35em; border-radius: 6px; }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1.1rem; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; outline: 3px solid var(--gold); outline-offset: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ------------------------------------------------------------------ top banner + header */
.topbar { background: var(--navy); color: var(--on-navy); font-size: .875rem; text-align: center; }
.topbar p { margin: 0; padding: .45rem 0; font-weight: 600; letter-spacing: .01em; }
.topbar span { color: var(--gold); padding-inline: .35rem; }
@media (max-width: 419.98px) { .topbar { font-size: .78rem; } .topbar span { padding-inline: .2rem; } }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 68px; padding-block: .6rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); flex: none; border-radius: 10px; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo__small { font-size: .72em; color: var(--teal-text); letter-spacing: .06em; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__small { color: var(--on-navy-accent); }

.site-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.site-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .1rem .15rem; }
.site-nav__list li { margin: 0; }
.site-nav__link {
  display: block; padding: .55rem .7rem; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .97rem; white-space: nowrap;
}
.site-nav__link:hover { background: var(--tint-blue); color: var(--navy); }
.site-nav__link[aria-current] { color: var(--blue-text); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 10px 10px 0 0; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem;
  font: inherit; font-weight: 600; color: var(--navy); background: var(--surface);
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--blue-text); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Desktop: two tiers. Row 1 logo + account buttons, row 2 the main navigation. */
@media (min-width: 960px) {
  .site-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo actions" "nav nav"; padding-bottom: 0; }
  .logo { grid-area: logo; }
  .site-actions { grid-area: actions; justify-self: end; }
  .site-nav { grid-area: nav; border-top: 1px solid var(--line); margin-top: .1rem; }
  .site-nav__list { flex-wrap: nowrap; margin-left: -.7rem; }
  .site-nav__link { padding-block: .7rem; border-radius: 0; }
  .site-nav__link[aria-current] { border-radius: 0; }
}

/* Below 960px the menu collapses behind a button. Without JavaScript it simply stays
   open as a stacked list under the logo, so every link is still reachable. */
@media (max-width: 959.98px) {
  .site-actions { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-top: .25rem; }
  .site-actions .btn { width: 100%; }
  .site-nav { order: 4; flex-basis: 100%; padding-bottom: .5rem; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li + li { border-top: 1px solid var(--line); }
  .site-nav__link { padding: .8rem .5rem; font-size: 1.02rem; border-radius: 6px; }
  .site-nav__link[aria-current] { box-shadow: inset 4px 0 0 var(--blue); border-radius: 0 6px 6px 0; padding-left: .9rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav, .js .site-actions { display: none; }
  .js .site-header.is-open .site-nav { display: block; }
  .js .site-header.is-open .site-actions { display: flex; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-text); color: #fff; box-shadow: 0 4px 14px rgba(15, 103, 168, .28); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--navy); border-color: var(--blue-text); }
.btn--secondary:hover { background: var(--tint-blue); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--blue-text); text-decoration: underline; text-underline-offset: .2em; }
.btn--ghost:hover { color: var(--navy); background: var(--tint-blue); }
.btn--sm { min-height: 44px; padding: .45rem 1rem; font-size: .95rem; }
.btn:has(.btn__note) { flex-direction: column; gap: .1rem; padding-block: .4rem; }
.btn__note { display: block; font-size: .72rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.5rem 0 1rem; }
@media (max-width: 479.98px) {
  .btn-row .btn { width: 100%; }
}

/* ------------------------------------------------------------------ breadcrumb, banners */
.breadcrumb { background: var(--hero); font-size: .9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: .8rem 0 0; gap: .2rem; }
.breadcrumb li { margin: 0; display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--muted); padding: 0 .5rem 0 .3rem; }
.breadcrumb a { color: var(--blue-text); }
.breadcrumb a[aria-current] { color: var(--ink); text-decoration: none; font-weight: 600; }

.status-banner { border-block: 1px solid var(--line); font-size: .95rem; }
.status-banner p { margin: 0; padding: .8rem 0; }
.status-banner .badge { margin-right: .35rem; }
.status-banner--pending { background: var(--tint-gold); }
.status-banner--planned { background: var(--tint-blue); }
.status-banner--legal { background: var(--tint-coral); }

.page-updated { color: var(--muted); font-size: .9rem; margin: 0; padding: .25rem 0 2.5rem; }

/* ------------------------------------------------------------------ bands */
.page-hero {
  background: linear-gradient(180deg, var(--hero) 0%, var(--bg) 100%);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 158, 155, .14), rgba(30, 158, 155, 0) 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 44rem; }
.eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-text); margin: 0 0 .6rem;
}
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); line-height: 1.6; }

.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section:not(.section--alt):not(.section--navy) + .section:not(.section--alt):not(.section--navy) { padding-top: 0; }
.page-hero + .section:not(.section--alt):not(.section--navy) { padding-top: .5rem; }
.section--alt { background: var(--alt); }
.section--alt + .section--alt { padding-top: 0; }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .eyebrow { color: var(--on-navy-accent); }
.section--navy .lede, .section--navy .disclaimer { color: var(--on-navy-muted); }
.section--navy a:not(.btn) { color: var(--on-navy-link); }
.section--navy a:not(.btn):hover { color: #fff; }
.section--navy :focus-visible { outline-color: var(--gold); }
.section--navy .btn--primary { background: var(--gold); color: var(--navy); box-shadow: none; }
.section--navy .btn--primary:hover { background: #fff; color: var(--navy); }
.section--navy .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.section--navy .btn--secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.section--navy .btn--ghost { color: var(--on-navy-link); }
.section--navy .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.section--navy .card, .section--navy .callout, .section--navy .persona, .section--navy .faq-item { color: var(--ink); }
.section--navy .card h3, .section--navy .callout h3, .section--navy .persona h3 { color: var(--navy); }
.section--navy .card a:not(.btn), .section--navy .callout a:not(.btn), .section--navy .faq-item a { color: var(--blue-text); }
.section--navy .card .eyebrow { color: var(--teal-text); }
.section--navy .related { border-color: rgba(255, 255, 255, .2); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head > :last-child { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------------ grids + cards */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: minmax(0, 1fr); margin-bottom: 1.5rem; }
@media (min-width: 560px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 680px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid > * { margin: 0; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); color: var(--ink);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45rem; }
.card--accent { border-top: 5px solid var(--teal); background: linear-gradient(180deg, var(--tint-teal) 0%, var(--surface) 55%); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--tint-blue); color: var(--blue-text); margin: 0 0 1rem;
}
.card__icon .icon { width: 28px; height: 28px; }
.grid > .card:nth-child(4n+2) .card__icon { background: var(--tint-teal); color: var(--teal-text); }
.grid > .card:nth-child(4n+3) .card__icon { background: var(--tint-green); color: var(--green-text); }
.grid > .card:nth-child(4n+4) .card__icon { background: var(--tint-gold); color: var(--gold-text); }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; max-width: 52rem; }
.steps > li {
  counter-increment: step; position: relative; padding: 0 0 1.75rem 4.25rem; margin: 0;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 1.15rem;
  color: #fff; background: linear-gradient(135deg, var(--blue-text), var(--teal-text));
  box-shadow: 0 0 0 5px var(--bg);
}
.section--alt .steps > li::before { box-shadow: 0 0 0 5px var(--alt); }
.steps > li::after {
  content: ""; position: absolute; left: calc(1.45rem - 1px); top: 2.9rem; bottom: .2rem; width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps > li > h3 { margin-bottom: .35rem; padding-top: .35rem; }
.steps > li > :last-child { margin-bottom: 0; }
.section--navy .steps > li::before { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 5px var(--navy); }
.section--navy .steps > li::after { background: rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------------ callouts */
.callout {
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem 1.1rem 1.35rem; margin: 0 0 1.5rem;
  border: 1px solid var(--line); border-left-width: 6px; background: var(--surface); color: var(--ink);
}
.callout > :last-child { margin-bottom: 0; }
.callout__title { font-weight: 800; color: var(--navy); margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem; }
.callout__title .icon { flex: none; }
.callout--info { background: var(--tint-blue); border-color: #B9D7EF; border-left-color: var(--blue); }
.callout--info .callout__title .icon { color: var(--blue-text); }
.callout--cost { background: var(--tint-green); border-color: #BFE3CF; border-left-color: var(--green); }
.callout--cost .callout__title .icon { color: var(--green-text); }
.callout--warn { background: var(--tint-coral); border-color: #F5C9BF; border-left-color: var(--coral); }
.callout--warn .callout__title .icon { color: var(--coral-text); }
.callout--legal { background: var(--tint-gold); border-color: #F0DCAE; border-left-color: var(--gold); }
.callout--legal .callout__title .icon { color: var(--gold-text); }

/* ------------------------------------------------------------------ prose */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-top: .35rem; }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--teal); color: var(--muted); }
.prose dl dt { font-weight: 600; color: var(--navy); margin-top: .8rem; }
.prose dl dd { margin: .2rem 0 0; }
.prose .callout, .prose .table-wrap { margin-block: 1.5rem; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: .75rem; margin: 0 0 1.5rem; max-width: 52rem; }
.faq + h2, .faq + h3, .faq + .section-head { margin-top: 2.5rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 1px 2px rgba(17, 42, 70, .05); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 1rem 3.25rem 1rem 1.25rem; position: relative;
  font-weight: 600; color: var(--navy); border-radius: var(--radius-sm); min-height: 48px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 1.4rem; height: 1.4rem; margin-top: -.7rem;
  border-radius: 50%; background: var(--tint-blue) center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230F67A8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-item[open] > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h10' stroke='%230F67A8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-item > summary:hover { background: var(--tint-blue); }
.faq-item[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item__body { padding: 0 1.25rem 1.1rem; }
.faq-item__body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; min-width: 32rem; }
table.data caption { text-align: left; font-weight: 800; color: var(--navy); padding: 1rem 1rem .5rem; caption-side: top; }
table.data th, table.data td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
table.data thead th { background: var(--tint-blue); color: var(--navy); font-weight: 600; border-top: 0; }
table.data tbody th { font-weight: 600; color: var(--navy); }
table.data tbody tr:nth-child(even) { background: #FAFCFE; }

/* ------------------------------------------------------------------ badges */
.badge {
  display: inline-block; vertical-align: middle; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1.3; padding: .2rem .6rem; border-radius: 999px;
  border: 1px solid currentColor; white-space: nowrap;
}
.badge--live { color: var(--green-text); background: var(--tint-green); }
.badge--planned { color: var(--blue-text); background: var(--tint-blue); }
.badge--pending { color: var(--gold-text); background: var(--tint-gold); }
.badge--legal { color: var(--coral-text); background: var(--tint-coral); }
.badge--example { color: var(--muted); background: var(--tint-grey); border-style: dashed; }
h1 .badge, h2 .badge, h3 .badge { margin-left: .35rem; font-size: .7rem; letter-spacing: .06em; }
.eyebrow .badge { margin-left: .35rem; letter-spacing: .06em; }

/* ------------------------------------------------------------------ lists, small print */
.sources { font-size: .92rem; color: var(--muted); padding-left: 1.2rem; }
.sources li { overflow-wrap: anywhere; }
.sources a { overflow-wrap: anywhere; }
.disclaimer { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.checklist { list-style: none; padding: 0; }
.checklist > li { position: relative; padding-left: 2rem; }
.checklist > li + li { margin-top: .55rem; }
.checklist > li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--tint-green) center / 14px 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231F7A4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.section--navy .checklist > li::before { background-color: rgba(255, 255, 255, .92); }

.persona {
  border: 2px dashed #B7C8D8; border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--surface);
  margin: 0 0 1.5rem; color: var(--ink);
}
.persona > :last-child { margin-bottom: 0; }
.persona__label {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--tint-grey); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .75rem;
}

.related { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
.related h2 { font-size: 1.25rem; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.related li { margin: 0; }
.related a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.related a:hover { border-color: var(--blue-text); background: var(--tint-blue); }
.section--navy .related a { background: transparent; border-color: rgba(255, 255, 255, .35); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: .95rem; padding: 3.5rem 0 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer :focus-visible { outline-color: var(--gold); }
.site-footer__top { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
.site-footer__brand { max-width: 40rem; }
@media (min-width: 1000px) { .site-footer__nav { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.site-footer__tagline { color: #fff; font-weight: 600; margin: 1rem 0 .5rem; }
.site-footer__cost { margin: 0; }
.site-footer__nav { display: grid; gap: 1.75rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.site-footer__heading { color: var(--gold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .75rem; }
.site-footer__group ul { list-style: none; padding: 0; margin: 0; }
.site-footer__group li { margin: 0; }
.site-footer__group a { display: inline-block; padding: .3rem 0; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: .2em; }

/* ------------------------------------------------------------------ home page */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(30, 158, 155, .16), rgba(30, 158, 155, 0) 70%),
    radial-gradient(700px 400px at 0% 55%, rgba(20, 123, 200, .10), rgba(20, 123, 200, 0) 70%),
    linear-gradient(180deg, var(--hero), var(--bg));
  padding: clamp(2.25rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 5rem);
}
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 4.6rem); letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; }
.hero__tagline { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); font-weight: 800; color: var(--navy); margin-bottom: .8rem; }
.hero__tagline span { color: var(--teal-text); }
.hero .lede { max-width: 36rem; }
.hero__cost { font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius-sm); padding: .7rem 1rem; max-width: 36rem; }
.hero__soon { font-size: .92rem; color: var(--muted); max-width: 36rem; }

.value-strip { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .value-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.value-strip li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; box-shadow: var(--shadow); }
.value-strip .card__icon { margin: 0 0 .8rem; }
.value-strip li:nth-child(2) .card__icon { background: var(--tint-teal); color: var(--teal-text); }
.value-strip li:nth-child(3) .card__icon { background: var(--tint-green); color: var(--green-text); }
.value-strip li:nth-child(4) .card__icon { background: var(--tint-gold); color: var(--gold-text); }
.value-strip h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.value-band { padding-top: clamp(2rem, 4vw, 3rem); }
.value-strip p { margin: 0; color: var(--muted); font-size: .97rem; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split > * { margin-bottom: 0; }

.quote-line { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 600; color: var(--navy); line-height: 1.45; border-left: 5px solid var(--teal); padding-left: 1rem; }
.section--navy .quote-line { color: #fff; }

.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band .lede { margin-inline: auto; max-width: 40rem; }

/* ---- illustrative previews (desktop + phone). All content is fictional. */
.preview { position: relative; margin: 0; }
.preview__stage { position: relative; padding-bottom: 7rem; }
.preview__label {
  position: absolute; top: -.9rem; left: 1rem; z-index: 3; margin: 0;
}
.preview__label .badge { background: var(--surface); font-size: .75rem; box-shadow: var(--shadow); }
.preview__caption { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; max-width: 34rem; }
.device--desktop {
  background: var(--surface); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; width: 88%; font-size: .78rem; line-height: 1.4;
}
.device__bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: var(--tint-grey); border-bottom: 1px solid var(--line); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C5D2DE; display: block; }
.device__bar b { margin-left: .6rem; font-weight: 400; color: var(--muted); background: var(--surface); border-radius: 6px; padding: .1rem .6rem; font-size: .72rem; flex: 1; max-width: 16rem; }
.device__body { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); min-height: 17rem; }
.ui-side { background: var(--navy); color: var(--on-navy-muted); padding: .9rem .7rem; display: flex; flex-direction: column; gap: .35rem; }
.ui-side strong { color: #fff; font-size: .8rem; margin-bottom: .4rem; }
.ui-side span { padding: .25rem .45rem; border-radius: 6px; }
.ui-side span.is-on { background: rgba(255, 255, 255, .12); color: #fff; }
.ui-main { padding: .9rem; display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.ui-card { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .65rem .75rem; }
.ui-card--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem; }
.ui-card h4, .ui-card .ui-h { font-size: .8rem; margin: 0 0 .3rem; color: var(--navy); font-weight: 600; }
.ui-card p { margin: 0; color: var(--muted); }
.ui-status { font-size: 1.05rem; font-weight: 800; color: var(--teal-text); }
.ui-list { list-style: none; margin: 0; padding: 0; }
.ui-list li { display: flex; justify-content: space-between; gap: .5rem; margin: .15rem 0 0; color: var(--muted); }
.ui-list li b { color: var(--green-text); font-weight: 600; }
.ui-rings { display: flex; gap: .6rem; }

.ring {
  --p: 60; --c: var(--teal);
  width: 3.2rem; height: 3.2rem; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #DCE6EF 0);
  font-size: .68rem; font-weight: 800; color: var(--navy);
}
.ring::before { content: ""; grid-area: 1 / 1; width: 72%; height: 72%; border-radius: 50%; background: var(--surface); }
.ring > span { grid-area: 1 / 1; position: relative; }
.ring--40 { --p: 40; } .ring--57 { --p: 57; } .ring--70 { --p: 70; } .ring--85 { --p: 85; } .ring--100 { --p: 100; }
.ring--blue { --c: var(--blue); } .ring--green { --c: var(--green); } .ring--gold { --c: var(--gold); } .ring--coral { --c: var(--coral); }

.device--phone {
  position: absolute; right: 0; bottom: 0; width: 42%; max-width: 15.5rem; z-index: 2;
  background: var(--navy); border-radius: 30px; padding: .55rem; box-shadow: var(--shadow-lg);
  font-size: .75rem; line-height: 1.35;
}
.phone__screen { background: var(--bg); border-radius: 23px; overflow: hidden; padding: 1.4rem .8rem .9rem; position: relative; }
.phone__screen::before { content: ""; position: absolute; top: .45rem; left: 50%; width: 3.5rem; height: .35rem; margin-left: -1.75rem; border-radius: 999px; background: var(--navy); opacity: .85; }
.phone__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; color: var(--muted); }
.phone__head strong { color: var(--navy); }
.phone__status { border-radius: 14px; padding: .8rem; text-align: center; color: #fff; background: linear-gradient(135deg, var(--teal-text), var(--blue-text)); margin-bottom: .6rem; }
.phone__status small { display: block; opacity: .95; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.phone__status strong { display: block; font-size: 1.25rem; line-height: 1.15; margin: .15rem 0; }
.phone__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-bottom: .55rem; }
.phone__tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .4rem .2rem; text-align: center; color: var(--muted); font-size: .62rem; line-height: 1.2; }
.phone__tile .icon { width: 1.1rem; height: 1.1rem; display: block; margin: 0 auto .2rem; color: var(--gold-text); }
.phone__tile:nth-child(2) .icon { color: var(--teal-text); }
.phone__tile:nth-child(3) .icon { color: var(--blue-text); }
.phone__group { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; color: var(--muted); }
.phone__group strong { color: var(--navy); display: block; font-size: .7rem; }
.avatars { display: flex; margin-top: .3rem; }
.avatars i { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2px solid var(--surface); margin-left: -.3rem; display: block; background: var(--teal); }
.avatars i:first-child { margin-left: 0; background: var(--gold); }
.avatars i:nth-child(2) { background: var(--blue); }
.avatars i:nth-child(3) { background: var(--coral); }

@media (max-width: 599.98px) {
  .device--desktop { width: 100%; }
  .device__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ui-side { display: none; }
  .preview__stage { padding-bottom: 0; }
  .preview--hero .device--phone { position: relative; width: 78%; max-width: 15.5rem; margin: -3rem auto 0; display: block; right: auto; }
}

/* ---- the interactive demo */
.demo { display: grid; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "actions"; }
.demo__head { grid-area: head; }
.demo__stage { grid-area: stage; }
.demo__actions { grid-area: actions; }
.demo__head > :last-child, .demo__actions > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .demo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "head stage" "actions stage"; align-items: start; }
  .demo__actions { align-self: start; }
  .demo__stage { align-self: center; }
}
.demo__label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); background: var(--tint-gold); border: 1px solid #F0DCAE; border-radius: var(--radius-sm); padding: .6rem .9rem; margin-bottom: 1.25rem; }
.demo__controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 0 0 1rem; }
.demo__count { color: var(--muted); font-size: .95rem; margin: 0; }
.demo__caption { font-size: .95rem; color: var(--muted); }
.demo__stage { display: flex; justify-content: center; }
.demo__stage .device--phone { position: relative; right: auto; bottom: auto; width: 100%; max-width: 19rem; font-size: .9rem; }
.demo__stage .phone__screen { padding: 1.6rem 1rem 1.1rem; }
.demo__stage .phone__status { padding: 1.1rem .9rem; transition: background-color .3s ease; }
.demo__stage .phone__status strong { font-size: 1.6rem; }
.demo__stage .phone__tile { font-size: .72rem; }
.demo__detail { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .75rem; margin: 0 0 .6rem; color: var(--ink); font-size: .82rem; }
.demo__xp { margin: 0 0 .35rem; color: var(--muted); font-size: .8rem; }
.xp-bar { height: .5rem; border-radius: 999px; background: #DCE6EF; overflow: hidden; margin-bottom: .6rem; }
.xp-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--green)); transition: width .4s ease; }
.xp-bar--1 i { width: 40%; } .xp-bar--2 i { width: 55%; } .xp-bar--3 i { width: 70%; } .xp-bar--4 i { width: 100%; }

.phone__status.is-not-today { background: linear-gradient(135deg, var(--teal-text), var(--blue-text)); }
.phone__status.is-scheduled { background: linear-gradient(135deg, var(--navy), var(--blue-text)); }
.phone__status.is-milestone { background: linear-gradient(135deg, #8A5A00, var(--coral-text)); }
.phone__status .icon { width: 1.6rem; height: 1.6rem; display: block; margin: 0 auto .25rem; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .phone__status.is-revealing { animation: reveal .45s ease; }
  @keyframes reveal {
    0% { transform: rotateX(0); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0); }
  }
}
.no-js-only { display: block; }
.js .no-js-only { display: none; }

/* ---- launch + 404 */
.launch-mark { width: 88px; height: 88px; margin-bottom: 1rem; }

/* ------------------------------------------------------------------ icons
   span.icon.icon--NAME — single-colour masks that take the current text colour. */
.icon {
  display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.22em; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.icon--calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Cpath d='M8.5 15l2 2 4-4'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--cup { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 4h13l-1.6 15.2a2 2 0 0 1-2 1.8H9.1a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M6.3 9h11.4'/%3E%3Cpath d='M9.5 14.5l1.8 1.8 3.3-3.6'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.8-3.2 8.3-7.5 9.8-4.3-1.5-7.5-5-7.5-9.8V6z'/%3E%3Cpath d='M8.8 12.2l2.3 2.3 4.2-4.6'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v3'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--target { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='1.8' fill='black'/%3E%3C/svg%3E"); }
.icon--trophy { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 4h9v5.5a4.5 4.5 0 0 1-9 0z'/%3E%3Cpath d='M7.5 6H4.5a3 3 0 0 0 3.2 4M16.5 6h3a3 3 0 0 1-3.2 4M12 14v3.5M8 21h8M9.5 17.5h5V21h-5z'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--group { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16.2 14.3A5 5 0 0 1 21.5 19.5'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--book { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h14v15H6a2 2 0 0 0-2 2 2 2 0 0 0 2 2h14'/%3E%3Cpath d='M8.5 7.5h7'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--heart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-8-4.6-8-10.4A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 8 2.5c0 5.8-8 10.4-8 10.4z'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon--star { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.7 5.6 6.1.8-4.5 4.2 1.2 6.1L12 17l-5.5 2.9 1.2-6.1-4.5-4.2 6.1-.8z'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--sparkle { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2.5l1.9 5.6 5.6 1.9-5.6 1.9L10 17.5l-1.9-5.6L2.5 10l5.6-1.9z' fill='black'/%3E%3Cpath d='M18 13.5l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9z' fill='black'/%3E%3C/svg%3E"); }
.icon--chat { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v8a2.5 2.5 0 0 1-2.5 2.5H10l-5 4.5V16.4A2.5 2.5 0 0 1 4 14z'/%3E%3Cpath d='M8 8.5h8M8 11.5h5'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--scale { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v17M7.5 20.5h9M4.5 7h15M12 4.5'/%3E%3Cpath d='M5.5 7l-3 6.5a3.2 3.2 0 0 0 6 0zM18.5 7l-3 6.5a3.2 3.2 0 0 0 6 0z'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--flask { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6.2L4.8 18.3A1.8 1.8 0 0 0 6.4 21h11.2a1.8 1.8 0 0 0 1.6-2.7L14 9.2V3'/%3E%3Cpath d='M7.3 15h9.4'/%3E%3C/g%3E%3C/svg%3E"); }
.icon--info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5'/%3E%3C/g%3E%3Ccircle cx='12' cy='7.6' r='1.3' fill='black'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ motion + print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .icon { background-color: CanvasText; }
  .btn { border: 2px solid ButtonText; }
  .badge { border: 1px solid CanvasText; }
}
@media print {
  .topbar, .nav-toggle, .site-nav, .skip-link, .site-footer__nav, .demo__controls, .breadcrumb { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .section--navy, .site-footer, .hero, .page-hero, .section--alt { background: #fff !important; color: #000 !important; box-shadow: none; }
  .section--navy h2, .section--navy h3, .site-footer a, .site-footer__tagline { color: #000 !important; }
  .card, .callout, .faq-item, .value-strip li, .device--desktop, .device--phone { box-shadow: none !important; break-inside: avoid; }
  .faq-item__body { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; overflow-wrap: anywhere; }
  .btn::after { content: none !important; }
  .preview, .demo__stage { display: none; }
  .section { padding: 1.25rem 0; }
}

/* Demo: XP and badges are an optional setting. A real checkbox, styled as a
   switch; hiding is done in CSS (:has), so it works without JavaScript. */
.demo__option { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1rem; }
.switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--navy); cursor: pointer; min-height: 44px; }
.switch::before { content: ""; flex: none; width: 2.75rem; height: 1.5rem; border-radius: 999px; background: #8A9BAC; transition: background-color .2s ease; }
.switch::after { content: ""; position: absolute; left: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(17, 42, 70, .3); transition: transform .2s ease; }
.switch__input:checked + .switch::before { background: var(--teal-text); }
.switch__input:checked + .switch::after { transform: translateX(1.25rem); }
.switch__input:focus-visible + .switch::before { outline: var(--focus); outline-offset: 3px; }
.demo__hint { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--muted); }
.demo:has(#demo-rewards:not(:checked)) [data-reward] { display: none; }
.demo:has(#demo-rewards:not(:checked)) .phone__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (prefers-reduced-motion: reduce) { .switch::before, .switch::after { transition: none; } }
