/* Brick-n-MortarAI: site styles. Mobile first; breakpoints at 640 / 768 / 1024 / 1200. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }

/* Browser surfaces carry the design too */
:root { accent-color: var(--purple-dim); scrollbar-color: var(--grey-control) var(--off-white); -webkit-tap-highlight-color: transparent; }
::selection { background: var(--violet); color: var(--white); }
input, textarea { caret-color: var(--violet); }
.table-wrap, .cart-drawer__body { scrollbar-width: thin; }
/* Numbers that sit in columns or change in place keep their width */
.compare, .plan__price, .buybox__price, .buybox__total-value, .cart-total, .cart-line__price,
.product-card__price, .results-bar__count, time { font-variant-numeric: tabular-nums; }

/* Comfortable reading measure; classes with an explicit max-width still win */
main :where(p, dd, blockquote) { max-width: var(--measure); }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--accent-text); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color var(--dur-fast) ease; }
a:hover { color: var(--ink-900); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-xs); }
.on-dark :focus-visible { outline-color: var(--white); }

.sr-only {
  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: 12px; top: -100px; z-index: 200;
  padding: 12px 18px; border-radius: var(--radius-md);
  background: var(--ink-900); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }

/* Reduced motion means gentler, not none: every movement (transform) below sits inside
   a prefers-reduced-motion: no-preference block, while colour and opacity fades stay. */

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--article { max-width: calc(760px + 2 * var(--gutter)); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.container--mid { max-width: calc(1180px + 2 * var(--gutter)); }
.section { padding-top: var(--section-y); }
.section--last { padding-bottom: var(--section-y); }
.section--tight { padding-top: clamp(40px, 5vw, 56px); }
.section--dark {
  margin-top: var(--section-y); padding-block: var(--section-y);
  background: var(--ink-900); color: var(--text-inverse);
}

/* Auto-fit grids that never force horizontal scroll: min() caps the track at 100% */
.grid { display: grid; gap: var(--gap, 24px); grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); }
.grid--center { align-items: center; }
.grid--start { align-items: start; }
.grid--end { align-items: end; }
.stack { display: flex; flex-direction: column; gap: var(--stack, 12px); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row--split { justify-content: space-between; align-items: flex-end; }
.spacer { flex: 1; }

@media (min-width: 768px) {
  :root { --gutter: 28px; --section-y: 96px; --header-h: 76px; }
  body { font-size: 18px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 40px; --section-y: 120px; }
}

/* ---------- Type ---------- */
.display {
  font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-size: var(--fs, clamp(2.25rem, 1.5rem + 3.6vw, 4rem));
  text-wrap: balance;
}
.display--xl { --fs: clamp(2.5rem, 1.55rem + 4.6vw, 4.75rem); line-height: .97; }
.display--hiw { --fs: clamp(2.4rem, 1.3rem + 5.2vw, 5.125rem); line-height: .97; }
.display--lg { --fs: clamp(2.25rem, 1.45rem + 3.9vw, 4.25rem); line-height: .98; }
.display--md { --fs: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); line-height: 1.02; }
.display--sm { --fs: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem); line-height: 1.04; }
.display--xs { --fs: clamp(1.625rem, 1.35rem + 1.2vw, 2.5rem); line-height: 1.05; }
.h4 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; font-weight: 800; }
.h3 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text-secondary); }
.body-secondary { color: var(--text-secondary); }
.muted { color: var(--text-muted); }
.small { font-size: 14px; line-height: 1.55; }
.xsmall { font-size: 13px; line-height: 1.5; }
.on-dark .lead, .on-dark .body-secondary { color: var(--text-inverse-secondary); }
.on-dark .muted { color: var(--text-inverse-muted); }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background-image: var(--gradient-brand-light); -webkit-background-clip: text; background-clip: text;
  color: var(--purple-dim); -webkit-text-fill-color: transparent;
}
.on-dark .eyebrow { background: none; -webkit-text-fill-color: currentColor; color: var(--text-inverse-secondary); }
.label-caps { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.on-dark .label-caps { color: var(--text-inverse-muted); }

/* Exactly one gradient word per headline */
.grad {
  background-image: var(--gradient-brand-light); -webkit-background-clip: text; background-clip: text;
  color: var(--purple-dim); -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.on-dark .grad { background-image: var(--gradient-brand); color: var(--purple); }
@media (forced-colors: active) {
  .grad, .eyebrow, .step-num { -webkit-text-fill-color: currentColor; background: none; }
}

.script { font-family: var(--font-script); font-weight: 600; font-size: 30px; line-height: 1.05; }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--xl { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.btn .icon { transition: transform var(--dur-base) var(--ease-out); }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
/* Gradients can't transition, so the hover gradient is a layer that fades in */
.btn--gradient { position: relative; isolation: isolate; background-image: var(--gradient-cta); color: var(--white); }
.btn--gradient::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background-image: var(--gradient-cta-hover); opacity: 0; transition: opacity var(--dur-fast) ease;
}
.btn--gradient:hover { color: var(--white); }
.btn--gradient:hover::before { opacity: 1; }
.btn--secondary { background: var(--white); color: var(--ink-900); border-color: var(--grey-control); }
.btn--secondary:hover { background: var(--off-white); border-color: var(--ink-900); color: var(--ink-900); }
.on-dark .btn--secondary { background: transparent; color: var(--white); border-color: var(--border-inverse-strong); }
.on-dark .btn--secondary:hover { border-color: var(--white); color: var(--white); }
@media (forced-colors: active) { .btn { border-color: ButtonText; } }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.text-link .icon { transition: transform var(--dur-base) var(--ease-out); }
.on-dark .text-link, .on-dark a:not(.btn) { color: var(--white); }
.on-dark a:not(.btn):hover { color: var(--grey-300); }

.link-button {
  padding: 0; border: 0; background: none; font-weight: 600; font-size: 14px;
  color: var(--accent-text); text-decoration: underline; text-underline-offset: .18em;
  min-height: 24px;
}
.link-button { transition: color var(--dur-fast) ease; }
.link-button:hover { color: var(--ink-900); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.1;
}
.badge--gradient { background-image: var(--gradient-cta); color: var(--white); }
.badge--neutral { background: var(--off-white); color: var(--text-secondary); border-color: var(--border-subtle); }
.badge--accent { background: var(--accent-surface); color: var(--accent-text); border-color: rgba(161,59,255,.25); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border-subtle);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); }
}
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: var(--header-h); padding-block: 10px; }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 36px; width: auto; }

