/* pages-v1.css — shared layout styles for the /security, /tour/*, and
   /solutions/* pages added 2026-06-10.

   WHY A SHARED FILE (vs. the inline-everything convention on index/corporate):
   eight sibling pages share ~95% of their CSS; inlining it eight times is the
   exact drift problem sync-partials.mjs exists to prevent. The render-blocking
   cost is one cached request (immutable, 1-year cache per vercel.json).

   VERSIONING: /assets/* is cached immutably. NEVER edit this file in place
   after deploy — copy to pages-v2.css and repoint the pages (see
   reference_landing_asset_caching). Each page still inlines the tiny
   common.css block (vars + font-face) exactly like corporate.html does, so
   first paint doesn't wait on this file for typography.

   Class names mirror corporate.html so copy can move between pages freely. */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV (base bar; dropdown panels come from /assets/nav.css) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800; font-size: 1.25rem; color: var(--brand-navy);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--gray-600); font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta {
  background: var(--brand-blue) !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 8px !important;
  font-weight: 600 !important; transition: background 0.2s !important;
  text-decoration: none !important; display: inline-block !important;
}
.nav-cta:hover { background: var(--brand-blue-light) !important; }
.nav-signin { padding: 8px 14px !important; border-radius: 8px !important; font-weight: 600 !important; color: var(--brand-navy) !important; transition: color 0.2s, background 0.2s !important; }
.nav-signin:hover { color: var(--brand-blue) !important; background: var(--gray-100); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--gray-600); }

/* ── HERO ── */
.hero {
  padding: 140px 24px 48px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.12;
  color: #fff; margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.95);
  max-width: 700px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-ctas {
  display: flex; gap: 16px; max-width: 460px; margin: 0 auto 32px;
  flex-wrap: wrap; justify-content: center;
}
.hero-note { margin-top: 18px; font-size: 0.95rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.hero-kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}

/* ── BUTTONS ── */
.btn {
  padding: 12px 28px; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-white { background: #fff; color: var(--brand-navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-white-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-light); }
.btn-secondary { background: var(--gray-100); color: var(--gray-900); }
.btn-secondary:hover { background: var(--gray-200); }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-blue); margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--brand-navy); margin-bottom: 16px;
  letter-spacing: -0.02em; line-height: 1.2;
}
.section-header p { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; }

/* ── FEATURE CARDS ── */
.features { background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.features-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.feature-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.feature-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  background: var(--brand-blue-bg); color: var(--brand-blue);
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.6; }

/* ── STEPS (how it works) ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; position: relative;
  max-width: 1040px; margin: 0 auto;
}
.steps-grid--three { grid-template-columns: repeat(3, 1fr); max-width: 820px; }
.steps-grid::before {
  content: ""; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gray-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

/* ── COMPLIANCE / ROADMAP STATUS CARDS (trust page) ── */
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; margin: 0 auto; }
.status-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.status-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.status-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.status-pill--live { background: var(--brand-green-bg); color: var(--brand-green); }
.status-pill--progress { background: var(--brand-orange-bg); color: var(--brand-orange); }
.status-pill--planned { background: var(--gray-100); color: var(--gray-500); }
.status-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }
.status-card ol { margin: 10px 0 0 18px; font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ── PLAIN-LANGUAGE LIST (trust page practices) ── */
.practice-list { max-width: 760px; margin: 0 auto; }
.practice {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
}
.practice:last-child { border-bottom: none; }
.practice-ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-blue-bg); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.practice h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.practice p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.65; }

/* ── TOUR STOP LIST (tour entry pages) ── */
.stops { max-width: 720px; margin: 0 auto; counter-reset: stop; }
.stop {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--gray-200);
}
.stop:last-child { border-bottom: none; }
.stop::before {
  counter-increment: stop; content: counter(stop);
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.stop h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.stop p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.65; }

/* ── FAQ ── */
.faq { background: #fff; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 0;
  font-size: 1rem; font-weight: 600; color: var(--gray-900);
  text-align: left; cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
  content: "+"; font-size: 1.4rem; font-weight: 400;
  color: var(--gray-400); transition: transform 0.2s;
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }

/* ── FINAL CTA BAND ── */
.demo-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff; text-align: center;
  padding: 100px 24px;
}
.demo-cta-inner { max-width: 700px; margin: 0 auto; }
.demo-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.demo-cta p { font-size: 1.05rem; color: rgba(255,255,255,0.95); margin-bottom: 32px; line-height: 1.7; }
.demo-cta .hero-ctas { margin-bottom: 0; }

/* ── FOOTER (matches the footer-main partial's flat structure) ── */
footer {
  background: var(--brand-navy); color: rgba(255,255,255,0.8);
  padding: 48px 24px; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.footer-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.social-icons { display: flex; justify-content: center; gap: 20px; margin: 0 auto 16px; flex-wrap: wrap; }
footer p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .steps-grid, .steps-grid--three { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .status-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-inner { height: 64px; }
  .logo { font-size: 1.1rem; }
  .hero { padding: 100px 16px 40px; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
  section { padding: 60px 16px; }
  .section-header { margin-bottom: 40px; }
  .features-grid, .features-grid--two { grid-template-columns: 1fr; }
  .demo-cta { padding: 60px 16px; }
}
@media (max-width: 480px) {
  .steps-grid, .steps-grid--three { grid-template-columns: 1fr; }
}
