/* ==========================================================================
   FRANKLYN_NEZ FITNESS — design system
   Dark athletic performance. Near-black navy, bone type, subdued olive accent.
   ========================================================================== */

:root {
  /* dark is the default theme */
  --bg: #0a0d12;
  --bg-deep: #070a0e;
  --surface: #11151c;
  --surface-2: #161c25;
  --line: #232b36;
  --line-strong: #333d4b;
  --text: #f1efe6;
  --text-muted: #97a0ac;
  --text-faint: #6c7583;
  --accent: #9caa5e;
  --accent-soft: #c3ce9b;
  --accent-ink: #0a0d12;
  --danger: #d98a7c;

  --font-display: 'Saira', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Switzer', 'Inter', system-ui, -apple-system, sans-serif;

  --wide: 1240px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);

  --step-1: 0.78rem;
  --step-0: 0.95rem;
  --step-1u: 1.05rem;
  --step-2: clamp(1.5rem, 2.4vw, 2rem);
  --step-3: clamp(2rem, 4.2vw, 3.1rem);
  --step-4: clamp(2.9rem, 8.4vw, 6.2rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
}

html[data-theme='light'] {
  --bg: #f2f0e7;
  --bg-deep: #e8e5d9;
  --surface: #fbfaf5;
  --surface-2: #f4f2e9;
  --line: #dcd8ca;
  --line-strong: #bdb8a6;
  --text: #12161c;
  --text-muted: #56606d;
  --text-faint: #7d8794;
  --accent: #56642a;
  --accent-soft: #46521f;
  --accent-ink: #f7f6f0;
  --danger: #93331f;
  --shadow: 0 22px 50px -30px rgba(20, 24, 18, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* ------------------------------------------------------------ policy page */
.policy-page {
  min-height: 100vh;
}

.policy-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.policy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.policy-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 26rem),
    var(--bg-deep);
}

.policy-hero h1 {
  font-size: var(--step-4);
  max-width: 12ch;
}

.policy-hero .lede {
  margin: 1.6rem 0 0;
}

.policy-updated {
  margin: 1.5rem 0 0;
  color: var(--text-faint);
  font-size: var(--step-1);
}

.policy-content {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 2fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.policy-nav {
  align-self: start;
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: var(--step-1);
}

.policy-nav a:hover {
  color: var(--accent-soft);
}

.policy-copy {
  max-width: 70ch;
}

.policy-copy section {
  padding: 0 0 2.8rem;
  margin: 0 0 2.8rem;
  border-bottom: 1px solid var(--line);
}

.policy-copy section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 750;
  font-size: var(--step-2);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.policy-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.policy-copy p:last-child {
  margin-bottom: 0;
}

.policy-footer {
  border-top: 1px solid var(--line);
}

section[id],
main [id] {
  scroll-margin-top: 92px;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.legal-link {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-link:hover {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.2rem;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ------------------------------------------------------------- primitives */
.wrap {
  width: min(100% - calc(var(--gut) * 2), var(--wide));
  margin-inline: auto;
}

.display {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118, 'wght' 800;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
}

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2 {
  font-size: var(--step-3);
}

.section-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  --btn-line: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  border-radius: 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-line: var(--line-strong);
}
.btn--ghost:hover {
  --btn-line: var(--accent);
  --btn-fg: var(--accent);
}

.btn--quiet {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  --btn-line: var(--line);
}
.btn--quiet:hover {
  --btn-line: var(--accent);
}

.btn--full {
  width: 100%;
}

.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.checkout-consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.18rem 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.checkout-consent a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ------------------------------------------------------------- announcement */
.announce {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108, 'wght' 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  overflow: hidden;
}

.announce__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: slide 34s linear infinite;
}

.announce__track span::after {
  content: '·';
  margin-left: 2.5rem;
  opacity: 0.55;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent);
}

.brand__type {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116, 'wght' 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__type .u {
  color: var(--accent);
}

.brand__type .light {
  font-variation-settings: 'wdth' 108, 'wght' 500;
  color: var(--text-muted);
  margin-left: 0.35rem;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108, 'wght' 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 40px;
  min-width: 40px;
  padding: 0 0.7rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.bag-count {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108, 'wght' 700;
  font-size: 0.72rem;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}

.bag-count[data-empty='true'] {
  background: var(--surface-2);
  color: var(--text-faint);
}

.menu-btn {
  display: none;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 112;
  background: var(--bg);
  padding: 1.25rem var(--gut) 2rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-menu[data-open='true'] {
  display: flex;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  margin-bottom: 1.5rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 120, 'wght' 800;
  font-size: 2rem;
  text-transform: uppercase;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      110% 80% at 78% 12%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 62%
    ),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 60%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--step-4);
  margin-bottom: 1.4rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.25rem;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}

.hero__figure {
  position: relative;
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 32%;
  filter: contrast(1.04) saturate(0.88);
}

.hero__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  left: -1px;
  bottom: 1.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 110, 'wght' 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

.hero__rule {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.hero__rule div {
  min-width: 108px;
}

.hero__rule dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}

.hero__rule dd {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116, 'wght' 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- proof */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof__stat {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2.4vw, 2rem);
}

.proof__stat strong {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 120, 'wght' 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--text);
}

.proof__stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.proof__media {
  position: relative;
  min-height: 220px;
}

.proof__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.proof__quote {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(90deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.25));
  color: #f1efe6;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 34ch;
}

