/*
 * Theme Name:  AcroSystems
 * Theme URI:   https://acrosystemsinc.ai
 * Description: Official WordPress theme for AcroSystems Inc — Daedalus, MarcoPolo and Suez.
 * Version:     2.0.0
 * Author:      AcroSystems Inc
 * Author URI:  https://acrosystemsinc.ai
 * License:     Proprietary
 * Text Domain: acrosystems
 */

/* ══════════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
  --bg:            #0a0d10;
  --bg-elevated:   #12181f;
  --surface:       #161d26;
  --surface-hover: #1c252f;
  --border:        rgba(232,220,200,0.10);
  --border-strong: rgba(232,220,200,0.16);
  --text:          #ebe4d8;
  --text-muted:    #9d9488;
  --accent:        #d46530;
  --accent-hover:  #e07845;
  --accent-muted:  rgba(212,101,48,0.18);
  --teal:          #3d9d91;
  --teal-soft:     rgba(61,157,145,0.12);
  --focus:         #6ec4b8;
  --focus-ring:    0 0 0 3px rgba(110,196,184,0.35);
  --font-display:  "Fraunces", Georgia, serif;
  --font-body:     "Source Sans 3", system-ui, sans-serif;
  --radius:        14px;
  --radius-sm:     10px;
  --radius-pill:   999px;
  --header-h:      3.75rem;
  --ease-out:      cubic-bezier(0.22,1,0.36,1);
  --ease-spring:   cubic-bezier(0.34,1.2,0.64,1);
  --shadow-sm:     0 1px 2px rgba(0,0,0,0.35);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.45);
  --space-section: clamp(3rem,8vw,5.5rem);
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom,0);
}
body.nav-open { overflow: hidden; touch-action: none; }
@media (min-width: 769px) { body { padding-bottom: 0; } }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute; top: -100px;
  left: max(1rem,env(safe-area-inset-left));
  padding: 0.65rem 1.1rem;
  background: var(--accent); color: #fff;
  font-weight: 600; z-index: 1001;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: max(1rem,env(safe-area-inset-top)); }

.wrap {
  width: min(1100px, 100% - clamp(1.25rem,4vw,2rem));
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════════════════════════════════════════════ */
.nav-backdrop {
  position: fixed; inset: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top,0px));
  background: rgba(0,0,0,0.55);
  z-index: 90; opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s;
  backdrop-filter: blur(4px);
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1100px, 100% - clamp(1.25rem,4vw,2rem));
  margin-inline: auto;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
  padding: 0.5rem 0.35rem 0.5rem 0; margin: -0.5rem 0;
  border-radius: var(--radius-sm);
}
.logo-dot { color: var(--accent); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  min-width: 48px; min-height: 48px; padding: 0; border: none;
  background: transparent; cursor: pointer;
  border-radius: var(--radius-sm); color: var(--text);
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: currentColor; margin-inline: auto;
  border-radius: 1px; transition: transform 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

/* primary nav — desktop */
.site-nav { display: flex; align-items: center; gap: 0.25rem; }

/* The walker outputs <ul class="site-nav-list"> — must be horizontal flex */
.site-nav-list {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}

/* All nav links: direct <a> (fallback nav) + walker items (with or without dropdown) */
.site-nav > a,
.site-nav-list > .nav-item > a,
.site-nav .nav-item > a.nav-parent {
  color: var(--text-muted); text-decoration: none;
  font-weight: 500; font-size: 0.9375rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.site-nav > a:hover,
.site-nav-list > .nav-item > a:hover,
.site-nav .nav-item > a.nav-parent:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.site-nav .nav-cta {
  color: #fff !important; background: var(--accent) !important;
  font-weight: 600; margin-left: 0.25rem;
}
.site-nav .nav-cta:hover { background: var(--accent-hover) !important; }

/* dropdown parent */
.nav-item { position: relative; }
.nav-chevron {
  display: inline-block;
  width: 0.45rem; height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}
.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron { transform: rotate(-135deg) translateY(-1px); }

/* dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s var(--ease-out);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-dropdown::before {
  content: "";
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: color 0.12s, background 0.12s;
}
.nav-dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-dropdown .dropdown-icon {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); border-radius: 5px;
  font-size: 0.75rem;
}
.nav-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 0.35rem 0; }

/* mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; left: 0; right: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top));
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border); gap: 0;
    max-height: min(80vh,calc(100dvh - var(--header-h)));
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s, visibility 0.25s;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  /* Mobile: stack the list itself vertically */
  .site-nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }

  .site-nav > a,
  .site-nav-list > .nav-item > a,
  .site-nav .nav-item > a.nav-parent {
    padding: 0.9rem 0.75rem; border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border);
    justify-content: space-between; width: 100%; box-sizing: border-box;
  }
  .site-nav > a:last-child,
  .site-nav-list > .nav-item:last-child > a { border-bottom: none; margin-top: 0.35rem; }
  .site-nav .nav-cta { margin-left: 0; justify-content: center; }
  /* mobile dropdown — inline accordion */
  .nav-item { width: 100%; }
  .nav-item > a.nav-parent { border-bottom: 1px solid var(--border); width: 100%; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; border: none; border-radius: 0;
    background: transparent; box-shadow: none; padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease-out);
  }
  .nav-dropdown::before { display: none; }
  .nav-item.is-open .nav-dropdown { max-height: 300px; }
  .nav-dropdown a {
    padding: 0.8rem 1.5rem; border-bottom: 1px solid var(--border);
    border-radius: 0; font-size: 0.9375rem;
  }
  .nav-dropdown hr { display: none; }
  .nav-chevron { display: block; }
  .nav-item.is-open .nav-chevron { transform: rotate(-135deg) translateY(-1px); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.5rem;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { opacity: 0.88; color: #fff; }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
}
.section-head { margin-bottom: clamp(2rem,4vw,3rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem,4vw,2.5rem);
  font-weight: 700; margin: 0 0 0.6rem; letter-spacing: -0.03em;
}
.section-head p { color: var(--text-muted); font-size: 1.0625rem; margin: 0; max-width: 52rem; line-height: 1.65; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   HERO (HOMEPAGE)
   ══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(2.5rem,10vw,5rem) 0 clamp(3rem,8vw,4.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -15%, rgba(61,157,145,0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 50%, var(--accent-muted), transparent 50%),
    radial-gradient(ellipse 45% 35% at 8% 75%, var(--teal-soft), transparent 50%),
    linear-gradient(185deg, var(--bg-elevated) 0%, var(--bg) 55%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; }
.hero-brand { margin-bottom: clamp(1.5rem,4vw,2rem); }
.hero-title {
  font-family: var(--font-display); font-size: clamp(1.75rem,4.2vw,2.5rem);
  font-weight: 600; line-height: 1.18; letter-spacing: -0.03em; margin: 0; color: var(--text);
}
.hero-tagline {
  font-family: var(--font-display); font-size: clamp(1.125rem,3.2vw,1.45rem);
  font-weight: 500; font-style: italic; letter-spacing: 0.02em; color: #dff6f1;
  margin: 0.75rem 0 0; line-height: 1.45; max-width: 26rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 24px rgba(61,157,145,0.15);
}
@media (min-width: 560px) { .hero-tagline { font-size: clamp(1.2rem,2.5vw,1.5rem); max-width: none; } }

.hero-trio { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: clamp(1.5rem,4vw,2rem); max-width: 56rem; }
@media (min-width: 700px) { .hero-trio { grid-template-columns: repeat(3,1fr); gap: 1rem; } }
.hero-trio-item {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.15rem 1.2rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: inherit; text-align: left; min-height: 5.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-trio-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}
.hero-trio-item:hover,
.hero-trio-item:focus-visible { border-color: var(--border-strong); background: var(--surface-hover); }
.hero-trio-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--text); letter-spacing: -0.02em; }
.hero-trio-line { font-size: 0.875rem; color: var(--text-muted); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   PRODUCTS SECTION (homepage carousel)
   ══════════════════════════════════════════════════════════════════════════════ */
.products { padding: var(--space-section) 0; content-visibility: auto; contain-intrinsic-size: 0 1200px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(1rem,3vw,1.5rem); }
.section-head-row h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3.5vw,2rem); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
.section-head-row .btn-sm { flex-shrink: 0; }
.carousel-hint { display: none; margin: 0.35rem 0 0; font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }
@media (max-width: 899px) { .carousel-hint { display: block; } }

.product-carousel-shell { position: relative; }
.product-grid.product-carousel { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }
@media (min-width: 900px) { .product-grid.product-carousel { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 899px) {
  .product-grid.product-carousel {
    display: flex; flex-flow: row nowrap; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-snap-stop: always;
    padding: 0.25rem 0 0.75rem;
    padding-inline: max(1rem,calc(50% - min(43vw,190px)));
    -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none;
  }
  .product-grid.product-carousel::-webkit-scrollbar { display: none; }
  .product-grid.product-carousel:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
  .product-slide { flex: 0 0 min(86vw,380px); scroll-snap-align: center; }
}
.carousel-dots { display: none; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.5rem 0 0; }
@media (max-width: 899px) { .carousel-dots { display: flex; } }
.carousel-dot {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%;
  background: var(--border-strong); cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.carousel-dot:hover,.carousel-dot:focus-visible { background: var(--text-muted); }
.carousel-dot.is-active { background: var(--accent); transform: scale(1.15); }

.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.25rem,3vw,1.6rem);
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: no-preference) {
  .product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
}
.product-tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.65rem; }
.product-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: 0 0 0.45rem; }
.product-hook { font-weight: 600; color: var(--text); margin: 0 0 0.85rem; font-size: 0.98rem; line-height: 1.45; }
.product-list { margin: 0 0 1.25rem; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.9rem; flex: 1; line-height: 1.55; }
.product-list li { margin-bottom: 0.45rem; }
.product-list li:last-child { margin-bottom: 0; }
.card-link { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding: 0.35rem 0; min-height: 44px; border-radius: var(--radius-sm); }
.card-link:hover { color: var(--accent-hover); }

