/* Engineered Advantage — navy direct-response system */
:root {
  --bg: #0f1115;
  --panel: #1a1d24;
  --panel-2: #22262f;
  --border: #2b303b;
  --text: #eef1f5;
  --muted: #9aa3b1;
  --muted-low: #7c8593;
  --blue: #4da3ff;
  --ea: #7dd3fc;
  --ink-blue: #06263f;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --reading: 760px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; }

h1, h2, h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.03;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 6vw, 4.8rem); max-width: 780px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 800px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .01em; }

.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--reading); }
.section { padding: 104px 0; border-top: 1px solid var(--border); }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.14rem); }
.lead-center { margin-inline: auto; text-align: center; }

.skip-link { position: fixed; left: -999px; top: 12px; z-index: 1000; padding: 12px 18px; background: var(--ea); color: var(--ink-blue); font-weight: 800; }
.skip-link:focus { left: 12px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ea); outline-offset: 4px; }

.eyebrow {
  margin: 0 0 20px;
  color: var(--ea);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: "// "; color: var(--blue); }
.eyebrow-dark { color: var(--ea); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--ea); color: var(--ink-blue); box-shadow: 0 10px 34px rgba(77,163,255,.16); }
.btn-primary:hover { background: #a6e4ff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(77,163,255,.24); }
.btn-primary:active { transform: translateY(0); }
.btn-small { min-height: 42px; padding: 11px 18px; font-size: .78rem; }
.btn-large { min-height: 54px; padding: 17px 32px; font-size: .95rem; }
.btn-full { width: 100%; min-height: 52px; padding: 15px 20px; font-size: .9rem; }
.btn-final { min-height: 66px; padding: 21px 44px; font-size: 1.1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(43,48,59,.9);
  background: rgba(15,17,21,.93);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; }
.brand-mark { width: auto; height: 34px; }

.hero { position: relative; padding: 92px 0 104px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: 64px; }
.hero-copy { position: relative; z-index: 1; }
.hero-sub { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-micro { margin: 14px 0 0; color: var(--muted-low); font-size: .82rem; }
.hero-media { align-self: center; }
.hero-photo { width: min(100%, 360px); height: 560px; margin-left: auto; object-fit: cover; object-position: 50% 31%; border: 1px solid var(--border); border-radius: var(--radius); filter: saturate(.88) contrast(1.04); }
.hero-caption { margin: 10px 0 0; color: var(--muted-low); font-family: var(--display); font-size: .7rem; letter-spacing: .13em; text-align: right; text-transform: uppercase; }

.app-section { background: var(--panel); }
.app-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .64fr); column-gap: 72px; align-items: end; }
.app-copy .eyebrow, .app-copy h2 { grid-column: 1; }
.app-copy .lead { grid-column: 2; grid-row: 1 / span 2; max-width: 520px; margin: 0 0 18px; }
.demo-swipe-hint { display: none; }
.app-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 54px; }
.app-demo { min-width: 0; }
.demo-video-shell { position: relative; overflow: hidden; aspect-ratio: 1206 / 2622; border: 1px solid #39404d; border-radius: 20px; background: var(--bg); box-shadow: 0 22px 55px rgba(0,0,0,.28); }
.demo-video-shell video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.demo-toggle { position: absolute; right: 12px; bottom: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(125,211,252,.5); border-radius: 9px; background: rgba(15,17,21,.9); color: var(--ea); cursor: pointer; font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.demo-toggle:hover { background: var(--ea); color: var(--ink-blue); }
.demo-toggle:focus-visible { outline: 3px solid var(--ea); outline-offset: 3px; }
.app-demo > .demo-number { margin: 20px 0 8px; color: var(--ea); font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.app-demo h3 { margin-bottom: 8px; }
.app-demo > p:last-child { margin: 0; color: var(--muted); font-size: .92rem; }
.adaptive-proof { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .55fr); align-items: center; gap: 80px; margin-top: 88px; padding-top: 80px; border-top: 1px solid var(--border); }
.adaptive-copy .lead { max-width: 650px; }
.adaptive-close { margin: 30px 0 0; color: var(--text); font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: .01em; line-height: 1.25; text-transform: uppercase; }
.adaptive-video { width: min(100%, 330px); justify-self: end; }
.adaptive-video > p { margin: 12px 0 0; color: var(--muted-low); font-family: var(--display); font-size: .68rem; letter-spacing: .11em; text-align: center; text-transform: uppercase; }
.whatsapp-note { max-width: 800px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: 1rem; }
.whatsapp-note strong { color: var(--text); }

.problem { background: var(--panel); }
.problem .lead { font-size: clamp(1.05rem, 2.1vw, 1.24rem); }
.problem .lead:nth-of-type(3) { color: var(--text); font-weight: 600; }
.cta-row { display: flex; margin-top: 38px; }

.included { background: var(--bg); }
.spec-list { margin: 46px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.spec-list li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.spec-num { padding-top: 2px; color: var(--ea); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .13em; }
.spec-list h3 { margin-bottom: 7px; }
.spec-list p { max-width: 610px; margin: 0; color: var(--muted); }
.spec-footnote { margin-top: 32px; }

.proof { background: var(--panel); }
.receipts { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr); gap: 26px; margin-top: 46px; }
.receipts-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.receipt-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2); }
.receipt-photo img { width: 100%; height: 100%; min-height: 500px; aspect-ratio: .74; object-fit: cover; object-position: center top; }
.receipt-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border: 1px solid rgba(125,211,252,.35); border-radius: 7px; background: rgba(15,17,21,.88); color: var(--ea); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }
.receipts-stats { display: grid; grid-template-rows: repeat(3, 1fr); border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 28px 8px; border-bottom: 1px solid var(--border); }
.stat-num { color: var(--text); font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.7rem); font-weight: 700; letter-spacing: -.035em; line-height: .94; white-space: nowrap; }
.stat-arrow { padding: 0 .12em; color: var(--ea); font-size: .55em; vertical-align: .16em; }
.stat-pct { color: var(--ea); font-size: .55em; vertical-align: .55em; }
.stat-label { margin-top: 10px; color: var(--muted-low); font-family: var(--display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.receipts-note { margin: 22px 0 0; color: var(--muted-low); font-size: .82rem; }
.case-outcome { grid-column: 1 / -1; display: flex; gap: 12px; align-items: baseline; margin: 2px 0 0; padding: 20px 22px; border-left: 3px solid var(--ea); background: rgba(125,211,252,.055); color: var(--muted); }
.case-outcome strong { color: var(--text); font-family: var(--display); font-size: 1rem; letter-spacing: .035em; text-transform: uppercase; }
.case-outcome-inline { max-width: 760px; margin-top: 24px; }
.case-study-divider { height: 1px; margin: 96px 0; background: var(--border); }
.alex-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 28px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.alex-stats div { display: flex; min-height: 138px; flex-direction: column; justify-content: center; padding: 24px; border-right: 1px solid var(--border); }
.alex-stats div:last-child { border-right: 0; }
.alex-stats strong { color: var(--text); font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -.03em; line-height: .95; text-transform: uppercase; }
.alex-stats span { margin-top: 9px; color: var(--muted-low); font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.alex-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.alex-photo img { min-height: 0; aspect-ratio: 3 / 4; }
.alex-photo:nth-child(4) img { object-position: 58% center; }

.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); align-items: center; gap: 70px; max-width: 970px; }
.about-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); filter: saturate(.86); }
.about-copy .lead { max-width: 620px; }