/* ------------------------------------------------------------- product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: background 0.2s var(--ease);
}

.card:hover {
  background: var(--surface-2);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.card__media svg,
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 110, 'wght' 800;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  z-index: 2;
}

.card__badge--quiet {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--line);
}

.card__body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.card__title {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116, 'wght' 700;
  font-size: 1.12rem;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.card__price {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 1.02rem;
  white-space: nowrap;
}

.card__price--free {
  color: var(--accent);
}

.card__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-row li {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  padding: 0.28rem 0.55rem;
}

.card__actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.card__actions .btn {
  flex: 1 1 auto;
  padding: 0.8rem 1rem;
  font-size: 0.76rem;
}

.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  flex: 1 1 auto;
}

.qty button {
  width: 40px;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text);
}

.qty button:hover {
  color: var(--accent);
}

.qty span {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 0.85rem;
  min-width: 44px;
}

/* featured product block */
.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured__media {
  position: relative;
  border-right: 1px solid var(--line);
  background: var(--bg-deep);
  min-height: 320px;
}

.featured__media svg {
  width: 100%;
  height: 100%;
  display: block;
}

.featured__body {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.featured__body h3 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 120, 'wght' 800;
  font-size: var(--step-2);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.featured__price {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 114, 'wght' 700;
  font-size: 1.5rem;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.spec-list li {
  display: flex;
  gap: 0.7rem;
}

.spec-list li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.72em;
  flex: none;
}

/* ------------------------------------------------------------- about */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__media {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media img:first-child {
  aspect-ratio: 4 / 5;
}

.about__media img:last-child {
  aspect-ratio: 3 / 5;
  object-position: 50% 35%;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}

.pillars div {
  background: var(--surface);
  padding: 1.15rem 1.25rem;
}

.pillars h3 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.pillars p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------- FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 0;
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 600;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  margin: 0 0 1.2rem;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------- footer */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer h3 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--text-faint);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer ul a:hover {
  color: var(--accent);
}

.capture {
  display: flex;
  gap: 0;
  margin-top: 0.75rem;
  max-width: 400px;
}

.capture input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: 0;
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
}

.capture input::placeholder {
  color: var(--text-faint);
}

.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
  font-size: 0.76rem;
  color: var(--text-faint);
  line-height: 1.6;
}

.footer__legal strong {
  color: var(--text-muted);
  font-weight: 600;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}

/* ------------------------------------------------------------- overlays */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 9, 0.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}

.scrim[data-open='true'] {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  width: min(420px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  box-shadow: var(--shadow);
}

.drawer[data-open='true'] {
  transform: translateX(0);
}

.drawer__head,
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head h2,
.modal__head h2 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 116, 'wght' 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.drawer__foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.line-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.line-item__thumb {
  width: 56px;
  height: 56px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.line-item__thumb svg {
  width: 100%;
  height: 100%;
}

.line-item h4 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 700;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.line-item small {
  color: var(--text-faint);
  font-size: 0.74rem;
  display: block;
  margin-bottom: 0.5rem;
}

.line-item .qty {
  transform: scale(0.86);
  transform-origin: left center;
}

.line-item__price {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 110, 'wght' 700;
  font-size: 0.9rem;
  text-align: right;
}

.remove-btn {
  background: none;
  border: 0;
  padding: 0.3rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-btn:hover {
  color: var(--danger);
}

.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 114, 'wght' 700;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-faint);
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.empty-state svg {
  width: 40px;
  height: 40px;
  color: var(--line-strong);
}

.note {
  font-size: 0.76rem;
  color: var(--text-faint);
  line-height: 1.5;
  margin: 0;
}

/* modal */
.modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.modal[data-open='true'] {
  opacity: 1;
  pointer-events: auto;
}

.modal__panel {
  width: min(520px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.26s var(--ease);
}

.modal[data-open='true'] .modal__panel {
  transform: none;
}

.modal__body {
  padding: 1.5rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field input {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
}

.field input::placeholder {
  color: var(--text-faint);
}

.field input[aria-invalid='true'] {
  border-color: var(--danger);
}

.field-error {
  font-size: 0.75rem;
  color: var(--danger);
  min-height: 1em;
}

.success {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.success__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.success h3 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118, 'wght' 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 0;
}

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line-strong);
  padding: 0.8rem 0.95rem;
  font-size: 0.85rem;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.download-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.download-list span {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108, 'wght' 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, calc(100% + 2.5rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 130;
  background: var(--text);
  color: var(--bg);
  padding: 0.8rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  max-width: calc(100% - 2rem);
}

.toast[data-open='true'] {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero__grid,
  .about__grid,
  .featured,
  .proof__grid {
    grid-template-columns: 1fr;
  }

  .featured__media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 260px;
  }

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

  .hero__figure img {
    aspect-ratio: 4 / 3;
    object-position: 50% 26%;
  }

  .proof__media {
    min-height: 200px;
    order: -1;
  }
}

@media (max-width: 780px) {
  .policy-header__inner {
    min-height: 72px;
  }

  .policy-header .brand__type {
    font-size: 0.84rem;
  }

  .policy-header .btn {
    padding: 0.7rem 0.85rem;
    font-size: 0.68rem;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
  }

  .nav,
  .header__actions .theme-label {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

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

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

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

}

@media (max-width: 420px) {
  .brand__type .light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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