/* ==========================================================================
   AeroBreath — Design tokens
   ========================================================================== */
:root {
  /* Official AeroBreath brand palette (Brand Guidelines v1.0, Apr 2026) */
  --navy-950: #0f3868;   /* derived deep navy — dark backgrounds only */
  --navy-900: #194f90;   /* Reliability — official primary navy */
  --navy-800: #2461aa;   /* derived, lighter navy for gradient depth */
  --navy-700: #2e6fbe;   /* derived, unused accent reserve */
  --teal-500: #00a19b;   /* Sustainability — official primary teal */
  --teal-400: #1fbdb5;   /* derived lighter teal — hover state */
  --teal-100: #ddf0ee;   /* derived light teal tint — highlight fills */
  --cyan-500: #00acd8;   /* Innovation — official secondary accent */
  --sand-50: #eef2f6;    /* derived light cool tint of official #DCE3EB */
  --sand-100: #dce3eb;   /* Secondary — official light blue-grey */
  --ink-900: #414042;    /* Dark Grey — official secondary */
  --ink-700: #5b5a5c;    /* derived, lighter — body copy */
  --ink-500: #86858a;    /* derived, lighter still — meta text */
  --white: #ffffff;
  --danger: #c1443c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(15, 56, 104, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 56, 104, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 56, 104, 0.18);

  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container-w: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html[lang="ar"] {
  --font-head: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-950); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--ink-700); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0;
  background: var(--navy-900); color: #fff; padding: .6em 1em; z-index: 999;
}
.skip-link:focus { inset-inline-start: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 800px; }

.section { padding: 6rem 0; }
.section-alt { background: var(--sand-50); }
.section-dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #eef3f8; }
.section-dark p { color: #c3d1e0; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-lede { font-size: 1.125rem; }
.section-lede.light { color: #c3d1e0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: .8rem;
}
.eyebrow-light { color: var(--teal-400); }

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: .85em 1.6em;
  font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--teal-500); color: #fff; }
