/* Leapnovate website. Tokens from the approved brand book (v1, Nov 2026).
   No inline styles anywhere: the Content Security Policy only allows this file. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --navy: #071A26;
  --navy-2: #0B2130;
  --navy-3: #0E2433;
  --navy-block: #163447;
  --navy-line: #1A3446;
  --surface: #FFFFFF;
  --surface-alt: #F5F8FB;
  --mist: #E6EEF4;
  --ink: #12222F;
  --ink-muted: #46586A;
  --on-navy: #FFFFFF;
  --on-navy-muted: #9FB0BE;
  --on-navy-soft: #C7D3DD;
  --sky: #47ABFF;
  --sky-text: #1F6FBF;
  --sky-on-navy: #6CBEFF;
  --ok: #1E7A4F; --ok-bg: #E6F5EC;
  --flag: #A44A23; --flag-bg: #FBEDE6; --flag-bar: #B4532A;
  --max: 1200px;
  --gutter: 40px;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-text); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--sky); color: var(--navy); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.08; }
p { margin: 0; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-text); }
.mono { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.025em; max-width: 820px; margin-bottom: 64px; }

/* Dark sections */
.dark { background: var(--navy); color: var(--on-navy); }
.dark-2 { background: var(--navy-2); color: var(--on-navy); }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--sky); }
.alt { background: var(--surface-alt); }
section { padding: 128px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 6px; font: 600 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: var(--sky-on-navy); }
.btn-outline { border-color: rgba(255,255,255,.35); color: var(--on-navy); }
.btn-outline:hover { border-color: var(--sky); }
.arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.text-link { font-weight: 600; text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,26,38,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--on-navy-muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--on-navy); }
.nav .btn { color: var(--navy); padding: 10px 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--navy-line); border-radius: 6px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { stroke: var(--on-navy); }

/* Hero: people plus product */
.hero { padding: 88px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: end; }
.hero-copy { padding-bottom: 96px; }
.hero h1 { font-size: clamp(48px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.hero .lead { margin: 28px 0 40px; font-size: 21px; line-height: 1.5; color: var(--on-navy-soft); max-width: 500px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; height: 600px; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 20px 20px 0 0; }
.video-toggle { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(7,26,38,.55); color: #fff; font: 500 12px var(--sans); cursor: pointer; opacity: .7; transition: opacity .2s; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }

/* Product screen (shared by hero card and showcase) */
.screen { background: var(--surface); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.45); }
.screen-bar { padding: 11px 16px; background: var(--surface-alt); border-bottom: 1px solid var(--mist); font: 500 12px var(--mono); color: var(--ink-muted); }
.screen-body { padding: 6px 18px 18px; }
.check { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--mist); font-size: 14px; }
.check:first-child { border-top: none; }
.pill { align-self: center; white-space: nowrap; font: 500 11px var(--mono); color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 3px 10px; }
.pill.flag { color: var(--flag); background: var(--flag-bg); }
.decision { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface-alt); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-weight: 600; }
.decision span:last-child { background: var(--navy); color: var(--on-navy); border-radius: 6px; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
.risk { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 0 10px; }
.risk .mono { color: var(--ink-muted); }
.meter { height: 8px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 86%; background: var(--flag-bar); border-radius: 999px; }
.risk b { color: var(--flag); font-size: 15px; }

/* Sector strip */
.strip { background: var(--navy-2); border-top: 1px solid var(--navy-line); color: var(--on-navy-muted); }
.strip .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 40px; }
.strip span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 999px; background: var(--sky); vertical-align: middle; }

