/* =====================================================
   ATTUNIQ — Shared design system
   v2 — visual rebuild
   ===================================================== */

:root {
  --navy: #0B1F3B;
  --navy-deep: #07142A;
  --navy-light: #142B4D;
  --teal: #0E8A8A;
  --teal-bright: #14B8A6;
  --teal-hover: #0A7272;
  --teal-light: rgba(14, 138, 138, 0.08);
  --teal-glow: rgba(14, 138, 138, 0.18);
  --ink: #111827;
  --slate: #475569;
  --slate-light: #64748B;
  --mist: #E5E7EB;
  --mist-deep: #CBD5E1;
  --cloud: #F8FAFC;
  --white: #FFFFFF;
  --green: #16A34A;
  --green-light: rgba(22, 163, 74, 0.1);
  --amber: #F59E0B;
  --amber-light: rgba(245, 158, 11, 0.1);
  --red: #DC2626;
  --red-light: rgba(220, 38, 38, 0.1);

  --shadow-sm: 0 1px 3px rgba(11, 31, 59, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 31, 59, 0.12);
  --shadow-xl: 0 28px 64px rgba(11, 31, 59, 0.18);
  --shadow-glow: 0 0 80px rgba(14, 138, 138, 0.25);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

/* Accessibility — focus visibility */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* Skip-to-content link — added via JS, hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ===== WORDMARK (real logo image) =====
   Image-replacement technique: push the link text far off-screen so
   it can't visually leak through, regardless of any cascaded font-size
   rules (e.g. `.footer-col a { font-size: 13.5px }`). */
.wordmark {
  display: inline-block;
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  background-image: url('attuniq-wordmark.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  width: 132px;
  height: 36px;
  transition: opacity 0.2s var(--ease);
}
.wordmark:hover { opacity: 0.85; }
.wordmark--reverse { background-image: url('attuniq-wordmark-reversed.png'); }
/* Footer brand wordmark slightly larger */
.footer-col--brand .wordmark { width: 156px; height: 42px; }

/* ===== NAV =====
   Note: avoid backdrop-filter on .nav itself — it creates a containing block
   that would trap the fixed-position mobile menu inside the nav header. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--mist);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 138, 138, 0.3);
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 102;
}
.nav-burger:hover { background: var(--cloud); }
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 59, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 99;
}
.nav-backdrop.active { opacity: 1; visibility: visible; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow--reverse { color: rgba(255, 255, 255, 0.7); }

h1, h2, h3, h4, h5 {
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.display-h2 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  max-width: 800px;
}
.display-h2--reverse { color: var(--white); }
h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.gradient-text {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 720px;
}
p.lead--reverse { color: rgba(255, 255, 255, 0.8); }
p { font-size: 16px; line-height: 1.65; color: var(--slate); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.btn-arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 138, 138, 0.35);
}
.btn-teal {
  background: var(--white);
  color: var(--navy);
}
.btn-teal:hover {
  background: var(--cloud);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn-secondary:hover { background: var(--teal-light); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.link-arrow {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow::after { content: '→'; transition: transform 0.2s; }
.link-arrow:hover { color: var(--teal-hover); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--reverse {
  color: var(--teal);
  margin-top: auto;
}

/* ===== LAYOUT ===== */
.section {
  padding: 120px 32px;
  position: relative;
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-narrow {
  max-width: 920px;
  margin: 0 auto;
}
.section--cloud { background: var(--cloud); }
.section--white { background: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 32px 100px;
}
.hero-image-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-image: url('hero-doctor.png');
  background-size: cover;
  background-position: center;
}
.hero-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 59, 0.85) 18%, rgba(11, 31, 59, 0.4) 35%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 138, 138, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 138, 138, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 25% 50%, black 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
.hero-content {
  max-width: 600px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(14, 138, 138, 0.4);
  background: rgba(14, 138, 138, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 12px var(--teal-bright);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -2.2px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-subtext {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 32px;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-strip-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}
.trust-strip-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.trust-strip-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== PAIN ===== */
.pain { padding: 120px 32px; }
.pain-rule {
  width: 64px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 32px;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.pain-col p { font-size: 18px; line-height: 1.7; margin-bottom: 20px; }
.pain-quote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 20px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}
.pain-comparison {
  background: var(--cloud);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.pain-side-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.pain-side ul { list-style: none; }
.pain-side li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pain-side--before .pain-side-label { color: var(--red); }
.pain-side--after .pain-side-label { color: var(--green); }
.pain-x { color: var(--red); font-weight: 600; flex-shrink: 0; }
.pain-tick { color: var(--green); font-weight: 600; flex-shrink: 0; }
.pain-arrow { color: var(--teal); font-size: 28px; font-weight: 300; }

/* ===== PERSONA SECTION ===== */
.persona-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 140px 32px;
}
.persona-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.persona-bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.persona-bg-glow--1 {
  top: -20%; left: -10%;
  background: radial-gradient(circle, rgba(14, 138, 138, 0.18) 0%, transparent 70%);
}
.persona-bg-glow--2 {
  bottom: -20%; right: -10%;
  background: radial-gradient(circle, rgba(14, 184, 184, 0.12) 0%, transparent 70%);
}
.persona-head { max-width: 760px; margin-bottom: 64px; position: relative; }
.persona-scale {
  text-align: center;
  margin: 0 auto 80px;
  padding: 48px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.persona-scale-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 88px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal-bright) 0%, var(--white) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -3px;
  line-height: 1;
}
.persona-scale-caption {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

/* Triptych — Sound / Identity / State of Mind */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  position: relative;
}
.triptych-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}
.triptych-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(14, 138, 138, 0.4);
  transform: translateY(-4px);
}
.triptych-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(14, 138, 138, 0.15);
  border: 1px solid rgba(14, 138, 138, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal-bright);
}
.triptych-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  display: block;
}
.triptych-card h3 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.triptych-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

