/* ============================================================
   RENOXPRESS — Brand Stylesheet
   Colors, type, and components per official brand guidelines.
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --text-3xl: clamp(2.6rem, 1.6rem + 4vw, 4.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Brand palette */
  --navy: #0B1423;
  --navy-2: #111d31;      /* elevated navy surface */
  --navy-3: #16233b;
  --green: #84CC16;       /* primary brand accent */
  --lime: #A3E635;        /* secondary highlight */
  --slate: #404852;
  --slate-light: #5b6472;
  --grey: #F5F7FA;
  --grey-2: #eaeef4;
  --white: #FFFFFF;

  /* Semantic roles (light default) */
  --color-bg: var(--white);
  --color-surface: var(--grey);
  --color-surface-2: var(--white);
  --color-border: #dde3ec;
  --color-text: var(--navy);
  --color-text-muted: var(--slate);
  --color-text-faint: var(--slate-light);
  --color-accent: var(--green);
  --color-accent-strong: #6fa80f;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(11,20,35,.06);
  --shadow-md: 0 8px 24px rgba(11,20,35,.08);
  --shadow-lg: 0 24px 60px rgba(11,20,35,.14);
  --shadow-green: 0 12px 32px rgba(132,204,22,.28);

  --content: 1200px;
  --content-narrow: 820px;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

