:root {
  color-scheme: dark;
  --color-bg: #020617;
  --color-bg-alt: #050c1f;
  --color-surface: rgba(11, 18, 40, 0.9);
  --color-panel: rgba(15, 24, 56, 0.92);
  --color-text: #f8fafc;
  --color-muted: #9caecc;
  --color-border: rgba(148, 163, 184, 0.24);
  --color-blue: #7dd3fc;
  --color-purple: #c084fc;
  --color-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 45%, #f472b6 100%);
  --shadow-card: 0 32px 70px rgba(2, 6, 23, 0.8);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 15% 20%, rgba(125, 211, 252, 0.08), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(192, 132, 252, 0.08), transparent 45%),
    linear-gradient(140deg, #010512 0%, #060b21 45%, #0f1025 100%);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    radial-gradient(1.5px 1.5px at 70% 10%, rgba(148, 139, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(123, 195, 255, 0.3), transparent 55%);
  background-size: 180px 180px, 220px 220px, 200px 200px;
  opacity: 0.6;
}

body::after {
  background: radial-gradient(circle at top, rgba(90, 155, 255, 0.2), transparent 60%);
  opacity: 1;
}

main,
.site-header,
.site-footer,
section {
  position: relative;
  z-index: 1;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 38px rgba(1, 4, 12, 0.8);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand img {
  display: block;
  max-width: 64px;
  height: auto;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 160ms ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  right: 16px;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--color-panel);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  font-weight: 600;
  color: var(--color-muted);
}

.site-nav a:hover {
  color: #ffffff;
}

.hero {
  padding: 88px 0;
  background: linear-gradient(160deg, rgba(8, 13, 34, 0.85) 0%, rgba(2, 6, 23, 0.2) 95%);
}

.hero-layout {
  display: grid;
  gap: 48px;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.1;
}

.hero-subhead {
  margin: 0;
  color: var(--color-muted);
  max-width: 580px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--color-gradient);
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(108, 99, 255, 0.45);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(149, 71, 255, 0.55);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.link-inline {
  font-weight: 600;
  color: var(--color-blue);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-inner {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  max-width: 360px;
}

.hero-card-inner p {
  margin: 0;
  color: var(--color-muted);
}

.hero-accent {
  position: absolute;
  top: -10px;
  left: 24px;
  width: 42px;
  height: 4px;
  background: var(--color-gradient);
  border-radius: 999px;
}

.section-head {
  text-align: center;
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.section-head p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--color-muted);
}

.framework {
  padding: 88px 0;
  background: linear-gradient(160deg, rgba(6, 10, 28, 0.9) 0%, rgba(2, 6, 23, 0) 100%);
}

.framework-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.framework-card {
  background: var(--color-panel);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.framework-card h3 {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 1.15rem;
}

.framework-card p {
  margin: 0;
  color: var(--color-muted);
}

.outcomes {
  padding: 72px 0;
  background: transparent;
}

.outcomes-layout {
  display: grid;
  gap: 32px;
}

.outcomes h2 {
  margin: 0 0 16px;
}

.outcomes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-muted);
}

.outcomes-note {
  margin: 0;
  font-weight: 600;
  color: var(--color-blue);
}

.tools {
  padding: 88px 0;
  background: linear-gradient(180deg, rgba(3, 6, 18, 0.95) 0%, rgba(5, 8, 24, 0.45) 100%);
}

.tools-layout {
  display: grid;
  gap: 32px;
}

.tool-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tool-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  gap: 12px;
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.tool-card-body {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.tool-card-copy {
  display: grid;
  gap: 4px;
  text-align: center;
}

.tool-card-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  box-shadow: 0 8px 16px rgba(2, 6, 23, 0.45);
  margin-bottom: 2px;
}

.tool-card-logo svg {
  width: 22px;
  height: 22px;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(11, 14, 34, 0.85);
}

.tool-card h3 {
  margin: 0;
  color: var(--color-blue);
}

.tool-card p {
  margin: 0;
  color: var(--color-muted);
}

.tool-link {
  font-weight: 600;
  color: var(--color-blue);
}

.contact {
  padding: 88px 0;
  background: radial-gradient(circle at center, rgba(7, 11, 28, 0.95), rgba(2, 6, 23, 0.2));
}

.contact-layout {
  display: grid;
  gap: 40px;
}

.contact-copy {
  display: grid;
  gap: 16px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form {
  background: var(--color-panel);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
  border: 1px solid var(--color-border);
}

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

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

input:focus,
textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(94, 142, 255, 0.25);
}

input.error,
textarea.error {
  border-color: #d92b2b;
  box-shadow: 0 0 0 3px rgba(217, 43, 43, 0.15);
}

.field-error {
  margin: 0;
  min-height: 18px;
  font-size: 0.875rem;
  color: #d92b2b;
}

.form-success {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f8b4c;
  min-height: 20px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  background: rgba(4, 7, 24, 0.95);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

@media (min-width: 900px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

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

  .framework,
  .tools,
  .contact {
    padding: 72px 0;
  }

  .contact-form {
    padding: 24px;
  }
}