/* ELI5 */
.eli5-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.65rem;
  width: 100%; min-height: 48px; margin: 0 0 0.75rem; padding: 0.65rem 0.85rem;
  font-family: var(--font-body); font-size: 0.9375rem; text-align: left; color: var(--text);
  background: rgba(61,157,145,0.10); border: 1px solid rgba(61,157,145,0.25);
  border-radius: var(--radius-sm); cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.eli5-toggle:hover { background: rgba(61,157,145,0.14); border-color: rgba(61,157,145,0.35); }
.eli5-toggle-label { font-weight: 700; letter-spacing: 0.06em; color: var(--teal); flex: 1; }
.eli5-toggle-icon {
  display: flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-left: auto;
  border-radius: 50%; background: rgba(0,0,0,0.2);
}
.eli5-toggle-icon::after {
  content: ""; width: 0.45rem; height: 0.45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -0.2rem;
  transition: transform 0.25s var(--ease-out);
}
.eli5-toggle[aria-expanded="true"] .eli5-toggle-icon::after { transform: rotate(-135deg); margin-top: 0.15rem; }
.eli5-panel {
  max-height: 0; opacity: 0; overflow: hidden; margin-bottom: 0;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent;
  transition: max-height 0.45s var(--ease-out), opacity 0.3s ease, margin-bottom 0.3s ease, border-color 0.2s, background 0.2s;
}
.eli5-panel.is-open { max-height: 80rem; opacity: 1; margin-bottom: 1rem; border-color: var(--border); background: rgba(0,0,0,0.20); }
@media (prefers-reduced-motion: reduce) {
  .eli5-panel { transition: none; }
  .eli5-panel:not(.is-open) { display: none; }
  .eli5-panel.is-open { display: block; max-height: none; }
}
.eli5-panel-inner { padding: 0.85rem 1rem 1rem; font-size: 0.92rem; line-height: 1.62; color: var(--text-muted); }
.eli5-panel-inner p { margin: 0 0 0.75rem; }
.eli5-panel-inner p:last-child { margin-bottom: 0; }
.eli5-panel-inner em { font-style: italic; color: var(--text); }

