/* ===================================================================
   VERIORA LABS — Stylesheet
   Design tokens are IBM Plex-based (a nod to enterprise consulting
   heritage) paired with a navy/signal-blue palette drawn from the
   Veriora mark: a solid, human "V" that resolves into a structured
   grid of blue — business, powered by technology.
   =================================================================== */

:root {
  /* ---- Color: named tokens ---- */
  --ink:        #0B1626; /* primary dark / hero + promise backgrounds */
  --navy:       #10213D; /* secondary dark, section alternation */
  --signal:     #2F6FED; /* primary accent — gradient start */
  --sky:        #3FA9F5; /* accent — gradient end / highlights */
  --paper:      #F6F8FB; /* light section background */
  --white:      #FFFFFF;
  --slate:      #47536A; /* secondary / muted text on light bg */
  --slate-200:  #92A0B3; /* muted text on dark bg */
  --line:       #E3E8F0; /* hairline borders on light bg */
  --line-dark:  rgba(255,255,255,0.10);

  /* ---- Gradient ---- */
  --gradient-signal: linear-gradient(135deg, var(--signal) 0%, var(--sky) 100%);

  /* ---- Type ---- */
  --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* ---- Scale ---- */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --step-5:  clamp(3rem, 2.2rem + 3.6vw, 5rem);

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

/* ===================================================================
   Reset & base
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: var(--step-3); margin-top: 14px; }
.section-head p { color: var(--slate); margin-top: 16px; font-size: var(--step-1); line-height: 1.55; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 112px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-signal);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(11,22,38,0.08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(47,111,237,0.55); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/*
  The blur/tint lives on ::before rather than directly on .site-header.
  Reason: an element with backdrop-filter becomes the positioning
  container for any position:fixed descendants (per spec). Since the
  mobile nav panel (.nav-links) is position:fixed *inside* this header,
  putting backdrop-filter on .site-header itself made some mobile
  browsers size/position that panel relative to the header's own ~72px
  box instead of the full viewport — causing it to only partially cover
  the screen and appear to "overlap"/show hero content through it.
  Pseudo-elements can't have children, so this keeps the same visual
  blur without turning .site-header into a fixed-positioning container.
*/
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { height: 40px; width: auto; flex: none; object-fit: contain; }
.brand-icon { height: 44px; width: auto; flex: none; object-fit: contain; }
.brand-wordmark { height: 32px; width: auto; flex: none; object-fit: contain; margin-top: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: var(--signal);
  margin-top: 4px;
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text em { color: var(--sky); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: var(--step--1); font-weight: 500; color: var(--slate); transition: color 0.2s var(--ease); position: relative; }
.nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-links .nav-cta-sticky { display: none; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-header .container { height: 72px; }
  .brand-icon { height: 34px; }
  .brand-wordmark { height: 24px; }
  .nav-links {
    position: fixed; inset: 72px 0 0 0; z-index: 99;
    background: var(--white); flex-direction: column; justify-content: flex-start;
    padding: 40px var(--gutter) 0; gap: 28px;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: var(--step-1); }
  .header-actions .btn-primary { display: none; }
  .nav-links .nav-cta-sticky {
    display: block;
    position: sticky; bottom: 0;
    margin: 12px calc(var(--gutter) * -1) 0;
    padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 16px -12px rgba(11,22,38,0.18);
  }
  .nav-links .nav-cta-sticky .btn-primary { width: 100%; justify-content: center; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; z-index: 101;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); margin: 0 auto; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  padding: 152px 0 120px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 65%);
  color: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 460px at 85% 10%, rgba(47,111,237,0.10), transparent 60%),
    radial-gradient(760px 540px at 100% 100%, rgba(63,169,245,0.09), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: var(--step-5); line-height: 1.06; margin-top: 20px; letter-spacing: -0.03em; color: var(--ink); }
.hero-copy h1 .accent { background: var(--gradient-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lede { margin-top: 26px; font-size: var(--step-1); color: var(--slate); max-width: 560px; line-height: 1.6; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-motto { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.04em; color: var(--slate); }
.hero-motto strong { color: var(--ink); font-weight: 600; }

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute; top: -34px; right: -24px;
  width: 190px; height: 190px;
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: 0.8;
  z-index: 0;
}
.hero-logo-card {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(11,22,38,0.16);
}
.hero-logo-img { max-width: 300px; width: 100%; height: auto; }
.hero-logo-card .tagline { margin-top: 32px; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; color: var(--slate); max-width: 280px; line-height: 1.6; }

@media (max-width: 980px) {
  .hero { padding: 128px 0 80px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 48px auto 0; }
}

/* ===================================================================
   Why choose us
   =================================================================== */
.why { background: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-card { background: var(--white); padding: 40px 34px; transition: background 0.3s var(--ease); }
.why-card:hover { background: var(--paper); }
.why-card .icon-tile { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.why-card .icon-tile svg { width: 22px; height: 22px; stroke: var(--signal); }
.why-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.why-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }

@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Solutions
   =================================================================== */
.solutions { background: var(--paper); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.solution-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,22,38,0.25); border-color: transparent; }
.solution-card .index { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--signal); }
.solution-card .icon-tile { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--gradient-signal); display: flex; align-items: center; justify-content: center; margin: 20px 0 20px; box-shadow: 0 10px 20px -10px rgba(47,111,237,0.55); }
.solution-card .icon-tile svg { width: 22px; height: 22px; stroke: var(--white); }
.solution-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.solution-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }

