/* Hallmark · Sapphire clarity · scope: six pages · signature: bright silicon, calm reading surfaces · genre: modern-minimal */
/* Critique: give blue distinct roles, remove stacked disclosure spacing and let content hierarchy replace decorative framing. */
:root {
  --sapphire:#194ee1;
  --sapphire-deep:#1244c2;
  --sapphire-ink:#082b78;
  --sapphire-text:#173e9a;
  --sapphire-muted:#2351ad;
  --sapphire-paper:#f6f9ff;
  --sapphire-white:#ffffff;
  --sapphire-ice:#eaf1ff;
  --sapphire-frost:#f3f7ff;
  --sapphire-line:#d5e1fa;
  --sapphire-stage:#e1ebff;
  --sapphire-stage-edge:#c2d5fb;
  --sapphire-silver:#dae6ff;
  --sapphire-on-blue:#ffffff;
  --sapphire-on-blue-muted:#e7efff;
  --sapphire-light-line:rgb(255 255 255 / .24);
  --refine-shadow:rgb(21 70 202 / .07);
  --refine-shadow-raised:rgb(21 70 202 / .12);
  --refine-glass:rgb(255 255 255 / .96);
  --refine-grid:rgb(32 89 237 / .05);
  --refine-clear:transparent;
  --bright-hero:var(--sapphire-paper);
  --bright-hero-high:var(--sapphire-white);
  --bright-hero-edge:var(--sapphire-stage);
  --bright-shadow:var(--refine-shadow);
  --bright-nav-shadow:var(--refine-shadow);
  --bright-glass-border:var(--sapphire-line);
  --color-ink-2:var(--sapphire-text);
  --color-muted:var(--sapphire-text);
  --studio-muted:var(--sapphire-text);
  --bright-muted:var(--sapphire-text);
  --lab-studio-muted:var(--sapphire-text);
  --software-muted:var(--sapphire-text);
  --depth-muted:var(--sapphire-text);
  --eng-muted-ink:var(--sapphire-text);
  --chat-muted:var(--sapphire-text);
  --site-motion-grid:var(--refine-grid);
  --site-motion-rail:var(--refine-grid);
  --refine-radius:12px;
}
body { color:var(--sapphire-ink); }
h1,h2,h3,h4 { letter-spacing:-.025em; text-wrap:balance; }
p { text-wrap:pretty; }
body :is(.hero-sub,.lab-lead,.sec-head > p,.local-copy > p,.software-intro > p,.eng-lead,.lab-section-head > p) { color:var(--sapphire-text); }
body :is(.hero-sub,.lab-lead,.eng-lead) { line-height:1.9; }
body :is(.text-link,.software-text-link,.eng-text-link) { color:var(--sapphire-deep); text-underline-offset:5px; }
body :is(.text-link,.software-text-link,.eng-text-link):hover { color:var(--sapphire); }

/* The brand and navigation sit on one quiet, continuous surface. */
#astryx-header .nav { background:var(--refine-glass); border-bottom-color:var(--sapphire-line); box-shadow:0 4px 18px var(--refine-shadow); }
#astryx-header .nav-links a { color:var(--sapphire-text); }
#astryx-header .nav-links a:hover,#astryx-header .nav-links a.is-active { color:var(--sapphire-deep); }
#astryx-header .nav-actions > .btn { box-shadow:0 3px 10px var(--refine-shadow-raised); }
body :is(.btn,.software-button,.eng-button) { border-radius:8px; }
body :is(.btn-primary,.software-button,.eng-button),body .hero-cta .btn-outline { box-shadow:0 5px 14px var(--refine-shadow-raised); }
body .hero-cta .btn-ghost { background:var(--sapphire-white); border-color:var(--sapphire-stage-edge); color:var(--sapphire-deep); }
body .hero-cta .btn-ghost:hover { background:var(--sapphire-ice); }
body :is(a,button,input,select,summary,[tabindex]):focus-visible { outline:3px solid var(--sapphire); outline-offset:4px; }

/* Bright backdrops frame the diagrams without tinting the reading column. */
body[data-page="home"] .hero,.lab-hero-band,.software-hero,.eng-hero {
  background-color:var(--sapphire-white);
  background-image:linear-gradient(115deg,var(--sapphire-white) 15%,var(--sapphire-paper) 54%,var(--sapphire-stage));
}
.hero-caption { gap:16px; line-height:1.6; }
body[data-page="home"] .hero-caption { color:var(--sapphire-muted); }
.lab-main { background:var(--sapphire-white); }
.sec-head { align-items:start; }
.sec-head > p { padding-top:4px; }
.hero-bottom a { text-underline-offset:4px; }

