:root {
  --bg: #080b12;
  --bg-elev: #0f1522cc;
  --text: #e7edf7;
  --muted: #97a3b8;
  --line: #ffffff1f;
  --accent: #7ed0ff;
  --accent-soft: #6ec8ff2e;
  --shadow: 0 20px 40px #00000055;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #131d31 0%, #090c13 45%, #05070c 100%);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: #080b1299;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.section {
  padding: 96px 0;
  position: relative;
}

.hero {
  padding-top: 118px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.4rem);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #c5d6ef;
}

.lead {
  max-width: 780px;
  font-size: 1.05rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: linear-gradient(145deg, #151d2b88, #0f152288);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #9dd9ff55;
  background: linear-gradient(145deg, #182336aa, #111a2baa);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
}

.footer-content p {
  margin: 0 0 2px;
  font-size: 0.92rem;
  color: #9cabbe;
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.45;
}

.bg-orb-a {
  width: 360px;
  height: 360px;
  background: #1f5785;
  top: -140px;
  right: -100px;
}

.bg-orb-b {
  width: 320px;
  height: 320px;
  background: #2d4567;
  left: -110px;
  bottom: 14vh;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-intro {
  max-width: 620px;
}

.contact-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

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

.form-field label {
  color: #c9d7ea;
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #ffffff2d;
  background: #0d1320;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 132px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #7ed0ff80;
  box-shadow: 0 0 0 4px #6ec8ff1f;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #ff7580;
}

.field-error {
  margin: 0;
  min-height: 1.1em;
  color: #ff9ca4;
  font-size: 0.88rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-actions button {
  border: 1px solid #9dd9ff4f;
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(135deg, #17314a, #182d44);
  color: #eaf5ff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.form-actions button:hover:enabled {
  transform: translateY(-1px);
  border-color: #9dd9ff99;
}

.form-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
  color: #b9c8de;
}

.form-status.is-loading {
  color: #b9c8de;
}

.form-status.is-success {
  color: #8fe9b4;
}

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

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 92px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

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

  .card,
  .reveal {
    transition: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }
}
