:root {
  --navy: #07274b;
  --navy-deep: #041a33;
  --blue: #0b4fd6;
  --sky: #2f9bf0;
  --ice: #eaf3fc;
  --ink: #0e1726;
  --muted: #4b5a6e;
  --line: #d9e3ef;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 39, 75, .12);
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(880px, 100% - 32px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--ice); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark a:not(.btn) { color: #9fd0ff; }
.eyebrow { font: 600 .82rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.dark .lead, .page-hero .lead, .hero .lead { color: rgba(255, 255, 255, .85); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 700 .85rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0941b3; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline { border-color: currentColor; color: var(--navy); }
.dark .btn-outline { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 39, 75, .96); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { text-decoration: none; color: var(--white); }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.wm-top { font: 800 .7rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; }
.wm-now { padding: 2px 5px 1px; border-radius: 3px; background: var(--sky); color: var(--navy-deep); }
.wm-x39 { font: 200 2.15rem/1 var(--font-head); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: .02em; margin: 3px 0 0 -2px; }
.footer-grid .wm-top { font-size: .8rem; }
.footer-grid .wm-x39 { font-size: 2.6rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font: 600 .82rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current]:not(.btn) { color: var(--white); border-color: var(--sky); }
.site-nav .btn { padding: 11px 18px; font-size: .78rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 16px 20px; display: none; box-shadow: 0 20px 30px rgba(0, 0, 0, .25); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Home hero */
.hero { position: relative; color: var(--white); background: var(--navy-deep) url(/assets/img/hero-product.png) center right / cover no-repeat; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 26, 51, .92) 0%, rgba(4, 26, 51, .7) 45%, rgba(4, 26, 51, 0) 75%); }
.hero .wrap { position: relative; padding: 80px 0; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); font-weight: 900; line-height: .98; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px #8fc4ff; }
.hero .lead { font-size: 1.2rem; max-width: 34ch; }
.pills { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin: 4px 0 28px; }
.pills span { font: 700 .8rem/1 var(--font-head); letter-spacing: .1em; padding: 10px 18px; border-radius: 999px; }
.pills span:nth-child(1) { background: var(--white); color: var(--navy); }
.pills span:nth-child(2) { background: var(--blue); }
.pills span:nth-child(3) { background: var(--sky); }
@media (max-width: 720px) {
  .hero { background-position: 70% center; align-items: end; }
  .hero::before { background: linear-gradient(0deg, rgba(4, 26, 51, .96) 0%, rgba(4, 26, 51, .75) 55%, rgba(4, 26, 51, .2) 100%); }
  .hero .wrap { padding: 220px 0 56px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; color: var(--white); background: var(--navy) var(--hero) center / cover no-repeat; padding: clamp(96px, 14vw, 180px) 0 clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 26, 51, .92), rgba(4, 26, 51, .55)); }
.page-hero .wrap { position: relative; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.rounded { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cover-img { width: 100%; height: 100%; object-fit: cover; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); margin: 0 0 24px; }
.video iframe, .video .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { cursor: pointer; background: #000 center / cover no-repeat; padding: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(11, 79, 214, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .15s; }
.play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.yt:hover .play, .video-card:hover .play { transform: scale(1.08); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.video-card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(7, 39, 75, .18); }
.video-card .thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.video-card .play::after { left: 21px; top: 16px; border-width: 10px 0 10px 16px; }
.video-card-title { display: block; padding: 16px 18px 20px; font: 700 1rem/1.35 var(--font-head); }
.video-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.crumbs { font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a::before { content: "← "; }

/* Link list (home video lists) */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; color: var(--navy); text-decoration: none; font: 700 .95rem/1.3 var(--font-head); transition: border-color .15s, transform .15s; }
.link-list a::after { content: "→"; color: var(--blue); }
.link-list a:hover { border-color: var(--blue); transform: translateX(3px); }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .strip img { scroll-snap-align: start; } }

/* Sun band */
.sun { position: relative; color: var(--white); background: var(--navy-deep) url(/assets/img/sun.jpg) center / cover no-repeat; text-align: center; padding: clamp(96px, 14vw, 180px) 0; }
.sun::before { content: ""; position: absolute; inset: 0; background: rgba(4, 26, 51, .55); }
.sun .wrap { position: relative; }
.sun p { max-width: 60ch; margin-inline: auto; font-size: 1.15rem; }

/* Steps / features */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; font-size: 1.1rem; font-weight: 700; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ice); color: var(--blue); font: 800 1.1rem/1 var(--font-head); }
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; }
.features div { padding: 24px 20px; text-align: center; border-left: 1px solid var(--line); font-weight: 700; }
.features div:first-child { border-left: 0; }
.features div::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } .features div { border: 0; border-top: 1px solid var(--line); } }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.results figure { margin: 0; padding: 28px 20px; text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font: 700 1rem/1.3 var(--font-head); color: var(--navy); }
.results img { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 14px; }
@media (max-width: 720px) { .results { grid-template-columns: 1fr 1fr; } }

