:root{
  --navy:#1c3f5d;
  --navy-2:#244c73; /* slightly lighter navy, derived tint, used for depth only */
  --white:#ffffff;
  --black:#000000;
  --ink-70: rgba(255,255,255,.68);
  --ink-45: rgba(255,255,255,.45);
  --navy-08: rgba(28,63,93,.08);
  --navy-14: rgba(28,63,93,.14);
  /* Body palette: navy is reserved for the header and footer; page content uses shades of white + black type */
  --paper:#fbfbf9;
  --paper-2:#f5f5f2;
  --paper-3:#ecece8;
  --text:#0d0d0d;
  --text-2:rgba(13,13,13,.68);
  --text-3:rgba(13,13,13,.5);
  --line:rgba(13,13,13,.12);
  --h2-size:clamp(32px,4.2vw,56px); /* every <h2> on the site */
  --font-head:'Manrope',"Helvetica Neue",Arial,sans-serif;
  --font-body:'Manrope',-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --font-secondary:'Manrope',-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
h2{
  font-family:var(--font-head);
  font-weight:800;
  font-size:var(--h2-size);
  line-height:1.06;
  letter-spacing:-0.02em;
  text-wrap:balance;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;border:none;background:none;cursor:pointer;color:inherit;}
.wrap{
  max-width:1360px;
  margin:0 auto;
  padding:0 40px;
}
:focus-visible{
  outline:2px solid var(--navy);
  outline-offset:3px;
}
/* screen-reader-only: keeps an element (e.g. a page's <h1>) in the DOM for SEO/accessibility
   without showing it, when the visible design carries the same message another way */
.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* ---- shared buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  padding:14px 22px;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg{width:16px;height:16px;flex-shrink:0;}
.btn-primary{
  background:var(--text);
  color:var(--white);
  border:1px solid var(--text);
}
.btn-primary:hover{transform:translateY(-1px);}
.btn-secondary{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(13,13,13,.35);
}
.btn-secondary:hover{border-color:var(--text);}

/* ---- shared section scaffold (used across home + every inner page) ---- */
.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--navy);
  border:1px solid var(--navy);
  padding:6px 12px;
}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:6px;
  font-size:14px;
  font-weight:700;
  color:var(--navy);
  white-space:nowrap;
}
.text-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.5;transition:transform .15s ease;}
.text-link:hover svg{transform:translateX(4px);}

.section{padding:104px 0 112px;}
.section--soft{background:var(--paper-2);}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:26px;
}
.section-head h2{
  margin-top:20px;
  max-width:22ch;
  color:var(--black);
}
.section-head p{
  margin-top:8px;
  max-width:70ch;
  font-size:14px;
  line-height:1.5;
  color:var(--text-2);
}
.section-tools{
  display:flex;
  align-items:center;
  gap:28px;
  flex-shrink:0;
}
.section-tools .text-link{margin-top:0;}

/* ---- shared content tabs (Features / Technical Specification / Applications, etc.) ----
   Markup: .tab-nav[role=tablist] > .tab-btn[role=tab][aria-controls=ID], plus matching
   .tab-panel[role=tabpanel][id=ID] siblings. Behaviour: assets/js/tabs.js, initTabs(). */
.tab-nav{
  display:flex;
  flex-wrap:wrap;
  width:fit-content;
  border:1px solid var(--text);
  margin-bottom:36px;
}
.tab-btn{
  padding:14px 26px;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  color:var(--text);
  background:var(--white);
  border-right:1px solid var(--text);
  transition:background .15s ease, color .15s ease;
}
.tab-btn:last-child{border-right:none;}
.tab-btn:hover{background:var(--paper-2);}
.tab-btn[aria-selected="true"]{background:var(--text);color:var(--white);}
.tab-panel[hidden]{display:none;}