@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Process (timeline — a real sequence, numbering earns its place)
   =================================================================== */
.process { background: var(--white); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 29px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline-step { position: relative; padding: 0 12px 0 0; }
.timeline-step .num {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--signal);
  position: relative; z-index: 1; margin-bottom: 28px;
}
.timeline-step h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); }
.timeline-step p { color: var(--slate); font-size: var(--step-0); line-height: 1.6; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { top: 0; bottom: 0; left: 29px; right: auto; width: 1px; height: auto; }
  .timeline-step { padding-left: 82px; }
  .timeline-step .num { position: absolute; left: 0; top: -4px; margin-bottom: 0; }
}

/* ===================================================================
   Industries
   =================================================================== */
.industries { background: var(--paper); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 22px; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.industry-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.industry-card svg { width: 22px; height: 22px; stroke: var(--signal); flex: none; }
.industry-card span { font-size: var(--step--1); font-weight: 500; }

@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================================================================
   Leadership
   =================================================================== */
.leadership { background: var(--white); }
.leader-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; }
.leader-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.leader-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gradient-signal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  margin-bottom: 22px;
}
.leader-card h3 { font-size: 1.2rem; }
.leader-card .role { font-family: var(--font-mono); font-size: var(--step--1); color: var(--signal); margin-top: 4px; display: block; }
.leader-card p.bio { color: var(--slate); margin-top: 16px; font-size: var(--step--1); line-height: 1.65; }

@media (max-width: 700px) { .leader-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Promise (emotional, dark)
   =================================================================== */
.promise { background: var(--white); color: var(--ink); position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 50% 0%, rgba(47,111,237,0.07), transparent 65%);
}
.promise .container { position: relative; max-width: 880px; text-align: center; }
.promise .promise-eyebrow { justify-content: center; }
.promise h2 { font-size: var(--step-4); line-height: 1.18; margin-top: 22px; letter-spacing: -0.02em; color: var(--ink); }
.promise p { margin-top: 28px; color: var(--slate); font-size: var(--step-1); line-height: 1.65; max-width: 680px; margin-left: auto; margin-right: auto; }
.promise .motto { margin-top: 40px; font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); }

/* ===================================================================
   Final CTA
   =================================================================== */
.final-cta { background: var(--paper); }
.cta-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.cta-panel h2 { font-size: var(--step-3); }
.cta-panel .lede { margin-top: 16px; color: var(--slate); font-size: var(--step-0); line-height: 1.6; }
.cta-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.cta-facts { display: flex; flex-direction: column; gap: 18px; }
.cta-fact { display: flex; align-items: flex-start; gap: 14px; }
.cta-fact svg { width: 20px; height: 20px; stroke: var(--signal); flex: none; margin-top: 2px; }
.cta-fact span { font-size: var(--step--1); color: var(--ink); }

