/* =========================================================
   thehp — landing page
   1. Tokens
   2. Base
   3. Layout primitives
   4. Buttons
   5. Header + navigation
   6. Hero
   7. What we do
   8. Products
   9. Testimonials
   10. About
   11. Contact
   12. CTA
   13. Legal pages
   13b. Product pages
   14. Footer
   15. Utilities, motion, responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens
   --------------------------------------------------------- */
:root {
  --brand: #0E5F58;
  --brand-deep: #093F3A;
  --brand-bright: #17948A;
  --brand-mint: #8FD9CF;

  --bg: #FBFAF8;
  --bg-alt: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --ink: #0C1413;
  --ink-soft: #38504D;
  --muted: #5F736F;
  --line: rgba(12, 20, 19, 0.12);
  --line-soft: rgba(12, 20, 19, 0.07);

  --slab-from: #0C4F49;
  --slab-to: #072F2B;
  --on-slab: #F2FAF8;
  --on-slab-muted: rgba(242, 250, 248, 0.68);

  --shadow-sm: 0 1px 2px rgba(9, 40, 37, 0.05);
  --shadow-md: 0 14px 34px -18px rgba(9, 40, 37, 0.32);
  --shadow-lg: 0 40px 80px -40px rgba(9, 40, 37, 0.42);

  --radius-slab: 34px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --slab-gap: clamp(10px, 1.4vw, 18px);
  --header-h: 74px;

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.42s;
}

[data-theme="dark"] {
  --bg: #060B0B;
  --bg-alt: #0B1413;
  --surface: #0E1918;
  --surface-2: #122120;
  --ink: #EAF3F1;
  --ink-soft: #B7CBC7;
  --muted: #8DA5A0;
  --line: rgba(234, 243, 241, 0.14);
  --line-soft: rgba(234, 243, 241, 0.08);

  --slab-from: #0B443F;
  --slab-to: #04201E;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 14px 34px -18px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

/* ---------------------------------------------------------
   2. Base
   --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transition: width 0.1s linear;
}

/* ---------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(86px, 11vw, 148px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.slab {
  position: relative;
  overflow: hidden;
  margin: var(--slab-gap);
  border-radius: var(--radius-slab);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(23, 148, 138, 0.42), transparent 58%),
    linear-gradient(158deg, var(--slab-from), var(--slab-to));
  color: var(--on-slab);
  isolation: isolate;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding-inline: 7px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}
.section-title em { color: var(--brand); }
[data-theme="dark"] .section-title em { color: var(--brand-mint); }

.section-intro,
.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
}
.section-intro { margin-top: 22px; max-width: 58ch; }

.section-split-body p { color: var(--muted); }
.section-split-body p + p { margin-top: 18px; }
.section-split-body .lead { color: var(--ink); font-weight: 500; }
.brand-name {
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand);
}
[data-theme="dark"] .brand-name { color: var(--brand-mint); }

/* ---------------------------------------------------------
   4. Buttons
   --------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  white-space: nowrap;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background-color 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.slab .btn-primary {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.slab .btn-primary:hover { box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.6); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-slab);
  --btn-bd: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-bd: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}
.btn-outline:hover {
  --btn-bg: var(--surface);
  --btn-bd: color-mix(in srgb, var(--accent, var(--brand)) 45%, var(--line));
  box-shadow: var(--shadow-sm);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: inherit;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.icon-btn:hover { background: var(--nav-hover, rgba(255, 255, 255, 0.12)); }

/* ---------------------------------------------------------
   5. Header + navigation
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: calc(var(--slab-gap) + 12px) var(--slab-gap) auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  color: var(--on-slab);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
              transform 0.35s var(--ease);
}

/* Purely decorative hairline. It overlays the whole header, so it must never
   take pointer events or it swallows clicks on the nav and menu button. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

body.is-scrolled .site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
body.is-scrolled .site-header::before {
  border-color: var(--line-soft);
  opacity: 1;
}
body.is-scrolled { --nav-hover: color-mix(in srgb, var(--ink) 8%, transparent); }

body.is-hidden-header .site-header { transform: translateY(calc(-100% - var(--slab-gap) - 16px)); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  flex: none;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s var(--ease);
}
.brand-mark .logo-on-light,
.brand-mark .logo-on-dark { position: absolute; inset: 0; }

/* Over the hero slab (or in dark theme) the light mark is used. */
.logo-on-light { opacity: 0; }
.logo-on-dark { opacity: 1; }
body.is-scrolled .logo-on-light { opacity: 1; }
body.is-scrolled .logo-on-dark { opacity: 0; }
[data-theme="dark"] body.is-scrolled .logo-on-light { opacity: 0; }
[data-theme="dark"] body.is-scrolled .logo-on-dark { opacity: 1; }

.brand-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
}
.nav > a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav > a:hover { opacity: 1; background: var(--nav-hover, rgba(255, 255, 255, 0.12)); }
.nav > a[aria-current="true"] { opacity: 1; }
.nav > a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.nav-cta {
  margin-left: 10px;
  padding: 10px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 1 !important;
  font-weight: 600;
}
body.is-scrolled .nav-cta {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}
body.is-scrolled .nav-cta:hover { background: var(--brand-deep); }
[data-theme="dark"] body.is-scrolled .nav-cta:hover { background: var(--brand-bright); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle svg {
  position: absolute;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle { position: relative; }
.icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.icon-sun { opacity: 0; transform: rotate(-70deg) scale(0.5); }
[data-theme="dark"] .icon-moon { opacity: 0; transform: rotate(70deg) scale(0.5); }
[data-theme="dark"] .icon-sun { opacity: 1; transform: rotate(0) scale(1); }

.menu-btn { display: none; }
.menu-bars {
  display: grid;
  gap: 5px;
  width: 19px;
}
.menu-bars i {
  display: block;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease);
}
body.is-menu-open .menu-bars i:first-child { transform: translateY(3.4px) rotate(45deg); }
body.is-menu-open .menu-bars i:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  padding: var(--header-h) var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}
.mobile-menu[hidden] { display: grid; }
body.is-menu-open .mobile-menu { opacity: 1; visibility: visible; }

