/* Hylora public site. One self-hosted variable typeface, no external requests. */
@font-face{
  font-family:"Archivo";
  src:url("./fonts/archivo-latin-variable.woff2") format("woff2");
  font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap
}
:root{
  --plate:#e9ecef;      /* machined-aluminium page */
  --white:#ffffff;
  --ink:#14202b;        /* text, dark band */
  --steel:#566573;      /* secondary text */
  --rule:#c9d0d7;       /* hairlines */
  --cobalt:#1f4fd8;     /* lattice lines, links, actions */
  --cobalt-deep:#173ca6;
  --heat:#d9781f;       /* the layer being drawn, status dot */
  --font:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5rem;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--plate);color:var(--ink);font-family:var(--font);font-size:1.0625rem;line-height:1.55;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ol,ul,figure{margin:0}
ol,ul{padding:0;list-style:none}
a{color:inherit}
:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px;border-radius:2px}
.wrap{width:min(100% - 2.5rem,1180px);margin-inline:auto}
.skip-link{position:absolute;left:1rem;top:-6rem;z-index:20;padding:.75rem 1rem;background:var(--white);border:2px solid var(--cobalt)}
.skip-link:focus{top:1rem}

/* Masthead */
.masthead{position:sticky;top:0;z-index:10;background:rgba(233,236,239,.94);border-bottom:1px solid var(--rule)}
.masthead-row{display:flex;align-items:center;gap:2rem;min-height:4.25rem}
.brand{display:inline-flex;align-items:center}
.brand img{display:block;height:2.5rem;width:auto}
.footer-brand{display:inline-flex;align-items:center;gap:.5rem;margin-right:.6rem;vertical-align:middle}
.footer-brand img{display:block}
.wordmark{font-weight:800;font-stretch:125%;font-size:1.35rem;letter-spacing:-.02em;text-decoration:none}
.wordmark-small{font-size:1rem}
.nav{display:flex;gap:1.75rem;margin-left:auto;font-size:.95rem;font-weight:500}
.nav a{text-decoration:none;padding-block:.4rem}
.nav a:hover{color:var(--cobalt)}
.stage{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .8rem;border:1px solid var(--ink);border-radius:999px;font-size:.85rem;font-weight:600;text-decoration:none;white-space:nowrap}
.stage:hover{background:var(--white)}
.stage-dot{width:.55rem;height:.55rem;border-radius:50%;background:var(--heat)}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,5vw,4.5rem);align-items:center;padding-block:clamp(3rem,7vw,6rem)}
h1{font-size:clamp(2.7rem,6.4vw,5.25rem);font-weight:800;font-stretch:122%;line-height:.98;letter-spacing:-.035em;text-wrap:balance}
.lede{margin-top:1.75rem;max-width:34rem;font-size:1.2rem;line-height:1.5;color:var(--ink)}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:.7rem 1.4rem;border:2px solid transparent;border-radius:4px;font:inherit;font-size:1rem;font-weight:650;text-decoration:none;cursor:pointer}
.button-solid{background:var(--cobalt);color:var(--white)}
.button-solid:hover{background:var(--cobalt-deep)}
.button-line{border-color:var(--ink);color:var(--ink)}
.button-line:hover{background:var(--white)}
.button:disabled{background:#8d99a6;color:var(--white);cursor:not-allowed}

.plate{background:var(--white);border:1px solid var(--rule);border-radius:6px;padding:clamp(.75rem,2vw,1.25rem)}
.plate svg{display:block;width:100%;height:auto}
.plate-bed{fill:#f6f8fa;stroke:var(--ink);stroke-width:6}
.plate-ticks line{stroke:var(--ink);stroke-width:5}
.plate-ticks text{fill:var(--steel);font-size:52px;font-weight:500}
.layer{stroke-linecap:round;stroke-width:9;stroke:var(--cobalt)}
.layer-now{stroke:var(--heat);stroke-width:15}
.layer-1{opacity:.55}.layer-2{opacity:.3}.layer-3{opacity:.14}
.plate figcaption{display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem;align-items:center;padding:.9rem .25rem .1rem}
.plate-read{font-weight:650;font-variant-numeric:tabular-nums}
.plate-toggle{min-width:4.5rem;padding:.3rem .8rem;border:1px solid var(--ink);border-radius:4px;background:var(--white);color:var(--ink);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.plate-toggle:hover{background:var(--plate)}
.plate-note{grid-column:1/-1;font-size:.9rem;color:var(--steel)}

/* Bands */
.band{padding-block:clamp(3.5rem,7vw,6rem);border-top:1px solid var(--rule)}
.band-white{background:var(--white)}
.band-ink{background:var(--ink);color:var(--white);border-top:0}
.section-head{max-width:44rem;margin-bottom:clamp(2rem,4vw,3.25rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.85rem);font-weight:750;font-stretch:112%;line-height:1.06;letter-spacing:-.025em;text-wrap:balance}
.section-head p{margin-top:1rem;font-size:1.125rem;color:var(--steel)}
h3{font-size:1.2rem;font-weight:700;font-stretch:108%;line-height:1.25}
.aside{margin-top:2.5rem;max-width:46rem;padding-left:1rem;border-left:3px solid var(--heat);color:var(--steel)}

/* Steps: a real sequence, so it is numbered */
.steps{counter-reset:step;border-top:2px solid var(--ink)}
.steps li{counter-increment:step;display:grid;grid-template-columns:4rem minmax(0,17rem) minmax(0,1fr);gap:1rem 2rem;padding-block:1.5rem;border-bottom:1px solid var(--rule)}
.steps li::before{content:counter(step);font-size:2.25rem;font-weight:800;font-stretch:125%;line-height:1;color:var(--cobalt)}
.steps p{max-width:40rem;color:var(--steel)}

/* Lattice families */
.families{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.25rem,3vw,2.5rem)}
.family svg{display:block;width:100%;height:auto;background:#f6f8fa;border:1px solid var(--ink)}
.family-line{stroke:var(--cobalt);stroke-width:13;stroke-linecap:round}
.family figcaption{padding-top:1rem}
.family figcaption p{margin-top:.4rem;color:var(--steel)}

/* Audiences */
.audiences{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,3rem)}
.audience{padding-top:1.25rem;border-top:2px solid var(--ink)}
.audience p{margin-top:.6rem;color:var(--steel)}

/* Capabilities */
.caps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,2.75rem) clamp(1.5rem,3vw,3rem)}
.cap{padding-top:1.1rem;border-top:2px solid var(--ink)}
.cap p{margin-top:.5rem;color:var(--steel)}