.cart-button, .menu-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--ink-900); border-radius: var(--radius-md); background: var(--white);
  font-size: 14px; font-weight: 700; color: var(--ink-900); justify-content: center;
}
.cart-button, .menu-button { transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.cart-button:hover, .menu-button:hover { background: var(--off-white); }
.cart-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cart-button__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill);
  background: var(--ink-900); color: var(--white); font-size: 12px; line-height: 22px; text-align: center;
}
/* Header "Get a Free Sample" email link: same look as the old cart button, short label on small phones */
.sample-button { text-decoration: none; white-space: nowrap; }
.sample-button:hover { color: var(--ink-900); }
.sample-button__long { display: none; }
@media (min-width: 480px) { .sample-button__short { display: none; } .sample-button__long { display: inline; } .sample-button { padding: 0 16px; } }
.menu-button { display: none; margin-left: auto; }
.js .menu-button { display: inline-flex; }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

/* Without JS the nav is always visible; with JS it collapses behind the menu button. */
.site-nav { order: 1; width: 100%; padding: 8px 0 16px; border-top: 1px solid var(--border-subtle); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.js html:not(.js) .cart-button { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav__list a {
  display: flex; align-items: center; min-height: 48px; padding: 4px 0;
  font-size: 17px; font-weight: 700; color: var(--ink-900); text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav__list a[aria-current="page"] { color: var(--accent-text); }
.site-nav__quote { color: var(--grey-600) !important; font-weight: 600 !important; }

@media (min-width: 480px) { .cart-button__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } .cart-button { padding: 0 16px; } }
@media (min-width: 768px) { .site-header__logo img { height: 46px; } }
/* Full nav from 1200px; the menu button handles anything narrower. */
@media (min-width: 1200px) {
  .site-header__bar { flex-wrap: nowrap; gap: 28px; }
  .js .menu-button { display: none; }
  .site-nav, .js .site-nav { display: block; order: 0; width: auto; padding: 0; border: 0; flex: 1; }
  .site-nav__list { flex-direction: row; align-items: center; gap: 22px; }
  .site-nav__list a { min-height: 44px; border: 0; font-size: 15px; position: relative; white-space: nowrap; }
  .site-nav__list a { transition: color var(--dur-fast) ease; }
  .site-nav__list a:hover { color: var(--accent-text); }
  .site-nav__list a[aria-current="page"] { color: var(--ink-900); }
  .site-nav__list a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--purple);
  }
  .site-nav__quote-item { margin-left: auto; }
}

