:root {
  --bg: #07111f;
  --bg-soft: #0c1a2d;
  --surface: #10223a;
  --surface-2: #162f50;
  --text: #ecf2fb;
  --muted: #b6c5db;
  --brand: #ff6b35;
  --brand-2: #22d3ee;
  --ok: #34d399;
  --ring: rgba(34, 211, 238, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(90rem 55rem at -8% -12%, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(62rem 44rem at 105% -10%, rgba(255, 107, 53, 0.2), transparent 45%),
    linear-gradient(180deg, #040a13 0%, var(--bg) 55%, #050d18 100%);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(4, 12, 24, 0.75);
  border-bottom: 1px solid rgba(182, 197, 219, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(145deg, var(--brand), #ff9f67);
  color: #101722;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #ff9f67);
  color: #111827;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.32);
}

.btn-secondary {
  border-color: rgba(182, 197, 219, 0.32);
  background: rgba(182, 197, 219, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(182, 197, 219, 0.4);
  color: var(--text);
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
}

main {
  overflow-x: clip;
}

.hero {
  padding: 5rem 0 4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
  color: #acf5d5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: center;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  letter-spacing: 0.01em;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero-copy {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-panel {
  background: linear-gradient(145deg, rgba(16, 34, 58, 0.86), rgba(22, 47, 80, 0.75));
  border: 1px solid rgba(182, 197, 219, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.metric-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  border-radius: var(--radius-sm);
  background: rgba(4, 12, 24, 0.45);
  border: 1px solid rgba(182, 197, 219, 0.18);
  padding: 0.9rem;
}

.metric .num {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

section {
  padding: 4rem 0;
}

.section-intro {
  max-width: 72ch;
  margin-bottom: 1.6rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(16, 34, 58, 0.65);
  border: 1px solid rgba(182, 197, 219, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote {
  border-left: 3px solid var(--brand-2);
  padding-left: 0.9rem;
  color: #d9e7f8;
  font-size: 1.03rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.list li {
  border: 1px solid rgba(182, 197, 219, 0.22);
  background: rgba(16, 34, 58, 0.45);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  color: #d5e1f0;
}

.page-hero {
  padding: 3.3rem 0 1.5rem;
}

.page-hero p {
  max-width: 65ch;
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(16, 34, 58, 0.7);
  border: 1px solid rgba(182, 197, 219, 0.2);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #d8e6f6;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(6, 12, 21, 0.78);
  color: #f5f9ff;
  border: 1px solid rgba(182, 197, 219, 0.28);
  border-radius: 9px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--ring);
  outline-offset: 0;
  border-color: transparent;
}

.full {
  grid-column: 1 / -1;
}

.notice {
  font-size: 0.86rem;
  color: #b8c8dd;
  margin-top: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(182, 197, 219, 0.2);
  background: rgba(6, 12, 21, 0.72);
}

.footer-wrap {
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

small {
  color: #b7c8de;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise .6s ease forwards;
}

.reveal.delay-1 { animation-delay: .1s; }
.reveal.delay-2 { animation-delay: .2s; }
.reveal.delay-3 { animation-delay: .3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .split,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 0.95rem 4vw 1rem;
    background: rgba(4, 12, 24, 0.98);
    border-bottom: 1px solid rgba(182, 197, 219, 0.2);
    flex-direction: column;
    align-items: flex-start;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .btn {
    width: 100%;
  }
}
