/* ═══════════════════════════════════════════════════════════════
   site.css — Shared styles for TATER marketing pages
   Used by: index.html, features.html, standards.html,
            pricing.html, about.html
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg:         #0a0d14;
  --surface:    #111827;
  --raised:     #1e2535;
  --mid:        #0d1120;  /* between bg and surface, for alternating dark sections */
  --border:     #2a3347;
  --text:       #f5f8ff;
  --sub:        #aabdd0;
  --accent:     #3b9eff;
  --accent2:    #2dcc71;
  --accent3:    #b060e0;
  --warn:       #f0a500;
  --card:       #1e2535;       /* alias for --raised, used by community section */
  --text-muted: #aabdd0;       /* alias for --sub */
  --mono:       'IBM Plex Mono', monospace;
  --sans:       'IBM Plex Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #6bb5ff; }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,13,20,.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
  padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.nav-brand img { height: 34px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--sub); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: .85rem; transition: background .2s, transform .15s; }
.nav-cta:hover { background: #2b88e0; transform: translateY(-1px); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 2rem 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,158,255,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(45,204,113,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(176,96,224,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--raised); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; font-family: var(--mono); font-size: .72rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--sub); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── PAGE HERO (shorter, for sub-pages) ─── */
.page-hero {
  padding: 140px 2rem 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,158,255,.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: var(--sub); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-family: var(--sans); font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2b88e0; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,158,255,.25); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── LOGOS BAR ─── */
.logos-bar {
  padding: 3rem 2rem; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.logos-bar p { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--sub); margin-bottom: 1.5rem; }
.framework-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.fw-chip {
  background: var(--raised); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 18px; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  color: var(--sub); transition: all .2s; white-space: nowrap;
}
.fw-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── SECTIONS ─── */
.section { padding: 100px 2rem; }
.section-dark { background: var(--surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header .label {
  font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--accent); margin-bottom: .75rem;
}
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.section-header p { color: var(--sub); font-size: 1.05rem; }

/* ─── FEATURES ─── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.feature-card {
  background: var(--raised); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; transition: all .3s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: rgba(59,158,255,.1); border-radius: 10px; margin-bottom: 1.1rem; flex-shrink: 0; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-light .feature-icon { background: rgba(59,158,255,.12); }
.fd-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(59,158,255,.1); border-radius: 8px; flex-shrink: 0; }
.fd-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.feature-card p { color: var(--sub); font-size: .9rem; line-height: 1.65; }

/* ─── HOW IT WORKS ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; counter-reset: step; }
.step { text-align: center; padding: 2rem 1.5rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  font-family: var(--mono); font-weight: 700; font-size: 1.2rem; color: #fff;
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { color: var(--sub); font-size: .88rem; }

/* ─── CAPABILITIES ─── */
.cap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto 5rem; align-items: center; }
.cap-row:nth-child(even) { direction: rtl; }
.cap-row:nth-child(even) > * { direction: ltr; }
.cap-text .label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); margin-bottom: .5rem; }
.cap-text h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.cap-text p { color: var(--sub); font-size: .95rem; line-height: 1.7; }
.cap-visual {
  background: var(--raised); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; min-height: 280px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cap-visual .mock-ui { width: 100%; font-family: var(--mono); font-size: .75rem; color: var(--sub); }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; margin-bottom: 4px; }
