:root {
  color-scheme: dark;
  --ink: #f1f5fb;
  --muted: #a0afc3;
  --blue: #5aabff;
  --line: rgba(163, 190, 223, .16);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 47%, rgba(17, 73, 129, .23), transparent 39rem),
    linear-gradient(135deg, #091625 0%, #07111f 52%, #050b14 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(166, 194, 229, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(166, 194, 229, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
  pointer-events: none;
}

.site-shell {
  display: flex;
  width: min(1440px, 100%);
  min-height: 100svh;
  flex-direction: column;
  margin-inline: auto;
  padding: 0 clamp(24px, 7.1vw, 104px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(90, 171, 255, .58);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(49, 130, 215, .3), rgba(11, 36, 64, .55));
  box-shadow: inset 0 0 16px rgba(55, 148, 255, .12), 0 0 22px rgba(38, 126, 222, .1);
  color: #a9d4ff;
  font-size: 17px;
  font-weight: 800;
}

.brand-name { font-size: 14px; font-weight: 800; letter-spacing: .19em; }

.header-note,
.eyebrow,
.hero-signoff,
.hero-art figcaption,
.footer-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.header-note { margin: 0; color: #8295ac; }
.header-note span { padding-inline: 8px; color: #4779aa; }

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(42px, 8vw, 122px);
  padding-block: clamp(64px, 9vh, 112px);
}

.hero-copy { position: relative; z-index: 1; max-width: 610px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
  color: #8da4bd;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67bcff;
  box-shadow: 0 0 12px #389cff;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7.6vw, 7.1rem);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .99;
}

h1 span {
  color: #80bfff;
  text-shadow: 0 0 46px rgba(59, 147, 255, .17);
}

.hero-description {
  max-width: 450px;
  margin: 30px 0 0;
  color: #a0afc3;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}

.hero-rule {
  width: 100%;
  height: 1px;
  margin: 37px 0 19px;
  background: linear-gradient(90deg, rgba(101, 168, 239, .46), var(--line) 65%, transparent);
}

.hero-rule span {
  display: block;
  width: 52px;
  height: 1px;
  background: #83c1ff;
  box-shadow: 0 0 10px #409cff;
}

.hero-signoff { margin: 0; color: #71869e; }
.hero-signoff span { padding-inline: 6px; color: #4e9be9; }

.hero-art {
  position: relative;
  width: min(100%, 470px);
  justify-self: end;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(140, 189, 239, .27);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 47, 76, .75), rgba(6, 15, 27, .85));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38), 0 0 70px rgba(32, 118, 203, .12), inset 0 1px rgba(255, 255, 255, .07);
  isolation: isolate;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 19px;
  object-fit: cover;
}

.hero-art figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 7px 5px;
  color: #91a6bf;
  font-size: 9px;
}

.hero-art figcaption span:first-child { color: #c2dcf6; font-weight: 500; }

.art-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(71, 151, 230, .2);
  border-radius: 50%;
  pointer-events: none;
}

.art-orbit-one { inset: -29px; }
.art-orbit-two { inset: -49px; border-color: rgba(71, 151, 230, .1); }

.site-footer {
  min-height: 77px;
  border-top: 1px solid var(--line);
  color: #7589a1;
  font-size: 11px;
}