/* ---- video facade ----
   A custom poster image + play button stand in for YouTube's own thumbnail/controls.
   assets/js/video-facade.js reads [data-video-mode] on the [data-video-facade] box:

   "click-to-load" (default) — nothing loads until clicked:
     <div data-video-facade data-youtube-id="ID">
       <img class="video-poster" src="..."><button class="video-play-btn">...</button>
     </div>
   On click the poster/button are replaced with the real iframe.

   "autoplay-muted" — the video is already embedded and playing muted; the poster sits over
   it as one big clickable overlay, and clicking unmutes + plays and removes the overlay:
     <div data-video-facade data-video-mode="autoplay-muted" data-youtube-id="ID">
       <iframe class="video-embed" src="...&autoplay=1&mute=1&enablejsapi=1" ...></iframe>
       <button class="video-poster-overlay">
         <img class="video-poster" src="..."><span class="video-play-btn">...</span>
       </button>
     </div> */
.video-embed{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.video-poster-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  cursor:pointer;
}
.video-poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.video-play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:76px;
  height:76px;
  border-radius:50%;
  color:var(--white);
  background:rgba(13,13,13,.82);
  transition:background .2s ease, transform .2s ease;
}
.video-play-btn svg{width:26px;height:26px;margin-left:3px;}
.video-play-btn:hover{background:var(--text);transform:translate(-50%, -50%) scale(1.06);}
.video-poster-overlay:hover .video-play-btn{background:var(--text);transform:translate(-50%, -50%) scale(1.06);}
.video-play-btn:focus-visible{outline:2px solid var(--white);outline-offset:3px;}
.video-poster-overlay:focus-visible{outline:2px solid var(--white);outline-offset:-3px;}

/* ---- shared FAQ accordion ----
   Markup: .faq-list > (.faq-group-title + .faq-item*)*. Each .faq-item holds a
   .faq-question[aria-expanded][aria-controls=ID] button (its question text wrapped in
   .faq-question-text, which carries the underline — sized to the text, not the full row) and a
   matching .faq-answer[id=ID]. Any number of items can be open at once.
   Behaviour: assets/js/accordion.js, initAccordions(). */
.faq-list{border-top:1px solid var(--line);}
.faq-group-title{
  margin-top:40px;
  margin-bottom:4px;
  font-family:var(--font-head);
  font-size:18px;
  font-weight:800;
  letter-spacing:-0.01em;
  color:var(--black);
}
.faq-list > .faq-group-title:first-child{margin-top:28px;}
.faq-question{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
  padding:22px 0;
  text-align:left;
  font-size:16px;
  font-weight:600;
  color:var(--text);
}
.faq-question-text{
  padding-bottom:4px;
  border-bottom:1px solid var(--line); /* sized to the question text itself, not the full row */
}
.faq-toggle{
  position:relative;
  flex-shrink:0;
  width:18px;
  height:18px;
}
.faq-toggle::before,
.faq-toggle::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  background:var(--text);
  transform:translate(-50%, -50%);
  transition:transform .2s ease;
}
.faq-toggle::before{width:14px;height:2px;}
.faq-toggle::after{width:2px;height:14px;}
.faq-question[aria-expanded="true"] .faq-toggle::after{transform:translate(-50%, -50%) scaleY(0);}
.faq-answer{padding:0 26px 22px 0;}
.faq-answer p{
  font-size:14px;
  line-height:1.6;
  color:var(--text-2);
}
.faq-answer[hidden]{display:none;}

/* two-column FAQ layout (shared): .faq-columns > .faq-list x2, each list may start with a
   .faq-group-title. Stacks to one column on tablets/phones. */
.faq-columns{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:0 56px;
  align-items:start;
}
.faq-columns .faq-question{font-size:15px;padding:18px 0;}
@media (max-width:980px){
  .faq-columns{grid-template-columns:1fr;}
  .faq-columns .faq-list + .faq-list{border-top:none;}
}

@media (max-width:980px){
  .wrap{padding:0 24px;}
  .section{padding:72px 0 80px;}
  .section-head{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:28px;}
}

@media (max-width:640px){
  .tab-nav{width:100%;}
  .tab-btn{flex:1 1 auto;text-align:center;padding:12px 10px;font-size:12.5px;}
}

@media (max-width:520px){
  .btn{justify-content:center;}
}