.mobile-menu-inner {
  display: grid;
  gap: 6px;
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
}
.mobile-menu-inner > a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.25s var(--ease);
}
.mobile-menu-inner > a:hover { color: var(--brand); }
.mobile-menu-inner > a span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}
body.is-menu-open .mobile-menu-inner > a {
  transform: translateY(0);
  opacity: 1;
}
body.is-menu-open .mobile-menu-inner > a:nth-child(1) { transition-delay: 0.06s; }
body.is-menu-open .mobile-menu-inner > a:nth-child(2) { transition-delay: 0.12s; }
body.is-menu-open .mobile-menu-inner > a:nth-child(3) { transition-delay: 0.18s; }
body.is-menu-open .mobile-menu-inner > a:nth-child(4) { transition-delay: 0.24s; }

.mobile-menu-cta {
  justify-content: center;
  margin-top: 26px;
  border-bottom: 0 !important;
  font-size: 16px !important;
  letter-spacing: -0.008em !important;
  color: #fff !important;
}

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(920px, calc(100svh - var(--slab-gap) * 2));
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
  padding-bottom: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(115% 90% at 50% 0%, #000 20%, transparent 78%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-orb-a {
  width: 46vw;
  height: 46vw;
  top: -16vw;
  right: -8vw;
  background: radial-gradient(circle, #22C0AF, transparent 68%);
  animation: float-a 18s ease-in-out infinite;
}
.hero-orb-b {
  width: 38vw;
  height: 38vw;
  bottom: -14vw;
  left: -10vw;
  background: radial-gradient(circle, #0E8F84, transparent 68%);
  animation: float-b 22s ease-in-out infinite;
}
.hero-orb-c {
  width: 44vw;
  height: 44vw;
  top: -18vw;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #1FB4A5, transparent 66%);
  opacity: 0.42;
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}
@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, -5%, 0) scale(1.1); }
}

.hero-pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 217, 207, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  will-change: transform;
}
.hero:hover .hero-pointer { opacity: 1; }

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(56px, 7vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 17px 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.92);
}
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.4); opacity: 0; }
}