/* Persona example card with axes + triggers */
.persona-example-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.persona-example {
  background: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.persona-example::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright) 0%, transparent 100%);
}
.persona-example-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.persona-example-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.persona-example-mode {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: rgba(14, 138, 138, 0.2);
  border: 1px solid rgba(14, 138, 138, 0.4);
  border-radius: 100px;
  color: var(--teal-bright);
  text-transform: uppercase;
}
.persona-example-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.persona-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}
.persona-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.4px;
}
.persona-context {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}
.persona-axes-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}
.persona-axis-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  font-size: 13.5px;
}
.persona-axis-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.persona-axis-val {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.persona-axis-bars {
  display: inline-flex;
  gap: 3px;
}
.bar {
  width: 12px;
  height: 6px;
  border-radius: 2px;
}
.bar-on { background: var(--teal-bright); }
.bar-off { background: rgba(255, 255, 255, 0.1); }

.persona-trigger-rail {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(14, 138, 138, 0.2);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 16px;
}
.persona-trigger-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
}
.trigger-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 12px var(--teal-bright);
  animation: pulse 1.6s infinite;
}
.persona-trigger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.persona-trigger-row:last-child { border-bottom: none; }
.trigger-action { color: rgba(255, 255, 255, 0.7); }
.trigger-result { color: rgba(255, 255, 255, 0.95); }
.up { color: var(--red); font-weight: 700; }
.down { color: var(--green); font-weight: 700; }

/* Three modes — validated, customised, co-created */
.persona-modes { display: grid; gap: 16px; }
.persona-mode {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  transition: all 0.2s var(--ease);
}
.persona-mode:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(14, 138, 138, 0.4);
  transform: translateX(4px);
}
.persona-mode-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal-bright);
  margin-bottom: 8px;
}
.persona-mode h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 6px;
}
.persona-mode p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}
.persona-cta { text-align: center; margin-top: 24px; }

/* ===== HOW IT WORKS ===== */
.how-head { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.how-head .lead { margin: 0 auto; }

/* Loop diagram */
.loop-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
}
.loop-diagram {
  position: relative;
  width: 600px;
  height: 600px;
  max-width: 100%;
}
.loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: loopRotate 80s linear infinite;
}
@keyframes loopRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.loop-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.loop-center-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -2px;
  line-height: 1;
}
.loop-center-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}
.loop-step {
  position: absolute;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
  z-index: 3;
}
.loop-step:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.03);
}
.loop-step--top {
  top: 0; left: 50%;
  transform: translateX(-50%);
  --tx: -50%; --ty: -4px;
}
.loop-step--right {
  top: 50%; right: 0;
  transform: translateY(-50%);
  --tx: 4px; --ty: -50%;
}
.loop-step--bottom {
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  --tx: -50%; --ty: 4px;
}
.loop-step--left {
  top: 50%; left: 0;
  transform: translateY(-50%);
  --tx: -4px; --ty: -50%;
}
.loop-step-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.loop-step-icon svg { width: 18px; height: 18px; }
.loop-step-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
}
.loop-step h4 { font-size: 16px; margin-bottom: 4px; }
.loop-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