/* Who we help */
.people { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.person-card .photo { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; }
.person-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.person-card:hover img { transform: scale(1.04); }
.person-card h3 { margin: 20px 0 6px; font-size: 22px; }
.person-card p { color: var(--ink-muted); font-size: 15px; }

/* Showcase */
.demo { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 80px; align-items: center; padding: 24px 0 72px; }
.demo.flip { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); padding-bottom: 24px; }
.demo .mono { display: block; margin-bottom: 14px; color: var(--sky); }
.demo h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin-bottom: 12px; }
.demo p { color: var(--on-navy-muted); font-size: 18px; }
.demo-photo { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { border: 1px solid var(--navy-line); border-radius: 999px; padding: 6px 12px; font: 500 12px var(--mono); color: var(--on-navy); }
.fineprint { margin-top: 40px; color: var(--on-navy-muted); font-size: 13px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.service { padding: 36px 36px 0 0; display: flex; flex-direction: column; }
.service + .service { padding-left: 36px; border-left: 1px solid var(--mist); }
.service .mono { color: var(--sky-text); margin-bottom: 36px; }
.service h3 { font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.service p { color: var(--ink-muted); margin-bottom: 18px; flex: 1; }

/* Track record */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.case { border: 1px solid var(--navy-line); border-radius: 20px; overflow: hidden; background: var(--navy-3); transition: border-color .3s; }
.case:hover { border-color: rgba(71,171,255,.5); }
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-body { padding: 32px; }
.case .mono { display: block; margin-bottom: 18px; color: var(--sky); }
.case h3 { font-size: 28px; line-height: 1.15; margin-bottom: 12px; }
.case p { color: var(--on-navy-muted); }
.standards { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--navy-line); color: var(--on-navy-muted); font-size: 15px; }
.standards .mono { font-size: 14px; color: var(--on-navy); }

/* How we work */
.how { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.how-photo { border-radius: 20px; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.how h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); color: var(--ink-muted); }
.steps .mono { color: var(--sky-text); padding-top: 3px; }
.steps b { color: var(--ink); }
.also { margin-top: 32px; color: var(--ink-muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.contact .sub { margin: 20px 0 40px; color: var(--on-navy-muted); font-size: 19px; }
.details { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 14px 12px; margin: 0; }
.details dt { font: 500 13px var(--mono); color: var(--on-navy-muted); padding-top: 3px; }
.details dd { margin: 0; }
.details a { color: var(--on-navy); }
form { display: flex; flex-direction: column; gap: 14px; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 20px; padding: 32px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input, select, textarea { width: 100%; background: var(--navy); border: 1px solid var(--navy-line); border-radius: 6px; padding: 12px 14px; color: var(--on-navy); font: 16px var(--sans); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
textarea { min-height: 130px; resize: vertical; }
form .btn { align-self: flex-start; border: none; }
.form-status { min-height: 1.4em; font-size: 15px; color: var(--on-navy-muted); }
.form-status.ok { color: #7FE0A6; }
.form-status.err { color: #FFB4A8; }
.form-note { font-size: 13px; color: var(--on-navy-muted); }
.form-note a { color: var(--sky-on-navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy); border-top: 1px solid var(--navy-line); color: var(--on-navy-muted); font-size: 14px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--on-navy-muted); }

/* Text pages */
.page { max-width: 760px; margin: 0 auto; padding: 88px 24px 112px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -.02em; margin-bottom: 12px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink-muted); }
.page p + p { margin-top: 12px; }
.notfound { min-height: calc(100vh - 77px); display: flex; align-items: center; }
.notfound h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -.03em; }
.notfound p { margin: 20px 0 32px; color: var(--on-navy-soft); font-size: 19px; }

/* Motion: plays once, guides the eye, off for reduced-motion users */
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js .hero-copy > * { animation: rise .9s ease both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }

.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .people .reveal:nth-child(2) { transition-delay: .1s; }
.js .people .reveal:nth-child(3) { transition-delay: .2s; }
.js .people .reveal:nth-child(4) { transition-delay: .3s; }
.js .play .check, .js .play .decision, .js .play .risk { opacity: 0; transform: translateX(-8px); transition: opacity .45s ease, transform .45s ease; }
.js .play .meter span { width: 0; transition: width 1.2s ease .3s; }
.js .play.in .check, .js .play.in .decision, .js .play.in .risk { opacity: 1; transform: none; }
.js .play.in .meter span { width: 86%; }
.js .play.in .check:nth-child(1) { transition-delay: .4s; }
.js .play.in .check:nth-child(2) { transition-delay: .7s; }
.js .play.in .check:nth-child(3) { transition-delay: 1s; }
.js .play.in .check:nth-child(4) { transition-delay: 1.3s; }
.js .play.in .decision { transition-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-copy > * { animation: none; }
  .js .reveal, .js .play .check, .js .play .decision, .js .play .risk { opacity: 1; transform: none; filter: none; transition: none; }
  .js .play .meter span { width: 86%; transition: none; }
  .btn:hover, .person-card:hover img { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .people { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 40px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  section { padding: 96px 0; }
  .hero-grid, .demo, .demo.flip, .cases, .how, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { height: 460px; }
  .demo.flip .demo-photo { order: 2; }
  .services { grid-template-columns: minmax(0,1fr); }
  .service, .service + .service { padding: 32px 0; border-left: none; border-bottom: 1px solid var(--mist); }
  .service .mono { margin-bottom: 16px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .h2 { margin-bottom: 40px; }
  .people { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; }
  .person-card { flex: 0 0 72%; scroll-snap-align: start; }
  .row { grid-template-columns: minmax(0,1fr); }
  form { padding: 22px; }
  .case-body { padding: 24px; }
  .decision { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px var(--gutter); background: var(--navy); border-bottom: 1px solid var(--navy-line); }
  .nav.open { display: flex; }
}