/* ══════════════════════════════════════════════════════════════════════════════
   WHITE-PAPER CTA BAND (homepage)
   ══════════════════════════════════════════════════════════════════════════════ */
.cta-band {
  padding: var(--space-section) 0 calc(var(--space-section) + 4rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border); content-visibility: auto;
}
@media (max-width: 768px) { .cta-band { padding-bottom: calc(var(--space-section) + 5.5rem + env(safe-area-inset-bottom)); } }
.cta-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 880px) { .cta-layout { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; } }
.cta-copy h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3.2vw,2rem); margin: 0 0 0.65rem; }
.cta-lead { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.98rem; }
.cta-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; padding: 0.4rem 0.9rem; font-size: 0.875rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); }

/* ══════════════════════════════════════════════════════════════════════════════
   WHITE-PAPER FORM
   ══════════════════════════════════════════════════════════════════════════════ */
.paper-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem,3vw,1.75rem); box-shadow: var(--shadow-md); }
.field { display: block; margin-bottom: 1.15rem; }
.field-label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.45rem; }
.optional { font-weight: 500; letter-spacing: 0; opacity: 0.85; }
.paper-form input[type="email"], .paper-form textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: border-color 0.15s, box-shadow 0.15s;
}
.paper-form textarea { min-height: 5rem; resize: vertical; }
.paper-form input:hover,.paper-form textarea:hover { border-color: var(--border-strong); }
.paper-form input:focus-visible,.paper-form textarea:focus-visible { border-color: var(--teal); box-shadow: var(--focus-ring); }
.fieldset { border: none; padding: 0; margin: 0 0 1.15rem; }
.fieldset .field-label { margin-bottom: 0.5rem; }
.check { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; margin: 0 -0.5rem; padding: 0 0.5rem; cursor: pointer; font-size: 0.9375rem; color: var(--text); border-radius: var(--radius-sm); transition: background 0.15s; }
.check:hover { background: rgba(255,255,255,0.03); }
.check input { width: 1.25rem; height: 1.25rem; flex-shrink: 0; accent-color: var(--accent); }
.form-foot { font-size: 0.8125rem; color: var(--text-muted); margin: 1rem 0 0; line-height: 1.5; }
.form-foot a { color: var(--teal); font-weight: 500; }
.paper-success[hidden] { display: none; }
.paper-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 2rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.paper-success-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(61,157,145,0.15); border: 1px solid rgba(61,157,145,0.35); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--teal); }
.paper-success-msg { font-weight: 600; color: var(--text); margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT BAND (homepage)
   ══════════════════════════════════════════════════════════════════════════════ */
.contact-band {
  padding: var(--space-section) 0 calc(var(--space-section) + 4rem);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border); content-visibility: auto;
}
@media (max-width: 768px) { .contact-band { padding-bottom: calc(var(--space-section) + 5.5rem + env(safe-area-inset-bottom)); } }
.contact-band-inner { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .contact-band-inner { grid-template-columns: 1fr 1.45fr; gap: 4rem; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal); margin: 0; }
.contact-info-title { font-family: var(--font-display); font-size: clamp(1.5rem,3.2vw,2rem); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.contact-info-lead { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; margin: 0; max-width: 36rem; }
.contact-details { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.contact-details li { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); }
.contact-details li:last-child { border-bottom: none; }
.contact-detail-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-details a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: color 0.15s; }
.contact-details a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT FORM CARD (WordPress AJAX form)
   ══════════════════════════════════════════════════════════════════════════════ */