/* ---------- Cart drawer (native <dialog>) ---------- */
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%;
  background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-media);
}
.cart-drawer[open] { display: flex; flex-direction: column; }
.cart-drawer::backdrop { background: rgba(5,6,9,.86); }
@supports (backdrop-filter: blur(8px)) { .cart-drawer::backdrop { backdrop-filter: blur(8px); } }
/* Transitions (not keyframes) so a quick open-then-close retargets smoothly.
   Exit is faster than entry. allow-discrete keeps the dialog painted while it leaves. */
.cart-drawer, .cart-drawer::backdrop {
  transition:
    transform var(--dur-drawer-out) var(--ease-out),
    opacity var(--dur-drawer-out) var(--ease-out),
    overlay var(--dur-drawer-out) allow-discrete,
    display var(--dur-drawer-out) allow-discrete;
}
.cart-drawer[open], .cart-drawer[open]::backdrop { transition-duration: var(--dur-drawer-in); transition-timing-function: var(--ease-drawer); }
.cart-drawer:not([open])::backdrop { opacity: 0; }
@starting-style { .cart-drawer[open]::backdrop { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .cart-drawer:not([open]) { transform: translateX(100%); }
  @starting-style { .cart-drawer[open] { transform: translateX(100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer:not([open]) { opacity: 0; }
  @starting-style { .cart-drawer[open] { opacity: 0; } }
}
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); border-bottom: 1px solid var(--border-subtle); }
.cart-drawer__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--grey-control); border-radius: var(--radius-pill); background: var(--white); color: var(--ink-900);
}
.icon-button { transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.icon-button:hover { background: var(--off-white); border-color: var(--ink-900); }
.cart-drawer__body { flex: 1; overflow: auto; padding: 8px var(--gutter); }
.cart-drawer__empty { margin-top: 32px; color: var(--text-secondary); }
.cart-line { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border-subtle); }
.cart-line__name { font-size: 16px; font-weight: 700; }
.cart-line__meta { margin-top: 4px; font-size: 14px; color: var(--text-muted); }
.cart-line__price { font-size: 16px; font-weight: 800; white-space: nowrap; }
.cart-drawer__foot { padding: 20px var(--gutter) 24px; border-top: 1px solid var(--border-subtle); }
.cart-total { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-secondary); margin-bottom: 8px; }
.cart-total strong { color: var(--ink-900); }
.cart-drawer__status { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-900); }

/* ---------- Hero ---------- */
.hero { padding-top: 32px; }
@media (min-width: 768px) { .hero { padding-top: 64px; } }
@media (min-width: 1200px) { .hero { padding-top: 88px; } }
.hero__caption { margin-top: 14px; padding-left: 4px; }
.page-top { padding-top: 24px; }
@media (min-width: 768px) { .page-top { padding-top: 32px; } }
.page-hero { padding-top: 48px; }
@media (min-width: 768px) { .page-hero { padding-top: 80px; } }

/* ---------- Media frames & placeholders ---------- */
.media {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-media);
  background: var(--paper); aspect-ratio: var(--ratio, 16 / 10);
}
.media--shadow { box-shadow: var(--shadow-media); }
.media--card { border-radius: var(--radius-card); }
.media > picture { display: block; width: 100%; height: 100%; }
.media > img, .media > picture > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-hover) var(--ease-out); }
.ratio-4x5 { --ratio: 4 / 5; }
.ratio-16x9 { --ratio: 16 / 9; }
.ratio-3x2 { --ratio: 3 / 2; }
/* Grey stand-in until the real still lands. See media-plan.html for the brief. */
.placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: repeating-linear-gradient(135deg, var(--paper) 0 14px, var(--grey-100) 14px 28px);
  color: var(--grey-600); font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1.4;
}
.on-dark .placeholder { background: repeating-linear-gradient(135deg, var(--ink-700) 0 14px, var(--ink-600) 14px 28px); color: var(--text-inverse-secondary); }

