/* theme.css - SmartDrones brand layer (Design System "SmartDrones", Oct 2026).
   Only this file differs between the three sites; base.css stays shared and untouched.
   theme.css loads BEFORE base.css, so the overrides below use a ":root" prefix to win on specificity. */
:root{
  --bg:#0b1322; --bg-2:#0e1729; --panel:#121d33; --panel-2:#0d1626;
  --line:rgba(120,160,210,.14); --txt:#e8eef6; --muted:#93a4be;
  /* Brand: logo blue for fills (buttons, active states) with a white label; light accent for text on dark. No teal/cyan. */
  --brand:#2a65f3; --brand-rgb:42,101,243; --on-brand:#fff;
  --accent:#759bf7; --accent-2:#9fbafa; --accent-d:#2a65f3; --accent-rgb:42,101,243;
  --navy:#01164d; --glow:rgba(var(--brand-rgb),.35);
  --header-scrolled:rgba(11,19,34,.88);
  --hero-overlay-top:rgba(11,19,34,.55); --hero-overlay-mid:rgba(11,19,34,.85);
  --radius:16px; --maxw:1180px;
}

/* Brand fills: solid logo blue + white label (4.9:1). base.css uses dark text (#04202a) on the accent. */
:root .btn-primary{background:var(--brand);color:var(--on-brand);box-shadow:0 8px 30px -8px rgba(var(--brand-rgb),.55)}
:root .btn-primary:hover{background:#3a72f5;color:var(--on-brand);box-shadow:0 14px 38px -8px rgba(var(--brand-rgb),.6)}
:root .skip-link{background:var(--brand);color:var(--on-brand)}
:root .lang-switch-head .lang-switch-link.is-active{background:var(--brand);color:var(--on-brand)}
:root .pl-banner{background:var(--brand);color:var(--on-brand)}
:root .pl-banner a,:root .pl-banner-close{color:var(--on-brand)}

/* Phones: keep logo, CTA, language switch and menu button inside the viewport
   (before this, the menu button sat off-screen at 390px, so the nav was unreachable on phones). */
@media(max-width:480px){
  :root .wrap.nav{padding:0 16px}
  :root .logo img{height:26px}
  :root .nav-cta{gap:6px;margin-right:0}
  :root .nav-cta .btn-primary{padding:8px 11px;font-size:.76rem}
  :root .lang-switch-head .lang-switch-link{padding:4px 6px}
  :root .burger{padding:4px}
}

/* Header (all widths): logo | nav | primary CTA | language switch.
   The language switch sits in the flow instead of position:fixed, so it no longer covers the header buttons
   on 981-1439px screens; the two ghost buttons are dropped from the header (both stay in the hero) to make
   room for the Investors link. */
:root .nav-cta .btn-ghost:not(.btn-login){display:none}
@media(max-width:1023px){:root .nav-cta .btn-login{padding:10px 10px;font-size:.82rem}}
:root .lang-switch-head{position:static;top:auto;right:auto;flex-shrink:0}
:root body.has-pl-banner .lang-switch-head{top:auto}

/* About: three stats. */
:root .about-stats{grid-template-columns:repeat(3,1fr)}
@media(max-width:980px){:root .about-stats{grid-template-columns:1fr 1fr}}

/* Team: three people. */
:root .team-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:980px){:root .team-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){:root .team-grid{grid-template-columns:1fr}}

