/* Steller Software — reference stylesheet (design spec v1, DRAFT)
   Plain CSS, no framework. Tokens first; see ../spec.md for rationale and contrast checks. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --jay: #1F5FBF;            /* Jay Blue: primary actions, links, accents */
  --jay-700: #184FA3;        /* Jay Blue hover/pressed (derived) */
  --midnight: #123A7A;       /* Midnight Wing: headings accent, footer bg */
  --charcoal: #20242C;       /* Charcoal: body text, headings */
  --mist: #EEF4FB;           /* Mist: section tint, panels, badges */
  --white: #FFFFFF;
  /* Neutrals (added) */
  --slate-600: #525C6B;      /* secondary text */
  --line: #D6DEE9;           /* decorative dividers, card borders */
  /* On-dark (footer) */
  --on-dark: #EEF4FB;        /* = Mist */
  --on-dark-muted: #C3D0E6;
  --sky: #9CC0F5;            /* subtle accent: focus ring + link hover on dark */

  /* Type */
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --fs-display: 38px; --lh-display: 46px;
  --fs-h1: 36px;      --lh-h1: 44px;
  --fs-h2: 28px;      --lh-h2: 36px;
  --fs-h3: 21px;      --lh-h3: 28px;
  --fs-lead: 19px;    --lh-lead: 30px;
  --fs-body: 17px;    --lh-body: 28px;
  --fs-small: 14px;   --lh-small: 22px;
  --fs-eyebrow: 13px; --lh-eyebrow: 20px;

  /* Spacing (4-pt base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows (tinted with Midnight Wing) */
  --shadow-sm: 0 1px 2px rgba(18, 58, 122, .06), 0 1px 1px rgba(18, 58, 122, .04);
  --shadow-md: 0 12px 32px -12px rgba(18, 58, 122, .18), 0 2px 6px rgba(18, 58, 122, .05);

  /* Layout */
  --container: 1120px;
  --measure: 680px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: var(--s8);
}

@media (min-width: 768px) {
  :root {
    --fs-display: 58px; --lh-display: 64px;
    --fs-h1: 48px;      --lh-h1: 56px;
    --fs-h2: 36px;      --lh-h2: 44px;
    --fs-h3: 23px;      --lh-h3: 30px;
    --fs-lead: 21px;    --lh-lead: 33px;
    --fs-body: 18px;    --lh-body: 30px;
    --fs-small: 15px;   --lh-small: 24px;
    --fs-eyebrow: 14px; --lh-eyebrow: 20px;
    --gutter: 40px;
    --header-h: 84px;
    --section-y: var(--s9);
  }
}
@media (min-width: 1200px) { :root { --section-y: var(--s10); } }

/* Base */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  font-weight: 400; color: var(--charcoal); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; color: var(--charcoal); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: var(--s4); }
a { color: var(--jay); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jay-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--jay); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--white); padding: var(--s2) var(--s4); border-radius: var(--r-sm); box-shadow: var(--shadow-md); }
.skip-link:focus { top: var(--s4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--mist { background: var(--mist); }
.section--flush-top { padding-top: 0; }
.eyebrow { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--midnight); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--slate-600); }
.muted { color: var(--slate-600); }
.small { font-size: var(--fs-small); line-height: var(--lh-small); }
.section-head { max-width: 800px; margin-bottom: var(--s7); }
.section-head .lead { max-width: var(--measure); }
.section-head .eyebrow { margin-bottom: var(--s3); }
.section-head h2 + p { margin-top: var(--s4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-md); border: 1.5px solid transparent;
  font: 500 17px/24px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--jay); color: var(--white); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--jay-700); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--jay); border-color: var(--jay); }
.btn--secondary:hover, .btn--secondary.is-hover { background: var(--mist); color: var(--jay-700); border-color: var(--jay-700); }
.btn:focus-visible, .btn.is-focus { outline: 3px solid var(--jay); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: block; line-height: 0; border-radius: var(--r-sm); }
.brand img { height: 36px; width: auto; }
@media (min-width: 768px) { .brand img { height: 44px; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s6); }
.nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: 17px; line-height: 24px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--jay); }
.nav a[aria-current="page"] { color: var(--jay); border-bottom-color: var(--jay); }

@media (max-width: 767px) {
  .nav ul { gap: var(--s5); }
  .nav a:not(.btn) { font-size: 16px; }
}