/* ---------- Lists with icons ---------- */
.benefits { display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); list-style: none; padding: 0; margin: 0; }
.benefits--stack { grid-template-columns: 1fr; gap: 12px; }
.benefit { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.benefit .icon { width: 24px; height: 24px; }

.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checks .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--purple); }
.on-dark .checks .icon { color: var(--blue); }
.checks--lg li { font-size: 16px; gap: 12px; }
.checks--ruled { display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.checks--ruled li { padding: 14px 0; border-top: 1px solid var(--border-subtle); }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 28px; background: var(--white); }
@media (min-width: 768px) { .card--roomy { padding: 40px; } }
.card--dark { background: var(--ink-700); border-color: var(--border-inverse); color: var(--text-inverse); }
.card--featured { border: 2px solid var(--purple); }
.rule-top { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border-subtle); }
.on-dark .rule-top { border-color: var(--border-inverse); }

.step-num {
  font-size: 15px; font-weight: 800; letter-spacing: .1em;
  background-image: var(--gradient-brand-light); -webkit-background-clip: text; background-clip: text;
  color: var(--purple-dim); -webkit-text-fill-color: transparent;
}

/* Stats */
.stats { padding-block: 40px; border-block: 1px solid var(--border-subtle); --min: 240px; --gap: 32px 40px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat dd { margin: 0; }
.stat__value { order: -1; font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.stat__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.stat__note { font-size: 13px; line-height: 1.45; color: var(--text-muted); }

/* Proof Pack banner */
.proof {
  margin-top: 48px; padding: 36px 24px; border-radius: var(--radius-modal);
  background: var(--ink-900); color: var(--text-inverse);
  --min: 340px; --gap: 40px 72px;
}
@media (min-width: 768px) { .proof { padding: 56px 48px; } }
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--border-inverse); border-radius: var(--radius-card); background: var(--ink-700); font-size: 15px; line-height: 1.55;
}
.callout .icon { color: var(--purple); margin-top: 1px; }