.contact-form-wrap { min-width: 0; }
.cf-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2rem); box-shadow: var(--shadow-md); }
.cf-card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: 0 0 1.5rem; letter-spacing: -0.02em; }
.cf-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 500px) { .cf-row { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }
.cf-field { display: flex; flex-direction: column; margin-bottom: 1.15rem; }
.cf-label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.45rem; }
.cf-required { color: var(--accent); font-size: 0.75rem; margin-left: 0.1rem; }
.cf-opt { font-weight: 500; letter-spacing: 0; opacity: 0.85; }
.cf-input,.cf-select,.cf-textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s; appearance: none; -webkit-appearance: none;
}
.cf-input::placeholder,.cf-textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.cf-input:hover,.cf-select:hover,.cf-textarea:hover { border-color: var(--border-strong); }
.cf-input:focus-visible,.cf-select:focus-visible,.cf-textarea:focus-visible { outline: none; border-color: var(--teal); box-shadow: var(--focus-ring); }
.cf-input.is-invalid,.cf-textarea.is-invalid { border-color: rgba(212,101,48,0.65); background: rgba(212,101,48,0.04); }
.cf-select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239d9488' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.cf-select option { background: var(--bg-elevated); color: var(--text); }
.cf-textarea { min-height: 8rem; resize: vertical; }
.cf-error { display: block; margin-top: 0.35rem; font-size: 0.8125rem; font-weight: 500; color: var(--accent); line-height: 1.4; }
.cf-field-footer { display: flex; justify-content: flex-end; margin-top: 0.25rem; }
.cf-char-count { font-size: 0.75rem; color: var(--text-muted); font-variant-numeric: tabular-nums; transition: color 0.15s; }
.cf-char-count.is-near { color: var(--accent); }
.cf-char-count.is-over { color: #e05252; font-weight: 600; }
.cf-consent { display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; padding: 0.5rem 0; }
.cf-consent input[type="checkbox"] { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.15rem; accent-color: var(--accent); }
.cf-consent a { color: var(--teal); }
.cf-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; pointer-events: none; }
.cf-actions { margin-top: 0.5rem; }
.acro-cf-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: 48px; padding: 0.7rem 1.5rem; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.2s, transform 0.12s; }
.acro-cf-submit:hover { background: var(--accent-hover); }
.acro-cf-submit:active { transform: scale(0.98); }
.acro-cf-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.acro-cf-spinner { display: inline-block; width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: cf-spin 0.7s linear infinite; flex-shrink: 0; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 1.5rem; }
.cf-success.is-visible { display: flex; }
.cf-success-icon { width: 3rem; height: 3rem; border-radius: 50%; background: rgba(61,157,145,0.15); border: 1px solid rgba(61,157,145,0.35); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--teal); }
.cf-success h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0; }
.cf-success p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE TEMPLATE
   ══════════════════════════════════════════════════════════════════════════════ */