.mock-row:nth-child(odd) { background: rgba(59,158,255,.05); }
.mock-badge { padding: 3px 8px; border-radius: 4px; font-size: .65rem; font-weight: 600; }
.mock-pass { background: rgba(45,204,113,.15); color: #2dcc71; }
.mock-fail { background: rgba(232,64,64,.15); color: #e84040; }
.mock-warn { background: rgba(240,165,0,.15); color: #f0a500; }
.mock-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.mock-bar-fill { height: 100%; border-radius: 2px; }

/* ─── COMPARISON TABLE ─── */
.comparison-table { max-width: 1100px; margin: 0 auto; overflow-x: auto; }
.comparison-table table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 700px; }
.comparison-table th { text-align: center; padding: 12px 10px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); white-space: nowrap; }
.comparison-table th:first-child { text-align: left; padding-left: 14px; }
.comparison-table thead tr { border-bottom: 2px solid var(--accent); }
.comparison-table tbody tr { border-bottom: 1px solid var(--border); }
.comparison-table tbody tr:hover { background: rgba(59,158,255,.03); }
.comparison-table tbody tr.tater-row { border-bottom: 2px solid var(--accent); background: rgba(59,158,255,.06); }
.comparison-table tbody tr.tater-row:hover { background: rgba(59,158,255,.06); }
.comparison-table tbody tr.tater-row td { color: var(--accent); font-weight: 600; }
.comparison-table td { padding: 10px; text-align: center; }
.comparison-table td:first-child { text-align: left; padding-left: 14px; font-weight: 500; }

/* ─── SAVINGS CALCULATOR ─── */
.calc-card { background: var(--raised); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; max-width: 900px; margin: 0 auto; }
.calc-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.calc-label { font-size: .85rem; color: var(--sub); min-width: 160px; }
.calc-input { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 8px 12px; font-family: var(--sans); font-size: .9rem; width: 120px; }
.calc-input:focus { outline: none; border-color: var(--accent); }
.calc-select { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 8px 12px; font-family: var(--sans); font-size: .85rem; }
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.calc-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.calc-kpi-num { font-size: 1.8rem; font-weight: 700; font-family: var(--mono); color: var(--accent2); }
.calc-kpi-label { font-size: .78rem; color: var(--sub); margin-top: 4px; }
.calc-breakdown { margin-top: 20px; font-size: .85rem; }
.calc-breakdown table { width: 100%; border-collapse: collapse; }
.calc-breakdown th { text-align: left; padding: 8px 12px; font-size: .75rem; color: var(--sub); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .05em; }
.calc-breakdown td { padding: 8px 12px; border-bottom: 1px solid rgba(42,51,71,.5); font-size: .82rem; }
.calc-breakdown td:last-child { text-align: right; font-family: var(--mono); font-weight: 600; color: var(--accent2); }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.price-card {
  background: var(--raised); border: 1px solid var(--border); border-radius: 14px;
  padding: 2.5rem 2rem; text-align: center; transition: all .3s; position: relative;
}
.price-card.featured { border-color: var(--accent); }
.price-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: .65rem; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .08em;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.price-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.price-card .price { font-size: 2.2rem; font-weight: 700; margin: 1rem 0; }
.price-card .price span { font-size: .85rem; font-weight: 400; color: var(--sub); }
.price-card .desc { color: var(--sub); font-size: .85rem; margin-bottom: 1.5rem; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 2rem; }
.price-card li { padding: 6px 0; font-size: .88rem; color: var(--sub); display: flex; align-items: baseline; gap: 8px; }
.price-card li::before { content: '\2713'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }
.price-btn { display: block; width: 100%; padding: 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; cursor: pointer; border: none; transition: all .2s; text-align: center; }
.price-btn-primary { background: var(--accent); color: #fff; }
.price-btn-primary:hover { background: #2b88e0; color: #fff; }
.price-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.price-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── TIMELINE ─── */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent3)); }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); z-index: 1; }
.timeline-item:first-child .timeline-dot { background: var(--accent2); box-shadow: 0 0 10px rgba(45,204,113,.4); }
.timeline-item:last-child .timeline-dot { background: var(--accent3); }
.timeline-date { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .35rem; }
.timeline-title { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.timeline-desc { font-size: .88rem; color: var(--sub); line-height: 1.6; }

/* ─── TESTIMONIAL ─── */
.testimonial-card {
  max-width: 700px; margin: 0 auto; text-align: center;
  background: var(--raised); border: 1px solid var(--border); border-radius: 16px; padding: 3rem;
}
.testimonial-card blockquote { font-size: 1.15rem; font-style: italic; color: var(--text); line-height: 1.8; margin-bottom: 1.5rem; }
.testimonial-card cite { font-style: normal; color: var(--sub); font-size: .9rem; }
.testimonial-card cite strong { color: var(--text); }

/* ─── CTA BANNER ─── */
.cta-banner {
  text-align: center; padding: 80px 2rem;
  background: linear-gradient(135deg, rgba(59,158,255,.08), rgba(176,96,224,.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-banner p { color: var(--sub); font-size: 1.05rem; margin-bottom: 2rem; }

/* ─── STANDARDS GRID ─── */
.standards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.standard-card {
  background: var(--raised); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.75rem; text-align: center; transition: all .3s; position: relative;
}
.standard-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.standard-icon { font-size: 2.2rem; margin-bottom: .75rem; display: block; }
.standard-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.standard-card .standard-count { font-family: var(--mono); font-size: .78rem; color: var(--accent); margin-bottom: .4rem; }
.standard-card p { color: var(--sub); font-size: .82rem; line-height: 1.55; }

/* ─── FEATURE DETAILS (expandable accordion) ─── */
.feature-card .learn-more {
  display: inline-block; margin-top: .75rem; font-size: .82rem; font-weight: 600;
  color: var(--accent); cursor: pointer; transition: color .2s;
}
.feature-card .learn-more:hover { color: #6bb5ff; }
.feature-detail-container { max-width: 1100px; margin: 0 auto; }
.feature-detail {
  max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4,0,.2,1), padding .4s ease, opacity .4s ease;
  opacity: 0; background: var(--raised); border: 1px solid var(--border); border-radius: 16px;
  margin: 1rem auto 0; max-width: 1100px; padding: 0 2.5rem;
}
.feature-detail.open { max-height: 2000px; opacity: 1; padding: 2.5rem; }
.feature-detail-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; }
.feature-detail-header .fd-icon { font-size: 2.2rem; }
.feature-detail-header h3 { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.feature-detail-body { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; }
.feature-detail-body .fd-content p { color: var(--sub); font-size: .92rem; line-height: 1.7; margin-bottom: 1rem; }
.feature-detail-body .fd-content h4 { font-size: .75rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 .6rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.feature-detail-body .fd-content ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.feature-detail-body .fd-content ul li { padding: 5px 0; font-size: .88rem; color: var(--sub); display: flex; align-items: baseline; gap: 8px; }
.feature-detail-body .fd-content ul li::before { content: '\2713'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }
.feature-detail-body .fd-persona { margin-top: 1rem; padding: .75rem 1rem; background: rgba(59,158,255,.06); border-radius: 8px; border-left: 3px solid var(--accent); }
.feature-detail-body .fd-persona strong { color: var(--text); font-size: .82rem; }
.feature-detail-body .fd-persona span { color: var(--sub); font-size: .82rem; }
.fd-screenshot {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  min-height: 220px; display: flex; align-items: center; justify-content: center;
  color: var(--sub); font-family: var(--mono); font-size: .78rem; text-align: center;
  padding: 2rem; position: relative; overflow: hidden;
}
.fd-screenshot::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,158,255,.04), rgba(176,96,224,.04));
  pointer-events: none;
}
.feature-detail .fd-close {
  display: block; margin: 1.5rem auto 0; padding: 8px 24px; background: transparent;
  border: 1px solid var(--border); border-radius: 8px; color: var(--sub); font-family: var(--sans);
  font-size: .85rem; cursor: pointer; transition: all .2s;
}
.feature-detail .fd-close:hover { border-color: var(--accent); color: var(--accent); }

/* ─── FOOTER ─── */
.site-footer {
  padding: 4rem 2rem 2rem; border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto 3rem; }
.footer-brand p { color: var(--sub); font-size: .85rem; margin-top: .75rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sub); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--sub); font-size: .88rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: var(--sub);
}

