/* Legna, LLC coming-soon page. Prepared by Gabriel Lopez-Seco. Brand colors sampled from the Legna logo. */
@font-face{font-family:"Montserrat";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/montserrat-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:500;font-style:normal;font-display:swap;src:url("fonts/montserrat-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:600;font-style:normal;font-display:swap;src:url("fonts/montserrat-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/montserrat-latin-700-normal.woff2") format("woff2")}
/* Metric-matched fallback (Arial/Helvetica/Liberation Sans) so text occupies the same space before and after the swap: zero CLS.
   size-adjust measured per weight against Liberation Sans; ascent/descent from Montserrat's tables (968/251 per 1000) divided by size-adjust. */
@font-face{font-family:"Montserrat Fallback";font-weight:400;src:local("Arial"),local("Helvetica Neue"),local("Helvetica"),local("Liberation Sans");size-adjust:112.85%;ascent-override:85.8%;descent-override:22.2%;line-gap-override:0%}
@font-face{font-family:"Montserrat Fallback";font-weight:500;src:local("Arial"),local("Helvetica Neue"),local("Helvetica"),local("Liberation Sans");size-adjust:114.76%;ascent-override:84.3%;descent-override:21.9%;line-gap-override:0%}
@font-face{font-family:"Montserrat Fallback";font-weight:600;src:local("Arial Bold"),local("Arial-BoldMT"),local("Helvetica Neue Bold"),local("Helvetica Bold"),local("Liberation Sans Bold"),local("LiberationSans-Bold");size-adjust:108.02%;ascent-override:89.6%;descent-override:23.2%;line-gap-override:0%}
@font-face{font-family:"Montserrat Fallback";font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT"),local("Helvetica Neue Bold"),local("Helvetica Bold"),local("Liberation Sans Bold"),local("LiberationSans-Bold");size-adjust:110.10%;ascent-override:87.9%;descent-override:22.8%;line-gap-override:0%}

:root{
  --gold:#FFAB0C; --orange:#F06000; --ember:#D03000; --red:#B00000;
  --charcoal:#343434; --ink:#1C1A18; --gray:#5A5A5A; --cream:#FAF6F0; --line:#E6DACB; --white:#FFFFFF;
  --wrap:1120px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--charcoal);font:400 1rem/1.65 "Montserrat","Montserrat Fallback",Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}

/* tri-colour stripe from the brand spec: gold | orange | red */
.stripe{height:8px;background:linear-gradient(90deg,var(--gold) 0 33.33%,var(--orange) 33.33% 66.66%,var(--red) 66.66% 100%)}

/* environment badge (dev and staging only) */
.env{position:fixed;top:14px;right:14px;z-index:10;background:var(--ink);color:var(--gold);font:600 .78rem/1.25 "Montserrat","Montserrat Fallback",Arial,sans-serif;padding:.5rem .8rem;border-radius:4px;letter-spacing:.02em;box-shadow:0 0 0 2px var(--white)}
.env span{display:block;color:var(--cream);font-weight:400;font-size:.72rem}

/* hero */
.hero{padding:3.5rem 0 4.5rem}
.hero .wrap{display:grid;grid-template-columns:300px minmax(0,1fr);gap:4rem;align-items:center}
.logo img{width:300px}
.hero h1{margin:0 0 1.25rem;font-weight:700;font-size:clamp(2.34rem,6.12vw,4.675rem);line-height:.98;letter-spacing:.045em;color:var(--ink)}
.lede{margin:0;max-width:34em;font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.6;color:var(--charcoal)}
.lede strong{font-weight:600;color:var(--ink)}
.since{margin:1.75rem 0 0;display:flex;align-items:center;gap:.75rem;font-weight:600;font-size:.95rem;color:var(--red)}
.since i{display:inline-block;width:.7rem;height:.7rem;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(240,96,0,.18)}

/* audiences: the one dramatic element, log-end rings on ink */
.audiences{position:relative;background:var(--ink);color:var(--cream);overflow:hidden}
.audiences .wrap{display:grid;grid-template-columns:1fr 1fr;position:relative}
.aud{position:relative;overflow:hidden;padding:5rem 3rem 7.5rem 0;min-height:24rem}
.aud > *:not(.rings){position:relative;z-index:1}
.aud + .aud{padding:5rem 0 7.5rem 3rem;border-left:1px solid rgba(250,246,240,.16)}
/* panel header: icon box | eyebrow stacked over title, aligned on one row */
.aud-head{display:flex;align-items:flex-start;gap:1.1rem;margin:0 0 1.1rem}
.aud-title{padding-top:.15rem}
.aud-ico{flex:none;width:60px;height:60px;display:grid;place-items:center;border:1.5px solid currentColor;border-radius:14px}
.aud-ico .ico{display:block;width:34px;height:34px}
.aud:first-child .aud-ico{color:var(--gold)}
.aud + .aud .aud-ico{color:var(--orange)}
.aud-title{min-width:0;flex:1 1 auto}
.aud .when{margin:0 0 .3rem;font-weight:500;font-size:.9rem;line-height:1.3;color:var(--gold);letter-spacing:.02em}
.aud h2{margin:0;font-weight:700;font-size:clamp(1.55rem,2.6vw,2.15rem);line-height:1.08;letter-spacing:-.005em;color:var(--white)}
.aud p{margin:0;max-width:30em;color:#E9E2D8}
.aud p + p{margin-top:1rem}
.rings{position:absolute;right:-70px;bottom:-190px;width:340px;height:340px;pointer-events:none;opacity:0;animation:ignite 1.6s ease-out .15s forwards}
.aud + .aud .rings{right:-40px}
.rings circle{fill:none;stroke-width:3}
.aud:first-child .rings circle{stroke:var(--gold)}
.aud + .aud .rings circle{stroke:var(--orange)}
@keyframes ignite{from{opacity:0;transform:scale(.94)}to{opacity:.3;transform:scale(1)}}

/* what we are building: plain ruled columns, not cards */
.build{padding:5rem 0 5.5rem}
.build h2{margin:0 0 2.5rem;font-weight:700;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.1;color:var(--ink)}
.build dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem}
.build dt{margin:0 0 .6rem;padding-top:1.1rem;border-top:3px solid var(--orange);font-weight:700;font-size:1.1rem;line-height:1.2;color:var(--ink);display:flex;align-items:center;gap:.55rem}
.dti{flex:none;width:24px;height:24px;color:var(--orange)}
.build dd{margin:0;max-width:24em;color:var(--charcoal)}

/* footer */
.foot{border-top:1px solid var(--line);background:var(--cream)}
.foot .wrap{display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between;padding-top:1.75rem;padding-bottom:2rem;font-size:.85rem;color:var(--gray)}
.foot strong{color:var(--ink);font-weight:600}

@media (max-width:900px){
  .hero{padding:2.25rem 0 3rem}
  .hero .wrap{grid-template-columns:1fr;gap:1.5rem;justify-items:center;text-align:center}
  .logo{display:flex;justify-content:center;width:100%}
  .logo img{width:min(140px,38vw);height:auto;margin:0 auto}
  .hero h1{margin-bottom:.9rem;font-size:clamp(2rem,7.2vw,2.2rem);line-height:1;letter-spacing:.035em}
  .aud-head{gap:.9rem}
  .aud-ico{width:52px;height:52px;border-radius:12px}
  .aud-ico .ico{width:30px;height:30px}
  .lede{max-width:32em;margin:0 auto;font-size:1rem;line-height:1.55}
  .since{justify-content:center;margin-top:1.15rem;font-size:.88rem}
  .audiences .wrap{grid-template-columns:1fr}
  .aud,.aud + .aud{padding:3.5rem 0 6.5rem;min-height:0}
  .aud + .aud{border-left:0;border-top:1px solid rgba(250,246,240,.16)}
  .rings{width:260px;height:260px;right:-70px;bottom:-150px}
  .aud + .aud .rings{right:-70px}
  .build{padding:3.5rem 0 4rem}
  .build dl{grid-template-columns:1fr;gap:2.25rem}
  .env{top:auto;bottom:12px;right:12px}
}
@media (prefers-reduced-motion:reduce){
  .rings{animation:none;opacity:.3}
}