/* Feedback card with traffic light */
.how-feedback {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
}
.how-feedback-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
}
.how-feedback-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.feedback-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.feedback-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mist);
}
.feedback-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.feedback-card-meta {
  font-size: 13px;
  color: var(--slate);
  margin-top: 4px;
}
.feedback-overall {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -1px;
}
.criterion {
  padding: 16px 0;
  border-top: 1px solid var(--mist);
}
.criterion:first-of-type { border-top: none; padding-top: 4px; }
.criterion-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.dot-amber { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-light); }
.dot-red { background: var(--red); box-shadow: 0 0 0 4px var(--red-light); }
.criterion-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.criterion-score {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.bar-track {
  height: 6px;
  background: var(--mist);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s var(--ease-out);
}
.bar-fill-green { background: var(--green); }
.bar-fill-amber { background: var(--amber); }
.bar-fill-red { background: var(--red); }
.criterion-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* ===== ACCENTS — orbital diagram ===== */
.accents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.accents-orb {
  position: relative;
  width: 480px;
  height: 480px;
  margin: 0 auto;
  max-width: 100%;
}
.accents-orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 60px rgba(14, 138, 138, 0.4);
  z-index: 2;
}
.accents-orb-core-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}
.accents-orb-core-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}
.accent-tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.accent-tag--1 { top: 0; left: 50%; transform: translateX(-50%); }
.accent-tag--2 { top: 8%; right: 8%; }
.accent-tag--3 { top: 30%; right: 0; }
.accent-tag--4 { bottom: 30%; right: 0; }
.accent-tag--5 { bottom: 8%; right: 8%; }
.accent-tag--6 { bottom: 0; left: 50%; transform: translateX(-50%); }
.accent-tag--7 { bottom: 8%; left: 8%; }
.accent-tag--8 { bottom: 30%; left: 0; }
.accent-tag--9 { top: 30%; left: 0; }
.accent-tag--10 { top: 8%; left: 8%; }
.accent-tag--11 { top: 50%; left: -4%; transform: translateY(-50%); }
.accent-tag--12 { top: 50%; right: -4%; transform: translateY(-50%); }

/* ===== DIFFERENTIATORS ===== */
.diff-head { text-align: center; margin-bottom: 80px; }
.diff-head .display-h2 { margin: 0 auto; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-bright) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.diff-card:hover::before { transform: scaleX(1); }
.diff-card:hover {
  border-color: rgba(14, 138, 138, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.diff-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
}
.diff-card h3 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.diff-lede {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 8px;
}
.diff-list {
  list-style: none;
  margin-bottom: 24px;
}
.diff-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.diff-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal);
}

/* ===== SECTORS ===== */
.sectors-section { background: var(--white); }
.sectors-head { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.sectors-head .lead { margin: 0 auto; }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sector-tile {
  background: var(--white);
  padding: 32px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
  min-height: 240px;
}
.sector-tile:hover {
  background: var(--cloud);
  transform: translateY(-2px);
}
.sector-tile-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 16px;
}
.sector-tile-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}
.sector-tile:hover .sector-tile-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.05);
}
.sector-tile-icon svg { width: 22px; height: 22px; }
.sector-tile h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.sector-tile p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.sector-tile-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sector-tile-go::after { content: '→'; transition: transform 0.2s; }
.sector-tile:hover .sector-tile-go::after { transform: translateX(4px); }