.btn-primary:hover { background: var(--teal-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15, 56, 104, 0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 1.4rem 0;
}
/* Mobile: don't rely solely on the JS scroll listener for header legibility —
   on real devices the browser's own address-bar collapse/expand can lag the
   scroll event, leaving the fully-transparent header invisible (white icons/
   text) over a light section for a moment. A baseline scrim keeps it legible
   everywhere; .is-scrolled still layers on extra opacity + blur once synced. */
@media (max-width: 980px) {
  .site-header { background: rgba(15, 56, 104, .55); }
}
.site-header.is-scrolled {
  background: rgba(15, 56, 104, .92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: .85rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; flex: 1; justify-content: flex-end; }
.main-nav a { color: #dce6f0; font-size: .92rem; font-weight: 600; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--teal-400); }
.main-nav a.nav-cta {
  background: var(--teal-500); color: #fff; padding: .55em 1.3em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700;
}
.main-nav a.nav-cta:hover { background: var(--teal-400); color: #fff; }

.drawer-head { display: none; }
.header-actions { display: none; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: none; position: relative; }
.nav-toggle span { display: block; height: 2px; width: 22px; background: #fff; margin: 5px auto; transition: transform .25s, opacity .25s; }

.lang-switch {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .5em 1.1em;
  color: #fff;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--teal-400); color: var(--teal-400); }
.lang-switch-mobile { font-size: .8rem; padding: .4em .9em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .92; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-950) 22%, rgba(15,56,104,.42) 55%, rgba(15,56,104,.15) 100%);
}
/* RTL: mirror the whole hero visual (photo + gradient together) so the building
   sits on the left and the dark gradient backs the right-aligned Arabic text —
   flipping the container instead of the img keeps object-position's crop math
   unaffected (mixing transform + object-position on the same element skews the
   anchor, per the original English hero-crop fix in SESSION_HANDOFF.md). */
[dir="rtl"] .hero-bg { transform: scaleX(-1); }
.hero-inner { position: relative; z-index: 1; padding: 8rem 0 6rem; }
.hero h1 {
  color: #fff; max-width: 800px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: .6em;
  text-shadow: 0 2px 28px rgba(6, 16, 30, .65), 0 1px 3px rgba(6, 16, 30, .5);
}
.hero-sub { font-size: 1.15rem; color: #d3dfeb; max-width: 640px; text-shadow: 0 2px 16px rgba(6, 16, 30, .55); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 3rem; }

.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--teal-400); }
.hero-stats span { font-size: .8rem; color: #aebfd0; max-width: 12ch; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Problem section
   ========================================================================== */
.problem-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: stretch; margin-bottom: 3.5rem; }
.problem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mini-card {
  background: var(--sand-50); border-radius: var(--radius-md); padding: 1.5rem;
  border: 1px solid var(--sand-100);
}
.mini-icon { font-size: 1.4rem; margin-bottom: .6rem; color: var(--navy-900); }
.mini-card h3 { font-size: 1.05rem; }
.mini-card p { font-size: .92rem; margin: 0; }

.problem-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.problem-photo img { height: 100%; object-fit: cover; }
.problem-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(15,56,104,.85), transparent);
  color: #fff; font-size: .85rem; padding: 1.5rem 1.2rem .9rem;
}

.hidden-cost {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  background: var(--navy-950); color: #fff; border-radius: var(--radius-lg);
  padding: 2.75rem; align-items: center;
}
.hidden-cost h3 { color: #fff; }
.hidden-cost-text p { color: #c3d1e0; margin: 0; }
.hidden-cost-stats { display: grid; gap: 1.4rem; }
.stat-block { display: flex; align-items: baseline; gap: 1rem; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--teal-400); white-space: nowrap; }
.stat-label { font-size: .85rem; color: #aebfd0; }

/* ==========================================================================
   Solution / science
   ========================================================================== */
.badge-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.badge-row li {
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: .55em 1.3em; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: var(--teal-400);
}
.science-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.science-step { border-top: 2px solid var(--teal-500); padding-top: 1.2rem; }
.step-no { font-family: var(--font-head); font-weight: 800; color: rgba(255,255,255,.3); font-size: 1.2rem; }
.science-step h3 { margin-top: .4rem; }
.science-result {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15);
  font-size: 1.25rem; font-family: var(--font-head); font-weight: 600; color: #fff; max-width: 640px;
}

/* ==========================================================================
   USP grid
   ========================================================================== */
.usp-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.usp-card {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius-md);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usp-card h3 { font-size: 1.05rem; }
.usp-card p { font-size: .9rem; margin: 0; }
.usp-card-accent { background: var(--navy-950); border-color: var(--navy-950); }
.usp-card-accent h3, .usp-card-accent p { color: #fff; }
.usp-card-accent p { color: #c3d1e0; }
.usp-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-500); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: .8rem; line-height: 1;
}
.usp-badge span { font-size: .5rem; letter-spacing: .05em; }
.product-shot { margin: 0; text-align: center; }
.product-shot img { max-width: 280px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(16,40,74,.18)); }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--sand-100); text-align: start; }
.compare-table thead th { background: var(--navy-950); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-table thead th.hl { background: var(--teal-500); }
.compare-table tbody th { font-weight: 600; color: var(--navy-950); background: var(--sand-50); white-space: nowrap; }
.compare-table td.hl { background: var(--teal-100); font-weight: 600; color: var(--navy-900); }
.compare-table small { color: var(--ink-500); }
.table-note { font-size: .8rem; color: var(--ink-500); margin-bottom: 3rem; }

.economics { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius-lg); padding: 2.5rem; }
.economics-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.economics-stats li { display: flex; flex-direction: column; gap: .3rem; }
.economics-stats .stat-num { color: var(--teal-500); font-size: 1.8rem; }
.economics-stats span:last-child { font-size: .82rem; color: var(--ink-500); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius-md);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.sku-tag { font-family: var(--font-head); font-weight: 800; color: var(--navy-950); font-size: 1.1rem; }
.sku-spec { font-size: .78rem; font-weight: 700; color: var(--teal-500); background: var(--teal-100); padding: .3em .7em; border-radius: 999px; }
.product-card h3 { font-size: 1rem; color: var(--ink-700); font-weight: 600; margin-bottom: .6rem; }
.product-card p { font-size: .9rem; }
.product-card ul { display: grid; gap: .5rem; font-size: .85rem; color: var(--ink-700); }
.product-card li { padding-inline-start: 1.2rem; position: relative; }
.product-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--teal-500); font-weight: 700; }