/* ---- Reset / base ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul[role='list'] { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
::selection { background: rgba(132,204,22,.3); color: var(--navy); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--radius-sm); }

a,button,input,textarea,select {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition), opacity var(--transition);
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.eyebrow {
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-strong); display: inline-flex; align-items: center; gap: var(--space-2);
}
.eyebrow::before { content:''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.section-title { font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-4); }
.section-sub { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: var(--space-4); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: var(--space-12); }
.text-green { color: var(--color-accent-strong); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-full);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--lime); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--text-base); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); }
.nav-link {
  font-weight: 500; font-size: var(--text-sm); color: var(--slate); position: relative; padding-block: 4px;
}
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--navy); }
.nav-link[aria-current='page']::after {
  content:''; position:absolute; left:0; bottom:-2px; width:100%; height:2px; background: var(--green); border-radius:2px;
}
.nav-cta { display: flex; align-items: center; gap: var(--space-4); }
.nav-signin { font-weight:600; font-size: var(--text-sm); color: var(--slate); }
.nav-signin:hover { color: var(--navy); }
.nav-toggle { display:none; width:44px; height:44px; align-items:center; justify-content:center; border-radius: var(--radius-md); color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-link--mobile, .nav-cta--mobile { display: none; }

/* ---- Logo (brand wordmark image) ---- */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.hero::before {
  content:''; position:absolute; inset:0; z-index:0;
  background: url('img/pattern-navy.png') center/cover no-repeat; opacity:.5;
}
.hero::after {
  content:''; position:absolute; inset:0; z-index:0;
  background: radial-gradient(1000px 600px at 78% 12%, rgba(132,204,22,.18), transparent 60%),
              radial-gradient(700px 500px at 8% 90%, rgba(163,230,53,.10), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(132,204,22,.12); border: 1px solid rgba(132,204,22,.35);
  color: var(--lime); font-size: var(--text-xs); font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full); letter-spacing: .02em;
}
.hero-badge .dot { width:7px; height:7px; border-radius:50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.25); }
.hero h1 {
  font-size: var(--text-3xl); font-weight: 800; margin-top: var(--space-6); color: var(--white);
}
.hero h1 .accent { color: var(--green); }
.hero-sub { font-size: var(--text-lg); color: rgba(255,255,255,.78); margin-top: var(--space-6); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-trust { display:flex; flex-wrap:wrap; gap: var(--space-6) var(--space-8); margin-top: var(--space-10); color: rgba(255,255,255,.6); font-size: var(--text-sm); }
.hero-trust-item { display:flex; align-items:center; gap: var(--space-2); }
.hero-trust-item svg { width:18px; height:18px; color: var(--green); flex-shrink:0; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.hero-visual::before {
  content:''; position:absolute; inset:-8%; z-index:-1;
  background: radial-gradient(circle, rgba(132,204,22,.22), transparent 68%); filter: blur(20px);
}
.hero-float {
  position:absolute; background: var(--navy-2); border:1px solid rgba(132,204,22,.28);
  border-radius: var(--radius-md); padding: 0.7rem 0.95rem; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:.6rem; font-size: var(--text-xs); font-weight:600;
}
.hero-float svg { width:20px; height:20px; color: var(--green); }
.hero-float.f1 { top: 8%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-float.f2 { bottom: 10%; right: -5%; animation: float 6s ease-in-out infinite 2s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* logo strip */
.logo-strip { border-block: 1px solid var(--color-border); background: var(--white); }
.logo-strip-inner { display:flex; flex-direction:column; align-items:center; gap: var(--space-6); padding-block: var(--space-10); }
.logo-strip-label { font-size: var(--text-xs); font-weight:700; letter-spacing:.14em; text-transform:uppercase; color: var(--color-text-faint); }
.logo-strip-row { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap: var(--space-8) var(--space-12); }
.logo-strip-item { display:flex; align-items:center; gap:.5rem; color: var(--slate); font-family: var(--font-display); font-weight:700; font-size: var(--text-lg); opacity:.65; }
.logo-strip-item svg { width:26px; height:26px; color: var(--slate); }

/* ============================================================
   JOURNEY TIMELINE
   ============================================================ */
.journey { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.journey::before {
  content:''; position:absolute; inset:0; background: url('img/pattern-navy.png') center/cover; opacity:.4;
}
.journey .container { position: relative; z-index:1; }
.journey .eyebrow { color: var(--lime); }
.journey .section-title { color: var(--white); }
.journey .section-sub { color: rgba(255,255,255,.72); }
.journey-track {
  margin-top: var(--space-16); display: grid;
  grid-template-columns: repeat(6, 1fr); gap: var(--space-6); position: relative;
}
.journey-track::before {
  content:''; position:absolute; top: 22px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--lime)); opacity:.4;
}
.journey-step { position: relative; text-align: center; }
.journey-node {
  width: 46px; height: 46px; margin: 0 auto var(--space-5); border-radius: 50%;
  background: var(--navy-2); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--lime); font-size: var(--text-base);
  position: relative; z-index: 2;
}
.journey-step:hover .journey-node { background: var(--green); color: var(--navy); box-shadow: var(--shadow-green); }
.journey-step h3 { font-size: var(--text-lg); font-weight: 700; color: var(--white); }
.journey-step p { font-size: var(--text-sm); color: rgba(255,255,255,.62); margin-top: var(--space-2); }

/* ============================================================
   FEATURES
   ============================================================ */
.features-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.features-intro-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.feature-list { margin-top: var(--space-8); display: grid; gap: var(--space-6); }
.feature-list-item { display: flex; gap: var(--space-4); }
.feature-list-item .fi-icon {
  flex-shrink:0; width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(132,204,22,.14); color: var(--color-accent-strong);
  display:flex; align-items:center; justify-content:center;
}
.feature-list-item .fi-icon svg { width: 22px; height: 22px; }
.feature-list-item h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; }
.feature-list-item p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }

.feature-grid { margin-top: var(--space-12); display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-5); }
.feature-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.feature-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .fc-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display:flex; align-items:center; justify-content:center; color: var(--lime);
}
.feature-card .fc-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; }
.feature-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* ============================================================
   VALUE PILLARS
   ============================================================ */