/* ===== TRUST SECTION ===== */
.trust-section { background: var(--cloud); padding: 120px 32px; }
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.trust-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0 36px;
}
.trust-pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-pillar-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.trust-pillar-icon svg { width: 18px; height: 18px; }
.trust-pillar h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}
.trust-pillar p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* Device stack */
.trust-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 560px;
}
.device-stack {
  position: relative;
  width: 280px;
}
.device {
  position: absolute;
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--navy);
  padding: 6px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: all 0.4s var(--ease);
}
.device img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}
.device--back {
  top: -100px;
  right: -80px;
  transform: rotate(8deg);
  z-index: 1;
  opacity: 0.85;
}
.device--mid {
  top: -40px;
  left: -60px;
  transform: rotate(-6deg);
  z-index: 2;
  opacity: 0.95;
}
.device--front {
  top: 40px;
  left: 20px;
  z-index: 3;
}
.device-stack:hover .device--back { transform: rotate(10deg) translate(8px, -8px); }
.device-stack:hover .device--mid { transform: rotate(-8deg) translate(-8px, -4px); }
.device-stack:hover .device--front { transform: translateY(-8px); }

/* ===== FOUNDERS DIAGRAM ===== */
.founders-head { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.founders-head .lead { margin: 0 auto; }
.founders-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
}
.founder-arc {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s var(--ease);
}
.founder-arc:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.founder-arc-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
}
.founder-arc-pill {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.founder-arc-flow {
  display: inline-block;
  font-size: 13px;
  color: var(--slate);
  background: var(--cloud);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  font-weight: 500;
}
.founder-arc p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 4px;
}
.founder-arc-converge {
  width: 80px;
  height: 60px;
}
.founder-arc-converge svg { width: 100%; height: 100%; }
.founders-cta { text-align: center; }

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative;
  background: var(--navy);
  text-align: center;
  padding: 140px 32px;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(14, 138, 138, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(20, 184, 184, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(14, 138, 138, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.final-cta .display-h2 {
  margin: 16px auto 24px;
  text-align: center;
}
.final-cta .lead {
  margin: 0 auto 36px;
  text-align: center;
}
.final-cta-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 32px 32px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col--brand .wordmark { margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin-bottom: 20px;
  margin-top: 12px;
}
.footer-built {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 12px;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1240px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 8px; }
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: inline;
  margin: 0;
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-bottom-links span { color: rgba(255, 255, 255, 0.25); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero h1 { font-size: 52px; }
  .display-h2 { font-size: 38px; }
  .persona-scale-number { font-size: 64px; }
  .triptych { grid-template-columns: 1fr; }
  .persona-example-wrap { grid-template-columns: 1fr; gap: 32px; }
  .pain-comparison { grid-template-columns: 1fr; }
  .pain-arrow { transform: rotate(90deg); margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .accents { grid-template-columns: 1fr; }
  .accents-orb { width: 380px; height: 380px; }
  .how-feedback { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: 1fr; gap: 56px; }
  .trust-visual { height: 460px; }
  .founders-diagram { grid-template-columns: 1fr; }
  .founder-arc-converge { display: none; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-col--brand { grid-column: 1 / -1; }
}

/* Mobile breakpoint — nav becomes a slide-in panel */
@media (max-width: 880px) {
  .hero {
    padding: 120px 24px 64px;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.18;
  }
  .hero-image-bg::before {
    background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 59, 0.85) 100%);
  }
  .hero-grid-overlay {
    mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 70%);
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 40px; }
  .display-h2 { font-size: 32px; }
  .pain-grid { grid-template-columns: 1fr; }
  .loop-diagram { width: 100%; height: 480px; }
  .loop-step { width: 180px; padding: 16px; }
  .loop-step h4 { font-size: 14px; }
  .loop-step p { font-size: 12px; }

  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 24px 32px;
    box-shadow: -16px 0 48px rgba(11, 31, 59, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 17px;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--mist);
  }
  .nav-links a:hover { background: var(--cloud); }
  .nav-links .nav-cta {
    margin-top: 12px;
    padding: 14px 20px !important;
    text-align: center;
    border-bottom: none;
    justify-content: center;
  }

  .section, .pain, .trust-section, .persona-section, .what-is { padding: 80px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 110px 20px 56px; }
  .hero h1 { font-size: 32px; letter-spacing: -1.2px; }
  .hero-subtext { font-size: 17px; }
  .display-h2 { font-size: 26px; letter-spacing: -0.6px; }
  .persona-scale-number { font-size: 44px; letter-spacing: -1.5px; }
  .persona-scale-caption { font-size: 13px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .sectors-grid { grid-template-columns: 1fr; }
  .accents-orb { width: 300px; height: 300px; }
  .accent-tag { font-size: 11px; padding: 6px 10px; }
  .nav-inner { padding: 0 20px; height: 64px; }
  .nav { padding: 0; }
  .footer { padding: 64px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 40px;
  }
  .device-stack { transform: scale(0.8); }
  .loop-diagram { height: 400px; }
  .loop-step { width: 140px; padding: 12px; }
  .section, .pain, .trust-section, .persona-section, .what-is { padding: 64px 20px; }
  .trust-strip { padding: 16px 20px; }
  .trust-strip-inner { gap: 14px; }
  .trust-strip-divider { display: none; }
  .pain-head .display-h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  h4 { font-size: 16px; }
  p.lead { font-size: 17px; }
  .btn { padding: 12px 22px; font-size: 14.5px; }
  .final-cta { padding: 96px 20px; }
  .final-cta-buttons { flex-direction: column; width: 100%; align-items: stretch; }
  .final-cta-buttons .btn { width: 100%; justify-content: center; }
}

/* Very small screens — protect from text overflow */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .display-h2 { font-size: 24px; }
  .nav-inner { padding: 0 16px; }
  .wordmark { width: 110px; height: 30px; }
}

/* =====================================================
   v2.1 — homepage review fixes
   ===================================================== */

/* ===== WHAT IS ATTUNIQ (between hero and pain) ===== */
.what-is {
  background: var(--white);
  padding: 120px 32px;
}
.what-is-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.what-is-h2 {
  font-size: 40px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 20px;
}
.what-is-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 720px;
  margin: 0 auto;
}
.what-is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.what-is-card {
  background: var(--cloud);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.what-is-card:hover {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.what-is-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 8px;
}
.what-is-card-icon svg { width: 24px; height: 24px; }
.what-is-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
}
.what-is-card h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 4px;
}
.what-is-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}