/* Plan cards */
.plan { display: flex; flex-direction: column; padding: 28px; }
@media (min-width: 768px) { .plan { padding: 32px; } }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.plan__name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan__nick { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--accent-text); }
.plan__price { margin-top: 22px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan__price small { font-size: 20px; letter-spacing: -.01em; }
.plan__note { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.plan__outcome { margin-top: 24px; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.plan__desc { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.plan__features { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--border-subtle); }
.plan__inherits { font-size: 14px; font-weight: 800; margin-bottom: 11px; }
.plan__value { margin: auto 0 16px; padding-top: 18px; border-top: 1px solid var(--border-subtle); font-size: 14px; color: var(--text-secondary); }
.plan__value strong { color: var(--ink-900); }
.plan__alt { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.res-switch { border: 0; padding: 0; margin: 0; min-width: 0; width: 100%; max-width: 280px; }
.res-switch legend { padding: 0; margin-bottom: 10px; }
.res-switch[hidden] { display: none; }

/* How it works: four-step process cards with drawn illustrations */
.process, .process[role="list"] { list-style: none; margin-bottom: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .process, .process[role="list"] { grid-template-columns: repeat(2, 1fr); } }
.process__card {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px;
  border: 1px solid var(--border-subtle); border-radius: 24px; background: var(--white); box-shadow: 0 20px 50px rgba(17,19,24,.06);
}
.process__head { display: flex; gap: 14px; align-items: flex-start; }
.process__num {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--step); color: var(--white); font-size: 17px; font-weight: 800; letter-spacing: -.01em;
}
.process__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.process__text { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.process__art { display: block; width: 100%; height: auto; margin-top: auto; }
@media (min-width: 1100px) {
  .process, .process[role="list"] { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .process__card:not(:last-child)::after {
    content: ""; position: absolute; top: 76px; right: -38px; width: 36px; height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30' fill='none' stroke='%237B4DFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 27c0-11 7-16 26-16'/%3E%3Cpath d='M24 5l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  }
}

/* Strip under the plan cards: guarantee and offer-code tracking */
.plan-strip, .plan-strip[role="list"] { list-style: none; margin: 0; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 12px 40px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card); background: var(--off-white); font-size: 15px; line-height: 1.5; }
.plan-strip li { display: flex; gap: 10px; align-items: flex-start; flex: 1 1 320px; }
.plan-strip .icon { flex: none; margin-top: 2px; color: var(--accent-text); }

/* Website showcase */
.ratio-16x10 { --ratio: 16 / 10; }
.showcase { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.showcase > .media { border-radius: 0; border-bottom: 1px solid var(--border-subtle); }
.showcase__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
@media (min-width: 768px) { .showcase__body { padding: 28px 32px 32px; } }
.showcase__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.showcase__name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.showcase .btn { margin-top: auto; align-self: flex-start; }

/* Websites page: included standards and laws */
.standard { padding: 28px; }
.standard__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.standard__title .icon { color: var(--accent-text); }
.standard__list { margin: 18px 0 0; display: grid; gap: 14px; }
.standard__list dt { font-size: 15px; font-weight: 700; }
.standard__list dd { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.laws { margin: 0; border-top: 1px solid var(--border-subtle); }
.laws__row { display: grid; gap: 4px 40px; padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
@media (min-width: 768px) { .laws__row { grid-template-columns: minmax(220px, 1fr) 2fr; } }
.laws dt { font-weight: 800; font-size: 16px; }
.laws dd { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: var(--measure); }
.compare td .icon { color: var(--accent-text); }

.notice {
  margin-top: 56px; padding: 18px 24px; border-radius: var(--radius-md); background: var(--accent-surface);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; line-height: 1.5;
}
.notice__lock { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.notice__lock .icon { color: var(--purple-dim); }
.pill-note {
  display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; justify-content: center;
  margin: 24px auto 0; width: fit-content; max-width: 100%;
  padding: 14px 24px; border: 1px solid var(--border-subtle); border-radius: var(--radius-card); font-size: 15px;
}
@media (min-width: 640px) { .pill-note { border-radius: var(--radius-pill); } }
.pill-note .icon { color: var(--purple); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border-subtle); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--purple); margin-top: 2px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary { transition: color var(--dur-fast) ease; }
.faq summary:hover { color: var(--accent-text); }
.faq details > p { padding: 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--text-secondary); max-width: 640px; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--border-subtle); }
.step:first-child { border-top: 0; }
.on-dark .step { border-color: var(--border-inverse); }
.step__num { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--purple-dim); min-width: 52px; }
.on-dark .step__num { color: var(--purple); }
.step__title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.step__body { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.on-dark .step__body { color: var(--text-inverse-secondary); }

/* Industry cards */
.industry {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card);
  background: linear-gradient(160deg, var(--ink-600) 0%, var(--ink-900) 100%); color: var(--white); text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) ease;
}
.industry:hover { color: var(--white); }
.industry__img, .industry__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.industry__img img { object-fit: cover; object-position: 50% 30%; transition: transform var(--dur-hover) var(--ease-out); }
/* Scrim sits over the photo so the white text keeps its contrast */
.industry::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: var(--scrim-bottom); }
.industry:has(.industry__img)::before { background-image: linear-gradient(to top, rgba(5,6,9,.92) 0%, rgba(5,6,9,.6) 32%, rgba(5,6,9,0) 62%); }
.industry__body { z-index: 2; }
.industry__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.industry__name { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.industry__sub { font-size: 14px; line-height: 1.4; color: var(--text-inverse-secondary); }
.industry .icon { width: 22px; height: 22px; margin-bottom: 6px; }
@media (max-width: 639px) { .industry { aspect-ratio: 16 / 10; } }

/* Testimonials */
.quote-card { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 28px; border: 1px solid var(--border-subtle); border-radius: var(--radius-card); background: var(--white); }
@media (min-width: 768px) { .quote-card { padding: 40px 36px; } }
.quote-card::after { content: "\201D"; position: absolute; top: 4px; right: 26px; font-size: 120px; font-weight: 800; line-height: 1; color: var(--grey-100); pointer-events: none; }
.quote-card blockquote { position: relative; font-size: 19px; line-height: 1.5; letter-spacing: -.012em; }
.stars { display: flex; gap: 4px; color: var(--purple); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--grey-200); flex: none; }
.quote-card__name { display: block; font-size: 16px; font-weight: 700; }
.quote-card__biz { display: block; font-size: 14px; color: var(--text-muted); }

/* CTA band */
.cta-band { padding: 64px 24px; border-radius: var(--radius-modal); background: var(--ink-900); color: var(--text-inverse); text-align: center; }
@media (min-width: 768px) { .cta-band { padding: 96px 48px; } }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }

/* Founder */
.founder-photo { max-width: 520px; border-radius: var(--radius-media); overflow: hidden; }
.founder-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 700; }
.field__error { font-size: 14px; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font-size: 16px; line-height: 1.4; color: var(--ink-900);
  background: var(--white); border: 1px solid var(--grey-control); border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.input::placeholder, .textarea::placeholder { color: var(--grey-500); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-900); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,77,255,.16);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.textarea { resize: vertical; line-height: 1.5; }
