/* AeroFaçade Robotics — Direction C "Night Shift"
   Tokens */
:root{
  --bg:#061427;
  --surface:#0B1F3A;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.2);
  --text:#E8EFF7;
  --text-2:#C6D4E4;
  --muted:#9FB3C8;
  --accent:#2ED3E6;
  --blue:#4DA3FF;
  --on-accent:#061427;
  --display:'Space Grotesk','Inter',system-ui,sans-serif;
  --body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wrap:1240px;
  --gutter:40px;
  --radius:16px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important;animation:none !important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue)}
a:hover{color:#8CC8FF}
h1,h2,h3{margin:0;font-family:var(--display);color:#fff;text-wrap:balance}
p{margin:0}
ol,ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}

.skip{position:absolute;left:16px;top:-60px;background:var(--accent);color:var(--on-accent);padding:10px 14px;border-radius:8px;font-weight:600;z-index:100}
.skip:focus{top:16px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}

/* Type */
.micro{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--text-2)}
.micro.accent,.accent{color:var(--accent)}
.micro.blue,.blue{color:var(--blue)}
.micro.muted,.muted{color:var(--muted)}
.display{font-size:clamp(44px,7.2vw,88px);line-height:.98;font-weight:700;letter-spacing:-.035em;max-width:12ch}
.h2{font-size:clamp(34px,4.2vw,52px);line-height:1.02;font-weight:700;letter-spacing:-.03em}
.lead{font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:#D4E0EC;max-width:60ch}
.statement{font-family:var(--display);font-size:clamp(24px,2.4vw,30px);line-height:1.25;font-weight:500;letter-spacing:-.015em;color:#fff}
.body{font-size:17px;line-height:1.6;color:var(--text-2)}
.body-lg{font-size:18px;line-height:1.6;color:var(--text-2)}
.fine{font-size:13px;line-height:1.6;color:var(--muted)}

/* Layout helpers */
.section{padding:96px 0}
.section--tight{padding-top:0}
.surface{background:var(--surface)}
.bordered{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.glow{background-image:radial-gradient(60% 55% at 50% 45%,rgba(46,211,230,.14) 0%,rgba(46,211,230,0) 70%)}
.stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.stack-lg{display:flex;flex-direction:column;gap:40px}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:760px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.align-start{align-items:start}
.align-center{align-items:center}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:10px;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:filter .15s ease,background-color .15s ease}
.btn:hover{filter:brightness(1.08)}
.btn--accent{background:var(--accent);color:var(--on-accent)}
.btn--accent:hover{color:var(--on-accent)}
.btn--ghost{background:rgba(6,20,39,.5);color:#fff;border-color:rgba(255,255,255,.4)}
.btn--ghost:hover{color:#fff;background:rgba(6,20,39,.7)}
.btn--sm{min-height:42px;padding:0 18px;font-size:14px}
.actions{display:flex;flex-wrap:wrap;gap:12px}

/* Header */
.site-header{position:relative;z-index:5;background:var(--bg);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;background:#fff;border-radius:10px;padding:8px 14px}
.brand img{height:36px;width:auto}
.nav{display:flex;flex-wrap:wrap;gap:12px 26px;align-items:center}
.nav a:not(.btn){font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--text-2);text-decoration:none;padding:6px 0}
.nav a:not(.btn):hover{color:#fff}
.nav-toggle{display:none;align-items:center;gap:10px;background:transparent;color:var(--text-2);border:1px solid var(--line-strong);border-radius:10px;min-height:44px;padding:0 14px;font:inherit;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.nav-toggle__bar{width:18px;height:2px;background:currentColor;position:relative;display:inline-block}
.nav-toggle__bar::before,.nav-toggle__bar::after{content:"";position:absolute;left:0;width:18px;height:2px;background:currentColor}
.nav-toggle__bar::before{top:-6px}.nav-toggle__bar::after{top:6px}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar{background:transparent}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before{top:0;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after{top:0;transform:rotate(-45deg)}

/* Hero (typographic; no imagery on the public site) */
.hero{position:relative;min-height:min(760px,88vh);display:flex;align-items:center;overflow:hidden;isolation:isolate;
  background-color:var(--bg);
  background-image:
    radial-gradient(55% 60% at 78% 30%,rgba(46,211,230,.16) 0%,rgba(46,211,230,0) 70%),
    radial-gradient(40% 50% at 15% 90%,rgba(77,163,255,.12) 0%,rgba(77,163,255,0) 70%),
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:auto,auto,48px 48px,48px 48px}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:48px;align-items:center;width:100%;padding-top:96px;padding-bottom:96px}
.hero__content{display:flex;flex-direction:column;gap:26px;min-width:0}
.spec{margin:0;gap:0;padding:12px 28px}
.spec__row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.spec__row:first-child{border-top:none}
.spec dt{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);padding-top:3px}
.spec dd{margin:0;font-size:15px;line-height:1.5;color:var(--text-2)}
.chip{display:inline-flex;align-items:center;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;background:rgba(6,20,39,.7);border:1px solid var(--line-strong);border-radius:999px;padding:8px 14px;color:var(--text-2)}

/* Feature strip */
.strip{border-bottom:1px solid var(--line);padding:22px 0}
.strip__row{display:flex;flex-wrap:wrap;gap:16px 40px;align-items:center;justify-content:center}
.strip .micro{display:inline-flex;align-items:center;gap:10px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block;flex:none}

/* Figures */
.frame{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:12px}
.frame img{width:100%;border-radius:10px}
.frame figcaption{padding:4px 6px;color:var(--muted)}

/* Modules */
.module{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line-strong);padding-top:20px;min-width:0}
.module__n{font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.1em;color:var(--accent)}
.module h3{font-size:22px;font-weight:700;letter-spacing:-.01em}
.module p{font-size:15px;color:var(--muted)}

/* Legend */
.legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.legend li{display:flex;gap:14px;font-size:15px;line-height:1.5;color:var(--text-2);border-top:1px solid var(--line-strong);padding-top:14px}
.legend__n{font-family:var(--display);color:var(--accent);font-weight:700}

/* Timeline */
.timeline{position:relative;padding-top:0}
.timeline::before{content:"";position:absolute;left:0;right:0;top:10px;height:1px;background:var(--line-strong)}
.step{display:flex;flex-direction:column;gap:14px;min-width:0;position:relative;padding-top:0}
.step::before{content:"";width:16px;height:16px;border-radius:50%;background:var(--accent);border:4px solid var(--surface);box-sizing:content-box;margin-left:-4px;margin-top:-2px}
.step__letter{font-family:var(--display);font-size:40px;font-weight:700;letter-spacing:-.02em;color:#fff;line-height:1}
.step h3{font-size:20px;font-weight:700}
.step p{font-size:15px;color:var(--muted)}

/* Tiles */
.tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:12px;min-width:0}
.tile h3{font-size:20px;font-weight:700}
.tile p{font-size:15px;color:var(--muted)}
.tile__num{font-family:var(--display);font-size:clamp(34px,3.4vw,48px);font-weight:700;letter-spacing:-.03em;color:var(--accent);line-height:1}
.tile__label{font-size:16px;font-weight:600;color:#fff}
.tile__basis{font-size:14px;color:var(--muted)}

/* Phases */
.phase{display:flex;flex-direction:column;gap:12px;border-top:2px solid var(--line-strong);padding-top:20px;min-width:0}
.phase--now{border-top-color:var(--accent)}
.phase h3{font-size:20px;font-weight:700}
.phase p{font-size:15px;color:var(--muted)}

/* Form */
.form{gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600;color:var(--text-2)}
.field input,.field textarea{min-height:48px;background:var(--bg);border:1px solid var(--line-strong);border-radius:8px;padding:12px 14px;color:#fff;font:inherit;font-size:16px;width:100%}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form__status{font-size:14px;color:var(--text-2);min-height:1.4em}
.form__status.ok{color:var(--accent)}
.form__status.err{color:#FFB4A8}
.form[aria-busy="true"] .btn{opacity:.6;pointer-events:none}
.contact-alt a{color:var(--accent);letter-spacing:.02em;text-transform:none;font-size:14px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:32px 0 40px}
.footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px}
.plate{display:inline-flex;align-items:center;background:#fff;border-radius:8px;padding:6px 12px}
.plate img{height:28px;width:auto}
.footer-nav{display:flex;flex-wrap:wrap;gap:20px}
.footer-nav a{font-size:14px;font-weight:600;text-decoration:none}

/* Responsive */
@media (max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .timeline::before{display:none}
  .step::before{display:none}
}
@media (max-width:820px){
  :root{--gutter:20px}
  .section{padding:72px 0}
  .grid-2,.grid-3,.legend{grid-template-columns:minmax(0,1fr)}
  .nav-toggle{display:inline-flex}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0 4px;border-top:1px solid var(--line);margin-top:6px}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}
  .nav .btn{margin-top:12px;align-self:flex-start}
  .hero{min-height:0}
  .hero__grid{grid-template-columns:minmax(0,1fr);gap:36px;padding-top:72px;padding-bottom:64px}
  .strip__row{justify-content:flex-start}
  .footer-row{flex-direction:column;align-items:flex-start}
}
@media (max-width:560px){
  .grid-4{grid-template-columns:minmax(0,1fr)}
  .frame{padding:10px;border-radius:14px}
  .tile{padding:22px}
  .brand img{height:30px}
}