/* ===== PAIN — restructured ===== */
.pain.section--cloud { padding: 120px 32px; background: var(--cloud); }
.pain-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 64px;
}
.pain-head .display-h2 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.pain-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 720px;
  margin: 0 auto;
}

.pain-comparison-v2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}
.pain-side-v2 {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pain-side-v2--before { border-color: rgba(220, 38, 38, 0.18); }
.pain-side-v2--after {
  border-color: rgba(14, 138, 138, 0.25);
  box-shadow: 0 8px 32px rgba(14, 138, 138, 0.08);
}
.pain-side-v2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mist);
}
.pain-side-v2-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.pain-side-v2-tag--before { color: var(--red); }
.pain-side-v2-tag--after { color: var(--teal); }
.pain-side-v2-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--red-light);
  color: var(--red);
}
.pain-side-v2-icon--after {
  background: var(--green-light);
  color: var(--green);
}
.pain-side-v2 ul {
  list-style: none;
  display: grid;
  gap: 14px;
}
.pain-side-v2 li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
}
.pain-side-v2 li:last-child { border-bottom: none; padding-bottom: 0; }
.pain-row-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 2px;
}
.pain-row-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}
.pain-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  position: relative;
}
.pain-divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--mist) 50%, transparent 100%);
}
.pain-divider-pill {
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 8px 0;
  box-shadow: 0 4px 16px rgba(11, 31, 59, 0.15);
}

/* ===== FLOW (4-step linear with arrows + loopback) ===== */
.flow-wrap {
  position: relative;
  margin: 56px 0 80px;
}
.flow-rail {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--teal-light) 10%, var(--teal-light) 90%, transparent 100%);
  pointer-events: none;
}
.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  position: relative;
}
.flow-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.flow-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.flow-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
}
.flow-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-card-icon svg { width: 20px; height: 20px; }
.flow-card h4 {
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.flow-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--teal);
  font-weight: 300;
  padding: 0 4px;
}
.flow-loopback {
  position: relative;
  margin-top: 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-loopback svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-loopback-label {
  position: relative;
  background: var(--white);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal-light);
  border-radius: 100px;
}