/* Strong blue is reserved for the brand summary and the final action. */
body[data-page="home"] .metrics {
  background:linear-gradient(115deg,var(--sapphire-deep),var(--sapphire));
  padding-block:32px 24px;
}
body[data-page="home"] .metrics .metric { padding-block:8px; }
body[data-page="home"] .metrics .metric b { font-weight:600; letter-spacing:-.03em; }
body[data-page="home"] .metrics .metric span { color:var(--sapphire-on-blue-muted); font-size:13px; }
body[data-page="home"] .metrics .metrics-note { margin-top:20px; font-size:12px; }
body[data-page="home"] .metrics .section-jumps { gap:8px 28px; margin-top:12px; }
body[data-page="home"] .metrics .section-jumps a { border-color:var(--sapphire-light-line); }
body .cta,body .lab-cta { background:linear-gradient(115deg,var(--sapphire-deep),var(--sapphire)); }
body .cta .btn-primary,body .lab-cta .btn-primary { color:var(--sapphire-deep); background:var(--sapphire-white); border-color:var(--sapphire-white); box-shadow:0 5px 18px var(--refine-shadow-raised); }
body .cta .btn-primary:hover,body .lab-cta .btn-primary:hover { color:var(--sapphire-ink); background:var(--sapphire-ice); border-color:var(--sapphire-ice); }
body .cta .btn-primary:active,body .lab-cta .btn-primary:active { color:var(--sapphire-ink); background:var(--sapphire-silver); border-color:var(--sapphire-silver); }
body :is(.cta,.lab-cta) :focus-visible { outline-color:var(--sapphire-white); }
body .cta .btn-ghost { border-color:var(--sapphire-light-line); color:var(--sapphire-white); }

/* Shadows belong to physical stages; prose and rows stay flat. */
body :is(.private-network,.d100-product-visual,.device-scene-figure) {
  border-color:var(--sapphire-line); border-radius:var(--refine-radius);
  box-shadow:0 12px 32px var(--refine-shadow),inset 0 1px var(--sapphire-white);
}
.d100-product-visual,.device-scene-figure { background:radial-gradient(ellipse at 50% 35%,var(--sapphire-white),var(--sapphire-ice)); }
.product-grid { align-items:stretch; }
body .product-card,body .product-card:first-child,body .product-card:last-child { border-color:var(--sapphire-line); border-radius:var(--refine-radius); }
body .product-card.featured { border:1px solid var(--sapphire-stage-edge); border-top:3px solid var(--sapphire); background:var(--sapphire-white); }
body .product-card .pc-model { color:var(--sapphire-deep); font-weight:500; }
.pc-more { border-top-color:var(--sapphire-line); }
.pc-more .pcm-inner { background:var(--sapphire-paper); border-radius:8px; padding:16px; }
.pc-more .pcm-inner b { color:var(--sapphire-text); font-weight:500; }
.d100-product-copy p { color:var(--sapphire-text); }
.d100-product-copy dd { color:var(--sapphire-text); }

/* Former disclosure wrappers no longer add four layers of empty space. */
body[data-page="home"] main > .section { padding-block:80px; }
body[data-page="home"] .home-disclosure { margin-block:36px 0; padding-block:28px 0; }
body[data-page="home"] .home-disclosure > .disclosure-content { padding-block:0; }
body[data-page="home"] .home-disclosure .section { padding-block:32px; }
body[data-page="home"] #ecosystem { padding-block:72px; }
body[data-page="home"] #ecosystem > .home-disclosure { margin-top:48px; margin-bottom:0; padding-bottom:0; }
body[data-page="home"] #ecosystem > .home-disclosure > .disclosure-content { padding-bottom:0; }
body[data-page="home"] .static-disclosure-title { font-size:20px; margin-bottom:24px; }
body[data-page="home"] .inference-disclosure { margin-block:0; padding-block:36px; }
body[data-page="home"] #pipeline { border-radius:var(--refine-radius); }
#ecosystem .software-map { border:1px solid var(--sapphire-line); border-radius:var(--refine-radius); background-color:var(--sapphire-white); background-image:linear-gradient(var(--refine-grid) 1px,var(--refine-clear) 1px),linear-gradient(90deg,var(--refine-grid) 1px,var(--refine-clear) 1px); }
#ecosystem .eco-layout { gap:48px; }
#ecosystem .eco-flow { gap:0; }
#ecosystem .ef-step { border:0; border-bottom:1px solid var(--sapphire-line); border-radius:0; padding:20px 8px; background:var(--refine-clear); }
#ecosystem .ef-step:first-child { border-top:1px solid var(--sapphire-line); }
#ecosystem .ef-step > i { color:var(--sapphire-muted); }
#ecosystem .ef-step > span { color:var(--sapphire-text); }
#ecosystem .eco-chips { padding:24px; border-radius:var(--refine-radius); background:var(--sapphire-white); }
#ecosystem .eco-out { margin-top:24px; min-height:76px; border-top:1px solid var(--sapphire-line); padding-top:20px; }
#ecosystem .eco-out span { color:var(--sapphire-muted); font-size:12px; }
#ecosystem .eco-out b { color:var(--sapphire-ink); font-size:18px; margin-top:8px; }