.contact-hero { padding: clamp(2.5rem,8vw,4.5rem) 0 clamp(2rem,5vw,3rem); background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.contact-hero-inner { max-width: 52rem; }
.contact-hero-tag { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.contact-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 0.75rem; line-height: 1.12; }
.contact-hero-lead { font-size: 1.0625rem; color: var(--text-muted); margin: 0; line-height: 1.65; max-width: 44rem; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: clamp(2.5rem,6vw,4rem) 0 calc(var(--space-section) + 4rem); }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 320px 1fr; gap: 4rem; } }
@media (max-width: 768px) { .contact-layout { padding-bottom: calc(var(--space-section) + 5.5rem + env(safe-area-inset-bottom)); } }
.contact-info-section { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-info-section p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.contact-info-section a { color: var(--text); text-decoration: none; }
.contact-info-section a:hover { color: var(--accent); }
.contact-info-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal); margin: 0; }
.contact-info-link { color: var(--accent) !important; font-weight: 600; }
.contact-info-link:hover { color: var(--accent-hover) !important; }
.contact-info-divider { border: none; border-top: 1px solid var(--border); margin: 0.75rem 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.about-hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem,10vw,6rem) 0 clamp(2.5rem,6vw,4rem);
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.about-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(61,157,145,0.06), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 80%, var(--accent-muted), transparent 50%);
}
.about-hero-inner { position: relative; max-width: 64rem; }
.about-hero-tag { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.85rem; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(2.25rem,6vw,3.75rem); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 1.25rem; line-height: 1.1; max-width: 18ch; }
.about-hero h1 em { font-style: italic; color: var(--teal); }
.about-hero-lead { font-size: clamp(1.0625rem,2vw,1.2rem); color: var(--text-muted); margin: 0 0 2rem; line-height: 1.7; max-width: 52rem; }
.about-stats { display: flex; flex-wrap: wrap; gap: 2rem 3rem; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 1rem; }
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }

/* mission / pillars */
.pillars-section { padding: var(--space-section) 0; background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .pillars-grid { grid-template-columns: repeat(3,1fr); } }
.pillar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.pillar-icon.trust  { background: rgba(212,101,48,0.12); border: 1px solid rgba(212,101,48,0.25); color: var(--accent); }
.pillar-icon.truth  { background: rgba(61,157,145,0.12); border: 1px solid rgba(61,157,145,0.25); color: var(--teal); }
.pillar-icon.trace  { background: rgba(110,196,184,0.12); border: 1px solid rgba(110,196,184,0.25); color: var(--focus); }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.pillar-card p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; line-height: 1.65; }

/* story / mission */
.story-section { padding: var(--space-section) 0; }
.story-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 860px) { .story-layout { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.story-body h2 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.35rem); font-weight: 700; margin: 0 0 1.25rem; letter-spacing: -0.03em; }
.story-body p { color: var(--text-muted); line-height: 1.75; margin: 0 0 1rem; }
.story-body p:last-child { margin-bottom: 0; }
.story-body strong { color: var(--text); }
.story-highlight {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--teal); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.story-highlight-item { display: flex; gap: 1rem; align-items: flex-start; }
.highlight-dot {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex-shrink: 0;
  background: rgba(61,157,145,0.13); border: 1px solid rgba(61,157,145,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--teal);
}
.story-highlight-item h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.25rem; }
.story-highlight-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* values grid */
.values-section { padding: var(--space-section) 0; background: var(--bg-elevated); border-top: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .values-grid { grid-template-columns: repeat(4,1fr); } }
.value-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 0.65rem; }
.value-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--border-strong); letter-spacing: -0.04em; line-height: 1; }
.value-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 0; }
.value-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* about CTA */
.about-cta-section { padding: var(--space-section) 0 calc(var(--space-section) + 4rem); text-align: center; border-top: 1px solid var(--border); }
@media (max-width: 768px) { .about-cta-section { padding-bottom: calc(var(--space-section) + 5.5rem + env(safe-area-inset-bottom)); } }
.about-cta-inner { max-width: 40rem; margin-inline: auto; }
.about-cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 1rem; }
.about-cta-inner p { color: var(--text-muted); margin: 0 0 2rem; font-size: 1.0625rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════════════════
   PRODUCTS PAGE (overview)
   ══════════════════════════════════════════════════════════════════════════════ */
.products-hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem,10vw,6rem) 0 clamp(2.5rem,6vw,4rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg) 65%);
}
.products-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 80% 30%, rgba(61,157,145,0.07), transparent 60%);
}
.products-hero-inner { position: relative; }
.products-hero h1 { font-family: var(--font-display); font-size: clamp(2.25rem,6vw,3.75rem); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 1rem; line-height: 1.1; }
.products-hero-lead { font-size: clamp(1.0625rem,2vw,1.2rem); color: var(--text-muted); margin: 0 0 2rem; line-height: 1.7; max-width: 52rem; }
.product-nav-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-nav-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 1.1rem; font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  text-decoration: none; transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.product-nav-chip:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-hover); }
.product-nav-chip.active { color: var(--teal); border-color: rgba(61,157,145,0.4); background: rgba(61,157,145,0.08); }