.select-wrap { position: relative; }
.select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--grey-600); width: 18px; height: 18px; }
.on-dark .field__label { color: var(--white); }
.on-dark .input { background: rgba(255,255,255,.06); color: var(--white); border-color: var(--border-inverse-strong); }
.on-dark .input::placeholder { color: var(--text-inverse-muted); }
.on-dark .field__error { color: #FF8A8E; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status[data-tone="ok"] { color: var(--success); }
.on-dark .form-status[data-tone="ok"] { color: #6FE3B1; }
.req { color: var(--error); }
.on-dark .req { color: #FF8A8E; }

/* Chips (filters, categories) */
.chips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--grey-control); background: var(--white); color: var(--ink-900);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.chip { transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.chip:hover { border-color: var(--ink-900); color: var(--ink-900); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.chip[aria-pressed="true"]::before { content: ""; width: 14px; height: 14px; margin-right: 6px; background: currentColor;
  -webkit-mask: url("../icons/check.svg") center / contain no-repeat; mask: url("../icons/check.svg") center / contain no-repeat; }
@media (forced-colors: active) { .chip[aria-pressed="true"], .chip[aria-current="page"] { outline: 2px solid Highlight; } }

.facets { --min: 250px; --gap: 28px 40px; border: 0; padding: 0; margin: 0; }
.facet { border: 0; padding: 0; margin: 0; min-width: 0; }
.facet legend { padding: 0; margin-bottom: 12px; }

.results-bar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 40px; padding: 16px 0; border-block: 1px solid var(--border-subtle); }
.results-bar__count { font-size: 15px; font-weight: 700; }
.results-bar .select-wrap { width: 100%; }
@media (min-width: 640px) { .results-bar .select-wrap { width: 240px; margin-left: auto; } }

/* Product cards */
.product-card { display: flex; flex-direction: column; }
.product-card[hidden] { display: none; }
.product-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-card__industry { color: var(--accent-text); }
.product-card__type { color: var(--text-muted); }
.product-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; }
.product-card__name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.product-card__price { font-size: 19px; font-weight: 800; white-space: nowrap; }
.product-card__meta { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.product-card__cta { margin-top: auto; padding-top: 14px; }
.card-link { display: block; text-decoration: none; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--ink-900); }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* ---------- Product page ---------- */
.pdp { --min: 400px; --gap: 48px 64px; }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); }
  .pdp__main { grid-column: 1; grid-row: 1; }
  .buybox-wrap { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 32px); }
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border-radius: var(--radius-md); border: 2px solid transparent; background: var(--ink-900); }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity var(--dur-fast) ease; }
.thumb:hover img, .thumb[aria-pressed="true"] img { opacity: 1; }
.thumb[aria-pressed="true"] { border-color: var(--purple); }
.thumb { transition: border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.thumb:hover { border-color: var(--grey-control); }
.thumb[aria-pressed="true"]:hover { border-color: var(--purple); }

.buybox { padding: 24px; }
@media (min-width: 768px) { .buybox { padding: 32px; } }
.buybox__price { margin-top: 26px; font-size: clamp(2.25rem, 1.9rem + 1.4vw, 2.875rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.buybox fieldset { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.buybox legend { padding: 0; margin-bottom: 10px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%; padding: 8px 10px; text-align: center;
  border: 1px solid var(--grey-control); border-radius: var(--radius-md); background: var(--white);
  font-size: 14px; font-weight: 700; line-height: 1.25;
}
.segmented span { transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.segmented input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.segmented input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.segmented label:hover span { border-color: var(--ink-900); }
@media (forced-colors: active) { .segmented input:checked + span { outline: 2px solid Highlight; } }

.addon { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-subtle); cursor: pointer; min-height: 48px; }
.addon input { width: 20px; height: 20px; margin: 0; accent-color: var(--purple-dim); flex: none; cursor: pointer; }
.addon__label { flex: 1; font-size: 15px; font-weight: 600; }
.addon__price { font-size: 15px; font-weight: 700; color: var(--text-secondary); }
/* Checkout agreement: same control as the add-on, but its label wraps */
.consent { align-items: flex-start; margin-top: 10px; padding-bottom: 4px; border-top: 0; }
.consent input { margin-top: 1px; }
.consent .addon__label { font-size: 14px; font-weight: 500; line-height: 1.45; }
.buybox__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-subtle); }
.buybox__total-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-card); }
.table-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 17px; font-weight: 800; }
.compare thead th span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--text-secondary); }
.compare tbody th { font-size: 14px; font-weight: 700; }
.compare td { color: var(--text-secondary); }
.compare .is-featured { background: var(--accent-surface); }
.table-hint { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
@media (min-width: 720px) { .table-hint { display: none; } }

/* ---------- Video spots ---------- */
.spot { display: flex; flex-direction: column; min-width: 0; }
.spot[hidden] { display: none; }
.spot__frame {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 9); overflow: hidden;
  border-radius: var(--radius-card); background: var(--ink-900); box-shadow: var(--shadow-md);
}
.spot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ink-900); }
.spot__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.spot__industry { color: var(--accent-text); }
.spot__fmt { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spot__title { margin-top: 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pair .spot__title { margin-top: 0; }
.spot__trade { margin-top: 2px; font-size: 15px; color: var(--text-secondary); }
.spot__more { margin-top: 10px; font-size: 15px; }
.spot__more summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
  font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: .18em;
}
.spot__more summary { transition: color var(--dur-fast) ease; }
.spot__more summary:hover { color: var(--ink-900); }
.spot__more-body { padding: 4px 0 8px; color: var(--text-secondary); line-height: 1.6; }
.spot__more-body p + p { margin-top: 8px; }
.spot__more-body strong { color: var(--ink-900); }
.spot__more-fmt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }
.on-dark .spot__more summary { color: var(--white); }
.on-dark .spot__more summary:hover { color: var(--grey-300); }
.on-dark .spot__more-body { color: var(--text-inverse-secondary); }
.on-dark .spot__more-body strong { color: var(--white); }
.on-dark .spot__frame { box-shadow: none; border: 1px solid var(--border-inverse); }
.pair__grid { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: 1fr; }
.pair__item { margin: 0; min-width: 0; }
.pair__item .spot__fmt { display: block; margin-top: 10px; }
.pair__item:first-child .spot__frame { max-width: 360px; }
@media (min-width: 640px) {
  .pair__grid { grid-template-columns: var(--cols); align-items: start; }
  .pair__item:first-child .spot__frame { max-width: none; }
}
.featured-spot { margin: 0; }
.featured-spot .spot__frame { border-radius: var(--radius-media); }