.pillars { background: var(--color-surface); }
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
.pillar-card {
  background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8); position: relative; overflow: hidden;
}
.pillar-card::before {
  content:''; position:absolute; top:0; left:0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--green), var(--lime));
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pillar-num { font-family: var(--font-display); font-weight:800; font-size: var(--text-2xl); color: var(--grey-2); line-height:1; }
.pillar-card h3 { font-size: var(--text-xl); font-weight: 800; margin-top: var(--space-4); }
.pillar-card p { color: var(--color-text-muted); margin-top: var(--space-3); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-note { font-size: var(--text-xs); color: var(--color-text-faint); font-style: italic; margin-top: var(--space-4); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
.testi-card {
  background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5);
}
.testi-stars { display:flex; gap:2px; color: var(--green); }
.testi-stars svg { width:18px; height:18px; }
.testi-quote { font-size: var(--text-base); color: var(--navy); flex-grow:1; }
.testi-author { display:flex; align-items:center; gap: var(--space-3); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink:0;
  background: linear-gradient(135deg, var(--navy), var(--slate));
  color: var(--lime); display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:800; font-size: var(--text-sm);
}
.testi-author .ta-name { font-family: var(--font-display); font-weight:700; font-size: var(--text-sm); }
.testi-author .ta-role { font-size: var(--text-xs); color: var(--color-text-muted); }

/* stats row */
.stats-row { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--space-8); margin-top: var(--space-16); text-align:center; }
.stat-num { font-family: var(--font-display); font-weight:800; font-size: var(--text-2xl); color: var(--navy); }
.stat-num .u { color: var(--color-accent-strong); }
.stat-label { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }

/* ============================================================
   PRICING TEASER
   ============================================================ */
