@font-face { font-family: "Tex Gyre Adventor"; src: url("/fonts/texgyreadventor-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #f6f5f1;
  --muted: #a9bac6;
  --background: #071621;
  --surface: #0d2230;
  --surface-strong: #122b3a;
  --line: #294455;
  --accent: #fe79cb;
  --accent-ink: #241222;
  --sitrep: #47a3ff;
  --das: #7abc32;
  --passport: #884dff;
  --hp: #c5a84e;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background: var(--background); color: var(--ink); font-family: "Source Sans 3", system-ui, sans-serif; font-size: 18px; line-height: 1.58; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img, svg { max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--background) 93%, transparent); backdrop-filter: blur(14px); }
.header-inner, .footer-inner, .page-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand-copy { display: grid; line-height: 1.02; }
.brand-copy strong { font-family: "Poppins", sans-serif; font-size: .98rem; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.nav-list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .88rem; }
.nav-list .account-link { margin-left: 6px; border: 1px solid var(--accent); color: var(--accent); }
.nav-list .account-link:hover { background: var(--accent); color: var(--accent-ink); }

.construction-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .72; }
.construction-field::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.construction-field::after { content: ""; position: absolute; width: 330px; height: 330px; right: -80px; top: 65px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 44px color-mix(in srgb, var(--line) 52%, transparent), 0 0 0 45px var(--line); opacity: .45; }

.hero { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero.compact-hero { min-height: calc(100vh - 240px); }
.hero::after { content: ""; position: absolute; left: 9%; bottom: 17%; width: 34px; height: 34px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 52px color-mix(in srgb, var(--accent) 45%, transparent); }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; padding: 104px 0 92px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-family: "Poppins", sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Tex Gyre Adventor", "Poppins", sans-serif; letter-spacing: -.045em; line-height: 1.03; }
h1 { max-width: 880px; margin-bottom: 24px; font-size: clamp(3rem, 7.2vw, 6.7rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { margin-bottom: 9px; font-size: 1.3rem; }
.hero-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.34rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; font-family: "Poppins", sans-serif; font-size: .9rem; }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button:hover { border-color: var(--accent); }
.button.primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); color: var(--accent-ink); }

.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-intro { max-width: 760px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.product-card { --product-accent: var(--accent); grid-column: span 4; min-height: 240px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--product-accent) 8%), var(--surface)); }
.product-card::before { content: ""; width: 52px; height: 4px; margin-bottom: 36px; border-radius: 99px; background: var(--product-accent); }
.product-card p { margin: 0; color: var(--muted); }
.product-card small { margin-top: auto; padding-top: 28px; color: var(--product-accent); font-family: "Poppins", sans-serif; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.product-card.workpane { --product-accent: var(--accent); }
.product-card.sitrep { --product-accent: var(--sitrep); }
.product-card.das { --product-accent: var(--das); }
.product-card.passport { --product-accent: var(--passport); }
.product-card.hp { --product-accent: var(--hp); }
.product-card.suite { --product-accent: var(--ink); }

.callout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 30px; align-items: center; padding: clamp(28px, 6vw, 62px); border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 88%, var(--accent) 12%), var(--surface)); }
.callout p { margin: 0; color: var(--muted); }
.callout .hero-actions { justify-content: flex-end; margin: 0; }

.legal-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.legal-hero .page-shell { position: relative; z-index: 1; padding: 94px 0 70px; }
.legal-hero h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 5.8rem); }
.legal-hero p:last-child { max-width: 760px; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 64px; align-items: start; padding: 70px 0 100px; }
.legal-nav { position: sticky; top: 108px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal-nav strong { display: block; margin-bottom: 10px; font-family: "Poppins", sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 6px 0; color: var(--muted); font-size: .9rem; }
.legal-copy section { scroll-margin-top: 110px; margin-bottom: 52px; }
.legal-copy h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-copy h3 { margin-top: 28px; letter-spacing: -.02em; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy li + li { margin-top: 8px; }
.legal-copy strong { color: var(--ink); }
.status-note { padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--surface); color: var(--muted); }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.contact-card a { color: var(--accent); font-family: "Poppins", sans-serif; font-size: 1.08rem; }

.site-footer { padding: 34px 0 44px; background: #06131c; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-copy { max-width: 650px; color: var(--muted); font-size: .82rem; }
.footer-copy strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .84rem; }
.footer-links [aria-current="page"] { color: var(--accent); text-decoration-thickness: .14em; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding: 15px 0; }
  .nav-list { flex-wrap: wrap; justify-content: flex-end; }
  .product-card { grid-column: span 6; }
  .callout { grid-template-columns: 1fr; }
  .callout .hero-actions { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-nav { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .header-inner { display: grid; }
  .nav-list { justify-content: flex-start; margin-left: -10px; }
  .nav-list a { padding-inline: 10px; }
  .nav-list .account-link { margin-left: 0; }
  .hero { min-height: 570px; }
  .hero-inner { padding: 80px 0 72px; }
  .hero::after { left: 8%; bottom: 10%; width: 26px; height: 26px; }
  .product-card { grid-column: 1 / -1; min-height: 205px; }
  .section { padding: 66px 0; }
  .legal-hero .page-shell { padding: 70px 0 52px; }
  .legal-layout { padding: 52px 0 76px; }
  .footer-inner { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