/* Hero */
.hero { padding: var(--s7) 0 var(--s8); }
.hero .container { display: grid; gap: var(--s7); align-items: center; }
.hero .eyebrow { margin-bottom: var(--s4); display: flex; align-items: center; gap: var(--s2); }
.hero .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--jay); }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.025em; max-width: 15ch; }
.hero .lead { margin-top: var(--s5); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-art { position: relative; aspect-ratio: 1 / 0.78; border-radius: var(--r-xl); background: var(--mist); overflow: hidden; }
.hero-art .rings { position: absolute; left: 58%; top: 34%; width: 0; height: 0; }
.hero-art .rings span { position: absolute; border: 1.5px solid rgba(31, 95, 191, .16); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-art .rings span:nth-child(1) { width: 180px; height: 180px; border-color: rgba(31, 95, 191, .22); }
.hero-art .rings span:nth-child(2) { width: 320px; height: 320px; }
.hero-art .rings span:nth-child(3) { width: 470px; height: 470px; border-color: rgba(31, 95, 191, .11); }
.hero-art .rings span:nth-child(4) { width: 640px; height: 640px; border-color: rgba(31, 95, 191, .07); }
.hero-art .jay { position: absolute; left: 50%; bottom: 13%; width: 42%; transform: translateX(-46%); }
.hero-art::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 13%; height: 1.5px; background: rgba(18, 58, 122, .12); }
@media (min-width: 960px) {
  .hero { padding: var(--s9) 0 var(--s9); }
  .hero-art { aspect-ratio: 1 / 0.9; }
  .hero-art .jay { width: 46%; }
  .hero .container { grid-template-columns: 1.08fr 1fr; gap: var(--s8); }
}

/* Product card */
.product { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.product__body { padding: var(--s6) var(--s5); display: flex; flex-direction: column; }
.product__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.product__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; }
.product__icon svg { width: 26px; height: 26px; }
.product h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.015em; }
.product__desc { margin-top: var(--s4); max-width: 44ch; }
.product__notify { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--slate-600); font-size: 16px; line-height: 26px; }
.product__notify svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--jay); }
.product__notify a { font-weight: 500; white-space: nowrap; }
.product__aside { background: var(--mist); padding: var(--s6) var(--s5); border-top: 1px solid var(--line); }
.product__aside-title { margin: 0 0 var(--s5); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--midnight); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 4px; }
@media (min-width: 960px) {
  .product { grid-template-columns: 1fr 1fr; }
  .product__body { padding: var(--s7); }
  .product__body .product__notify { margin-top: auto; }
  .product__desc { margin-bottom: var(--s6); }
  .product__aside { padding: var(--s7); border-top: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
}

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid rgba(31, 95, 191, .28); color: var(--midnight); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jay); box-shadow: 0 0 0 3px rgba(31, 95, 191, .18); }

/* Approach */
.features { display: grid; gap: var(--s6); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; margin-bottom: var(--s5); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: var(--s3); }
.feature p { color: var(--slate-600); }
@media (max-width: 767px) {
  .feature { display: grid; grid-template-columns: 52px 1fr; column-gap: var(--s4); }
  .feature__icon { margin-bottom: 0; grid-row: span 2; }
  .feature h3 { margin: 10px 0 var(--s2); }
}
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); gap: var(--s7); } }

/* Contact prompt */
.cta-panel { display: grid; gap: var(--s5); align-items: center; padding: var(--s6) var(--s5); border-radius: var(--r-xl); background: var(--mist); position: relative; overflow: hidden; }
.cta-panel h2 { max-width: 20ch; }
.cta-panel p { margin-top: var(--s3); color: var(--slate-600); max-width: 46ch; }
.cta-panel .cta-jay { display: none; }
@media (min-width: 768px) {
  .cta-panel { grid-template-columns: 1fr auto; padding: var(--s7) var(--s8); gap: var(--s7); }
}

/* Page header (About / Contact) */
.page-head { padding: var(--s8) 0 var(--s7); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head .eyebrow { margin-bottom: var(--s3); }
.page-head .lead { margin-top: var(--s4); max-width: 40ch; }
@media (min-width: 768px) { .page-head { padding: var(--s9) 0 var(--s8); } }

/* Contact */
.contact-grid { display: grid; gap: var(--s5); }
.contact-card { padding: var(--s6) var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-card--primary { box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.contact-jay { display: none; }
.contact-card .eyebrow { margin-bottom: var(--s3); }
.contact-card h2, .contact-card h3 { margin-bottom: var(--s3); }
.contact-card p { color: var(--slate-600); }
.email-link { display: inline-block; margin: var(--s2) 0 var(--s5); font-size: clamp(24px, 6.4vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--jay); text-decoration: none; word-break: break-word; }
.email-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: stretch; }
  .contact-card { padding: var(--s7); }
  .contact-jay { display: block; position: absolute; right: var(--s7); bottom: var(--s7); width: 84px; height: auto; opacity: .95; }
}

/* Footer */
.site-footer { background: var(--midnight); color: var(--on-dark); padding: var(--s8) 0 var(--s6); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--sky); }
.footer-top { display: grid; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid rgba(238, 244, 251, .16); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: var(--s4); color: var(--on-dark-muted); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 34ch; }
.footer-nav { display: flex; gap: var(--s7); }
.footer-nav h2 { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--s3); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: 16px; line-height: 26px; }
.footer-bottom { display: grid; gap: var(--s3); padding-top: var(--s5); font-size: 14px; line-height: 22px; color: var(--on-dark-muted); }
.footer-bottom p + p { margin-top: 0; }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: start; }
  .footer-bottom { grid-template-columns: auto 1fr; gap: var(--s6); }
  .footer-bottom .disclaimer { text-align: right; }
}


/* ------------------------------------------------------------------
   Production additions (Eng). Everything above this block is the
   Designer's approved v2 prototype/css/styles.css, except that the
   prototype-only "Review annotations" block (the amber review tags)
   was removed. Re-sync: copy the Designer's file, delete that block,
   and re-append this one. `npm run check` fails if the tags come back.
   ------------------------------------------------------------------ */
/* Replaces the prototype's inline style="margin-top: var(--s6)" on Contact (the CSP blocks inline styles). */
.mt-s6 { margin-top: var(--s6); }
/* Short Eng pages: Terms and Privacy placeholders, 404. */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s4); }