/* ==========================================================================
   Tabs (use cases)
   ========================================================================== */
.tab-list { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn {
  border: 1px solid var(--sand-100); background: #fff; border-radius: 999px; padding: .7em 1.3em;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-700);
  transition: all .2s var(--ease);
}
.tab-btn.is-active { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.tab-panel { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.uc-label { display: block; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-500); margin-bottom: .5rem; font-weight: 700; }
.usecase-grid p { font-size: .92rem; margin: 0; }
.uc-sku { font-weight: 700; color: var(--navy-950); }

/* ==========================================================================
   Audience cards
   ========================================================================== */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.audience-card { background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.audience-card-alt { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.audience-card-alt h3, .audience-card-alt h4 { color: #fff; }
.audience-card-alt .audience-sub { color: #c3d1e0; }
.audience-sub { font-size: 1rem; color: var(--ink-700); }
.check-list { display: grid; gap: .9rem; margin: 1.5rem 0; font-size: .92rem; }
.check-list li { padding-inline-start: 1.6rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--teal-500); font-weight: 800; }
.audience-card-alt .check-list { color: #dce6f0; }
.audience-card-alt .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.audience-card-alt .btn-outline:hover { background: #fff; color: var(--navy-900); }
.audience-perks { background: var(--sand-50); border-radius: var(--radius-md); padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; }
.audience-perks h4 { font-size: .95rem; }
.perk-list { display: grid; gap: .5rem; font-size: .87rem; color: var(--ink-700); }
.perk-list li { padding-inline-start: 1.1rem; position: relative; }
.perk-list li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--teal-500); }

.spec-block { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.spec-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.spec-block-head h4 { font-size: .9rem; margin: 0; color: #fff; }
.copy-btn { background: var(--teal-500); color: #fff; border: none; border-radius: 999px; padding: .35em 1em; font-size: .78rem; font-weight: 700; }
.copy-btn:hover { background: var(--teal-400); }
.spec-block pre { white-space: pre-wrap; font-family: var(--font-body); font-size: .84rem; color: #dce6f0; margin: 0; }

/* ==========================================================================
   Resources
   ========================================================================== */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.resource-card { background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.resource-card h3 { font-size: 1.05rem; }
.resource-card p { font-size: .88rem; margin: 0; }
.resource-cta { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion-item { border-bottom: 1px solid var(--sand-100); }
.accordion-trigger {
  width: 100%; text-align: start; background: none; border: none; padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy-950);
}
.accordion-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.accordion-icon::before, .accordion-icon::after {
  content: ""; position: absolute; background: var(--teal-500); transition: transform .25s var(--ease);
}
.accordion-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.accordion-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion-panel p { padding-bottom: 1.3rem; margin: 0; font-size: .95rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-list { display: grid; gap: .7rem; font-size: .92rem; color: var(--ink-700); margin-top: 1.5rem; }
.about-list li { padding-inline-start: 1.4rem; position: relative; }
.about-list li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--teal-500); }
.about-card { background: var(--navy-950); color: #fff; border-radius: var(--radius-lg); padding: 2.2rem; }
.about-card h3 { color: #fff; }
.about-card p { color: #c3d1e0; font-size: .92rem; }
.about-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.about-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35em 1em; font-size: .8rem; color: #dce6f0; }

/* ==========================================================================
   CTA cards
   ========================================================================== */
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cta-card {
  display: block; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md); padding: 2rem; transition: all .25s var(--ease);
}
.cta-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cta-card h3 { color: #fff; font-size: 1.1rem; }
.cta-card p { color: #c3d1e0; font-size: .9rem; }
.cta-link { color: var(--teal-400); font-weight: 700; font-size: .9rem; }

/* ==========================================================================
   Contact / Form
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-details { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.contact-details li { display: flex; flex-direction: column; gap: .2rem; font-size: .95rem; }
.contact-details strong { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-500); }
.contact-details a:hover { color: var(--teal-500); }

.quote-form { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); position: relative; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.quote-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 1.2rem; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .75em .9em;
  border: 1.5px solid var(--sand-100); border-radius: var(--radius-sm); background: var(--sand-50);
  transition: border-color .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
}
.quote-form.was-validated input:invalid,
.quote-form.was-validated select:invalid { border-color: var(--danger); }
.form-privacy-note { font-size: .78rem; color: var(--ink-500); margin-top: -.5rem; }
.form-error-note { font-size: .85rem; color: var(--danger); margin-top: -.5rem; }
.form-honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: .5rem; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success h3 { color: var(--teal-500); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: #c3d1e0; padding: 4.5rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-logo { height: 30px; }
.footer-brand p { color: #93a6ba; font-size: .88rem; margin-top: 1rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-nav a, .footer-nav span { display: block; font-size: .9rem; color: #a9bacb; margin-bottom: .7rem; }
.footer-nav a:hover { color: var(--teal-400); }
.footer-bottom { padding: 1.5rem 1.5rem 2rem; font-size: .82rem; color: #7c8fa3; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-credit { margin-top: .4rem; color: #fff; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--teal-400); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions { display: flex; }
  .nav-toggle { display: block; }
  .problem-grid, .usp-layout, .audience-grid, .about-grid, .contact-layout, .economics, .hidden-cost { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .problem-cards { grid-template-columns: 1fr; }
  .science-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .usp-grid { grid-template-columns: 1fr; }
  .product-grid, .resource-grid, .usecase-grid, .economics-stats { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hidden-cost { padding: 1.8rem; }
  .hero-stats { gap: 1.4rem; }
  [dir="rtl"] .hero-inner { padding-right: 2rem; }
  [dir="ltr"] .hero-inner { padding-left: 2rem; }

  /* Stack the use-case tabs as a bulleted list instead of a horizontally
     scrolling row of pill buttons — the wrapped 2-3 line labels inside a
     rounded-999px pill read as circles at phone widths. */
  .tab-list { flex-direction: column; overflow-x: visible; flex-wrap: nowrap; gap: .5rem; padding-bottom: 0; }
  .tab-btn {
    width: 100%; text-align: start; border-radius: var(--radius-sm);
    padding-block: .8em; padding-inline-start: 2rem; padding-inline-end: 1.1em;
    position: relative;
  }
  .tab-btn::before {
    content: ""; position: absolute; inset-inline-start: 1.1em; top: 50%;
    transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal-500);
  }
  .tab-btn.is-active::before { background: #fff; }
}

/* Mobile nav drawer */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 0; top: 0;
    height: 100vh; height: 100dvh;
    background: var(--navy-950);
    display: flex; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.6rem; padding: 2rem 2.5rem;
    transform: translateX(100%); transition: transform .3s var(--ease);
    z-index: 190;
  }
  .main-nav.is-open { display: flex; transform: translateX(0); }
  .main-nav a { font-size: 1.3rem; }
  .drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    position: absolute; top: 0; inset-inline: 0;
    padding: 1.4rem 2.5rem;
  }
  .drawer-head .brand-logo { height: 30px; }
  .nav-close {
    width: 40px; height: 40px; padding: 0; border: none; background: none;
    color: #fff; font-size: 2rem; line-height: 1; font-weight: 300;
  }
  [dir="rtl"] .main-nav { transform: translateX(-100%); }
  [dir="rtl"] .main-nav.is-open { transform: translateX(0); }
  .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); }
}