/* Reading rules previously repeated on both nested and parent sections. */
main section > .site-motion-field :is(.sm-reading-rail,.sm-reading-progress,.sm-edge-traveller,.sm-entry-sweep,.sm-circuit-corner) { display:none !important; }
.compiler-map .live-diagram-node { display:none; }
body[data-page="home"] #roadmap-details { margin-top:0; border-radius:0; }
body[data-page="home"] .interactive-hub.shell { background:var(--sapphire-white); }
.footer { background:var(--sapphire-white); border-top-color:var(--sapphire-line); }
.footer .footer-col > span { color:var(--sapphire-ink); font-weight:600; }
.footer .footer-col :is(a,button),.footer-top p { color:var(--sapphire-text); }
.footer .footer-col :is(a,button):hover { color:var(--sapphire); }
.footer-bottom { color:var(--sapphire-muted); border-color:var(--sapphire-line); }

/* OEM scenarios: one launch market, followed by two distinct extensions. */
body[data-page="home"] main > #scenarios { background:var(--sapphire-white); }
#scenarios .scene-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:20px; }
#scenarios .scene-card { margin:0; min-width:0; padding:28px 32px; border:1px solid var(--sapphire-line); border-radius:var(--refine-radius); background:var(--sapphire-white); box-shadow:none; }
#scenarios .scene-card h3 { min-height:0; margin:0; font-size:24px; line-height:1.4; color:var(--sapphire-ink); }
#scenarios .scene-card p { color:var(--sapphire-text); font-size:14px; line-height:1.85; }
#scenarios .scene-primary { grid-row:span 2; display:flex; flex-direction:column; background:linear-gradient(145deg,var(--sapphire-paper),var(--sapphire-ice)); border:0; padding:36px; }
#scenarios .scene-primary h3 { font-size:30px; max-width:14em; }
#scenarios .scene-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; margin-bottom:20px; }
#scenarios .sc-tag { position:static; display:inline-flex; align-items:center; flex-shrink:0; margin:4px 0 0; padding:4px 12px; border:1px solid var(--sapphire-line); border-radius:4px; color:var(--sapphire-deep); background:var(--sapphire-paper); font-size:12px; }
#scenarios .scene-primary .sc-tag { border-color:var(--refine-clear); background:var(--sapphire-white); }
#scenarios .scene-chipline { display:flex; gap:12px; margin:32px 0 28px; }
#scenarios .scene-chipline span { display:block; padding:16px 20px; border:1px solid var(--sapphire-stage-edge); background:var(--sapphire-white); border-radius:8px; color:var(--sapphire-deep); font-size:26px; font-weight:600; letter-spacing:-.03em; }
#scenarios .scene-card dl { display:grid; gap:20px; margin:0; }
#scenarios .scene-card dt { font-size:12px; color:var(--sapphire-muted); margin:0 0 8px; }
#scenarios .scene-card dd { margin:0; color:var(--sapphire-text); font-size:15px; line-height:1.8; }
#scenarios .scene-secondary dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
#scenarios .scene-primary .sc-why { margin:28px 0 0; padding:20px 0 0; border:0; border-top:1px solid var(--sapphire-stage-edge); }
#scenarios .scene-primary .text-link { margin-top:auto; padding-top:20px; align-self:flex-start; }
#scenarios .scene-secondary .sc-why { margin:20px 0 0; padding:0; border:0; color:var(--sapphire-muted); font-size:13px; }

@media(max-width:820px) {
  body[data-page="home"] main > .section { padding-block:56px; }
  body[data-page="home"] #ecosystem { padding-block:56px; }
  .sec-head { gap:20px; }
  .sec-head > p { padding-top:0; }
  body[data-page="home"] .home-disclosure { margin-top:28px; padding-top:24px; }
  #scenarios .scene-grid { grid-template-columns:minmax(0,1fr); }
  #scenarios .scene-primary { grid-row:auto; padding:28px; }
  #scenarios .scene-card { padding:24px; }
  #scenarios .scene-primary h3 { font-size:27px; }
  #scenarios .scene-card h3 { font-size:23px; }
  #scenarios .scene-heading { gap:12px; }
  #ecosystem .eco-layout { gap:28px; }
  #ecosystem .eco-chips { padding:20px; }
}
@media(max-width:480px) {
  #scenarios .scene-heading { flex-direction:column; gap:12px; }
  #scenarios .scene-secondary dl { grid-template-columns:minmax(0,1fr); gap:16px; }
  #scenarios .scene-chipline { margin-block:24px; }
  #scenarios .scene-chipline span { padding:12px 20px; font-size:24px; }
  body[data-page="home"] .metrics .metric span { font-size:12px; }
}