/* product detail section (on products page) */
.product-detail-section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--border);
}
.product-detail-section:last-of-type { border-bottom: none; }
.product-detail-layout { display: grid; gap: 3rem; }
@media (min-width: 860px) { .product-detail-layout { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.product-detail-header { display: flex; flex-direction: column; gap: 1rem; }
.product-detail-tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.product-detail-header h2 { font-family: var(--font-display); font-size: clamp(2rem,4.5vw,3rem); font-weight: 700; letter-spacing: -0.035em; margin: 0; line-height: 1.1; }
.product-detail-hook { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.feature-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55;
  transition: border-color 0.15s;
}
.feature-list li:hover { border-color: var(--border-strong); }
.feature-list li::before {
  content: "✓"; flex-shrink: 0; width: 1.4rem; height: 1.4rem;
  background: rgba(61,157,145,0.13); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--teal);
  margin-top: 0.05rem;
}
.use-cases { margin-top: 2rem; }
.use-cases h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0 0 1rem; letter-spacing: -0.02em; }
.use-case-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.use-case-chip { padding: 0.4rem 0.9rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); }

/* ══════════════════════════════════════════════════════════════════════════════
   INDIVIDUAL PRODUCT PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.product-page-hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem,10vw,6.5rem) 0 clamp(2.5rem,6vw,4rem);
  border-bottom: 1px solid var(--border);
}
.product-page-hero .hero-bg { background:
  radial-gradient(ellipse 70% 55% at 90% 10%, rgba(61,157,145,0.08), transparent 55%),
  radial-gradient(ellipse 40% 35% at 5% 90%, var(--accent-muted), transparent 50%),
  linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg) 55%); }
.product-page-inner { position: relative; max-width: 68rem; }

/* ── Back link ── */
.product-back-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--accent); text-decoration: none;
  font-size: 0.875rem; font-weight: 600;
  margin-bottom: 1.25rem;
  transition: opacity 0.15s, gap 0.15s;
}
.product-back-link:hover { opacity: 0.8; gap: 0.55rem; }
.product-back-link svg { flex-shrink: 0; }

/* ── Tag, title, hook, actions ── */
.product-page-tag,
.product-page-hero .product-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.85rem;
}
.product-page-title,
.product-page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem,7vw,4.5rem);
  font-weight: 700; letter-spacing: -0.04em; margin: 0 0 1.25rem; line-height: 1.05;
}
.product-page-hook,
.product-page-lead {
  font-size: clamp(1.0625rem,2vw,1.25rem); color: var(--text-muted);
  line-height: 1.7; margin: 0 0 2rem; max-width: 52rem;
}
.product-page-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-page-hero h1 span { display: block; font-size: 0.55em; font-weight: 400; font-style: italic; color: var(--text-muted); letter-spacing: -0.01em; margin-top: 0.4rem; }

/* product key metrics bar */
.product-metrics { display: flex; flex-wrap: wrap; gap: 0 2.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--border); }
.product-metric { display: flex; flex-direction: column; gap: 0.2rem; }
.product-metric-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--teal); letter-spacing: -0.03em; line-height: 1; }
.product-metric-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* product body sections */
.product-section { padding: var(--space-section) 0; border-bottom: 1px solid var(--border); }
.product-section:last-of-type { border-bottom: none; padding-bottom: calc(var(--space-section) + 4rem); }
@media (max-width: 768px) { .product-section:last-of-type { padding-bottom: calc(var(--space-section) + 5.5rem + env(safe-area-inset-bottom)); } }
.product-section-2col { display: grid; gap: 3rem; }
@media (min-width: 860px) { .product-section-2col { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; } }
.product-section h2 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.35rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 1.25rem; }
.product-section p { color: var(--text-muted); line-height: 1.75; margin: 0 0 1rem; }
.product-section p:last-child { margin-bottom: 0; }

/* capability cards */
.capability-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .capability-grid { grid-template-columns: repeat(2,1fr); } }
.capability-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.capability-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.capability-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); flex-shrink: 0;
  background: rgba(61,157,145,0.12); border: 1px solid rgba(61,157,145,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--teal);
}
.capability-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0; }
.capability-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* how-it-works steps */
.steps-list { display: flex; flex-direction: column; gap: 0; counter-reset: steps; }
.step-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
  counter-increment: steps;
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  color: var(--teal); margin-top: 0.1rem;
}
.step-num::after { content: counter(steps); }
.step-content h4 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; margin: 0 0 0.35rem; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* tech-spec table */
.tech-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 1.5rem; }
.tech-table th,.tech-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.tech-table th { font-weight: 600; color: var(--text-muted); font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase; background: var(--surface); }
.tech-table td { color: var(--text-muted); }
.tech-table td:first-child { color: var(--text); font-weight: 500; }
.tech-table tr:last-child td,.tech-table tr:last-child th { border-bottom: none; }
.tech-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }

/* product-page CTA */
.product-cta-band {
  background: linear-gradient(135deg, rgba(61,157,145,0.08) 0%, transparent 50%), var(--bg-elevated);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: var(--space-section) 0;
}
.product-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.product-cta-copy h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3.2vw,2rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 0.5rem; }
.product-cta-copy p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════════════════
   GENERIC PAGE / BLOG
   ══════════════════════════════════════════════════════════════════════════════ */
.page-hero { padding: clamp(2.5rem,8vw,4.5rem) 0 clamp(2rem,5vw,3rem); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.12; }
.page-content { padding: clamp(2rem,5vw,3.5rem) 0 calc(var(--space-section) + 2rem); max-width: 72ch; }
.page-content h2,.page-content h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
.page-content p,.page-content li { color: var(--text-muted); line-height: 1.75; }
.page-content a { color: var(--teal); }
.page-content a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════════
   404
   ══════════════════════════════════════════════════════════════════════════════ */
.error-404-section { padding: clamp(4rem,12vw,8rem) 0; text-align: center; min-height: calc(100vh - var(--header-h) - 4rem); display: flex; align-items: center; }
.error-404-inner { max-width: 48rem; margin-inline: auto; }
.error-404-code { font-family: var(--font-display); font-size: clamp(5rem,18vw,10rem); font-weight: 700; letter-spacing: -0.05em; color: var(--border-strong); line-height: 1; margin: 0; }
.error-404-inner h1 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem); margin: 0.5rem 0 1rem; }
.error-404-inner p { color: var(--text-muted); margin: 0 0 2rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   MOBILE BAR / FOOTER / TOAST
   ══════════════════════════════════════════════════════════════════════════════ */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg-elevated) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); box-shadow: 0 -8px 32px rgba(0,0,0,0.35); }
@media (max-width: 768px) { .mobile-bar { display: flex; justify-content: center; } }
.mobile-bar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.5rem; width: 100%; max-width: 320px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: #fff; background: var(--accent); text-decoration: none; border-radius: var(--radius-sm); transition: background 0.2s; }
.mobile-bar-btn:hover { background: var(--accent-hover); color: #fff; }
.mobile-bar-icon { display: flex; opacity: 0.95; }

.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }
@media (max-width: 768px) { .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }
.footer-bottom-inner { display: flex; justify-content: center; align-items: center; }
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); margin: 0; text-align: center; }

.toast { position: fixed; bottom: calc(5.5rem + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%) translateY(120%); padding: 0.9rem 1.35rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 200; transition: transform 0.35s var(--ease-spring), opacity 0.3s; opacity: 0; max-width: min(calc(100vw - 2rem),380px); text-align: center; color: var(--text); }
@media (min-width: 769px) { .toast { bottom: 1.5rem; } }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ══════════════════════════════════════════════════════════════════════════════
   SUCCESS MODAL
   ══════════════════════════════════════════════════════════════════════════════ */
.acro-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.68); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.22s ease; }
.acro-modal-backdrop[hidden] { display: none; }
.acro-modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.acro-modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 28px 72px rgba(0,0,0,0.65); padding: 2.5rem 2rem 1.75rem; max-width: 420px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; transform: translateY(14px) scale(0.96); transition: transform 0.25s cubic-bezier(0.34,1.36,0.64,1); position: relative; overflow: hidden; }
.acro-modal-backdrop.is-open .acro-modal { transform: translateY(0) scale(1); }
.acro-modal-icon { width: 3.75rem; height: 3.75rem; border-radius: 50%; background: rgba(61,157,145,0.13); border: 1.5px solid rgba(61,157,145,0.45); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--teal); margin-bottom: 0.35rem; flex-shrink: 0; }
.acro-modal-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--text); margin: 0; line-height: 1.2; }
.acro-modal-msg { color: var(--text-muted); font-size: 0.9375rem; margin: 0; line-height: 1.65; max-width: 320px; }
.acro-modal-btn { margin-top: 0.9rem; padding: 0.6rem 2.25rem; background: var(--teal); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 0.9375rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: opacity 0.15s, transform 0.12s; }
.acro-modal-btn:hover { opacity: 0.88; }
.acro-modal-btn:active { transform: scale(0.97); }
.acro-modal-bar-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.06); }
.acro-modal-bar { height: 100%; background: var(--teal); width: 100%; }
@media (max-width: 480px) { .acro-modal { padding: 2rem 1.25rem 1.5rem; } .acro-modal-title { font-size: 1.2rem; } }

/* ══════════════════════════════════════════════════════════════════════════════
   MODAL CLOSE BUTTON
   ══════════════════════════════════════════════════════════════════════════════ */