.pricing-teaser { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.pricing-teaser::before { content:''; position:absolute; inset:0; background: url('img/pattern-navy.png') center/cover; opacity:.4; }
.pricing-teaser .container { position: relative; z-index:1; }
.pricing-teaser .eyebrow { color: var(--lime); }
.pricing-teaser .section-title { color: var(--white); }
.pt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
.pt-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  padding: var(--space-8); text-align: center;
}
.pt-card.featured { border-color: var(--green); background: rgba(132,204,22,.06); }
.pt-tier { font-family: var(--font-display); font-weight:700; font-size: var(--text-lg); color: var(--white); }
.pt-price { font-family: var(--font-display); font-weight:800; font-size: var(--text-2xl); color: var(--lime); margin-top: var(--space-2); }
.pt-price span { font-size: var(--text-sm); color: rgba(255,255,255,.55); font-weight:500; }
.pt-desc { font-size: var(--text-sm); color: rgba(255,255,255,.6); margin-top: var(--space-2); }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq-cat-title { font-family: var(--font-display); font-weight:800; font-size: var(--text-xl); margin-bottom: var(--space-6); display:flex; align-items:center; gap: var(--space-3); }
.faq-cat-title .fct-icon { width:34px; height:34px; border-radius: var(--radius-sm); background: rgba(132,204,22,.14); color: var(--color-accent-strong); display:flex; align-items:center; justify-content:center; }
.faq-cat-title .fct-icon svg { width:18px; height:18px; }
.faq-cat { margin-bottom: var(--space-16); }
.faq-list { display: grid; gap: var(--space-3); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.faq-item[open] { border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq-q {
  list-style: none; cursor: pointer; padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .faq-icon { flex-shrink:0; width: 24px; height: 24px; color: var(--color-accent-strong); transition: transform var(--transition); }
.faq-item[open] .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 var(--space-6) var(--space-6); color: var(--color-text-muted); }
.faq-a p + p { margin-top: var(--space-3); }

/* ============================================================
   CTA CLOSER
   ============================================================ */
.cta-closer { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta-closer-inner {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: var(--navy-2); border: 1px solid rgba(132,204,22,.25);
}
.cta-closer-text { padding: clamp(var(--space-10), 5vw, var(--space-20)); }
.cta-closer h2 { font-size: var(--text-2xl); font-weight: 800; color: var(--white); }
.cta-closer h2 .accent { color: var(--green); }
.cta-closer p { color: rgba(255,255,255,.75); font-size: var(--text-lg); margin-top: var(--space-5); max-width: 44ch; }
.cta-closer-actions { display:flex; flex-wrap:wrap; gap: var(--space-4); margin-top: var(--space-8); }
.cta-closer-img { position: relative; min-height: 320px; }
.cta-closer-img img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-block: var(--space-20) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer-brand .logo { margin-bottom: var(--space-5); }
.footer-tagline { font-size: var(--text-sm); max-width: 30ch; color: rgba(255,255,255,.6); }
.footer-contact { margin-top: var(--space-6); display:grid; gap: var(--space-2); font-size: var(--text-sm); }
.footer-contact a { color: var(--lime); }
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { font-family: var(--font-display); font-weight:700; font-size: var(--text-sm); color: var(--white); text-transform: uppercase; letter-spacing:.08em; margin-bottom: var(--space-5); }
.footer-col ul { display:grid; gap: var(--space-3); list-style:none; }
.footer-col a { font-size: var(--text-sm); color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,.1);
  display:flex; flex-wrap:wrap; gap: var(--space-4); justify-content: space-between; align-items:center;
  font-size: var(--text-xs); color: rgba(255,255,255,.5);
}
.footer-bottom-links { display:flex; flex-wrap:wrap; gap: var(--space-5); }
.footer-bottom-links a:hover { color: var(--lime); }

/* ============================================================
   CHAT WIDGET LAUNCHER
   ============================================================ */
#ai-chat-launcher {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-green);
}
#ai-chat-launcher svg { width: 28px; height: 28px; }
#ai-chat-launcher:hover { background: var(--lime); transform: translateY(-3px) scale(1.05); }
#ai-chat-launcher::after {
  content:''; position:absolute; top:6px; right:6px; width:12px; height:12px; border-radius:50%;
  background: var(--lime); border: 2px solid var(--navy);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero { background: var(--navy); color: var(--white); padding-block: var(--space-20) var(--space-16); position: relative; overflow: hidden; }
.legal-hero::before { content:''; position:absolute; inset:0; background: url('img/pattern-navy.png') center/cover; opacity:.4; }
.legal-hero .container { position: relative; z-index:1; }
.legal-hero h1 { font-size: var(--text-2xl); font-weight:800; color: var(--white); }
.legal-hero p { color: rgba(255,255,255,.7); margin-top: var(--space-3); }
.legal-disclaimer {
  background: rgba(132,204,22,.12); border: 1px solid var(--green); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6); margin-top: var(--space-8);
  display:flex; gap: var(--space-4); color: rgba(255,255,255,.9); font-size: var(--text-sm);
}
.legal-disclaimer svg { flex-shrink:0; width: 24px; height:24px; color: var(--lime); }
.legal-body { max-width: var(--content-narrow); }
.legal-body h2 { font-size: var(--text-lg); font-weight: 800; margin-top: var(--space-12); margin-bottom: var(--space-4); scroll-margin-top: 6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight:700; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.legal-body p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.legal-body ul { margin: 0 0 var(--space-4) var(--space-6); color: var(--color-text-muted); display:grid; gap: var(--space-2); }
.legal-body strong { color: var(--navy); }
.legal-meta { font-size: var(--text-sm); color: var(--color-text-faint); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-16); align-items: start; }
.legal-toc { position: sticky; top: 6rem; border-left: 2px solid var(--color-border); padding-left: var(--space-5); }
.legal-toc h4 { font-family: var(--font-display); font-size: var(--text-xs); text-transform: uppercase; letter-spacing:.1em; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.legal-toc ul { list-style:none; display:grid; gap: var(--space-2); }
.legal-toc a { font-size: var(--text-sm); color: var(--color-text-muted); }
.legal-toc a:hover { color: var(--color-accent-strong); }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-page-hero { background: var(--navy); color: var(--white); padding-block: var(--space-20) var(--space-12); position: relative; overflow: hidden; text-align:center; }
.pricing-page-hero::before { content:''; position:absolute; inset:0; background: url('img/pattern-navy.png') center/cover; opacity:.45; }
.pricing-page-hero .container { position: relative; z-index:1; }
.pricing-page-hero h1 { font-size: var(--text-3xl); font-weight:800; color:var(--white); margin-top: var(--space-4); }
.pricing-page-hero h1 .accent { color: var(--green); }
.pricing-page-hero p { color: rgba(255,255,255,.75); font-size: var(--text-lg); margin: var(--space-5) auto 0; max-width: 52ch; }
.audience-toggle {
  display:inline-flex; gap:4px; margin: var(--space-10) auto 0;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-full); padding: 5px;
}
.audience-toggle button {
  font-family: var(--font-display); font-weight:700; font-size: var(--text-sm); color: rgba(255,255,255,.7);
  padding: 0.6rem 1.6rem; border-radius: var(--radius-full);
}
.audience-toggle button.active { background: var(--green); color: var(--navy); }
.billing-note { margin: var(--space-4) auto 0; max-width: 46ch; font-size: var(--text-sm); color: rgba(255,255,255,.6); }
.pricing-page-hero p, .billing-note { text-wrap: balance; }