.hero-title {
  max-width: 17ch;
  margin-top: clamp(26px, 3.4vw, 40px);
  font-size: clamp(2.65rem, 7.2vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}
.hero-title em {
  color: var(--brand-mint);
  letter-spacing: -0.015em;
}

.hero-sub {
  max-width: 54ch;
  margin-top: clamp(22px, 2.6vw, 30px);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  line-height: 1.62;
  color: var(--on-slab-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 3.6vw, 44px);
}

.hero-marquee {
  --marquee-gap: clamp(28px, 4vw, 72px);
  position: relative;
  width: 100%;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
}
/* The script repeats the list until each half of the track overflows the
   viewport, so the -50% shift always lands on identical content. */
.marquee-track.is-looping {
  animation: marquee var(--marquee-duration, 36s) linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  flex: none;
  align-items: center;
}
.marquee-list li {
  display: flex;
  flex: none;
  align-items: center;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(242, 250, 248, 0.5);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.marquee-list li:hover { color: var(--on-slab); }
.marquee-list li::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline: var(--marquee-gap);
  border-radius: 50%;
  background: var(--brand-mint);
  opacity: 0.45;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------------------------------------------------------
   7. What we do
   --------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(52px, 6.5vw, 88px);
}

.pillar {
  position: relative;
  padding: clamp(26px, 2.8vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: var(--shadow-lg);
}
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; }

.pillar-index {
  position: absolute;
  top: clamp(22px, 2.4vw, 30px);
  right: clamp(24px, 2.6vw, 34px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  opacity: 0.6;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  color: var(--brand);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
[data-theme="dark"] .pillar-icon { color: var(--brand-mint); background: color-mix(in srgb, var(--brand-mint) 12%, transparent); }
.pillar:hover .pillar-icon { transform: translateY(-2px) rotate(-4deg); }
.pillar-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
}
.pillar p {
  color: var(--muted);
  font-size: 15.6px;
  line-height: 1.62;
}

/* ---------------------------------------------------------
   8. Products
   --------------------------------------------------------- */
.section-products {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

.product-proof {
  margin: 28px 0 0;
}
.product-proof ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  padding: 0;
  list-style: none;
}
.product-proof li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.product-proof li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}
.product-proof strong {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.product-proof span {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--muted);
}
.product-proof-source {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.72;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 80% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow: var(--shadow-lg);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover::after { opacity: 1; }
.product-card > * { position: relative; z-index: 1; }

.product-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
[data-theme="dark"] .product-icon { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.product-card:hover .product-icon { transform: translateY(-2px) scale(1.05); }
.product-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.product-tagline {
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.012em;
}
[data-theme="dark"] .product-tagline { color: color-mix(in srgb, var(--accent) 72%, #ffffff); }

.product-copy {
  margin-top: 14px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15.4px;
  line-height: 1.62;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.product-link span {
  display: inline-block;
  transition: transform 0.32s var(--ease);
}
.product-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.product-card:hover .product-link { color: var(--accent); }
.product-card:hover .product-link span { transform: translateX(5px); }
[data-theme="dark"] .product-card:hover .product-link { color: color-mix(in srgb, var(--accent) 70%, #ffffff); }

/* ---------------------------------------------------------
   9. Testimonials
   --------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: var(--shadow-lg);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-card > * { position: relative; z-index: 1; }

.testimonial-stars {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.14em;
  line-height: 1;
}
[data-theme="dark"] .testimonial-stars { color: var(--brand-mint); }

.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p {
  color: var(--ink-soft);
  font-size: 15.6px;
  line-height: 1.62;
}
.testimonial-card blockquote p + p { margin-top: 12px; }

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
[data-theme="dark"] .testimonial-avatar {
  background: color-mix(in srgb, var(--brand-mint) 14%, transparent);
  color: var(--brand-mint);
}
.testimonial-meta strong {
  display: block;
  font-size: 14.8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.testimonial-meta span span {
  display: block;
  margin-top: 2px;
  font-size: 12.8px;
  color: var(--muted);
}

/* ---------------------------------------------------------
   10. About
   --------------------------------------------------------- */
.section-about {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

.about-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  letter-spacing: -0.015em;
  color: var(--brand);
}
.about-tagline::before {
  content: "";
  width: clamp(26px, 3.4vw, 48px);
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
[data-theme="dark"] .about-tagline { color: var(--brand-mint); }

.pull-quote {
  margin-top: 34px;
  padding-left: 24px;
  border-left: 2px solid var(--brand);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink) !important;
}
[data-theme="dark"] .pull-quote { border-left-color: var(--brand-mint); }

/* ---------------------------------------------------------
   11. Contact
   --------------------------------------------------------- */
.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.field {
  display: grid;
  gap: 8px;
}
.field span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  letter-spacing: -0.011em;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.5;
}
.field input:hover,
.field textarea:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.contact-form .btn { justify-self: start; }
.contact-form .btn.is-busy {
  pointer-events: none;
  opacity: 0.72;
  transform: none;
}
.contact-form .btn.is-busy .btn-arrow { display: none; }

.contact-feedback {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}
.contact-feedback.is-success {
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  color: var(--brand-deep);
}
[data-theme="dark"] .contact-feedback.is-success { color: var(--brand-mint); }
.contact-feedback.is-error {
  background: color-mix(in srgb, #C2593A 10%, var(--surface));
  border-color: color-mix(in srgb, #C2593A 28%, var(--line));
  color: #8F3A26;
}
[data-theme="dark"] .contact-feedback.is-error { color: #E8A090; }

.turnstile-shell {
  position: relative;
  width: 100%;
  min-height: 65px;
  line-height: 0;
}
.turnstile-shell:not(.is-ready)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--line) 22%, var(--surface)) 0%,
    color-mix(in srgb, var(--brand) 8%, var(--surface)) 50%,
    color-mix(in srgb, var(--line) 22%, var(--surface)) 100%
  );
  background-size: 180% 100%;
  animation: turnstile-shimmer 1.4s var(--ease) infinite;
}
.turnstile-shell.is-unconfigured {
  display: grid;
  place-items: center;
  min-height: 65px;
  line-height: 1.45;
}
.turnstile-fallback {
  display: none;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.turnstile-shell.is-unconfigured .turnstile-fallback { display: block; }
.turnstile-shell.is-unconfigured .turnstile-widget { display: none; }
.turnstile-widget,
.turnstile-widget > div {
  width: 100% !important;
}
.turnstile-widget iframe { display: block; }
.contact-note {
  margin: 0;
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

@keyframes turnstile-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

/* ---------------------------------------------------------
   12. CTA
   --------------------------------------------------------- */
.cta {
  margin-top: clamp(20px, 3vw, 40px);
  padding-block: clamp(80px, 10vw, 130px);
  text-align: center;
}
.cta-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title {
  max-width: 18ch;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
}
.cta-title em { color: var(--brand-mint); }
.cta-text {
  max-width: 50ch;
  margin-top: 22px;
  margin-bottom: 38px;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--on-slab-muted);
}

/* ---------------------------------------------------------
   13. Legal pages
   --------------------------------------------------------- */
.page-hero {
  min-height: 0;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(44px, 6vw, 72px);
}
.page-hero .hero-inner {
  flex: none;
  justify-content: flex-end;
  padding-bottom: 0;
}
.page-hero .hero-title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
}
.page-hero .hero-sub { margin-top: 18px; }

.legal {
  padding-block: clamp(56px, 7vw, 100px);
}

.legal-doc {
  max-width: 720px;
}
.legal-doc section + section { margin-top: clamp(36px, 4.4vw, 52px); }
.legal-doc h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.03em;
}
.legal-doc p,
.legal-doc li {
  color: var(--muted);
}
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul {
  list-style: disc;
  margin-top: 14px;
  padding-left: 1.3em;
}
.legal-doc li + li { margin-top: 8px; }
.legal-doc a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-doc a:hover { color: var(--brand-deep); }
[data-theme="dark"] .legal-doc a { color: var(--brand-mint); }
[data-theme="dark"] .legal-doc a:hover { color: #fff; }

/* ---------------------------------------------------------
   13b. Product pages
   --------------------------------------------------------- */
.product-page { --accent: var(--brand); }

.product-hero .hero-title { max-width: 18ch; margin-top: 0; }
.product-hero .hero-sub { max-width: 54ch; }
.product-hero .hero-actions { margin-top: clamp(28px, 3.4vw, 40px); }

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 40px);
}
.product-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13.4px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(242, 250, 248, 0.92);
}
.product-fact strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05em;
}

.product-overview { align-items: center; }
.product-overview .lead { margin-top: 22px; }

.shot-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.shot-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.shot-chrome i:nth-child(1) { background: #E06C75; }
.shot-chrome i:nth-child(2) { background: #E5C07B; }
.shot-chrome i:nth-child(3) { background: #98C379; }
.shot-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-alt);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.feature-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::after { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
[data-theme="dark"] .feature-icon {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 15.2px;
  line-height: 1.58;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  list-style: none;
}
.step {
  display: block;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  margin-bottom: 18px;
  padding-inline: 8px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}
.step p {
  color: var(--muted);
  font-size: 15.3px;
}

.edition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.edition-vs {
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.edition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.edition-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.edition-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow: var(--shadow-md);
}
.edition-card:hover::after { opacity: 1; }
.edition-card > * { position: relative; z-index: 1; }
.edition-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
[data-theme="dark"] .edition-icon {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}
.edition-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.edition-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}
.edition-card p {
  color: var(--muted);
  font-size: 15.4px;
}
.edition-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
  color: var(--ink-soft);
  font-size: 15.2px;
}
.edition-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.edition-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.edition-card .btn { margin-top: auto; align-self: flex-start; }

@property --edition-blur {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.edition-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  visibility: hidden;
  pointer-events: none;
}
.edition-modal.is-visible {
  visibility: visible;
  pointer-events: auto;
}
.edition-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 11, 0);
  --edition-blur: 0px;
  -webkit-backdrop-filter: blur(var(--edition-blur));
  backdrop-filter: blur(var(--edition-blur));
  transition: background-color 0.45s var(--ease), --edition-blur 0.45s var(--ease);
}
.edition-modal.is-open .edition-modal-backdrop {
  background: rgba(6, 11, 11, 0.5);
  --edition-blur: 14px;
}
.edition-modal-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.edition-modal.is-open .edition-modal-dialog {
  opacity: 1;
  transform: none;
}
.edition-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--muted);
}
.edition-modal-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.edition-modal-close:hover {
  background: var(--bg-alt);
  border-color: var(--line);
  color: var(--ink);
}
.edition-modal-kicker {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.edition-modal-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}
.edition-modal-dialog > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15.4px;
}
.edition-modal-choices {
  display: grid;
  gap: 12px;
}
.edition-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.edition-choice:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow-sm);
}
.edition-choice .edition-icon { margin-bottom: 0; }
.edition-choice-copy { min-width: 0; }
.edition-choice-copy strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.edition-choice-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14.2px;
  line-height: 1.45;
}
.edition-choice .btn-arrow { color: var(--accent); }