.acro-modal-close { position: absolute; top: 0.85rem; right: 0.85rem; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.35rem; line-height: 1; padding: 0.2rem 0.4rem; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
.acro-modal-close:hover { color: var(--text); background: var(--surface-hover); }

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE TEMPLATE
   ══════════════════════════════════════════════════════════════════════════════ */
.contact-page-hero { padding: clamp(5rem,12vw,8rem) 0 clamp(2.5rem,5vw,4rem); background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.contact-page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); margin: 0.35rem 0 1rem; }
.contact-page-lead { font-size: 1.0625rem; color: var(--text-muted); max-width: 52ch; margin: 0; line-height: 1.7; }
.contact-page-body { padding: clamp(3rem,8vw,6rem) 0; }
.contact-page-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
@media (max-width: 860px) { .contact-page-layout { grid-template-columns: 1fr; } }
.contact-page-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-channel { padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.contact-channel:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-channel-head { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text); }
.contact-channel-link { color: var(--accent); text-decoration: none; font-size: 0.9375rem; word-break: break-all; transition: opacity 0.15s; }
.contact-channel-link:hover { opacity: 0.8; }
.contact-channel-note { font-size: 0.85rem; color: var(--text-muted); margin: 0.45rem 0 0; line-height: 1.6; }
.contact-response-note { display: flex; align-items: flex-start; gap: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; }
.contact-response-note svg { flex-shrink: 0; color: var(--teal); margin-top: 0.1rem; }
.contact-response-note p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
.contact-page-form-wrap { }

/* ══════════════════════════════════════════════════════════════════════════════
   GENERIC PAGE + SINGLE POST + BLOG ARCHIVE
   ══════════════════════════════════════════════════════════════════════════════ */
.generic-page-hero { padding: clamp(5rem,12vw,7rem) 0 clamp(2rem,4vw,3rem); background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.generic-page-title { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.75rem); margin: 0; }
.generic-page-body { padding: clamp(2.5rem,6vw,5rem) 0; }
.generic-page-content { max-width: 72ch; }
.generic-page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2em; }
.generic-page-content h2, .generic-page-content h3 { font-family: var(--font-display); margin: 2em 0 0.6em; }
.single-post-meta { font-size: 0.875rem; color: var(--text-muted); margin: 0.5rem 0 0; }
.single-post-body { padding: clamp(2.5rem,6vw,5rem) 0; }
.single-post-content { max-width: 72ch; }
.single-post-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2em; }
.single-post-content h2, .single-post-content h3 { font-family: var(--font-display); margin: 2em 0 0.6em; }
.single-post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.blog-archive { padding: clamp(2.5rem,6vw,5rem) 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px), 1fr)); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.blog-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-meta { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }
.blog-card-excerpt { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }
.wp-pagenavi, .navigation.pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.wp-pagenavi a, .wp-pagenavi span,
.navigation.pagination .page-numbers { padding: 0.4rem 0.9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: border-color 0.15s, color 0.15s; }
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════════
   PRODUCTS CTA ROW (front-page.php)
   ══════════════════════════════════════════════════════════════════════════════ */
.products-cta-row { text-align: center; margin-top: 2.5rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   ADMIN
   ══════════════════════════════════════════════════════════════════════════════ */
.cf-admin-notice { background: var(--surface); border-left: 3px solid var(--teal); padding: 0.9rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   PRIVACY POLICY MODAL
   ══════════════════════════════════════════════════════════════════════════════ */
.acro-privacy-modal .acro-modal { max-width: 640px; text-align: left; align-items: flex-start; gap: 0; padding-bottom: 1.5rem; }
.acro-privacy-modal .acro-modal-title { margin-bottom: 1rem; }
.acro-privacy-body { max-height: 55vh; overflow-y: auto; width: 100%; padding-right: 0.5rem; margin-bottom: 1.25rem; overscroll-behavior: contain; }
.acro-privacy-body::-webkit-scrollbar { width: 5px; }
.acro-privacy-body::-webkit-scrollbar-track { background: transparent; }
.acro-privacy-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.acro-privacy-updated { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 1.25rem; font-style: italic; }
.acro-privacy-body h3 { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: var(--text); margin: 1.4em 0 0.4em; }
.acro-privacy-body h3:first-of-type { margin-top: 0; }
.acro-privacy-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 0.75em; }
.acro-privacy-body ul { margin: 0 0 0.75em 1.1em; padding: 0; }
.acro-privacy-body ul li { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.3em; }
.acro-privacy-body a { color: var(--accent); text-decoration: none; }
.acro-privacy-body a:hover { text-decoration: underline; }
.acro-privacy-trigger { color: var(--accent); text-decoration: underline; cursor: pointer; }
.acro-privacy-modal .acro-modal-btn { align-self: flex-end; margin-top: 0; }
@media (max-width: 480px) { .acro-privacy-body { max-height: 60vh; } }