.how { background: var(--panel); }
.steps-list { margin-top: 42px; }
.fit-filter { background: var(--bg); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: 48px; }
.fit-column { padding-top: 24px; border-top: 1px solid var(--border); }
.fit-label { margin: 0 0 22px; color: var(--text); font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fit-column ul { margin: 0; padding: 0; list-style: none; }
.fit-column li { position: relative; margin-bottom: 16px; padding-left: 28px; color: var(--muted); }
.fit-column li::before { position: absolute; left: 0; top: 0; color: var(--ea); font-family: var(--display); font-weight: 700; }
.fit-yes li::before { content: "+"; }
.fit-no li::before { content: "—"; color: var(--muted-low); }
.faq { background: var(--bg); }
.faq-list { margin-top: 38px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; color: var(--text); font-family: var(--display); font-size: 1.08rem; font-weight: 600; letter-spacing: .02em; list-style: none; text-transform: uppercase; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 20px; right: 0; color: var(--ea); font-size: 1.35rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 650px; padding: 0 42px 24px 0; color: var(--muted); }

.final-cta { position: relative; background: var(--panel); overflow: hidden; }
.final-cta::after { content: "EA"; position: absolute; right: -20px; bottom: -110px; color: rgba(125,211,252,.035); font-family: var(--display); font-size: 19rem; font-weight: 700; line-height: 1; pointer-events: none; }
.final-cta-inner { position: relative; z-index: 1; text-align: left; }
.final-cta .lead { margin-bottom: 30px; }

.site-footer { padding: 38px 0 112px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-mark { width: auto; height: 24px; opacity: .82; }
.footer-copy { margin: 0; color: var(--muted-low); font-size: .76rem; }

.sticky-cta { display: none; position: fixed; right: 0; bottom: 0; left: 0; z-index: 200; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(15,17,21,.96); box-shadow: 0 -12px 28px rgba(0,0,0,.3); backdrop-filter: blur(14px); }

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 82px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-photo { width: 260px; height: 420px; margin-left: 0; }
  .hero-caption { width: 260px; text-align: left; }
  .app-copy { grid-template-columns: 1fr; }
  .app-copy .eyebrow, .app-copy h2, .app-copy .lead { grid-column: 1; }
  .app-copy .lead { grid-row: auto; margin-bottom: 0; }
  .app-demos { gap: 12px; }
  .adaptive-proof { grid-template-columns: 1fr; gap: 44px; }
  .adaptive-video { justify-self: start; }
  .receipts { grid-template-columns: 1fr; }
  .alex-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-grid { grid-template-columns: 1fr; gap: 34px; }
  .receipts-stats { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .stat { padding: 24px 10px; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .stat-num { font-size: clamp(2rem, 7vw, 3.4rem); }
  .about-inner { grid-template-columns: 1fr; gap: 38px; }
  .about-photo { max-width: 300px; }
}

@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .wrap { padding: 0 18px; }
  .site-header .header-inner { min-height: 62px; }
  .brand-mark { height: 27px; }
  .header-inner .btn-small { min-height: 40px; padding: 10px 13px; font-size: .69rem; }
  .hero { padding: 58px 0 66px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.1rem); }
  h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .hero-inner { gap: 34px; }
  .hero-sub { font-size: 1.04rem; }
  .hero-photo, .hero-caption { width: 100%; }
  .hero-photo { max-width: none; height: min(112vw, 560px); margin-inline: auto; object-position: 50% 30%; }
  .hero-caption { text-align: center; }
  .section { padding: 64px 0; }
  .demo-swipe-hint { display: block; margin: 30px 0 0; color: var(--ea); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .app-demos {
    --demo-card-width: min(84vw, 330px);
    display: flex;
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
    padding-right: calc((100vw - var(--demo-card-width)) / 2);
    padding-left: calc((100vw - var(--demo-card-width)) / 2);
    gap: 16px;
    overflow-x: auto;
    scroll-padding-inline: calc((100vw - var(--demo-card-width)) / 2);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .app-demos::-webkit-scrollbar { display: none; }
  .app-demo { flex: 0 0 var(--demo-card-width); scroll-snap-align: center; scroll-snap-stop: always; }
  .demo-video-shell { border-radius: 17px; }
  .adaptive-proof { margin-top: 64px; padding-top: 60px; }
  .adaptive-video { width: min(88vw, 330px); justify-self: center; }
  .whatsapp-note { margin-top: 38px; }
  .btn-large { width: 100%; }
  .cta-row { width: 100%; }
  .spec-list li { grid-template-columns: 42px 1fr; gap: 12px; padding: 22px 0; }
  .receipts { margin-top: 34px; }
  .receipts-photos { gap: 8px; }
  .receipt-photo img { min-height: 0; aspect-ratio: .69; }
  .receipt-photo figcaption { left: 8px; bottom: 8px; padding: 5px 8px; font-size: .62rem; }
  .receipts-stats { grid-template-columns: 1fr; }
  .case-outcome { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; }
  .stat { padding: 22px 0; border-right: 0; }
  .stat-num { font-size: 3rem; }
  .case-study-divider { margin: 68px 0; }
  .alex-stats { grid-template-columns: 1fr; }
  .alex-stats div { min-height: 112px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .alex-stats div:last-child { border-bottom: 0; }
  .alex-gallery { gap: 8px; }
  .alex-photo figcaption { max-width: calc(100% - 16px); }
  .about-photo { max-width: 320px; margin-inline: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