.footer-index { display: flex; align-items: center; gap: 11px; color: #90a4ba; font-size: 9px; }
.footer-index i { display: block; width: 20px; height: 1px; background: #4f9eea; box-shadow: 0 0 8px #398fe0; }

/* Shared navigation and full-site content */
a { color: inherit; }
a:focus-visible { outline: 2px solid #80bfff; outline-offset: 5px; }
.main-nav { display: flex; align-items: center; gap: clamp(19px, 3.5vw, 48px); }
.main-nav a,
.footer-privacy { color: #9aacc1; font-size: 12px; text-decoration: none; transition: color .18s ease; }
.main-nav a:hover,
.main-nav a[aria-current="page"],
.footer-privacy:hover { color: #eff7ff; }
.main-nav .nav-products { color: #86c2ff; }
.site-header { gap: 24px; }
.site-footer { gap: 22px; }
.footer-brand { color: #dcecff; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-decoration: none; }
.site-footer > span { margin-left: auto; }
.footer-privacy { flex: 0 0 auto; font-size: 10px; }

.home-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 104px));
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(42px, 8vw, 114px);
  padding: clamp(72px, 9vh, 112px) 0 112px;
}
.home-hero .hero-copy { max-width: 650px; }
.home-hero h1 { font-size: clamp(3.6rem, 8vw, 7.2rem); }
.home-hero .hero-description { max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: rgba(125, 190, 255, .42); background: linear-gradient(135deg, #2984d8, #1762a8); box-shadow: 0 8px 27px rgba(14, 102, 184, .19), inset 0 1px rgba(255, 255, 255, .14); color: #f6fbff; }
.button-primary:hover { background: linear-gradient(135deg, #3796ed, #1c70bb); }
.button-quiet { border-color: var(--line); color: #bac9da; }
.button-quiet:hover { border-color: rgba(128, 191, 255, .45); background: rgba(40, 84, 128, .15); }
.home-hero .hero-signoff { margin-top: 37px; }
.hero-visual { position: relative; width: min(100%, 450px); justify-self: end; padding: 15px; border: 1px solid rgba(133, 183, 235, .24); border-radius: 27px; background: linear-gradient(145deg, rgba(21, 44, 71, .82), rgba(5, 14, 25, .9)); box-shadow: 0 30px 100px rgba(0, 0, 0, .38), 0 0 75px rgba(27, 121, 207, .11), inset 0 1px rgba(255, 255, 255, .07); }
.hero-visual img { display: block; width: 100%; border-radius: 17px; }
.hero-visual-glow { position: absolute; z-index: -1; inset: -45px; border: 1px solid rgba(66, 148, 227, .14); border-radius: 50%; box-shadow: 0 0 0 25px rgba(66, 148, 227, .025), 0 0 0 50px rgba(66, 148, 227, .018); }
.visual-label,
.visual-index { position: absolute; bottom: 27px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: #d2e6fa; text-shadow: 0 1px 6px #000; }
.visual-label { left: 28px; }
.visual-index { right: 28px; color: #a4c7e9; }
.scroll-cue { position: absolute; bottom: 37px; left: 0; display: flex; align-items: center; gap: 11px; color: #71859c; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-decoration: none; }
.scroll-cue span { width: 22px; height: 1px; background: #64aefa; box-shadow: 0 0 9px #398fe0; }

.section { padding-block: clamp(78px, 10vw, 132px); border-top: 1px solid var(--line); }
.section-apps { scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 19px; }
.section-heading h2,
.principle-band h2,
.closing-cta h2,
.split-callout h2,
.product-next h2 { margin: 0; font-size: clamp(2.5rem, 5.5vw, 4.7rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.04; }
.section-heading h2 span,
.principle-band h2 span,
.split-callout h2 span,
.product-next h2 span { color: #80bfff; }
.section-intro { max-width: 400px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card { min-width: 0; border: 1px solid rgba(145, 174, 207, .16); border-radius: 16px; background: linear-gradient(160deg, rgba(18, 34, 53, .88), rgba(8, 17, 29, .88)); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(105, 173, 240, .48); box-shadow: 0 18px 42px rgba(0, 0, 0, .22); }
.app-card-link { display: block; height: 100%; padding: 20px; color: inherit; text-decoration: none; }
.app-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(106, 176, 244, .42); border-radius: 12px; background: linear-gradient(145deg, rgba(58, 132, 204, .32), rgba(15, 38, 62, .72)); color: #a8d4ff; font-size: 14px; font-weight: 800; }
.card-arrow { color: #8da8c4; font-size: 18px; }
.app-card-screen { display: flex; min-height: 155px; flex-direction: column; justify-content: center; padding: 20px 22px; border: 1px solid rgba(113, 162, 213, .16); border-radius: 11px; background: radial-gradient(ellipse at 50% 25%, rgba(22, 79, 132, .25), transparent 74%), #07111c; text-align: center; }
.screen-caption,
.screen-footnote { color: #91a7bf; font-family: var(--mono); font-size: 8px; letter-spacing: .13em; }
.app-card-screen strong { display: block; margin-block: 6px; color: #eaf5ff; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.07em; line-height: 1.1; }
.app-card-screen strong small { padding-left: 5px; color: #86bcf0; font-size: .28em; font-weight: 500; letter-spacing: 0; }
.screen-footnote { color: #58738e; font-size: 7px; letter-spacing: .04em; }
.app-kicker { margin: 22px 0 8px; color: #7ca9d5; font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.app-card h3 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.app-summary { min-height: 48px; margin: 9px 0 18px; color: #9eafc3; font-size: 12px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #9ecbfa; font-size: 11px; font-weight: 700; text-decoration: none; }
.text-link span,
.text-link b { transition: transform .18s ease; }
.text-link:hover span,
.text-link:hover b { transform: translateX(4px); }
.illustrative-note { margin: 15px 0 0; color: #72869c; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; }
.illustrative-note a { color: #9ecbfa; text-decoration: underline; text-underline-offset: 3px; }
.current-service-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 17px 20px; border: 1px solid rgba(125,229,187,.2); border-radius: 10px; background: rgba(14,35,39,.42); color: #9eafc3; font-size: 11px; }
.current-service-note strong { margin-right: 8px; color: #7de5bb; font: 700 10px var(--mono); letter-spacing: .1em; }
.current-service-note a { flex: 0 0 auto; color: #9ecbfa; font-size: 10px; font-weight: 700; text-decoration: none; }
.current-service-note a:hover { color: #f1f8ff; }
.legacy-apps { padding-top: 74px; border-top: 1px solid var(--line); }
.legacy-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legacy-status { padding: 6px 9px; border: 1px solid rgba(255,173,135,.28); border-radius: 999px; color: #f5b091; font: 8px var(--mono); letter-spacing: .1em; }
.legacy-app-card { border-color: rgba(245,176,145,.15); }
.legacy-app-card:hover { border-color: rgba(245,176,145,.36); }
.legacy-app-card .app-card-screen { background: linear-gradient(145deg, rgba(102,58,44,.22), transparent 70%), #0c1119; }
.legacy-app-card .app-card-screen strong { color: #f2b493; font-size: clamp(2rem, 4vw, 3rem); }
.legacy-app-card .app-kicker { color: #dfa487; }
.legacy-dot { background: #f2ad8b; box-shadow: 0 0 14px rgba(242,173,139,.5); }
.legacy-notice { margin: -22px 0 12px; padding: 20px 22px; border: 1px solid rgba(245,176,145,.25); border-radius: 12px; background: rgba(64,36,31,.28); }
.legacy-notice strong { color: #f2b493; font: 700 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.legacy-notice p { margin: 8px 0 0; color: #c3b0a8; font-size: 12px; line-height: 1.7; }
.current-service { padding-top: 0; }
.current-service .current-service-note { margin: 0; }
.app-card-temp .app-mark { color: #a7e0fc; border-color: rgba(100, 187, 233, .4); }
.app-card-alt .app-mark { color: #c6b9ff; border-color: rgba(148, 128, 228, .4); }

.principle-band { position: relative; overflow: hidden; padding: clamp(65px, 9vw, 110px) clamp(28px, 7vw, 92px); border: 1px solid rgba(94, 160, 226, .21); border-radius: 20px; background: radial-gradient(ellipse at 83% 30%, rgba(35, 114, 190, .19), transparent 46%), linear-gradient(115deg, rgba(12, 29, 48, .92), rgba(8, 19, 32, .95)); }
.principle-band::after { position: absolute; top: 50%; right: 10%; width: 190px; height: 190px; border: 1px solid rgba(112, 183, 250, .15); border-radius: 50%; box-shadow: 0 0 0 22px rgba(112, 183, 250, .025), 0 0 0 45px rgba(112, 183, 250, .02); content: ""; transform: translateY(-50%); }
.principle-band .eyebrow { margin: 0 0 23px; }
.principle-band h2 { position: relative; z-index: 1; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.principle-band > p:last-child { position: relative; z-index: 1; max-width: 450px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.disciplines { border-top: 0; }
.compact-heading { margin-bottom: 33px; }
.discipline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.discipline-card { min-height: 245px; padding: 24px; background: rgba(13, 26, 42, .45); text-decoration: none; transition: background .2s ease; }
.discipline-card + .discipline-card { border-left: 1px solid var(--line); }
.discipline-card:hover { background: rgba(29, 64, 98, .32); }
.discipline-number { color: #7698bb; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.discipline-card h3 { margin: 34px 0 8px; font-size: 20px; letter-spacing: -.035em; }
.discipline-card p { min-height: 41px; margin: 0 0 16px; color: #9aacc0; font-size: 11px; line-height: 1.7; }
.closing-cta { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 36px 0 90px; }
.closing-cta .eyebrow { margin: 0 0 13px; }
.closing-cta h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.closing-cta .text-link { margin-bottom: 8px; }

.page-hero { max-width: 950px; padding: clamp(86px, 11vw, 150px) 0 clamp(75px, 9vw, 110px); }
.page-hero .eyebrow { margin-bottom: 25px; }
.page-hero h1 { font-size: clamp(3.5rem, 8vw, 7.1rem); }
.page-hero > p:not(.eyebrow) { max-width: 650px; margin: 27px 0 30px; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.85; }
.page-hero-small { padding-bottom: 55px; }
.subpage-apps { padding-top: 72px; }
.narrow-band { margin-block: 10px 45px; }
.systems-section, .engineering-section { padding-top: 10px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.principle-card { min-height: 228px; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(155deg, rgba(17, 35, 56, .74), rgba(8, 18, 30, .74)); }
.principle-card > span { color: #7da9d5; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.principle-card h3 { margin: 38px 0 10px; font-size: 18px; letter-spacing: -.035em; }
.principle-card p { margin: 0; color: #9aacc0; font-size: 11px; line-height: 1.8; }
.split-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding: 68px 0 100px; border-top: 1px solid var(--line); }
.split-callout h2 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.split-callout > div:last-child { align-self: end; max-width: 500px; }
.split-callout > div:last-child p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.engineering-list { border-top: 1px solid var(--line); }
.engineering-list article { display: grid; grid-template-columns: 55px 1fr 100px; align-items: start; gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.list-number { padding-top: 3px; color: #78a8d7; font-family: var(--mono); font-size: 10px; }
.engineering-list h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.025em; }
.engineering-list p { max-width: 600px; margin: 0; color: #9aacc0; font-size: 12px; line-height: 1.8; }
.list-mark { justify-self: end; padding-top: 5px; color: #758ba3; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.privacy-copy { max-width: 760px; padding-top: 25px; }
.privacy-copy h2 { margin: 35px 0 10px; font-size: 18px; }
.privacy-copy p { margin: 0; color: #a1b0c2; font-size: 13px; line-height: 1.9; }
.privacy-document p + p { margin-top: 10px; }
.privacy-commitment { margin: 0 0 24px; padding: 17px 19px; border: 1px solid rgba(157,229,196,.25); border-radius: 10px; background: rgba(26,81,67,.14); }
.privacy-commitment strong { color: #9de5c4; font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.privacy-commitment p { margin-top: 7px; color: #c0d1df; }
.privacy-document .privacy-updated { color: #8196ac; font-size: 11px; }
.privacy-document a { color: #9acaff; text-underline-offset: 3px; }
.privacy-document .privacy-legal-note { margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--line); color: #8196ac; font-size: 11px; }

.product-hero { display: grid; min-height: 610px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(50px, 9vw, 130px); padding-block: 80px 100px; }
.product-copy { max-width: 570px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 42px; color: #91a7bf; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-decoration: none; }
.back-link:hover { color: #e8f4ff; }
.product-copy .eyebrow { margin-bottom: 24px; }
.product-copy h1 { font-size: clamp(3.8rem, 7.6vw, 6.6rem); }
.product-copy h1 span { color: #80bfff; }
.product-temp .product-copy h1 span { color: #93dfff; }
.product-alt .product-copy h1 span { color: #b6a9ff; }
.product-promise { max-width: 520px; margin: 25px 0 0; color: #dceafa; font-size: clamp(18px, 2.1vw, 24px); font-weight: 500; letter-spacing: -.035em; line-height: 1.55; }
.product-description { max-width: 500px; margin: 14px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.product-preview { position: relative; display: flex; width: min(100%, 400px); min-height: 425px; flex-direction: column; justify-self: end; padding: 23px; border: 1px solid rgba(127, 182, 237, .28); border-radius: 25px; background: radial-gradient(ellipse at 50% 38%, rgba(28, 98, 160, .25), transparent 57%), linear-gradient(150deg, rgba(20, 43, 69, .9), rgba(6, 14, 25, .95)); box-shadow: 0 30px 85px rgba(0, 0, 0, .36), 0 0 75px rgba(47, 131, 204, .1), inset 0 1px rgba(255,255,255,.06); }
.product-preview::before { position: absolute; z-index: -1; inset: -26px; border: 1px solid rgba(83, 155, 220, .14); border-radius: 50%; box-shadow: 0 0 0 20px rgba(83, 155, 220, .025); content: ""; }
.preview-top, .preview-bottom { display: flex; align-items: center; justify-content: space-between; color: #91a9c1; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.preview-brand { display: flex; align-items: center; gap: 8px; color: #d3e7fb; }
.preview-brand i { width: 7px; height: 7px; border-radius: 50%; background: #70bcff; box-shadow: 0 0 10px #379aff; }
.preview-menu { font-size: 13px; letter-spacing: .12em; }
.preview-content { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.preview-overline { color: #94aec9; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; }
.preview-content strong { display: block; margin: 12px 0; color: #eff8ff; font-size: clamp(5rem, 10vw, 7rem); font-weight: 500; letter-spacing: -.1em; line-height: .95; text-shadow: 0 0 45px rgba(76, 161, 244, .2); }
.preview-content strong small { padding-left: 7px; color: #91c9ff; font-size: .25em; font-weight: 500; letter-spacing: 0; }
.preview-context { color: #8ba3bb; font-family: var(--mono); font-size: 8px; letter-spacing: .15em; }
.preview-bottom { padding-top: 15px; border-top: 1px solid var(--line); color: #758ca5; font-size: 7px; }
.preview-bottom span:first-child { display: flex; align-items: center; gap: 7px; }
.preview-bottom i { width: 5px; height: 5px; border-radius: 50%; background: #80bfff; }
.preview-disclaimer { margin: 10px 0 0; color: #71869d; font-family: var(--mono); font-size: 7px; letter-spacing: .04em; text-align: center; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.product-detail-intro .eyebrow { margin: 0 0 18px; }
.product-detail h2 { max-width: 520px; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.1; }
.product-detail-copy > p { max-width: 580px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.product-points { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.product-points li { display: flex; align-items: baseline; gap: 12px; color: #d0ddec; font-size: 12px; line-height: 1.6; }
.product-points li span { color: #76b9fa; font-family: var(--mono); }
.product-next { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; padding: 80px 0 95px; border-top: 1px solid var(--line); }
.product-next .eyebrow { margin: 0 0 16px; }
.product-next h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.product-next-links { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product-next-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 12px; color: #a8c5e2; font-family: var(--mono); font-size: 8px; letter-spacing: .05em; text-decoration: none; }
.product-next-links a + a { border-left: 1px solid var(--line); }
.product-next-links a:hover { background: rgba(47, 112, 174, .14); color: #f1f8ff; }

@media (max-width: 850px) {
  .home-hero { min-height: auto; grid-template-columns: 1fr .85fr; gap: 34px; }
  .home-hero h1 { font-size: clamp(3.2rem, 8vw, 5.3rem); }
  .hero-visual { width: min(100%, 350px); }
  .app-card-link { padding: 15px; }
  .legacy-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card-screen { min-height: 135px; padding-inline: 12px; }
  .app-summary { min-height: 60px; }
  .product-hero { min-height: auto; grid-template-columns: 1fr .85fr; gap: 38px; }
  .product-preview { min-height: 370px; padding: 19px; }
  .product-next-links { grid-template-columns: 1fr; }
  .product-next-links a + a { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 640px) {
  .site-header { min-height: 78px; flex-wrap: wrap; gap: 14px; padding-block: 14px; }
  .main-nav { gap: clamp(12px, 4vw, 22px); }
  .main-nav a { font-size: 10px; }
  .home-hero { grid-template-columns: 1fr; gap: 48px; padding-block: 72px 98px; }
  .home-hero h1 { font-size: clamp(3.3rem, 13vw, 5.2rem); }
  .home-hero .hero-description { font-size: 15px; }
  .hero-visual { width: min(86%, 370px); justify-self: center; }
  .scroll-cue { bottom: 35px; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(2.4rem, 10vw, 3.7rem); }
  .section-intro { font-size: 12px; }
  .app-grid, .principle-grid { grid-template-columns: 1fr; gap: 13px; }
  .app-card-link { padding: 17px; }
  .app-card-screen { min-height: 150px; }
  .app-summary { min-height: 0; }
  .current-service-note { align-items: flex-start; flex-direction: column; gap: 9px; }
  .principle-band { padding: 54px 26px; }
  .principle-band::after { right: -100px; width: 150px; height: 150px; }
  .principle-band > p:last-child { max-width: 340px; font-size: 12px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card { min-height: auto; padding: 21px; }
  .discipline-card + .discipline-card { border-top: 1px solid var(--line); border-left: 0; }
  .discipline-card h3 { margin-top: 20px; }
  .discipline-card p { min-height: 0; }
  .closing-cta { align-items: start; flex-direction: column; padding-bottom: 67px; }
  .closing-cta .text-link { margin: 0; }
  .page-hero { padding-block: 80px 62px; }
  .page-hero h1 { font-size: clamp(3.35rem, 13vw, 5.2rem); }
  .page-hero > p:not(.eyebrow) { font-size: 14px; }
  .subpage-apps { padding-top: 57px; }
  .narrow-band { margin-block: 8px 25px; }
  .split-callout, .product-detail, .product-next { grid-template-columns: 1fr; gap: 25px; }
  .split-callout { padding-block: 56px 73px; }
  .engineering-list article { grid-template-columns: 34px 1fr; gap: 11px; }
  .list-mark { display: none; }
  .product-hero { grid-template-columns: 1fr; gap: 45px; padding-block: 54px 72px; }
  .back-link { margin-bottom: 33px; }
  .product-copy h1 { font-size: clamp(3.6rem, 14vw, 5.8rem); }
  .product-preview { width: min(100%, 370px); min-height: 355px; justify-self: center; }
  .product-detail { padding-block: 60px; }
  .product-next { padding-block: 61px 70px; }
  .product-next-links { grid-template-columns: repeat(3, 1fr); }
  .product-next-links a { flex-direction: column; align-items: flex-start; padding: 13px 10px; font-size: 7px; }
  .product-next-links a + a { border-top: 0; border-left: 1px solid var(--line); }
  .site-footer { flex-wrap: wrap; min-height: 75px; padding-block: 17px; font-size: 9px; }
  .site-footer > span { order: 3; width: 100%; margin: 0; }
  .footer-privacy { margin-left: auto; }
}

/* Admin viewer */
.panel { width: min(1500px, 100%); margin: auto; padding: 32px; }
.panel h1 { margin: .25em 0; font-size: 2.2rem; letter-spacing: -.04em; }
.panel p { color: var(--muted); }
.admin-dashboard { width: min(1440px, 100%); margin: auto; padding: clamp(20px, 4vw, 54px); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.admin-heading .eyebrow { margin: 0 0 10px; color: #92c9ff; }
.admin-heading h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.06em; }
.admin-heading p:last-child { margin: 8px 0 0; color: #9aacc0; font-size: 12px; }
.admin-heading .button { flex: 0 0 auto; min-height: 40px; font-size: 10px; text-decoration: none; }
.admin-storage { padding: 11px 13px; border: 1px solid rgba(115,198,160,.22); border-radius: 8px; background: rgba(45,137,97,.08); color: #a8d7bf; font-size: 11px; }
.admin-storage.storage-error { border-color: rgba(255,144,156,.3); background: rgba(159,38,62,.12); color: #ffabb5; }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 26px; }
.admin-stats article { display: grid; gap: 8px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10,23,38,.78); }
.admin-stats article span, .admin-section-heading span { color: #89a0b8; font: 9px var(--mono); letter-spacing: .08em; }
.admin-stats article strong { color: #b4d9fc; font-size: 2rem; letter-spacing: -.04em; }
.admin-stats article small { color: #8498ae; font-size: 10px; }
.admin-section { margin-top: 20px; padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: rgba(10,23,38,.72); }
.admin-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.admin-section-heading h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.03em; }
.admin-page-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.admin-page-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(154,202,255,.11); border-radius: 7px; background: rgba(5,14,25,.52); }
.admin-page-list code { overflow: hidden; color: #c4d8ec; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-page-list strong { color: #9bcaf4; font: 11px var(--mono); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.admin-table th, .admin-table td { max-width: 260px; padding: 9px 10px; border-bottom: 1px solid rgba(154,202,255,.1); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.admin-table th { color: #92c9ff; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.admin-table td { color: #c0ccda; }
.admin-table td:first-child, .admin-table td:nth-child(2), .admin-table td:nth-child(3) { white-space: nowrap; }
.admin-empty { color: #899cb0; font-size: 11px; }
.admin-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; color: #788ca3; font: 9px var(--mono); }
.admin-foot a { color: #a7c7e7; }
@media (max-width: 760px) { .admin-page-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .admin-heading { align-items: start; flex-direction: column; } .admin-stats { grid-template-columns: 1fr; } .admin-page-list { grid-template-columns: 1fr; } .admin-section { padding: 14px; } }
.table { overflow: auto; border: 1px solid #24364b; border-radius: 12px; background: rgba(7, 17, 28, .8); }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { padding: 10px; border-bottom: 1px solid #1b2a3c; text-align: left; vertical-align: top; }
th { position: sticky; top: 0; background: #101d2c; color: #9acaff; }
td { max-width: 520px; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr .8fr; gap: 34px; }
  h1 { font-size: clamp(3rem, 8vw, 5.2rem); }
  .hero-art { width: min(100%, 360px); }
  .art-orbit-one { inset: -18px; }
  .art-orbit-two { inset: -32px; }
}

@media (max-width: 640px) {
  .site-shell { padding-inline: 22px; }
  .site-header { min-height: 78px; }
  .header-note { max-width: 145px; font-size: 8px; line-height: 1.7; text-align: right; }
  .header-note span { padding-inline: 3px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 66px 58px; }
  .eyebrow { margin-bottom: 22px; font-size: 9px; }
  h1 { font-size: clamp(3.25rem, 13vw, 5rem); }
  .hero-description { margin-top: 23px; font-size: 15px; }
  .hero-rule { margin-top: 27px; }
  .hero-art { width: min(86%, 370px); justify-self: center; }
  .site-footer { min-height: 68px; gap: 18px; font-size: 9px; }
  .footer-index { flex: 0 0 auto; font-size: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .65s ease-out both; }
  .hero-art { animation: enter .8s .08s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

/* BDSE Live product */
.app-card-live .app-mark { color: #7de5bb; border-color: rgba(125,229,187,.4); }
.app-card-live .app-card-screen strong { font-size: clamp(2rem, 5vw, 3.5rem); }
.product-live .product-copy h1 span { color: #7de5bb; }
.live-preview-title { font-size: 2.4rem; color: #7de5bb; }

/* BDSE Squares */
.app-card-crossword .app-mark { color: #9de5c4; border-color: rgba(157,229,196,.45); }
.app-card-crossword .app-card-screen strong { color: #9de5c4; font-size: 2.2rem; }
.crossword-page { flex: 1; }
.crossword-hero { padding-bottom: 28px; }
.crossword-rules { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr); gap: clamp(22px, 5vw, 65px); margin: 0 0 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9,20,34,.72); }
.rules-heading .eyebrow { margin: 0 0 9px; color: #9acaff; }
.rules-heading h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.04em; }
.rules-heading > p:last-child { margin: 8px 0 0; color: #9aaec2; font-size: 11px; line-height: 1.7; }
.crossword-rules ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.crossword-rules li { display: grid; grid-template-columns: 26px 1fr; gap: 9px; padding: 12px; border: 1px solid rgba(154,202,255,.11); border-radius: 9px; background: rgba(5,14,25,.52); }
.crossword-rules li > span { color: #77b8f4; font: 10px var(--mono); }
.crossword-rules li strong { color: #e2edf8; font-size: 11px; }
.crossword-rules li p { margin: 5px 0 0; color: #98aabe; font-size: 10px; line-height: 1.6; }
.crossword-rules li b { color: #cfe6ff; font-weight: 600; }
.crossword-workbench { width: min(100%, 1040px); padding: 24px clamp(16px, 3vw, 34px); margin: 0 auto 72px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,23,38,.82); }
.crossword-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.crossword-topbar .eyebrow { margin-bottom: 8px; }
.crossword-level { display: inline-block; margin-left: 8px; padding: 3px 7px; border: 1px solid rgba(157,229,196,.3); border-radius: 999px; color: #9de5c4; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.crossword-topbar h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.04em; }
.crossword-topbar p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.crossword-top-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.crossword-top-actions .button { min-height: 42px; font-size: 10px; cursor: pointer; }
.crossword-clock { display: grid; min-width: 70px; justify-items: center; gap: 2px; padding: 5px 11px; border: 1px solid rgba(157,229,196,.24); border-radius: 8px; background: rgba(7,17,29,.72); }
.crossword-clock span, .crossword-record > div span { color: #8da3b9; font: 8px var(--mono); letter-spacing: .1em; }
.crossword-clock strong { color: #9de5c4; font: 700 17px var(--mono); font-variant-numeric: tabular-nums; }
.crossword-record { display: grid; grid-template-columns: repeat(3, minmax(82px, .45fr)) minmax(190px, 1.8fr) auto; align-items: center; gap: 12px; margin: 16px 0 0; padding: 13px 15px; border: 1px solid rgba(154,202,255,.12); border-radius: 10px; background: rgba(5,14,25,.46); }
.crossword-record > div { display: grid; gap: 4px; }
.crossword-record > div strong { color: #e2edf8; font: 600 15px var(--mono); font-variant-numeric: tabular-nums; }
.crossword-record p { margin: 0; color: #8196ac; font-size: 10px; line-height: 1.5; }
.text-button { border: 0; background: transparent; color: #9acaff; font: 10px var(--mono); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-button:hover { color: #d6eaff; }
.crossword-layout { display: grid; width: min(100%, 760px); grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(22px, 4vw, 42px); padding: 24px 0 18px; margin: 0 auto; }
.crossword-play { display: flex; min-width: 0; justify-content: center; }
.crossword-grid { display: grid; width: fit-content; max-width: 100%; grid-auto-rows: 1fr; gap: 0; padding: 0; border: 2px solid #516a84; background: #516a84; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.crossword-progress { display: flex; width: min(100%, 460px); align-items: center; gap: 12px; margin-top: 12px; }
.crossword-progress progress { width: min(160px, 45%); height: 7px; overflow: hidden; border: 0; border-radius: 999px; background: #1c2c3e; accent-color: #73c6a0; }
.crossword-progress progress::-webkit-progress-bar { border-radius: 999px; background: #1c2c3e; }
.crossword-progress progress::-webkit-progress-value { border-radius: 999px; background: #73c6a0; }
.crossword-progress progress::-moz-progress-bar { border-radius: 999px; background: #73c6a0; }
.crossword-progress span { color: #9db1c7; font: 9px var(--mono); }
.crossword-cell { position: relative; display: block; width: clamp(39px, 5.2vw, 48px); aspect-ratio: 1; min-width: 0; border: 1px solid #617991; background: #eef4fa; }
.crossword-cell.is-block { border-color: #152438; background: #152438; }
.crossword-cell.is-highlighted { background: #c6e5ff; }
.crossword-cell.is-selected { background: #89c7ff; box-shadow: inset 0 0 0 3px #2074bd; }
.crossword-number { position: absolute; top: 3px; left: 4px; z-index: 1; color: #38516b; font: 8px var(--mono); pointer-events: none; }
.crossword-cell input { width: 100%; height: 100%; padding: 9px 1px 0; border: 0; outline: 0; background: transparent; color: #10243a; font: 800 clamp(1.15rem, 3vw, 1.65rem)/1 var(--mono); text-align: center; text-transform: uppercase; caret-color: #125da0; }
.crossword-cell input:focus { outline: 0; }
.crossword-cell input.is-correct { color: #087347; }
.crossword-cell input.is-wrong { color: #b02742; text-decoration: underline wavy #d34a61; }
.crossword-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.crossword-tools .button { min-height: 43px; font-size: 11px; cursor: pointer; }
.crossword-status { min-height: 2.8em; margin: 14px 0 0; color: #9db1c7; font-size: 12px; line-height: 1.6; }
.crossword-clues { display: block; min-width: 0; }
.crossword-clues h3 { margin: 0 0 12px; color: #9acaff; font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.crossword-clues ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.crossword-clues li { border-bottom: 1px solid rgba(123,151,181,.18); }
.clue-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 9px; padding: 8px 2px; color: #e5edf7; }
.clue-row .clue-number { padding-top: 2px; color: #83bdf1; font: 700 10px var(--mono); }
.clue-row .clue-copy { color: #e5edf7; font-size: 14px; font-weight: 600; line-height: 1.5; }
.crossword-clues li.is-active { background: rgba(90,171,255,.14); }
.crossword-clues button { display: grid; width: 100%; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: start; gap: 8px; padding: 9px 7px; border: 0; border-radius: inherit; background: transparent; color: #d5dfeb; font: inherit; font-size: 12px; line-height: 1.5; text-align: left; cursor: pointer; }
.crossword-clues button:hover { background: rgba(90,171,255,.1); }
.clue-number { color: #83bdf1; font: 10px var(--mono); }
.rating-chip { padding: 2px 5px; border: 1px solid rgba(157,229,196,.25); border-radius: 999px; color: #a7d6bf; font: 8px var(--mono); line-height: 1.4; text-transform: uppercase; }
.rating-medium { border-color: rgba(255,209,139,.3); color: #ffd18b; }
.rating-hard { border-color: rgba(255,144,156,.32); color: #ff9eaa; }
.crossword-note { margin: 0; padding-top: 17px; border-top: 1px solid var(--line); color: #8295ac; font-size: 11px; line-height: 1.7; }
.crossword-dialog { width: min(520px, calc(100% - 28px)); padding: clamp(22px, 5vw, 36px); border: 1px solid rgba(154,202,255,.28); border-radius: 16px; background: #0b1726; color: var(--ink); box-shadow: 0 28px 100px rgba(0,0,0,.65); }
.crossword-dialog::backdrop { background: rgba(2,7,13,.82); backdrop-filter: blur(7px); }
.crossword-dialog .eyebrow { margin: 0 0 12px; }
.crossword-dialog h2 { margin: 0; font-size: clamp(1.7rem, 6vw, 2.3rem); letter-spacing: -.05em; }
.difficulty-intro { color: #a0afc3; font-size: 12px; line-height: 1.65; }
.difficulty-options { display: grid; gap: 8px; margin: 20px 0 16px; padding: 0; border: 0; }
.difficulty-options label { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(6,15,27,.65); cursor: pointer; }
.difficulty-options label:has(input:checked) { border-color: rgba(90,171,255,.65); background: rgba(40,110,177,.14); }
.difficulty-options input, .remember-level input { accent-color: #61adf8; }
.difficulty-options span { display: grid; gap: 2px; }
.difficulty-options strong { color: #eaf3fc; font-size: 13px; }
.difficulty-options small { color: #91a5bb; font-size: 10px; }
.remember-level { display: flex; align-items: center; gap: 9px; color: #c1cedb; font-size: 11px; }
.dialog-actions { display: flex; justify-content: end; gap: 9px; margin-top: 22px; }
.dialog-actions .button { min-height: 42px; font-size: 10px; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .crossword-rules { grid-template-columns: 1fr; gap: 18px; } .crossword-layout { width: min(100%, 460px); grid-template-columns: 1fr; justify-items: center; gap: 14px; } .crossword-play { width: 100%; display: flex; justify-content: center; } .crossword-clues { width: 100%; } .crossword-record { grid-template-columns: repeat(3, 1fr); } .crossword-record p { grid-column: 1 / 3; } }
@media (max-width: 520px) { .crossword-rules { padding: 17px; } .crossword-rules ol { grid-template-columns: 1fr; } .crossword-workbench { padding: 16px; } .crossword-topbar { align-items: start; flex-direction: column; } .crossword-top-actions { width: 100%; align-items: center; } .crossword-clock { margin-right: auto; } .crossword-cell { width: clamp(38px, 11vw, 46px); } .clue-row { gap: 7px; padding: 7px 2px; } .clue-row .clue-copy { font-size: 13px; line-height: 1.4; } .crossword-record { grid-template-columns: repeat(3, 1fr); gap: 10px 7px; padding: 12px 10px; } .crossword-record p { grid-column: 1 / -1; } .crossword-record .text-button { grid-column: 1 / -1; justify-self: start; } }
@media print { .crossword-tools, .crossword-topbar .button { display: none !important; } .crossword-layout { grid-template-columns: 1fr 1fr; } }
.app-card-squares .app-mark { color: #ffd18b; border-color: rgba(255,209,139,.45); }
.app-card-squares .app-card-screen strong { color: #ffd18b; }
.squares-page { flex: 1; }
.squares-hero { padding-bottom: 36px; }
.squares-workbench { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr); gap: clamp(25px, 5vw, 70px); padding: 28px 0 90px; align-items: start; }
.squares-form { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 23, 38, .84); }
.field-label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 9px; color: #9acaff; font: 10px var(--mono); letter-spacing: .1em; }
.field-label:not(:first-child) { margin-top: 23px; }
.field-label span { color: var(--muted); letter-spacing: 0; text-transform: none; }
.squares-form input, .squares-form textarea { display: block; width: 100%; border: 1px solid #2c4058; border-radius: 8px; background: #081321; color: var(--ink); font: inherit; padding: 12px; outline: none; }
.squares-form input:focus, .squares-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(90,171,255,.12); }
.squares-form textarea { min-height: 248px; resize: vertical; line-height: 1.55; font-size: 13px; }
.form-note, .board-disclaimer { color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.form-actions .button { min-height: 44px; font-size: 11px; }
.share-status { min-height: 16px; margin: 12px 0 0; color: #9acaff; font-size: 11px; overflow-wrap: anywhere; }
.board-panel { min-width: 0; }
.board-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.board-heading .eyebrow { margin-bottom: 8px; }
.board-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -.04em; }
.print-button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); font: 10px var(--mono); cursor: pointer; }
.outcome-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.outcome-cell { display: flex; min-height: 118px; flex-direction: column; justify-content: space-between; padding: 12px; border: 1px solid rgba(154,202,255,.18); border-radius: 9px; background: linear-gradient(145deg, rgba(16,35,56,.94), rgba(8,19,32,.94)); }
.outcome-cell:nth-child(5n + 2) { background: linear-gradient(145deg, rgba(23,39,55,.95), rgba(9,22,36,.95)); }
.cell-number { color: #6b8cac; font: 9px var(--mono); }
.outcome-cell p { margin: 13px 0 0; color: #e5edf7; font-size: clamp(10px, .95vw, 13px); line-height: 1.45; overflow-wrap: anywhere; }
.board-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: #7d95ad; font: 9px var(--mono); letter-spacing: .08em; }
.board-disclaimer { margin-top: 18px; }
.squares-warning { width: min(540px, calc(100% - 32px)); max-height: min(90vh, 720px); padding: clamp(24px, 5vw, 42px); border: 1px solid rgba(154,202,255,.28); border-radius: 18px; background: #0b1726; color: var(--ink); box-shadow: 0 28px 100px rgba(0,0,0,.65); }
.squares-warning::backdrop { background: rgba(2,7,13,.84); backdrop-filter: blur(8px); }
.warning-mark { display: grid; width: 38px; height: 38px; margin-bottom: 26px; place-items: center; border: 1px solid rgba(255,185,100,.6); border-radius: 50%; color: #ffc982; font: 700 20px var(--mono); }
.squares-warning .eyebrow { margin-bottom: 12px; }
.squares-warning h2 { margin: 0; font-size: clamp(2.2rem, 8vw, 3.5rem); line-height: .98; letter-spacing: -.06em; }
.squares-warning h2 span { color: #ffc982; }
.squares-warning > p:not(.eyebrow) { color: #c0cad6; font-size: 14px; line-height: 1.75; }
.squares-warning .warning-small { color: #8798aa !important; font-size: 11px !important; }
.squares-warning .button { margin-top: 8px; cursor: pointer; }
.squares-form select { display: block; width: 100%; padding: 12px; border: 1px solid #2c4058; border-radius: 8px; background: #081321; color: var(--ink); font: inherit; }
.library-button { width: 100%; margin-top: 9px; padding: 11px 12px; border: 1px solid rgba(255,209,139,.34); border-radius: 7px; background: rgba(255,209,139,.06); color: #ffd18b; font: 10px var(--mono); letter-spacing: .04em; text-align: left; cursor: pointer; }
.library-button:hover { background: rgba(255,209,139,.12); }
@media (max-width: 900px) { .squares-workbench { grid-template-columns: 1fr; } .squares-form { order: 2; } .board-panel { order: 1; } }
@media (max-width: 540px) { .outcome-grid { gap: 5px; } .outcome-cell { min-height: 98px; padding: 8px; } .board-footer { flex-wrap: wrap; font-size: 8px; } .board-footer span:last-child { display: none; } .squares-form { padding: 18px; } }
@page { size: letter landscape; margin: 0.4in; }
@media print {
  html, body { width: 100%; min-width: 0; min-height: 0; margin: 0; background: #fff !important; color: #111 !important; }
  body::before, .site-header, .site-footer, .squares-hero, .squares-form, .print-button { display: none !important; }
  .site-shell { display: block; width: 100%; min-height: 0; margin: 0; padding: 0; }
  main.squares-page, .squares-workbench, .board-panel { display: block; width: 100%; margin: 0; padding: 0; }
  .board-heading { align-items: end; margin: 0 0 0.16in; }
  .board-heading .eyebrow { margin: 0 0 0.04in; color: #475569; font-size: 8pt; }
  .board-heading h2 { color: #111827; font-size: 20pt; line-height: 1.1; }
  .outcome-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.08in; }
  .outcome-cell, .outcome-cell:nth-child(5n + 2) { height: 1.16in; min-height: 1.16in; padding: 0.1in; border: 1px solid #aeb9c6; border-radius: 4px; background: #f8fafc !important; break-inside: avoid; }
  .cell-number { color: #64748b; font-size: 8pt; }
  .outcome-cell p { margin: 0.08in 0 0; color: #111827; font-size: 10pt; line-height: 1.25; overflow-wrap: anywhere; }
  .board-footer { margin-top: 0.1in; color: #475569; font-size: 8pt; }
  .board-disclaimer { margin: 0.08in 0 0; color: #475569; font-size: 8pt; }
}

/* Clue Sprint keeps its answer-per-line format separate from the 5×5 grid game. */
.clue-sprint { display: grid; max-width: 760px; gap: 8px; }
.sprint-clue { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(130px, 190px); align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: rgba(8,18,31,.68); }
.sprint-clue-text { color: #d5dfeb; font-size: 13px; line-height: 1.5; }
.sprint-length { color: #83bdf1; font: 9px var(--mono); white-space: nowrap; }
.sprint-clue input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #40546c; border-radius: 6px; background: #eef4fa; color: #10243a; font: 700 15px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sprint-clue input:focus { outline: 2px solid #80bfff; outline-offset: 2px; }
.sprint-clue input.is-correct { border-color: #54c596; background: #e3f7ed; }
.sprint-clue input.is-wrong { border-color: #d34a61; background: #fff0f2; }
.app-card-clue-sprint .app-mark { color: #9acaff; border-color: rgba(154,202,255,.45); }
.app-card-clue-sprint .app-card-screen strong { color: #9acaff; font-size: 2.2rem; }
@media (max-width: 520px) { .sprint-clue { grid-template-columns: 1fr auto; gap: 9px; } .sprint-clue input { grid-column: 1 / -1; } }