/* Early access */
.access{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start}
.access-copy p{margin-top:1.1rem;max-width:30rem;color:#c5ced8}
.access-copy .access-privacy{font-size:.95rem}
.access-copy a{color:var(--white)}
.access-form{display:grid;gap:.4rem}
.access-form label{margin-top:.75rem;font-weight:600}
.access-form label:first-child{margin-top:0}
.optional{font-weight:400;color:#aab5c1}
.access-form input,.access-form select,.access-form textarea{width:100%;padding:.7rem .8rem;border:1px solid #6d7b89;border-radius:4px;background:#0d1720;color:var(--white);font:inherit}
.access-form textarea{resize:vertical}
.access-form :focus-visible{outline-color:#8fb0ff}
.access-form .button{margin-top:1.25rem;justify-self:start}
.form-status{min-height:1.5rem;margin-top:.5rem;color:#c5ced8}
.form-status[data-kind=ok]{color:#9fe0b8}
.form-status[data-kind=error]{color:#ffb38a}

/* Footer */
.footer{background:var(--ink);color:#c5ced8;border-top:1px solid #33424f;padding-block:1.75rem;font-size:.95rem}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem 2rem}
.footer .wordmark{color:var(--white)}
.footer-note{flex-basis:100%;max-width:46rem;font-size:.875rem;color:#9aa7b4}

/* Privacy page */
.prose{max-width:42rem;padding-block:clamp(3rem,6vw,5rem)}
.prose h1{font-size:clamp(2.2rem,5vw,3.25rem)}
.prose h2{margin-top:2.25rem;font-size:1.4rem}
.prose p,.prose ul{margin-top:.9rem}
.prose ul{padding-left:1.2rem;list-style:disc}
.prose a{color:var(--cobalt)}

@media (max-width:900px){
  .nav{display:none}
  .stage{margin-left:auto}
  .hero,.access{grid-template-columns:1fr}
  .audiences,.caps{grid-template-columns:1fr}
  .steps li{grid-template-columns:3rem 1fr}
  .steps li p{grid-column:2}
}
@media (max-width:640px){
  .families{grid-template-columns:1fr;gap:2.25rem}
}
@media (max-width:480px){
  body{font-size:1rem}
  .wrap{width:min(100% - 2rem,1180px)}
  .actions .button{width:100%}
  .plate figcaption{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