/* ─── STATS BAR ─── */
.stats-bar { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.stat-item { flex: 1; min-width: 130px; text-align: center; padding: 1.5rem 1rem;
  border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 700; line-height: 1.1; margin-bottom: .3rem; }
.stat-label { font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sub); }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0;
  cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text); transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-arrow { font-size: 1.2rem; transition: transform .3s; color: var(--sub); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease;
  color: var(--sub); font-size: .92rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }

/* ─── ROI ZONE CHECKBOXES (card-style grid) ─── */
.zone-check-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; cursor: pointer; transition: all .2s; font-size: .82rem;
  user-select: none;
}
.zone-check-card:hover { border-color: var(--accent); background: rgba(59,158,255,.04); }
.zone-check-card.checked { border-color: var(--accent); background: rgba(59,158,255,.07); }
.zone-check-card input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.zone-check-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; background: var(--raised); border-radius: 6px; flex-shrink: 0; }
.zone-check-card.checked .zone-check-icon { background: rgba(59,158,255,.12); }
.zone-check-name { font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-check-count { font-family: var(--mono); font-size: .7rem; color: var(--sub); margin-left: auto; white-space: nowrap; }

/* ─── COMPLIANCE ZONE CARDS ─── */
.zone-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
  max-width: 1000px; margin: 0 auto;
}
.zone-card {
  background: var(--raised); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.25rem; text-align: center; transition: all .3s;
}
.zone-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.zone-card-icon { font-size: 1.8rem; margin-bottom: .5rem; display: block; }
.zone-card-name { font-size: .9rem; font-weight: 600; color: var(--text); }

