@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root{
  --bg:#f5f7fb;
  --panel:#ffffff;
  --card:#ffffff;
  --border:#d7e0eb;
  --text:#0b1320;
  --muted:#46566c;
  --link:#1a63ff;
  --btn:#0b1320;
  --btnText:#ffffff;
  --heading:"Space Grotesk", ui-sans-serif, system-ui;
  --body:"IBM Plex Sans", ui-sans-serif, system-ui;
}

*{ box-sizing:border-box; }
img{ max-width:100%; height:auto; }
html,body{ height:100%; overflow-x:hidden; }
body{
  margin:0;
  font-family: var(--body);
  background: linear-gradient(180deg, rgba(10, 27, 66, 0.05), transparent 30%),
              radial-gradient(1000px 520px at 10% -12%, rgba(65, 116, 255, 0.12) 0%, transparent 60%),
              radial-gradient(900px 520px at 90% -8%, rgba(18, 94, 255, 0.08) 0%, transparent 60%),
              var(--bg);
  background-size: auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, repeat;
  background-position: center, center, center, center;
  color:var(--text);
  line-height:1.5;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:url("/img/hero-orbit.svg");
  background-repeat:repeat-y;
  background-position:center top;
  background-size:1200px auto;
  opacity:0.18;
  pointer-events:none;
  z-index:0;
}

body > *{
  position:relative;
  z-index:1;
}

.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 18px; }

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{ left:18px; top:18px; width:auto; height:auto; padding:8px 10px; background:#fff; color:#000; border-radius:10px; }

.header{
  border-bottom:1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top:0;
  z-index:10;
}
.header__inner{ display:flex; align-items:flex-start; gap:12px; padding:18px 0; flex-direction:column; }
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--text);
  width:100%;
  text-align:center;
}
.brand__logo{ width:50px; height:28px; }
.brand__name{ font-weight:700; letter-spacing:.3px; font-family:var(--heading); }
.brand__tag{ color:var(--muted); font-size:12px; margin-top:2px; text-transform:uppercase; letter-spacing:.12em; }

.menu-toggle{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .98);
  color:var(--text);
  padding:9px 14px;
  border-radius:10px;
  font-weight:600;
  font-size:13px;
}
.header__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:0 16px;
}
.nav{ display:none; gap:4px; flex-wrap:wrap; width:100%; }
.nav.is-open{ display:flex; }
.nav__link{
  text-decoration:none;
  color:var(--muted);
  font-size:12px;
  padding:6px 4px;
  border-radius:10px;
  border:1px solid transparent;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:600;
}
.nav__link:hover{ color:var(--text); border-color:var(--border); background:rgba(255, 255, 255, .95); }
.nav__link.is-active{ color:var(--text); border-color:var(--border); background:rgba(255, 255, 255, 1); }

.header__cta{ width:auto; }

main{ padding:38px 0 60px; flex:1; }

h1{ font-size:30px; line-height:1.1; margin:0 0 12px; font-family:var(--heading); letter-spacing:-.01em; }
h2{ font-size:22px; margin:0 0 16px; font-family:var(--heading); letter-spacing:-.01em; }
h3{ font-size:16px; margin:0 0 8px; font-family:var(--heading); letter-spacing:-.01em; }
p{ margin:0 0 10px; }
.lead{ color:var(--muted); font-size:17px; max-width:68ch; }
.muted{ color:var(--muted); }

.section{ margin-top:0; }
.section--edge{
  position:relative;
  padding-top:18px;
}
.section--edge::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background: linear-gradient(90deg, rgba(11, 19, 32, 0.08), rgba(11, 19, 32, 0.02));
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:6px;
}
.section__head h2{ margin:0; }
.page-head{ padding:10px 0 6px; border-bottom:1px solid var(--border); }

.hero{ padding:22px 0 8px; }
.hero--visual{
  position:relative;
  background-image:
    linear-gradient(120deg, rgba(245, 247, 251, 0.78) 0%, rgba(245, 247, 251, 0.72) 45%, rgba(245, 247, 251, 0.68) 60%, rgba(245, 247, 251, 0.82) 100%);
  background-size: auto;
  background-repeat: repeat;
  background-position: center;
  border-radius:18px;
  padding:26px 18px 16px;
}
.hero--visual .hero__grid{
  background: transparent;
}
.hero__grid{ display:grid; grid-template-columns: 1fr; gap:22px; }
.hero__copy{ display:flex; flex-direction:column; gap:4px; }
.hero__kpis{ margin-top:18px; }
.hero__panel{ align-self:start; }