/* aisPilot section for UAV manufacturers. */
:root #aispilot .ap-intro{align-items:center}
:root .ap-fig{margin:0}
:root .ap-fig figcaption{margin-top:14px;font-size:.86rem;color:var(--muted);line-height:1.5}
:root .ap-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
:root #aispilot .btn{white-space:normal;text-align:center;line-height:1.3}
:root .ap-status{margin-top:16px;font-size:.92rem;color:var(--muted);line-height:1.55;padding-left:14px;border-left:2px solid var(--brand)}
:root .ap-block{margin-top:72px}
:root .ap-h3{font-size:1.3rem;margin-bottom:20px}
:root .ap-arch{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
:root .ap-mod{padding:26px}
:root .ap-mod h4{font-size:1.08rem;color:var(--txt);margin-bottom:10px}
:root .ap-mod p{color:var(--muted);font-size:.95rem;line-height:1.55}
:root .ap-more{display:inline-block;margin-top:10px;font-size:.92rem;font-weight:600;color:var(--accent)}
:root .ap-more:hover{color:var(--accent-2)}
:root .ap-details{margin-top:40px;border:1px solid var(--line);border-radius:20px;background:var(--bg-2);scroll-margin-top:96px}
:root .ap-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px;font-family:'Space Grotesk','Inter',sans-serif;font-weight:600;font-size:1.1rem;color:var(--txt)}
:root .ap-details>summary::-webkit-details-marker{display:none}
:root .ap-details>summary::after{content:"+";flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:1.3rem;color:var(--accent);background:rgba(var(--brand-rgb),.1);border:1px solid rgba(var(--brand-rgb),.35)}
:root .ap-details[open]>summary::after{content:"\2212"}
:root .ap-details>summary:hover{color:var(--accent-2)}
:root .ap-details>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:20px}
:root .ap-details-body{padding:8px 28px 34px;border-top:1px solid var(--line)}
:root .ap-v2{margin-top:28px;align-items:start}
:root .ap-v2>*{min-width:0}
:root .ap-cfg{display:grid;gap:12px}
:root .ap-cfg-item{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:baseline;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel-2)}
:root .ap-cfg-item b{font-family:'Space Grotesk','Inter',sans-serif;font-size:1.05rem;color:var(--accent)}
:root .ap-cfg-item p{color:var(--txt);font-size:.95rem;line-height:1.5}
:root .ap-note{margin-top:14px;font-size:.86rem;color:var(--muted);line-height:1.5}
:root .ap-sub{margin-top:52px}
:root .ap-intro-text{margin-top:10px;color:var(--muted);font-size:.98rem;max-width:760px}
:root .ap-mods{margin-top:24px;columns:2;column-gap:40px}
:root .ap-group{break-inside:avoid;margin-bottom:26px}
:root .ap-group h4{font-family:'Inter',sans-serif;font-weight:600;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}
:root .ap-group dl div{display:grid;grid-template-columns:118px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
:root .ap-group dl div:last-child{border-bottom:0}
:root .ap-group dt{font-family:'Space Grotesk','Inter',sans-serif;font-weight:600;font-size:.98rem;color:var(--txt)}
:root .ap-group dd{color:var(--muted);font-size:.95rem;line-height:1.5}
:root .ap-chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
:root .ap-chips li{font-family:'Space Grotesk','Inter',sans-serif;font-weight:500;font-size:.92rem;color:var(--txt);padding:8px 14px;border-radius:999px;background:rgba(var(--brand-rgb),.1);border:1px solid rgba(var(--brand-rgb),.35)}
:root .ap-iflist{list-style:none;margin-top:16px;display:grid;gap:6px}
:root .ap-iflist li{color:var(--txt);font-size:.95rem;padding-left:16px;position:relative}
:root .ap-iflist li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:2px;background:var(--brand)}
:root .ap-text{margin-top:14px;color:var(--muted);font-size:.98rem;line-height:1.6}
:root .ap-close{margin-top:56px;display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:end;padding:40px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,var(--panel),var(--panel-2))}
:root .ap-close>*{min-width:0}
:root .ap-path{list-style:none;display:flex;flex-wrap:wrap;gap:10px 12px}
:root .ap-path li{display:flex;align-items:center;gap:10px;color:var(--txt);font-size:.95rem;padding:8px 14px 8px 8px;border-radius:12px;background:var(--panel-2);border:1px solid var(--line)}
:root .ap-path li span{flex:0 0 30px;height:30px;border-radius:8px;display:grid;place-items:center;font-family:'Space Grotesk','Inter',sans-serif;font-weight:700;font-size:.78rem;color:var(--accent);background:rgba(var(--brand-rgb),.1);border:1px solid rgba(var(--brand-rgb),.35)}
:root .ap-close-cta p{color:var(--muted);font-size:.95rem;margin-bottom:16px}
@media(max-width:980px){
  :root .ap-arch{grid-template-columns:1fr 1fr}
  :root .ap-close{grid-template-columns:1fr;gap:28px;padding:28px}
  :root .ap-block{margin-top:56px}
  :root .ap-mods{columns:1}
}
@media(max-width:560px){
  :root .ap-arch{grid-template-columns:1fr}
  :root .ap-details>summary{padding:18px 18px;font-size:1rem}
  :root .ap-details-body{padding:4px 18px 26px}
  :root .ap-cfg-item{grid-template-columns:1fr;gap:4px}
  :root .ap-group dl div{grid-template-columns:1fr;gap:2px}
  :root .ap-close{padding:22px}
  :root .ap-actions .btn,:root .ap-close-cta .btn{width:100%;justify-content:center}
}
/* Header with the extra aisPilot link: tighten the nav on 981-1140px so PL/DE labels fit. */
@media(min-width:981px) and (max-width:1140px){
  :root .nav-links{gap:16px;margin:0 14px}
  :root .nav-links a{font-size:.86rem}
}

/* Home pages, industry applications list: the active vertical spans the row; the line on further verticals sits under it.
   "Built on SmartDrones": with one card, the possible-verticals panel takes the two remaining columns on desktop. */
:root .app-item-wide{grid-column:1/-1}
:root .app-list-note{grid-column:1/-1;margin:6px 0 0;color:var(--txt);font-size:.92rem}
@media(min-width:981px){:root .built-ecosystem.built-one .open-ecosystem{grid-column:2/-1}}

/* The hero content starts on the same left edge as every other section. */
:root .hero > .wrap{width:100%}
/* The open mobile menu is opaque, so the hero text does not show through it. */
@media(max-width:980px){:root .nav-links{background:var(--bg);backdrop-filter:blur(14px)}}

/* The hero H1 carries the tagline, its second sentence as a sub-line. */
:root .hero h1 .h1-sub{display:block;margin-top:16px;max-width:30ch;font-size:.46em;line-height:1.3;font-weight:600;background:none;-webkit-text-fill-color:currentColor;color:var(--txt)}
:root .foot-company strong{color:var(--txt)}
:root .foot-company{font-style:normal}
:root .actor h3{font-family:'Space Grotesk';font-size:1.05rem;color:var(--accent);margin-bottom:8px}
:root .step h3{font-family:'Space Grotesk';font-size:.98rem;margin:8px 0 6px}
:root .member h3{font-size:1.1rem;margin-bottom:4px}
:root .hero h1 .h1-sub{font-size:max(.46em,19px)}