/* ---------- How it works rows ---------- */
.hiw-row { --min: 360px; --gap: 40px 72px; padding-block: 56px; border-top: 1px solid var(--border-subtle); }
@media (min-width: 768px) { .hiw-row { padding-block: 64px; } }
.hiw-ask { margin-top: 24px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Journal ---------- */
.post-card :is(h2, h3) { margin-top: 10px; font-size: 22px; line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
@media (min-width: 768px) { .post-card :is(h2, h3) { font-size: 24px; } }
.post-card :is(h2, h3) a { color: var(--ink-900); text-decoration: none; }
.post-card :is(h2, h3) a:hover { text-decoration: underline; }
.post-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable, one tab stop */
.post-card { position: relative; }
.post-card[hidden] { display: none; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.post-meta__cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.post-meta__date { font-size: 13px; color: var(--text-muted); }
.post-meta .badge { padding: 4px 10px; font-size: 11px; }
.post-card p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }

.prose { font-size: 18px; line-height: 1.7; }
@media (min-width: 768px) { .prose { font-size: 19px; } }
.prose p { margin-bottom: 28px; }
.prose h2 { margin: 48px 0 18px; font-size: clamp(1.625rem, 1.4rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.prose ul { margin: 0 0 28px; padding-left: 1.25em; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--purple-dim); }
.prose blockquote { margin: 40px 0; padding-left: 24px; border-left: 2px solid var(--purple); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.625rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 700; }

.newsletter { padding: 40px 24px; border-radius: var(--radius-modal); background: var(--ink-900); color: var(--text-inverse); --min: 340px; --gap: 32px 72px; }
@media (min-width: 768px) { .newsletter { padding: 64px 48px; } }
.newsletter form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.newsletter .field { flex: 1 1 220px; }

/* Media plan page */
.media-row { --min: 180px; --gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--border-subtle); }
.media-row dt { font-size: 17px; font-weight: 700; }
.media-row dd { margin: 0; }
.media-row__spec { font-size: 15px; font-weight: 600; color: var(--accent-text); }
.media-row__brief { font-size: 16px; line-height: 1.6; color: var(--text-secondary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--text-inverse); padding: 64px 0 32px; }
@media (min-width: 768px) { .site-footer { padding: 80px 0 40px; } }
.site-footer__grid { --min: 180px; --gap: 40px 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-inverse); }
.site-footer__logo img { height: 52px; width: auto; }
.site-footer h2 { margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; color: var(--white); text-decoration: none; }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; }
.socials { flex-direction: row !important; gap: 8px; }
.socials a { width: 44px; justify-content: center; border: 1px solid var(--border-inverse); border-radius: var(--radius-pill); }
.socials a:hover { border-color: var(--white); }