@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--ink); color: var(--slate-200); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 18px; font-size: var(--step--1); line-height: 1.6; max-width: 300px; color: var(--slate-200); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: var(--step--1); color: var(--slate-200); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ===================================================================
   Simple content pages (privacy / terms / 404)
   =================================================================== */
.page-hero { background: var(--paper); color: var(--ink); padding: 170px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero p { margin-top: 14px; color: var(--slate); font-family: var(--font-mono); font-size: var(--step--1); }
.legal-content { padding: 72px 0 120px; max-width: 760px; }
.legal-content h2 { font-size: var(--step-2); margin-top: 48px; margin-bottom: 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--slate); font-size: var(--step-0); line-height: 1.7; }
.legal-content ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.legal-content a { color: var(--signal); text-decoration: underline; }

.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--ink); text-align: center; padding: 24px; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: var(--step-5); margin-top: 16px; color: var(--ink); }
.error-page p { color: var(--slate); margin-top: 16px; font-size: var(--step-0); }
.error-page .btn { margin-top: 32px; }

/* ===================================================================
   Booking Modal (Book a Free Discovery Call)
   =================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,22,38,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: min(720px, 90vh);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(11,22,38,0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s var(--ease);
  overflow: hidden;
}
.modal-overlay.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  z-index: 2;
}
.modal-close:hover { background: var(--paper); border-color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; }
.modal-head { padding: 32px 32px 0; }
.modal-head h3 { font-size: var(--step-2); color: var(--ink); margin-top: 10px; }
.modal-head p { color: var(--slate); margin-top: 8px; font-size: var(--step--1); }

.modal-tabs {
  display: flex;
  gap: 4px;
  padding: 20px 32px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.modal-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 4px 14px;
  margin-right: 20px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal-tab:hover { color: var(--ink); }
.modal-tab.is-active { color: var(--signal); border-color: var(--signal); }

.modal-panels { padding: 24px 32px 32px; overflow-y: auto; flex: 1; }
.modal-tabpanel { display: none; }
.modal-tabpanel.is-active { display: block; animation: modalFade 0.3s var(--ease); }
@keyframes modalFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.calendly-embed { width: 100%; height: 480px; border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.calendly-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.modal-fallback-note { margin-top: 14px; font-size: var(--step--1); color: var(--slate); text-align: center; }
.link-btn { background: none; border: none; padding: 0; color: var(--signal); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: inherit; font-family: inherit; }

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.form-row label span { font-weight: 400; color: var(--slate-200); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: var(--step-0);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: var(--white);
}
.booking-form .btn { justify-content: center; margin-top: 4px; }
.form-note { font-size: var(--step--1); color: var(--slate); text-align: center; }
.form-note.is-error { color: #C0392B; }
.form-note.is-success { color: #1E8E4E; }

.contact-chips { display: flex; flex-direction: column; gap: 12px; }
.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-chip:hover { border-color: var(--signal); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(47,111,237,0.4); }
.contact-chip svg { width: 22px; height: 22px; stroke: var(--signal); flex: none; }
.contact-chip span { display: flex; flex-direction: column; font-size: var(--step--1); color: var(--slate); flex: 1; }
.contact-chip strong { font-size: var(--step-0); color: var(--ink); }
.chip-action {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--signal);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none;
  flex: none;
}
.chip-action:hover { background: var(--white); border-color: var(--signal); }
.chip-action.is-copied { background: var(--signal); border-color: var(--signal); color: var(--white); }
.chip-action-link { background: none; border-color: transparent; padding: 8px 4px; }
.chip-action-link:hover { border-color: transparent; text-decoration: underline; }
@media (max-width: 480px) {
  .contact-chip { flex-wrap: wrap; }
  .contact-chip span { min-width: 60%; }
}

.calendly-placeholder {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px;
}
.calendly-placeholder p { color: var(--slate); font-size: var(--step--1); max-width: 380px; }
.calendly-placeholder p strong { color: var(--ink); font-size: var(--step-0); }
.calendly-placeholder .btn { margin-top: 10px; }

/* ===================================================================
   Partners page
   =================================================================== */