.patent-numbers { font: 500 .95rem/1.7 var(--font-head); color: rgba(255, 255, 255, .8); }
.bio p { color: var(--muted); }
.bio .role { font: 700 .82rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }

/* Research page */
.study-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.study { display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.study h3 { color: var(--navy); }
.study p { color: var(--muted); font-size: .98rem; flex: 1; }
.study a { align-self: start; font: 700 .8rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.study a::after { content: " ↗"; }
.study-group { margin-top: 56px; }
.study-group:first-child { margin-top: 0; }
.study-group > h2 { font-size: 1.5rem; margin-bottom: 20px; }
.note { font-size: .9rem; color: var(--muted); font-style: italic; }
.callout { background: var(--ice); border-left: 4px solid var(--blue); padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.callout a { font-weight: 700; }

/* Testimonies */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.location { font: 700 .78rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
figcaption strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }

.featured-testimony figure { margin: 0; }
.featured-testimony blockquote { margin: 0 0 28px; font: 700 clamp(1.7rem, 3.6vw, 2.6rem)/1.2 var(--font-head); letter-spacing: -.01em; }
.featured-testimony img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 560px; }

.testimony-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .testimony-grid { grid-template-columns: 1fr; } }
.testimony { position: relative; margin: 0; padding: 44px 40px 36px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.testimony::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.testimony-mark { font: 900 4.5rem/.7 var(--font-head); color: var(--ice); position: absolute; right: 28px; top: 34px; }
.testimony blockquote { margin: 0 0 24px; padding-right: 56px; flex: 1; font: 600 clamp(1.15rem, 2vw, 1.4rem)/1.4 var(--font-head); color: var(--navy); }
.testimony .location { color: var(--blue); }

/* Testimony carousel (above the footer) */
.review-band { position: relative; color: var(--white); text-align: center; padding: clamp(72px, 9vw, 120px) 0; background: var(--navy-deep) url(/assets/img/sun.jpg) center / cover no-repeat; }
.review-band::before { content: ""; position: absolute; inset: 0; background: rgba(4, 26, 51, .78); }
.review-band .wrap { position: relative; }
.review-band h2 { margin-bottom: 40px; }
.review-band .btn-row { justify-content: center; margin-top: 40px; }
.carousel { max-width: 860px; margin-inline: auto; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 clamp(8px, 4vw, 48px); }
.slide blockquote { margin: 0 0 24px; font: 700 clamp(1.4rem, 3.2vw, 2.2rem)/1.3 var(--font-head); }
.slide blockquote::before { content: "“"; display: block; font: 900 4rem/.6 var(--font-head); color: var(--sky); margin-bottom: 18px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: transparent; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: background .15s, border-color .15s; }
.carousel-btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .2s, background .2s; }
.carousel-dots button[aria-current] { width: 28px; background: var(--sky); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 64px 0 32px; font-size: .95rem; }
.footer-cta { text-align: center; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.guarantees { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.guarantees strong { color: #9fd0ff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 32px 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--white); text-decoration: none; font: 600 .8rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a:hover { color: #9fd0ff; }
.disclaimer { font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .55); text-transform: none; }
.copyright { font-size: .8rem; color: rgba(255, 255, 255, .5); margin: 0; }