.panel{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .95);
  border-radius:14px;
  padding:18px;
  box-shadow: 0 16px 40px rgba(11, 19, 32, 0.06);
}
.panel__title{ font-weight:700; margin-bottom:8px; }
.panel__list{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.panel__item{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(250, 252, 255, .98);
  text-decoration:none;
  color:var(--text);
}
.panel__item:hover{ background: rgba(242, 246, 255, .98); }
.panel__hint{ margin-top:10px; font-size:12px; }

.cards{ display:grid; grid-template-columns: 1fr; gap:14px; }
.cards--wide{ gap:16px; }

.card{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .98);
  border-radius:14px;
  padding:18px;
  min-width:0;
  overflow-wrap:anywhere;
  box-shadow: 0 10px 28px rgba(11, 19, 32, 0.05);
}
.grid-2{ display:grid; grid-template-columns: 1fr; gap:14px; }

.list{ margin:10px 0 0; padding-left:18px; color:var(--muted); }
.list li{ margin:6px 0; }

.actions{ display:flex; gap:10px; margin:14px 0 8px; flex-wrap:wrap; }

.btn{
  display:inline-block;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid rgba(15, 23, 42, .18);
  background: var(--btn);
  color: var(--btnText);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  letter-spacing:.02em;
}
.btn:hover{ filter: brightness(0.96); }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover{ background: rgba(255, 255, 255, .9); }

.link{ color:var(--link); text-decoration:none; font-weight:600; }
.link:hover{ text-decoration:underline; }

.kpis{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.kpi{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .95);
  border-radius:12px;
  padding:12px 14px;
  min-width: 140px;
}
.kpi__value{ font-weight:700; font-family:var(--heading); }
.kpi__label{ color:var(--muted); font-size:12px; margin-top:4px; text-transform:uppercase; letter-spacing:.08em; }

.pill-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.pill{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  padding:7px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.04em;
}

.cta{ margin-top:48px; }
.cta__inner{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .98);
  border-radius:16px;
  padding:22px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-direction:column;
  box-shadow: 0 18px 40px rgba(11, 19, 32, 0.07);
}

.footer{
  border-top:1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  margin-top:34px;
}
.footer__inner{ padding:18px 16px; }
.footer__cols{ display:grid; grid-template-columns:1fr; gap:14px; }
.footer__title{ font-weight:800; margin-bottom:6px; }
.footer__bottom{ margin-top:12px; font-size:12px; }
.footer__link{
  color:var(--muted);
  text-decoration:none;
}
.footer__link:hover{ color:var(--text); text-decoration:underline; }

.form-mock{ margin-top:10px; }
.field{ margin:10px 0; }
.label{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.input{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, .98);
  border-radius:12px;
  padding:11px 14px;
  color:var(--muted);
  width:100%;
}
.input--tall{ min-height:92px; }
.row{ margin-top:12px; }
code{ color:#0f172a; }
.field--honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.alert{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  margin:10px 0;
  font-size:13px;
}
.alert--success{ background: rgba(219, 234, 254, .8); color:#0b3b8f; }
.alert--error{ background: rgba(254, 226, 226, .9); color:#7a1b1b; }

@media (min-width: 900px){
  .header__inner{ align-items:center; gap:18px; flex-direction:row; }
  .brand{
    width:auto;
    justify-content:flex-start;
    text-align:left;
  }
  .menu-toggle{ display:none; }
  .header__actions{ width:auto; order:3; padding:0; }
  .nav{ display:flex; gap:6px; width:auto; order:2; }
  .header__cta{ margin-left:auto; width:auto; }
  h1{ font-size:42px; }
  h2{ font-size:26px; }
  .hero__grid{ grid-template-columns: 1.75fr 1fr; gap:28px; }
  .hero--visual{
    padding:34px 28px 22px;
  }
  .cards{ grid-template-columns: repeat(3, 1fr); }
  .cards--wide{ gap:18px; }
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .cta__inner{ flex-direction:row; align-items:center; }
  .footer__cols{ grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__inner{ padding:22px 18px; }
}