/* Hero — single column variant of the homepage hero */
.partners-hero { position: relative; padding: 152px 0 96px; background: linear-gradient(180deg, var(--paper) 0%, var(--white) 65%); color: var(--ink); overflow: hidden; }
.partners-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 460px at 90% 0%, rgba(47,111,237,0.10), transparent 60%),
    radial-gradient(760px 540px at 100% 100%, rgba(63,169,245,0.09), transparent 60%);
  pointer-events: none;
}
.partners-hero .container { position: relative; max-width: 780px; }
.partners-hero h1 { font-size: var(--step-5); line-height: 1.08; margin-top: 20px; letter-spacing: -0.03em; }
.partners-hero h1 .accent { background: var(--gradient-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partners-hero .lede { margin-top: 24px; font-size: var(--step-1); color: var(--slate); line-height: 1.6; max-width: 640px; }
.partners-hero .hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { .partners-hero { padding: 128px 0 64px; } }

/* Who this is for */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.persona-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.persona-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(11,22,38,0.2); }
.persona-card .icon-tile { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.persona-card .icon-tile svg { width: 21px; height: 21px; stroke: var(--signal); }
.persona-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.persona-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 980px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .persona-grid { grid-template-columns: 1fr; } }

/* Engagement models */
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engagement-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.engagement-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-signal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.engagement-card:hover::before { transform: scaleX(1); }
.engagement-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,22,38,0.25); border-color: transparent; }
.engagement-card .icon-tile { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--gradient-signal); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(47,111,237,0.55); }
.engagement-card .icon-tile svg { width: 22px; height: 22px; stroke: var(--white); }
.engagement-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink); }
.engagement-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
.engagement-card .best-for { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--slate); }
.engagement-card .best-for strong { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); margin-bottom: 6px; }
@media (max-width: 980px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .engagement-grid { grid-template-columns: 1fr; } }

/* Why partner with us — confidentiality gets its own highlighted panel */
.trust-banner {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); padding: 40px 44px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.trust-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(63,169,245,0.18), transparent 70%);
}
.trust-banner .icon-tile {
  position: relative; z-index: 1; flex: none;
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.trust-banner .icon-tile svg { width: 26px; height: 26px; stroke: var(--sky); }
.trust-banner div.copy { position: relative; z-index: 1; }
.trust-banner h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.trust-banner p { color: var(--slate-200); font-size: var(--step--1); line-height: 1.65; max-width: 640px; }
@media (max-width: 620px) { .trust-banner { flex-direction: column; padding: 32px 26px; } }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start; }
.trust-card .icon-tile { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--paper); display: flex; align-items: center; justify-content: center; }
.trust-card .icon-tile svg { width: 20px; height: 20px; stroke: var(--signal); }
.trust-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.trust-card p { color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; } }

/* Capabilities / tech pills */
.capability-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.capability-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font-size: var(--step--1); font-weight: 500; color: var(--ink);
}
.capability-pill svg { width: 17px; height: 17px; stroke: var(--signal); flex: none; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 820px; }
.faq-item { background: var(--white); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 30px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 20px; height: 20px; stroke: var(--signal); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 30px 26px; color: var(--slate); font-size: var(--step--1); line-height: 1.65; max-width: 680px; }

/* Homepage partner teaser */
.partner-teaser { background: var(--white); }
.partner-teaser-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; background: var(--paper);
}
.partner-teaser-copy { max-width: 560px; }
.partner-teaser-copy .eyebrow { margin-bottom: 12px; }
.partner-teaser-copy h2 { font-size: var(--step-2); }
.partner-teaser-copy p { margin-top: 12px; color: var(--slate); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 760px) { .partner-teaser-panel { padding: 32px 26px; } }

