:root {
  color-scheme: dark;
  --bg: #030914;
  --bg-soft: #091525;
  --panel: rgba(10, 21, 36, 0.84);
  --panel-soft: rgba(10, 21, 36, 0.66);
  --line: rgba(72, 149, 255, 0.2);
  --line-strong: rgba(72, 149, 255, 0.4);
  --text: #eff7ff;
  --muted: #98abc2;
  --blue: #169cff;
  --cyan: #78d9ff;
  --teal: #4df0c9;
  --shadow: 0 24px 80px rgba(0, 5, 14, 0.48);
  --radius: 30px;
  --content-width: 100vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(23, 136, 255, 0.22), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(77, 240, 201, 0.18), transparent 18%),
    radial-gradient(circle at 50% 86%, rgba(13, 87, 190, 0.2), transparent 26%),
    linear-gradient(180deg, #030812 0%, #07111e 40%, #050b14 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(85, 135, 215, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 135, 215, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  padding-bottom: 22px;
  overflow-x: clip;
}

.topbar,
.section,
.footer {
  width: var(--content-width);
  margin: 0 auto;
  padding-inline: 8px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 30px rgba(22, 156, 255, 0.18);
}

.brand span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand strong,
.topnav a,
.eyebrow,
.button,
.interest-chip,
.note-label,
.story-kicker,
.side-label {
  font-family: "Space Grotesk", sans-serif;
}

.brand strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a {
  color: var(--muted);
  transition: color 160ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.section {
  padding: 10px 0 18px;
}

.section-hero {
  padding-top: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr);
  gap: 10px;
  min-height: calc(100vh - 100px);
}

.hero-card,
.story-card,
.focus-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(10, 22, 37, 0.92), rgba(4, 11, 20, 0.95)),
    linear-gradient(135deg, rgba(22, 156, 255, 0.06), transparent 50%);
  box-shadow: var(--shadow);
}

.hero-card::before,
.story-card::before,
.focus-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: auto -8% -38% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 156, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.84rem;
}

.hero h1,
.section-heading h2,
.story-card h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 8.5vw, 8rem);
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: transparent;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 52%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text,
.hero-side-panel p,
.mini-grid p,
.story-card p,
.focus-card p,
.contact-copy p,
.form-status,
.footer {
  color: var(--muted);
}

.hero-text {
  max-width: 64ch;
  margin: 24px 0 0;
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #04111c;
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 65%, #b8fbff 100%);
  box-shadow: 0 18px 38px rgba(22, 156, 255, 0.25);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-full {
  width: 100%;
}

.signal-strip {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-strip li {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #d7ebff;
}

.hero-side {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 36px);
  align-content: center;
}

.badge-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.badge-stack img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-stack p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
  color: #dceeff;
  word-break: break-word;
}

.hero-side-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(88, 152, 231, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.side-label,
.story-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.hero-side-panel h2,
.story-card h3,
.focus-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

.hero-side-panel h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
}

.hero-side-panel p {
  margin: 14px 0 0;
  line-height: 1.75;
}

.mini-grid {
  display: grid;
  gap: 12px;
}

.mini-grid article {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(88, 152, 231, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.mini-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #dceeff;
}

.mini-grid p {
  margin: 0;
  line-height: 1.65;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
}

.story-card {
  padding: 32px;
}

.story-card-wide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-card h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
  max-width: 12ch;
}

.story-card h3 {
  font-size: 1.45rem;
}

.story-card p {
  margin: 14px 0 0;
  line-height: 1.8;
}

.focus-grid {
  padding-top: 18px;
}

.section-heading {
  max-width: 900px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
}

.focus-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.focus-card {
  padding: 30px;
}

.focus-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(22, 156, 255, 0.14);
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
}

.focus-card h3 {
  font-size: 1.3rem;
}

.focus-card p {
  margin: 12px 0 0;
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  align-items: stretch;
  padding-top: 18px;
  padding-bottom: 56px;
}

.contact-copy,
.interest-form {
  padding: clamp(24px, 3vw, 34px);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy p {
  max-width: 56ch;
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-points div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.note-label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.interest-form {
  display: grid;
  gap: 15px;
}

.interest-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 16px;
  cursor: pointer;
}

.interest-chip.is-active {
  color: #04111c;
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
}

.interest-form label {
  display: grid;
  gap: 8px;
}

.interest-form span {
  color: #d7e8ff;
}

.interest-form input,
.interest-form textarea {
  width: 100%;
  border: 1px solid rgba(106, 149, 206, 0.25);
  border-radius: 18px;
  background: rgba(4, 12, 22, 0.78);
  color: var(--text);
  padding: 14px 16px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.interest-form input:focus,
.interest-form textarea:focus {
  outline: none;
  border-color: rgba(22, 156, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(22, 156, 255, 0.16);
}

.interest-form textarea {
  min-height: 150px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 2px 2px 0;
}

.form-status.is-success {
  color: #7ff5cd;
}

.form-status.is-error {
  color: #ff9d9d;
}

.footer {
  padding: 18px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(97, 144, 210, 0.12);
}

.footer-block {
  min-width: 220px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.footer-brand img {
  width: 140px;
  height: auto;
}

.footer-block p {
  margin: 0;
}

.footer-block p + p {
  margin-top: 6px;
}

.footer-credit {
  text-align: center;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 1180px) {
  .hero-grid,
  .story-grid,
  .focus-cards,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .story-card h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topbar,
  .section,
  .footer {
    width: 100vw;
    padding-inline: 6px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .signal-strip,
  .interest-switch,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .badge-stack {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-card,
  .focus-card,
  .hero-copy,
  .hero-side,
  .contact-copy,
  .interest-form {
    padding: 22px;
  }

  .footer-credit,
  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