.shot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.shot-gallery .shot-frame:first-child {
  grid-column: 1 / -1;
}
.shot-caption {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13.6px;
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  padding: 20px 28px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border-right: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
.faq-item.is-closing summary::after {
  margin-top: -2px;
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
}
.faq-item.is-animating .faq-answer {
  transition: height 0.42s var(--ease);
}
.faq-item p {
  padding: 0 28px 22px;
  color: var(--muted);
  font-size: 15.4px;
}

.more-products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cta .hero-actions { justify-content: center; }
.product-overview .shot-frame { width: 100%; min-width: 0; }

.section-tint {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

/* ---------------------------------------------------------
   14. Footer
   --------------------------------------------------------- */
.site-footer {
  margin: var(--slab-gap);
  margin-top: 0;
  padding-block: clamp(56px, 6vw, 84px) 28px;
  border-radius: var(--radius-slab);
  background: #05100F;
  color: #E7F1EF;
}
[data-theme="dark"] .site-footer { background: var(--surface); border: 1px solid var(--line-soft); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr);
  gap: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.brand-footer { margin-right: 0; }
.brand-footer .brand-mark { width: 50px; height: 50px; }
.brand-footer .brand-tagline {
  font-size: 18px;
  color: var(--brand-mint);
  opacity: 0.92;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 30ch;
  color: rgba(231, 241, 239, 0.56);
  font-size: 15.5px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-col h4 {
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(231, 241, 239, 0.45);
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  display: inline-block;
  font-size: 15.4px;
  color: rgba(231, 241, 239, 0.82);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-col a:hover,
.footer-col a[aria-current="page"] {
  color: #fff;
}
.footer-col a:hover { transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(231, 241, 239, 0.12);
  font-size: 14.2px;
  color: rgba(231, 241, 239, 0.5);
}
.footer-top-link {
  display: inline-flex;
  gap: 7px;
  transition: color 0.25s var(--ease);
}
.footer-top-link:hover { color: #fff; }

/* ---------------------------------------------------------
   15. Utilities, motion, responsive
   --------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 200;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (max-width: 1024px) {
  .section-split { grid-template-columns: 1fr; }
  .section-split-head { max-width: 620px; }
  .pillars { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .edition-vs { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; --radius-slab: 26px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 68px); }
  .hero-title { max-width: 15ch; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .mobile-menu-cta { width: 100%; }
  .contact-form .btn { justify-self: stretch; }
}

/* Short laptop windows: keep the hero call to action above the fold. */
@media (min-width: 861px) and (max-height: 780px) {
  .hero:not(.page-hero) { padding-top: calc(var(--header-h) + 44px); }
  .hero:not(.page-hero) .hero-title { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
  .hero:not(.page-hero) .hero-inner { padding-bottom: clamp(32px, 3.5vw, 52px); }
  .hero:not(.page-hero) .hero-sub { margin-top: 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-marquee { padding-block: 16px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .feature-grid,
  .shot-gallery { grid-template-columns: 1fr; }
  .product-proof li {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }
  .product-proof ul { gap: 14px 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom { justify-content: flex-start; }
  .pull-quote { padding-left: 18px; }
  .contact-row { grid-template-columns: 1fr; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track.is-looping { animation: none; }
}

@media print {
  .site-header, .mobile-menu, .scroll-progress, .hero-marquee, .toast, .edition-modal { display: none !important; }
  .slab, .site-footer { background: #fff !important; color: #000 !important; }
}
