/* ============================================================
   NOA — shared site styles
   Used by index.html, tech.html, about.html, contact.html
   ============================================================ */

@font-face{
  font-family: "Metropolis";
  src: url("fonts/Metropolis-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --c-ink:        #171a1b;
  --c-charcoal:   #33393b;
  --c-mid:        #5c5e62;
  --c-iron:       #d0d1d2;
  --c-mist:       #d4dddd;
  --c-fog:        #f1f2f2;
  --c-paper:      #fcfbfb;
  --c-white:      #ffffff;
  --c-teal:       #2cbec0;
  --c-teal-soft:  #69c9ca;

  --font-head: "Metropolis", system-ui, sans-serif;
  --font-body: "Libre Franklin", system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;

  --container: 1280px;
}

*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
[hidden]{ display: none !important; }
body{
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--c-charcoal);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--c-ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1{ font-size: 38px; line-height: 1.2; }
h2{ font-size: 32px; line-height: 1.25; }
h3{ font-size: 24px; line-height: 1.32; }
h4{ font-size: 16px; line-height: 1.32; }

.eyebrow{
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 16px;
  color: var(--c-charcoal);
}

/* ---------- top bar (ticker + nav) ---------- */
.topbar{ position: sticky; top: 0; z-index: 50; }
.ticker{ background: var(--c-ink); color: #ffffff; }
.ticker__inner{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 42px;
}
.ticker__item{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  padding: 0 12px;
}
.ticker__item.is-active{ opacity: 1; }
.ticker__flag{
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.site-header{
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-fog);
}
.site-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
}
.site-header__logo{ justify-self: start; display: inline-flex; align-items: center; }
.site-header__logo img{ height: 34px; width: auto; display: block; }
.site-nav{
  justify-self: center;
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-charcoal);
}
.site-nav a:hover,
.site-nav a[aria-current="page"]{ color: var(--c-teal); }
.site-header__social{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header__social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--c-charcoal);
  transition: color .15s ease;
}
.site-header__social a:hover{ color: var(--c-teal); }
.site-header__social svg{ width: 20px; height: 20px; display: block; }

/* ---------- hamburger / mobile nav ---------- */
.site-header__menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--c-charcoal);
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: color .15s ease;
}
.site-header__menu-toggle:hover{ color: var(--c-teal); }
.site-header__menu-toggle svg{ display: block; }
.site-nav-mobile{
  display: none;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-fog);
  padding: 8px 20px 16px;
}
.site-nav-mobile.is-open{ display: block; }
.site-nav-mobile a{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-charcoal);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-fog);
}
.site-nav-mobile a:last-child{ border-bottom: none; }
.site-nav-mobile a:hover,
.site-nav-mobile a[aria-current="page"]{ color: var(--c-teal); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-teal);
  color: var(--c-ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  max-height: 56px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover{ background: var(--c-teal-soft); }
.btn:active{ transform: translateY(1px); }
.btn--ghost{
  background: transparent;
  color: var(--c-ink);
  border: none;
}
.btn--ghost:hover{ background: var(--c-fog); }
.btn--inverse{
  background: var(--c-teal);
  color: var(--c-ink);
}

/* ---------- generic page hero (used by tech/about/contact) ---------- */
.page-hero{
  background: var(--c-ink);
  color: #ffffff;
  padding: 96px 32px 80px;
}
.page-hero__inner{ max-width: var(--container); margin: 0 auto; }
.page-hero__eyebrow{
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-teal-soft);
  margin: 0 0 18px;
}
.page-hero h1{
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 18px;
  max-width: 920px;
}
.page-hero__sub{
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0;
  font-weight: 300;
}

/* About page hero — background image + 20% black overlay */
.page-hero--about{
  background:
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('About Header.webp') right center / cover no-repeat;
}

/* Technology page hero — background image + 20% black overlay */
.page-hero--tech{
  background:
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('Technology-Header.webp') right center / cover no-repeat;
}

/* Contact page hero — background image + 20% black overlay */
.page-hero--contact{
  background:
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('RequestADevKit.webp') right center / cover no-repeat;
}

/* FAQ page hero — background image + 20% black overlay */
.page-hero--faq{
  background:
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('Facts-Questions-Header.webp') right center / cover no-repeat;
}

/* ---------- generic content section ---------- */
.section{ padding: 96px 32px; }
.section--alt{ background: var(--c-fog); }
.section--ink{ background: var(--c-ink); color: #f1f2f2; }
.section--ink h2,
.section--ink h3,
.section--ink h4{ color: #ffffff; }
.section__inner{ max-width: var(--container); margin: 0 auto; }
.section__head{ text-align: center; margin-bottom: 64px; }
.section__head h2{ font-size: 32px; margin-bottom: 12px; }
.section__head p{
  font-size: 16px;
  color: var(--c-mid);
  max-width: 640px;
  margin: 0 auto;
}
.section--ink .section__head p{ color: rgba(255,255,255,0.75); }

/* ---------- footer ---------- */
.site-footer{
  background: var(--c-ink);
  color: #c8c9ca;
  padding: 48px 32px 28px;
}
.site-footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4{
  color: var(--c-white);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.site-footer ul{ list-style: none; padding: 0; margin: 0; }
.site-footer li{ margin-bottom: 8px; font-size: 16px; }
.site-footer a:hover{ color: var(--c-teal-soft); }
.site-footer__brand img{ height: 34px; margin-bottom: 12px; }
.site-footer__brand p{ font-size: 16px; color: #9b9d9f; max-width: 320px; }
.site-footer__bottom{
  max-width: var(--container);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2a2d2f;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #7c7e80;
}

/* ---------- closer (dark full-bleed CTA, last section before footer) ---------- */
.closer{
  background: var(--c-ink);
  color: #f5f5f5;
  padding: 120px 32px;
  text-align: center;
}
.closer__inner{ max-width: 880px; margin: 0 auto; }
.closer__head{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 56px;
  letter-spacing: -0.02em;
}
.closer__head .accent{ color: var(--c-teal); }
.closer__pillars{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 56px;
  margin-bottom: 56px;
}
.closer__pillar{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.closer__pillar-label{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.closer__pillar-text{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}
.closer__divider{
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.closer .btn{
  width: auto;
  padding: 16px 32px;
  font-size: 15px;
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .site-footer__inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px){
  .site-header__inner{ grid-template-columns: 1fr auto; }
  .site-nav{ display: none; }
  .site-header__social{ display: none; }
  .site-header__menu-toggle{ display: inline-flex; }
  .closer{ padding: 80px 20px; }
  .closer__head{ font-size: 22px; margin-bottom: 40px; }
  .closer__pillars{ flex-direction: column; gap: 28px; margin-bottom: 40px; }
  .closer__divider{ display: none; }
  .closer__pillar-label{ font-size: 13px; }
  .break-md{ display: none; }
  .section{ padding: 64px 20px; }
  .section__head{ margin-bottom: 40px; }
  .section__head h2{ font-size: 26px; }
  .page-hero{ padding: 64px 20px 56px; }
  .page-hero h1{ font-size: 30px; }
  .page-hero__sub{ font-size: 16px; }
  .eyebrow{ font-size: 14px; }
  .site-nav a{ font-size: 14px; }
  .site-footer h4{ font-size: 14px; }
  .site-footer li{ font-size: 14px; }
  .site-footer__brand p{ font-size: 14px; }
  .site-footer__bottom{ font-size: 12px; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 600px){
  .ticker{ display: none; }
  .site-header__inner{ padding: 12px 20px; }
  .site-footer__inner{ grid-template-columns: 1fr; }
}