/* ===== TRUST V2 — restructured ===== */
.trust-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 32px;
}
.trust-bg-glow {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 138, 138, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.trust-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 72px;
  position: relative;
}
.trust-head .display-h2 {
  margin: 0 auto 16px;
}
.trust-head .lead {
  margin: 0 auto;
}
.trust-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  margin-bottom: 56px;
}
.trust-pillars-v2 {
  display: grid;
  gap: 20px;
}
.trust-pillar-v2 {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
}
.trust-pillar-v2:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(14, 138, 138, 0.4);
  transform: translateX(4px);
}
.trust-pillar-v2-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(14, 138, 138, 0.15);
  border: 1px solid rgba(14, 138, 138, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-bright);
  flex-shrink: 0;
}
.trust-pillar-v2-icon svg { width: 24px; height: 24px; }
.trust-pillar-v2-body h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.trust-pillar-v2-body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.trust-cta {
  text-align: center;
  position: relative;
}

/* ===== RESPONSIVE for v2.1 patches ===== */
@media (max-width: 1100px) {
  .what-is-grid { grid-template-columns: 1fr; gap: 16px; }
  .what-is-h2 { font-size: 32px; }
  .pain-comparison-v2 { grid-template-columns: 1fr; gap: 16px; }
  .pain-divider { width: 100%; flex-direction: row; padding: 8px 0; }
  .pain-divider-line { height: 1px; width: auto; flex: 1; background: linear-gradient(90deg, transparent 0%, var(--mist) 50%, transparent 100%); }
  .pain-divider-pill { margin: 0 16px; }
  .pain-head .display-h2 { font-size: 36px; }
  .flow-grid { grid-template-columns: 1fr; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .flow-rail { display: none; }
  .flow-loopback { display: none; }
  .trust-grid-v2 { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 600px) {
  .what-is-h2 { font-size: 26px; }
  .pain-head .display-h2 { font-size: 28px; }
  .pain-side-v2 li { grid-template-columns: 1fr; gap: 4px; }
  .pain-row-label { font-size: 10px; }
}

/* ===== CONTACT FORM (partner walkthrough) ===== */
.ct-form-section {
  background: var(--cloud);
  padding: 120px 32px;
  scroll-margin-top: 100px;
}
.ct-form-inner {
  max-width: 760px;
  margin: 0 auto;
}
.ct-form-head {
  text-align: center;
  margin-bottom: 48px;
}
.ct-form-head h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 16px;
}
.ct-form-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto;
}
.ct-form {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 20px;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ct-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--slate);
}
.ct-form-field input,
.ct-form-field select,
.ct-form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: all 0.2s var(--ease);
  outline: none;
}
.ct-form-field input:focus,
.ct-form-field select:focus,
.ct-form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.ct-form-field input::placeholder,
.ct-form-field textarea::placeholder {
  color: var(--slate-light);
}
.ct-form-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}
.ct-form-field--inline { padding: 4px 0; }
.ct-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.ct-checkbox input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}
.ct-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--mist);
  flex-wrap: wrap;
}
.ct-form-foot-note {
  font-size: 13px;
  color: var(--slate);
}
.ct-form-confirm {
  display: none;
  background: var(--white);
  border: 1px solid var(--teal);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.ct-form-confirm.show { display: block; }
.ct-form-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.ct-form-confirm-icon svg { width: 32px; height: 32px; }
.ct-form-confirm h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.ct-form-confirm p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 480px;
  margin: 0 auto;
}
.ct-form-confirm a { color: var(--teal); }

