/* ---------- Tokens ---------- */
:root {
  --navy: #1B2A5C;
  --navy-dark: #0F1A3A;
  --navy-50: #F4F6FB;
  --teal: #36D7D9;
  --teal-dark: #1FB8BA;
  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --border: #E5E9F0;
  --text: #0F1A3A;
  --text-muted: #5B6580;
  --shadow-sm: 0 1px 2px rgba(15, 26, 58, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 26, 58, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--text); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: clamp(64px, 9vw, 112px) 0; }
section + section { border-top: 1px solid var(--border); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img { width: 32px; height: 32px; object-fit: contain; }
.nav__brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav__links a:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: clamp(72px, 11vw, 144px);
  padding-bottom: clamp(72px, 11vw, 144px);
  background: radial-gradient(ellipse at 50% -10%, rgba(54, 215, 217, 0.10), transparent 60%);
}
.hero__logo {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  margin: 0 auto 28px;
}
.hero__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(54, 215, 217, 0.12);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 760px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--teal-dark); }
.hero__sub {
  color: var(--text-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, background .15s ease;
}
.hero__cta:hover {
  background: var(--navy-dark);
  color: #fff;
  transform: translateY(-1px);
}
.hero__cta svg { width: 14px; height: 14px; }

/* ---------- Section heading ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- About ---------- */
#about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.about-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(54, 215, 217, 0.4);
}
.about-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(27, 42, 92, 0.08);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.about-card__icon svg { width: 20px; height: 20px; }
.about-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Products ---------- */
#products { background: var(--bg-alt); }
.product {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .product { grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
}
.product__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy) 0%, #2A3E78 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  position: relative;
}
.product__icon::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}
.product__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(54, 215, 217, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.product h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.product__lede {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 60ch;
}
.product__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 18px;
}
.product__features li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
}
.product__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--teal);
}

.upcoming {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.5);
}
.upcoming strong { color: var(--text); font-weight: 600; }

/* ---------- Contact ---------- */
#contact { background: var(--bg); }
.contact {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border);
  transition: background .15s ease, border-color .15s ease;
}
.contact__email:hover {
  background: var(--bg);
  border-color: var(--teal);
  color: var(--navy);
}
.contact__email svg { width: 16px; height: 16px; color: var(--teal-dark); }
.contact__note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 720px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__brand-name { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.footer__tagline { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.55); max-width: 360px; }
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
}
.footer__links a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 720px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Legal pages ---------- */
.legal {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
}
.legal__inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.legal__back:hover { color: var(--navy); }
.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal__updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--navy);
}
.legal h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.legal p, .legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal ul li { margin-bottom: 4px; }
.legal .uppercase { text-transform: uppercase; font-size: 13px; letter-spacing: 0.02em; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