/* ─── ALTERNATING TIMELINE ─── */
.timeline-alt {
  position: relative; max-width: 900px; margin: 0 auto; padding: 0;
}
.timeline-alt::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent3));
  transform: translateX(-50%);
}
.tl-entry {
  position: relative; display: flex; align-items: flex-start; margin-bottom: 3rem;
}
.tl-entry:last-child { margin-bottom: 0; }
.tl-entry .tl-left, .tl-entry .tl-right { width: 50%; }
.tl-entry .tl-left { padding-right: 3rem; text-align: right; }
.tl-entry .tl-right { padding-left: 3rem; }
.tl-entry:nth-child(odd) .tl-right { visibility: hidden; height: 0; overflow: hidden; }
.tl-entry:nth-child(even) .tl-left { visibility: hidden; height: 0; overflow: hidden; }
.tl-entry:nth-child(odd) .tl-content { text-align: right; }
.tl-entry:nth-child(even) .tl-content { text-align: left; }
.tl-dot {
  position: absolute; left: 50%; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 4px solid var(--bg); z-index: 2;
  transform: translateX(-50%); box-shadow: 0 0 0 2px var(--accent);
}
.tl-entry:first-child .tl-dot { background: var(--accent2); box-shadow: 0 0 0 2px var(--accent2), 0 0 12px rgba(45,204,113,.4); }
.tl-entry:last-child .tl-dot { background: var(--accent3); box-shadow: 0 0 0 2px var(--accent3); }
.tl-date {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: .4rem; display: inline-block;
  background: var(--raised); border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px;
}
.tl-title { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.tl-desc { font-size: .88rem; color: var(--sub); line-height: 1.65; }

@media (max-width: 768px) {
  .timeline-alt::before { left: 20px; }
  .tl-entry { flex-direction: column; padding-left: 50px; }
  .tl-entry .tl-left, .tl-entry .tl-right { width: 100%; padding: 0; text-align: left !important; }
  .tl-entry:nth-child(odd) .tl-right { visibility: visible; height: auto; overflow: visible; }
  .tl-entry:nth-child(even) .tl-left { visibility: visible; height: auto; overflow: visible; }
  .tl-entry:nth-child(odd) .tl-left { display: none; }
  .tl-entry:nth-child(even) .tl-right { display: none; }
  .tl-entry:nth-child(odd) .tl-content,
  .tl-entry:nth-child(even) .tl-content { text-align: left; }
  .tl-dot { left: 20px; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .feature-detail-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; flex-direction: column; background: var(--bg); padding: 2rem; gap: 1.5rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .cap-row, .cap-row:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .cap-row:nth-child(even) > * { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .stats-bar { gap: 2rem; }
  #pub-calc-zone-checks { grid-template-columns: repeat(2, 1fr) !important; }
  .zone-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { gap: 1.5rem; }
  #pub-calc-zone-checks { grid-template-columns: 1fr !important; }
  .zone-cards-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   ATLURA-INSPIRED DESIGN ADDITIONS
   ══════════════════════════════════════════════════════════════ */

/* ─── ALTERNATING DARK SECTIONS (replaces old light sections) ─── */
.section-light {
  background: var(--mid);
  color: var(--text);
}
.section-light p, .section-light .al-section-sub { color: var(--sub); }

/* ─── SECTION LABEL WITH RULE (Atlura pattern) ─── */
.al-label-wrap {
  display: flex; align-items: center; gap: 14px; margin-bottom: .75rem;
}
.al-label-text {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--accent); white-space: nowrap;
}
.al-label-wrap::after {
  content: ''; display: block; height: 2px; width: 56px;
  background: var(--accent); flex-shrink: 0;
}
.al-section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem;
}
.section-light .al-section-heading { color: var(--text); }

/* ─── HOW IT WORKS CARDS (4-column, dark bg) ─── */
.al-hw-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 2.5rem auto 0;
}
.al-hw-card {
  background: var(--raised); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem 1.75rem; position: relative; overflow: hidden; transition: all .3s;
}
.al-hw-card:hover {
  transform: translateY(-5px); border-color: rgba(59,158,255,.4);
  box-shadow: 0 14px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(59,158,255,.15);
}
.al-hw-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  opacity: 0; transition: opacity .3s;
}
.al-hw-card:hover::before { opacity: 1; }
.al-hw-card::after { display: none; }
.al-hw-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(59,158,255,.1); border: 1px solid rgba(59,158,255,.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.al-hw-icon svg {
  width: 26px; height: 26px; stroke: var(--accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.al-hw-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.al-hw-card p  { color: var(--sub); font-size: .88rem; line-height: 1.65; }

/* ─── ADVANTAGE LIST (dark section, numbered) ─── */
.al-advantage-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; max-width: 1100px; margin: 0 auto; align-items: center;
}
.al-advantage-list { display: flex; flex-direction: column; }
.al-advantage-item {
  display: flex; gap: 1.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.al-advantage-item:first-child { padding-top: 0; }
.al-advantage-item:last-child  { border-bottom: none; padding-bottom: 0; }
.al-num {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 8px;
  background: rgba(59,158,255,.1); border: 1px solid rgba(59,158,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: .9rem; color: var(--accent);
}
.al-advantage-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.al-advantage-item p  { color: var(--sub); font-size: .88rem; line-height: 1.6; }
.al-right-panel {
  background: var(--raised); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; min-height: 380px; position: relative;
}
.al-right-panel::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,158,255,.05), rgba(176,96,224,.05));
  pointer-events: none;
}
.al-panel-header {
  background: var(--surface); padding: 10px 14px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border); position: relative;
}
.al-panel-dot { width: 8px; height: 8px; border-radius: 50%; }
.al-panel-title { font-family: var(--mono); font-size: .7rem; color: var(--sub); flex: 1; text-align: center; }
.al-panel-body { padding: 1rem; }
.al-ctrl-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 6px; margin-bottom: 4px; font-size: .78rem;
}
.al-ctrl-row:nth-child(odd)  { background: rgba(59,158,255,.04); }
.al-ctrl-app  { font-family: var(--mono); color: var(--sub); font-size: .68rem; min-width: 56px; }
.al-ctrl-name { flex: 1; color: var(--text); font-size: .8rem; }
.al-ctrl-badge { padding: 3px 9px; border-radius: 4px; font-size: .63rem; font-weight: 600; white-space: nowrap; }
.al-pass   { background: rgba(45,204,113,.15); color: #2dcc71; }
.al-fail   { background: rgba(232,64,64,.15);  color: #e84040; }
.al-manual { background: rgba(240,165,0,.15);  color: #f0a500; }
.al-skip   { background: rgba(150,150,180,.15); color: #9696b4; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
  justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; color: var(--sub);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.trust-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }
.trust-item strong { color: var(--text); }

/* ─── SPLIT CTA BAR (dark gradient) ─── */
.split-cta-bar {
  background: linear-gradient(135deg, #0d1628 0%, #111827 50%, #0f1a2e 100%);
  border-top: 1px solid rgba(59,158,255,.2);
  border-bottom: 1px solid rgba(59,158,255,.1);
  padding: 80px 2rem; position: relative; overflow: hidden;
}
.split-cta-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(59,158,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(176,96,224,.06) 0%, transparent 70%);
}
.split-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; gap: 2rem; flex-wrap: wrap; position: relative;
}
.split-cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--text); margin-bottom: .5rem;
}
.split-cta-text p { color: var(--sub); font-size: 1rem; }
.split-cta-bar .btn-primary { white-space: nowrap; flex-shrink: 0; font-size: 1rem; }
.split-cta-bar .btn-outline  { border-color: rgba(255,255,255,.25); color: var(--text); }
.split-cta-bar .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── TWO-COLUMN HERO ─── */
.hero-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  max-width: 1200px; margin: 0 auto; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-2col .hero-text { text-align: left; }
.hero-2col .hero-text h1 { text-align: left; }
.hero-2col .hero-text p  { text-align: left; margin: 0 0 2.5rem; max-width: 520px; }
.hero-2col .hero-actions  { justify-content: flex-start; }
.hero-2col .hero-badge    { display: inline-flex; }
.hero-dashboard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hd-topbar {
  background: var(--raised); padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.hd-dot  { width: 9px; height: 9px; border-radius: 50%; }
.hd-title { font-family: var(--mono); font-size: .7rem; color: var(--sub); margin-left: 4px; }
.hd-body  { padding: 1.25rem; }
.hd-score-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 1.25rem;
}
.hd-score {
  background: var(--raised); border-radius: 8px; padding: 10px; text-align: center;
}
.hd-score-num {
  font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: #2dcc71;
}
.hd-score-num.warn { color: #f0a500; }
.hd-score-num.danger { color: #e84040; }
.hd-score-label { font-size: .6rem; color: var(--sub); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.hd-ctrl {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; margin-bottom: 3px;
}
.hd-ctrl:nth-child(odd) { background: rgba(59,158,255,.04); }
.hd-ctrl-app  { font-family: var(--mono); font-size: .63rem; color: var(--sub); min-width: 46px; }
.hd-ctrl-name { flex: 1; font-size: .76rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-badge {
  padding: 2px 8px; border-radius: 4px; font-size: .6rem; font-weight: 700; flex-shrink: 0; white-space: nowrap;
}
.hd-pass   { background: rgba(45,204,113,.15); color: #2dcc71; }
.hd-fail   { background: rgba(232,64,64,.15);  color: #e84040; }
.hd-manual { background: rgba(240,165,0,.15);  color: #f0a500; }

/* ─── RESPONSIVE (new additions) ─── */
@media (max-width: 960px) {
  .al-advantage-split { grid-template-columns: 1fr; gap: 2rem; }
  .al-right-panel { display: none; }
}
@media (max-width: 900px) {
  .hero-2col { grid-template-columns: 1fr; }
  .hero-2col .hero-text { text-align: center; }
  .hero-2col .hero-text h1 { text-align: center; }
  .hero-2col .hero-text p  { text-align: center; margin: 0 auto 2.5rem; }
  .hero-2col .hero-actions  { justify-content: center; }
  .hero-2col .hero-badge    { display: inline-flex; }
  .hero-dashboard           { display: none; }
}
@media (max-width: 600px) {
  .split-cta-inner  { flex-direction: column; text-align: center; }
  .split-cta-bar .btn-primary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   ENTERPRISE POLISH — refined visual layer
   ═══════════════════════════════════════════════════════════════ */

/* ── Font smoothing — the single biggest Mac text quality fix ── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Heading letter-spacing — premium typography signal ── */
h1, h2 { letter-spacing: -0.025em; }
h3 { letter-spacing: -0.01em; }
.hero h1, .al-section-heading { letter-spacing: -0.03em; }
.section-header h2 { letter-spacing: -0.025em; }

/* ── Button — gradient body + inner highlight + glow ring on hover ── */
.btn-primary {
  background: linear-gradient(160deg, #4aaeff 0%, #2878d8 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 2px 8px rgba(59,158,255,.2);
  border: 1px solid rgba(255,255,255,.06);
}
.btn-primary:hover {
  background: linear-gradient(160deg, #5cb5ff 0%, #3b9eff 100%);
  box-shadow: 0 0 0 4px rgba(59,158,255,.15), 0 12px 32px rgba(59,158,255,.3), 0 1px 0 rgba(255,255,255,.15) inset;
  transform: translateY(-2px);
}
.nav-cta {
  background: linear-gradient(160deg, #4aaeff 0%, #2878d8 100%) !important;
  box-shadow: 0 2px 8px rgba(59,158,255,.25) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
.nav-cta:hover {
  background: linear-gradient(160deg, #5cb5ff 0%, #3b9eff 100%) !important;
  box-shadow: 0 0 0 3px rgba(59,158,255,.15), 0 6px 20px rgba(59,158,255,.3) !important;
  transform: translateY(-1px);
}

/* ── Section label — pill with accent background ── */
.section-header .label,
.cap-text .label {
  display: inline-block;
  background: rgba(59,158,255,.1);
  border: 1px solid rgba(59,158,255,.2);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .68rem;
}

/* ── Feature cards — inner highlight + blue glow on hover ── */
.feature-card {
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: rgba(59,158,255,.5);
  box-shadow:
    0 0 0 1px rgba(59,158,255,.15),
    0 20px 60px rgba(0,0,0,.4),
    0 0 80px rgba(59,158,255,.06),
    0 1px 0 rgba(255,255,255,.04) inset;
}

/* ── Standard cards — same treatment ── */
.standard-card {
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.standard-card:hover {
  border-color: rgba(59,158,255,.5);
  box-shadow: 0 0 0 1px rgba(59,158,255,.15), 0 16px 48px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04) inset;
}

/* ── Hero dashboard — blue accent glow to make it pop ── */
.hero-dashboard {
  box-shadow:
    0 0 0 1px rgba(59,158,255,.2),
    0 30px 80px rgba(0,0,0,.6),
    0 0 120px rgba(59,158,255,.08) !important;
}

/* ── Dark sections — subtle dot grid texture ── */
.section-dark {
  background-image: radial-gradient(rgba(59,158,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}

/* ── Stats bar numbers — tighter tracking, bigger impact ── */
.stat-num {
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label { margin-top: 5px; }

/* ── Framework chips — glow on hover ── */
.fw-chip:hover {
  background: rgba(59,158,255,.08);
  border-color: rgba(59,158,255,.4);
  box-shadow: 0 0 14px rgba(59,158,255,.12);
}

/* ── Footer — gradient fade instead of flat surface ── */
.site-footer {
  border-top: none;
  box-shadow: 0 -1px 0 rgba(59,158,255,.12);
  background: linear-gradient(180deg, var(--surface) 0%, #080b11 100%);
}

/* ── CTA banner — richer gradient ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(59,158,255,.09) 0%, rgba(176,96,224,.09) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% -10%, rgba(59,158,255,.12), transparent 65%);
  pointer-events: none;
}

/* ── Logos bar — remove double border, use glow ── */
.logos-bar {
  border-top: none;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(59,158,255,.08) inset, 0 -1px 0 rgba(59,158,255,.08) inset;
}

/* ── Price cards — inner highlight ── */
.price-card {
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.price-card.featured {
  box-shadow: 0 0 0 1px rgba(59,158,255,.25), 0 1px 0 rgba(255,255,255,.08) inset;
}
.price-card:hover {
  box-shadow: 0 0 0 1px rgba(59,158,255,.2), 0 16px 48px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04) inset;
}

/* ── Scrolling compliance ticker ── */
.ticker-wrap {
  overflow: hidden;
  padding: 13px 0;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(59,158,255,.08) inset, 0 -1px 0 rgba(59,158,255,.08) inset;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  user-select: none;
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 0;
  padding: 0 36px;
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sub);
  white-space: nowrap;
  transition: color .2s;
}
.ticker-item:hover { color: var(--text); }
.ticker-sep {
  color: rgba(59,158,255,.35);
  font-size: .7rem;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Nav link active underline ── */
.nav-links a { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -22px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}

/* ── Hd-score glow ── */
.hd-score-num { text-shadow: 0 0 20px rgba(45,204,113,.3); }
.hd-score-num.warn { text-shadow: 0 0 20px rgba(240,165,0,.3); }
.hd-score-num.danger { text-shadow: 0 0 20px rgba(232,64,64,.3); }

/* ── Al-hw-card (How It Works) — remove dated corner triangle ── */
.al-hw-card::after { display: none; }
.al-hw-card {
  border-bottom: 3px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.al-hw-card:hover {
  border-bottom-color: #3b9eff;
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,30,80,.14);
}

/* ── Hero h1 gradient — richer two-stop ── */
.hero h1 .grad {
  background: linear-gradient(125deg, #3b9eff 0%, #a78bfa 60%, #2dcc71 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ ATMOSPHERIC PHOTO UTILITIES ═══════════════════════════════════════════
   .photo-bg on a <section> + a .photo-bg-overlay child for the gradient.
   All other children sit above via z-index:1 automatically.
═══════════════════════════════════════════════════════════════════════════ */
.photo-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.photo-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.photo-bg > *:not(.photo-bg-overlay) {
  position: relative;
  z-index: 1;
}

/* Photo split: text-content left, atmospheric photo right */
.photo-split {
  display: grid;
  grid-template-columns: 57fr 43fr;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.photo-split-content {
  padding: 5rem 4rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}
.photo-split-visual {
  position: relative;
  min-height: 440px;
  background-size: cover;
  background-position: center;
}
/* Gradient bleeds from the text panel into the photo */
.photo-split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, rgba(17,24,39,.4) 36%, rgba(10,13,20,.15) 100%);
  z-index: 1;
}
/* Green-checkmark bullet list used inside photo-split-content */
.photo-checklist {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.photo-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  color: var(--sub);
  font-size: .92rem;
  line-height: 1.55;
}
.photo-checklist li::before {
  content: '';
  display: block;
  width: 16px; height: 16px; min-width: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(45,204,113,.12)
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232dcc71' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 9px no-repeat;
  border: 1px solid rgba(45,204,113,.3);
}
@media (max-width: 820px) {
  .photo-split { grid-template-columns: 1fr; }
  .photo-split-visual { min-height: 220px; }
  .photo-split-visual::before {
    background: linear-gradient(180deg, rgba(10,13,20,.1) 0%, var(--surface) 88%);
  }
  .photo-split-content { padding: 3rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN POLISH 2026-04 — Marketing site refinement layer
   ═══════════════════════════════════════════════════════════════ */

/* Light-mode token override for marketing pages (was dark-only). */
:root[data-theme="light"], html[data-theme="light"] {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --raised: #ffffff;
  --mid: #f1f5f9;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --text: #111827;
  --sub: #6b7280;
  --accent: #1d4ed8;
  --accent2: #16a34a;
  --accent3: #9333ea;
  --warn: #d97706;
  --card: #ffffff;
  --text-muted: #6b7280;
}

/* Refined easing + reduced-motion respect. */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessible focus ring (was missing). */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Subtle custom scrollbar (WebKit + Firefox). */
* { scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
*::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Smoother selection — tracks --accent automatically (color-mix has wide support). */
::selection {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--text);
}

/* ── Marketing theme toggle (injected by site.js) ──────────────── */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--sub);
  width: 36px; height: 36px;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.theme-toggle-btn svg { width: 16px; height: 16px; }
.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }
[data-theme="light"] .theme-toggle-btn .icon-sun { display: block; }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: none; }
@media (max-width: 768px) {
  .theme-toggle-btn { margin-left: 0; }
}