.pricing-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: calc(-1 * var(--space-16)); position: relative; z-index: 5; }
.plan {
  background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: var(--space-8); display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.plan.popular { border: 2px solid var(--green); box-shadow: var(--shadow-lg); position: relative; }
.plan-badge {
  position:absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--navy); font-family: var(--font-display); font-weight:700;
  font-size: var(--text-xs); padding: 0.35rem 1rem; border-radius: var(--radius-full); white-space:nowrap;
}
.plan-name { font-family: var(--font-display); font-weight:700; font-size: var(--text-lg); }
.plan-for { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); min-height: 2.8em; }
.plan-price { margin-top: var(--space-6); display:flex; align-items:baseline; gap: 4px; }
.plan-price .amt { font-family: var(--font-display); font-weight:800; font-size: var(--text-2xl); color: var(--navy); }
.plan-price .per { font-size: var(--text-sm); color: var(--color-text-muted); }
.plan-trial { font-size: var(--text-xs); color: var(--color-accent-strong); font-weight:600; margin-top: var(--space-2); }
.plan .btn { width: 100%; margin-top: var(--space-6); }
.plan-features { margin-top: var(--space-8); display:grid; gap: var(--space-3); }
.plan-features .pf-head { font-family: var(--font-display); font-weight:700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing:.08em; color: var(--color-text-faint); }
.plan-feat { display:flex; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); align-items:flex-start; }
.plan-feat svg { flex-shrink:0; width:18px; height:18px; margin-top:2px; }
.plan-feat.yes svg { color: var(--color-accent-strong); }
.plan-feat.no { color: var(--color-text-faint); }
.plan-feat.no svg { color: var(--color-text-faint); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .journey-track { grid-template-columns: repeat(3,1fr); gap: var(--space-10) var(--space-6); }
  .journey-track::before { display:none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-left:none; padding-left:0; border-top:1px solid var(--color-border); padding-top: var(--space-6); }
}
@media (max-width: 860px) {
  .nav-links, .nav-signin { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: var(--space-2); }
  .nav[data-open='true'] .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4);
    position: absolute; top: 72px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--color-border); padding: var(--space-6); box-shadow: var(--shadow-md);
  }
  .nav[data-open='true'] .nav-link--mobile { display: block; }
  .nav[data-open='true'] .nav-cta--mobile { display: inline-flex; justify-content: center; margin-top: var(--space-2); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-visual { order: -1; }
  .hero-float { display: none; }
  .features-intro { grid-template-columns: 1fr; gap: var(--space-10); }
  .pillar-grid, .testi-grid, .pt-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid { margin-top: var(--space-8); }
  .plan.popular { order: -1; }
  .stats-row { grid-template-columns: repeat(2,1fr); gap: var(--space-8) var(--space-6); }
  .cta-closer-inner { grid-template-columns: 1fr; }
  .cta-closer-img { min-height: 240px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding-inline: var(--space-5); }
}