@media (max-width: 720px) {
  .ct-form { padding: 28px 22px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-foot { flex-direction: column; align-items: stretch; }
  .ct-form-head h2 { font-size: 28px; }
}

/* =====================================================
   v2.4 — partner-page trust polish + device overflow fix
   ===================================================== */

/* Soft cloud panel around the trust-grid on partner pages.
   No layout changes. */
.section--white > .section-inner > .trust-grid {
  background: var(--cloud);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

@media (max-width: 880px) {
  .section--white > .section-inner > .trust-grid {
    padding: 32px 24px;
  }
}

/* CRITICAL: clip device images to the visual frame height.
   The feedback screenshot is very tall and was bleeding out
   of .trust-visual into the next section. */
.trust-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.device {
  max-height: 480px;
  overflow: hidden;
}
.device img {
  width: 100%;
  height: auto;
  display: block;
}

/* Constrain the device-stack so absolutely-positioned children
   stay within the visual area. */
.trust-visual .device-stack {
  height: 100%;
  max-height: 480px;
}

/* =====================================================
   v2.5 — responsive + accessibility polish
   ===================================================== */

/* Sectors grid — better intermediate breakpoint */
@media (max-width: 880px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-tile { min-height: 200px; padding: 24px 22px; }
}
@media (max-width: 520px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-tile { min-height: auto; }
}

/* Trust strip wraps cleaner on small screens */
@media (max-width: 880px) {
  .trust-strip-inner { gap: 16px 20px; }
  .trust-strip-label { width: 100%; text-align: center; }
}

/* Persona example card — protect from overflow on small screens */
@media (max-width: 600px) {
  .persona-example { padding: 24px 20px; }
  .persona-example-id { gap: 12px; }
  .persona-name { font-size: 20px; }
  .persona-axis-row { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .persona-axis-val { flex-direction: column; align-items: flex-start; gap: 8px; }
  .persona-trigger-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .triptych-card { padding: 28px 24px; }
  .triptych-card h3 { font-size: 22px; }
}

/* Founders diagram — better mobile spacing */
@media (max-width: 1100px) {
  .founders-diagram { gap: 20px; }
  .founder-arc { padding: 28px 24px; }
}

/* Flow grid — keep arrows visible on tablet */
@media (max-width: 1100px) and (min-width: 720px) {
  .flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .flow-arrow { display: none; }
  .flow-rail { display: none; }
}

/* Feedback card — no overflow on narrow viewports */
@media (max-width: 600px) {
  .feedback-card { padding: 20px; }
  .feedback-overall { font-size: 26px; }
  .feedback-card-title { font-size: 15px; }
}

/* Pain comparison — labels full width on narrow viewports */
@media (max-width: 480px) {
  .pain-side-v2 { padding: 24px 20px; }
  .pain-side-v2 li { padding: 12px 0; }
}

/* Trust pillar v2 — stack icon above text on narrow */
@media (max-width: 480px) {
  .trust-pillar-v2 {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
}

/* Accents orb — switch to flat tag layout on narrow screens for clarity */
@media (max-width: 480px) {
  .accents-orb {
    width: 100%;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 80px 0 32px;
    position: relative;
  }
  .accents-orb .accent-tag {
    position: static;
    transform: none !important;
  }
  .accents-orb-core {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
  }
  .accents-orb-core-num { font-size: 28px; }
}

/* Founder arcs — clean stacking, no SVG dividers between cards */
@media (max-width: 1100px) {
  .founders-diagram { grid-template-columns: 1fr; }
}

/* Hero on tablet — image still visible but proportional */
@media (max-width: 1100px) and (min-width: 881px) {
  .hero { padding: 130px 32px 90px; }
  .hero-image-bg { width: 50%; }
  .hero-content { max-width: 520px; }
  .hero-stats { gap: 32px; }
}

/* Long URLs and text never overflow viewport */
.hero h1, h1, h2, h3, h4, p { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.hero h1, .display-h2 { hyphens: none; overflow-wrap: break-word; }

/* Container helper — anything that uses .section-inner gets a sane min-width:0 fallback */
.section-inner { min-width: 0; }

/* Footer email/links never overflow on narrow */
.footer-col a { overflow-wrap: anywhere; }
.footer-bottom { font-size: 12px; }

/* Fix nav scrolled state contrast in dark sections */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(11, 31, 59, 0.06);
}

/* Tap-target minimums for mobile (44x44 per Apple HIG / WCAG 2.5.5 AAA) */
@media (max-width: 880px) {
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-col a { padding: 4px 0; min-height: 32px; display: flex; align-items: center; }
}

/* Make image-based wordmark readable for screen readers */
.wordmark::before {
  content: 'Attuniq';
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wordmark { position: relative; }

/* Print styles — clean output */
@media print {
  .nav, .footer, .nav-backdrop, .skip-link, .final-cta { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .hero, .persona-section, .trust-section { background: #fff !important; color: #000 !important; }
  .hero h1, .display-h2, h2, h3, h4 { color: #000 !important; }
}

/* =====================================================
   REFERENCE BRIDGE — tokens & primitives ported from
   Bassim's reference design, re-skinned to Attuniq brand
   (teal accent, navy ink, Instrument Serif editorial display)
   ===================================================== */

:root {
  /* Tokens consumed by ref components (hero, persona configurator, sectors, about) */
  --warm: var(--teal);
  --warm-soft: var(--teal-bright);
  --warm-tint: var(--teal-light);

  --bg: var(--white);
  --bg-alt: var(--cloud);
  --bg-deep: #EEF2F6;
  --bg-ink: var(--navy);

  --ink-soft: var(--slate);
  --ink-faint: var(--slate-light);
  --ink-line: var(--mist);
  --ink-line-soft: rgba(229, 231, 235, 0.55);

  --green-tint: var(--green-light);
  --amber-tint: var(--amber-light);
  --red-tint: var(--red-light);

  /* Brand display font — Plus Jakarta Sans is the Attuniq display face.
     We keep the `--serif` token name for compatibility with imported
     ref components, but it now points at the brand display font, not
     an editorial serif. */
  --serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius-ref: 14px;
  --radius-ref-lg: 24px;
}

/* Typography primitives — standalone, used by imported components */
.serif { font-family: var(--serif); font-weight: 600; }
.mono { font-family: var(--mono); }

.display {
  font-family: var(--serif);
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  /* Override the global `h1 { overflow-wrap: anywhere; hyphens: auto }`
     so editorial display headlines wrap at word boundaries only. */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  -webkit-hyphens: none;
}
.display em { font-style: italic; font-weight: 600; color: var(--warm); }

.title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  /* Same word-boundary wrapping as .display — no character break, no hyphens */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  -webkit-hyphens: none;
}
.title em { font-style: italic; font-weight: 600; color: var(--warm); }

.subtitle {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 600;
  hyphens: none;
  -webkit-hyphens: none;
}

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--slate);
  max-width: 60ch;
}

.eyebrow-ref {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-ref::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--warm);
}
.eyebrow-ref.no-line::before { display: none; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-pad { padding: clamp(80px, 10vw, 160px) 0; }
.section-pad-sm { padding: clamp(56px, 7vw, 96px) 0; }
.hairline { height: 1px; background: var(--mist); }

/* Utility classes used by imported components */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; } .gap-5 { gap: 48px; }
.aic { align-items: center; }
.ais { align-items: flex-start; }
.jcsb { justify-content: space-between; }
.jcc { justify-content: center; }
.flex-1 { flex: 1; }
.tac { text-align: center; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; } .mb-6 { margin-bottom: 64px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.muted { color: var(--slate); }
.faint { color: var(--slate-light); }
.warm { color: var(--teal); }

/* Editorial buttons (ref components reference these class names) */
.btn-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn-primary.btn-ref, .btn.btn-ref-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary.btn-ref:hover, .btn.btn-ref-primary:hover {
  background: var(--teal);
  transform: translateY(-1px);
}
.btn-ghost.btn-ref, .btn.btn-ref-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--mist);
}
.btn-ghost.btn-ref:hover, .btn.btn-ref-ghost:hover { border-color: var(--ink); }
.btn-ref-sm { padding: 10px 16px; font-size: 13px; }

.arrow { transition: transform 0.2s; }
.btn-ref:hover .arrow { transform: translateX(2px); }

/* Animated underline link */
.uline {
  position: relative;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.3s ease;
}
.uline:hover::after { transform: scaleX(1.04); }

/* Card primitive used by ref components */
.card-ref {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-ref);
  padding: 28px;
}
.card-ref-elev {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-ref-lg);
  padding: 36px;
  box-shadow: 0 1px 0 0 rgba(229, 231, 235, 0.5), 0 30px 60px -40px rgba(11, 31, 59, 0.18);
}

/* Traffic-light dots */
.dot-ref { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  gap: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 60s linear infinite;
  flex-shrink: 0;
  padding-right: 56px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Animations used by ref components */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 1; animation: fadeUp 0.6s cubic-bezier(.2,.8,.2,1); }

@keyframes blink-ref { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.typing-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--slate);
  margin: 0 2px;
  animation: blink-ref 1.4s infinite both;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse-soft {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

/* Page intro (used by sectors, about, contact) */
.page-intro {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--mist);
}