/* ---------- Motion ---------- */
/* Press feedback: every pressable element confirms the press. */
@media (prefers-reduced-motion: no-preference) {
  .btn:active, .chip:active, .cart-button:active, .menu-button:active,
  .icon-button:active, .thumb:active, .segmented label:active span { transform: scale(var(--press-scale)); }
  .faq summary .icon { transition: transform var(--dur-base) var(--ease-out); }
}

/* Hover movement only for a real mouse: touch would trigger it on tap and leave it stuck. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover .icon--arrow, .text-link:hover .icon--arrow { transform: translateX(3px); }
  a:hover > .media > img, .card-link:hover .media > img, .post-card:not(.post-card--soon):hover .media > img { transform: scale(1.03); }
  .industry:hover { transform: translateY(-3px); box-shadow: var(--glow-accent); }
  .industry:hover .industry__img img { transform: scale(1.03); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .industry:hover { box-shadow: var(--glow-accent); }
}

/* Disclosures and the mobile menu ease in, so content doesn't just pop. */
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] > p, .spot__more[open] > .spot__more-body { animation: fade-down var(--dur-base) var(--ease-out); }
  .js .site-nav.is-open { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
  @starting-style { .js .site-nav.is-open { opacity: 0; transform: translateY(-6px); } }
}
@media (prefers-reduced-motion: reduce) {
  .faq details[open] > p, .spot__more[open] > .spot__more-body { animation: fade-in var(--dur-base) ease; }
}

/* Scroll reveal, with groups of cards staggered 60ms apart (capped so nothing waits long).
   Only with JS, so content is never hidden if the script fails. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal, .js [data-stagger] > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
    transition-delay: calc(min(var(--i, 0), 6) * var(--stagger));
  }
  .js .reveal.is-visible, .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-stagger] > * { opacity: 0; transition: opacity var(--dur-reveal) ease; }
  .js .reveal.is-visible, .js [data-stagger].is-visible > * { opacity: 1; }
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; } .mb-40 { margin-bottom: 40px; } .mt-56 { margin-top: 56px; } .mt-72 { margin-top: 72px; } .mt-96 { margin-top: 96px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mw-460 { max-width: 460px; } .mw-520 { max-width: 520px; } .mw-560 { max-width: 560px; } .mw-640 { max-width: 640px; }
.mw-720 { max-width: 720px; } .mw-780 { max-width: 780px; } .mw-880 { max-width: 880px; } .mw-900 { max-width: 900px; } .mw-1000 { max-width: 1000px; }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; }
.color-purple { color: var(--purple); }
