:root {
  --ink: #131416;
  --ink-2: #202226;
  --paper: #f8f7f4;
  --white: #ffffff;
  --mist: #eef0f1;
  --line: #d9dcdf;
  --muted: #626870;
  --muted-light: #b8bcc2;
  --aero: #657480;
  --aero-soft: #e7eaec;
  --sx: #e71939;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(15, 18, 22, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: .5rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.section { padding: 7.5rem 0; }
.section-heading { max-width: 760px; margin-bottom: 3.25rem; }
.section-heading p { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.2rem, 7vw, 6.65rem); font-weight: 760; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.35rem, 4.6vw, 4.5rem); font-weight: 740; }
h3 { margin-bottom: .75rem; font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin-bottom: 1rem; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
}
.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.brand-home {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -.02em;
}
.brand-home img { width: 36px; height: 36px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .91rem; font-weight: 620; }
.nav-links a:hover { color: var(--white); }
.nav-contact { padding: .63rem 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: .55rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 850px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-grid {
  min-height: 850px;
  padding-top: 120px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero .eyebrow { color: var(--muted-light); }
.hero h1 span { color: var(--muted-light); font-weight: 450; }
.mobile-break { display: none; }
.hero-copy > p:not(.eyebrow) { max-width: 640px; color: #c8cbd0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 720;
  transition: transform .18s, background .18s, color .18s, border-color .18s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--ink); }
.button-ghost { border-color: #595d63; color: var(--white); }
.button-ghost:hover { border-color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-red { background: var(--sx); color: var(--white); }
.button-arrow::after { content: "↗"; font-size: 1.05rem; }

.hero-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.hero-logo {
  position: relative;
  width: clamp(180px, 18vw, 230px);
  aspect-ratio: 1;
  flex: 0 1 230px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.hero-logo:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.65); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-logo-aero { margin-top: -2rem; }
.hero-logo-sx { margin-top: 2rem; }

.focus-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.focus-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.focus-item { padding: 1.15rem 2rem; border-right: 1px solid var(--line); }
.focus-item:first-child { padding-left: 0; }
.focus-item:last-child { border-right: 0; }
.focus-item strong { display: block; margin-bottom: .15rem; font-size: 1rem; }
.focus-item span { color: var(--muted); font-size: .88rem; }

.brands-section { background: var(--paper); }
.brands-stack { display: grid; gap: 2rem; }
.brand-panel {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
}
.brand-panel.reverse .brand-media { order: 2; }
.brand-panel.reverse .brand-content { order: 1; }
.brand-media { position: relative; min-height: 460px; overflow: hidden; }
.brand-media > picture { display: block; width: 100%; height: 100%; }
.brand-media > picture img { width: 100%; height: 100%; object-fit: cover; }
.brand-panel.aerotrunk .brand-media > picture img { object-position: 50% 48%; }
.brand-panel.survivex .brand-media > picture img { object-position: 50% 50%; }
.brand-chip { position: absolute; left: 1.2rem; top: 1.2rem; padding: .55rem .75rem; border-radius: .5rem; background: rgba(255,255,255,.92); color: var(--ink); font-size: .75rem; font-weight: 750; }
.brand-content { padding: clamp(3rem, 6vw, 5.5rem); display: flex; flex-direction: column; justify-content: center; }
.brand-logo { width: min(310px, 80%); height: 72px; margin-bottom: 2.3rem; object-fit: contain; object-position: left center; }
.brand-content h3 { max-width: 540px; font-size: clamp(2.2rem, 4vw, 4rem); }
.brand-content > p { max-width: 530px; color: var(--muted); font-size: 1.08rem; }
.feature-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.15rem 0 2rem; padding: 0; list-style: none; }
.feature-list li { padding: .48rem .68rem; border: 1px solid var(--line); border-radius: .45rem; color: #4e545b; font-size: .8rem; font-weight: 650; }
.brand-panel.survivex { background: var(--ink-2); border-color: #323439; color: var(--white); }
.brand-panel.survivex .brand-content > p { color: #bdc1c6; }
.brand-panel.survivex .feature-list li { border-color: #4c4f54; color: #d6d9dd; }

.idea-section { background: var(--white); }
.idea-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.idea-copy { position: sticky; top: 2rem; }
.idea-copy p { color: var(--muted); font-size: 1.13rem; }
.idea-list { border-top: 1px solid var(--line); }
.idea-item { display: grid; grid-template-columns: 54px 1fr; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.idea-number { color: var(--muted); font-size: .8rem; font-weight: 750; }
.idea-item h3 { margin-bottom: .45rem; font-size: 1.42rem; }
.idea-item p { margin: 0; color: var(--muted); }

.proof-section { background: var(--ink); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; }
.proof-section .eyebrow { color: var(--muted-light); }
.proof-section .lede { color: #c8cbd0; }
.proof-section h2 { max-width: 750px; }
.proof-card { padding: 2.25rem; border-left: 3px solid var(--sx); background: #1d1f22; }
.proof-value { display: block; margin-bottom: .4rem; font-size: clamp(2.15rem, 4vw, 3.6rem); font-weight: 760; letter-spacing: -.04em; }
.proof-card p { color: #c4c7cc; }
.proof-note { margin: 1.25rem 0 0; color: #92969d; font-size: .76rem; }
.proof-note a { color: #d8dadd; }

.company-section { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.company-copy p { color: var(--muted); font-size: 1.08rem; }
.company-facts { margin: 0; }
.company-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.company-facts dt { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.company-facts dd { margin: 0; font-weight: 650; }

.contact-section { padding: 6rem 0; background: var(--sx); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; }
.contact-grid h2 { margin-bottom: 1rem; }
.contact-grid p { max-width: 680px; color: var(--white); font-size: 1.1rem; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
.contact-actions .button { min-height: 54px; }
.contact-meta { margin-top: .35rem; text-align: center; color: var(--white); font-size: .86rem; }

.site-footer { padding: 4rem 0 2.5rem; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1rem; font-weight: 750; }
.footer-brand img { width: 38px; height: 38px; border-radius: 7px; }
.footer-intro { max-width: 390px; color: #9da1a8; }
.footer-title { margin-bottom: .85rem; color: #8d9299; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #d1d4d8; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid #33363a; color: #7f848b; font-size: .78rem; }
.footer-bottom p { margin: 0; }

/* Legal pages */
.legal-body { background: var(--white); }
.legal-header { position: static; background: var(--ink); color: var(--white); }
.legal-main { width: min(calc(100% - 3rem), 800px); margin-inline: auto; padding: 6rem 0 7rem; }
.legal-main h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-main h2 { margin-top: 2.6rem; font-size: 1.4rem; letter-spacing: -.02em; }
.legal-main p, .legal-main li { color: #4f555c; }
.legal-main li { margin-bottom: .45rem; }
.legal-main a { color: var(--ink); text-underline-offset: 3px; }
.effective { margin-bottom: 3rem; color: var(--muted); }

:focus-visible { outline: 3px solid #54a7ff; outline-offset: 3px; }

@media (max-width: 900px) {
  .section { padding: 6rem 0; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 150px; padding-bottom: 6rem; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 680px); margin-inline: auto; }
  .brand-panel, .proof-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-panel.reverse .brand-media, .brand-panel.reverse .brand-content { order: initial; }
  .brand-media { min-height: 0; aspect-ratio: 1 / 1; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-copy { position: static; }
  .proof-grid { gap: 2.5rem; }
  .contact-grid { gap: 2rem; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .nav-shell { min-height: 72px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .nav-links {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: 5rem 2rem;
    background: var(--ink);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.35rem; color: var(--white); }
  .nav-contact { border: 0; padding: 0; }
  h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .mobile-break { display: inline; }
  .hero .eyebrow { gap: .5rem; font-size: .64rem; letter-spacing: .09em; }
  .hero .eyebrow::before { width: 1.25rem; }
  .hero-grid { padding-top: 124px; padding-bottom: 4.5rem; }
  .hero-visual { gap: .8rem; }
  .hero-logo { width: min(42vw, 170px); flex-basis: min(42vw, 170px); }
  .hero-logo-aero { margin-top: -.75rem; }
  .hero-logo-sx { margin-top: .75rem; }
  .focus-grid { grid-template-columns: 1fr; padding: .5rem 0; }
  .focus-item, .focus-item:first-child { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-item:last-child { border-bottom: 0; }
  .brand-panel { min-height: 0; border-radius: 1rem; }
  .brand-media { min-height: 0; }
  .brand-content { padding: 2.5rem 1.5rem 3rem; }
  .brand-logo { height: 58px; margin-bottom: 1.5rem; }
  .idea-item { grid-template-columns: 38px 1fr; gap: .75rem; }
  .company-facts div { grid-template-columns: 1fr; gap: .35rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .legal-main { width: min(calc(100% - 2rem), 800px); padding: 4.5rem 0 5rem; }
}

@media (max-width: 430px) {
  .section { padding: 4.75rem 0; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
