:root {
  --bg: #0b1020;
  --bg-alt: #121a2f;
  --panel: #111827;
  --panel-alt: #172036;
  --text: #eef2ff;
  --muted: #b7c2d9;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #57bff7;
  --accent-strong: #3daeea;
  --accent-soft: rgba(87, 191, 247, 0.12);
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #09101f 0%, #0d1324 100%);
  color: var(--text);
  line-height: 1.55;
}

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

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}

.center {
  text-align: center;
}

.top-gap {
  margin-top: 2rem;
}

.section {
  padding: 88px 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.plans-title {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  font-weight: 800;
}

.plans-title > span {
  display: block;
}

.plans-title > span:nth-child(2) {
  color: var(--muted);
  font-weight: 620;
}

.plans-title > span:nth-child(3) {
  font-weight: 740;
}

.plans-title-for {
  display: inline;
  margin-left: 0.35rem;
  color: var(--accent);
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  vertical-align: middle;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

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

.section-intro,
.hero-text {
  font-size: 1.08rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 12, 24, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #05111c;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: var(--line);
}

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

.hero {
  padding: 88px 0 72px;
}

.hero-compact {
  padding-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.center-actions {
  justify-content: center;
}

.inline-link-row {
  margin: 0.25rem 0 0;
  font-weight: 700;
}

.inline-link-row-left {
  margin-top: 1rem;
}

.inline-link-row a {
  color: #fff;
  border-bottom: 1px solid rgba(87, 191, 247, 0.5);
}

.inline-link-row a:hover {
  color: var(--accent);
}

.hero-panel {
  min-height: 420px;
}

.hero-card,
.feature-card,
.plan-card,
.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  height: 100%;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a1121;
}

.feature-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stacked-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-grid,
.cortex-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.section-intro-left {
  margin-left: 0;
  margin-right: 0;
}

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

.feature-reverse .feature-media {
  order: 2;
}

.feature-reverse .feature-copy {
  order: 1;
}

.feature-card {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.about-card,
.cortex-card {
  min-height: 360px;
}

.feature-media::after,
.about-card::after,
.cortex-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.04), rgba(8, 12, 24, 0.28));
  pointer-events: none;
}

.feature-placeholder {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  background:
    radial-gradient(circle at 25% 25%, rgba(87,191,247,0.18), transparent 20%),
    linear-gradient(135deg, #0d1730 0%, #0a1223 100%);
}

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

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  height: 100%;
}

.plan-art {
  width: min(180px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  margin: -0.15rem auto 1rem;
  filter: drop-shadow(0 16px 28px rgba(20, 95, 140, 0.28));
}

.plan-card.featured {
  border-color: rgba(87, 191, 247, 0.7);
  box-shadow: 0 20px 50px rgba(20, 95, 140, 0.22);
}

.plan-card h3,
.plan-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.plan-subtitle {
  margin-bottom: 1rem;
}

.plan-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.plan-card li {
  margin-bottom: 0.7rem;
}

.plan-price {
  margin-top: auto;
  padding-top: 1.35rem;
}

.plan-price span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price strong {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.onboarding-hero h1 {
  max-width: 11ch;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.onboarding-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-card h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.phase-label {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-note {
  margin: 1.25rem 0 0;
  color: #fff;
  font-weight: 700;
}

.onboarding-boundaries {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.boundary-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.boundary-list {
  display: grid;
  gap: 1rem;
}

.boundary-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.boundary-item:first-child {
  padding-top: 0;
}

.boundary-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.plan-guidance {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.plan-guidance-header {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.plan-guidance-header .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.plan-comparison {
  margin-top: 2.5rem;
}

.plan-comparison-image {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.guidance-list {
  display: grid;
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.guidance-item {
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--line);
}

.guidance-item h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  max-width: 22ch;
}

.guidance-item p {
  max-width: 74ch;
  font-size: 1.05rem;
}

.guidance-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.guidance-points li {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.96rem;
  font-weight: 700;
}

.guidance-points-wide li {
  min-width: min(100%, 220px);
}

.faq-section .faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-cta h2 {
  max-width: 16ch;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.contact-title {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.contact-details a {
  color: #fff;
}

.support-detail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-detail-button {
  min-height: 40px;
  padding: 0 0.9rem;
  font-size: 0.92rem;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form-full {
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

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

label {
  display: block;
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: #fff;
}

.optional-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  margin-bottom: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(87, 191, 247, 0.38);
  border-color: rgba(87, 191, 247, 0.45);
}

select {
  appearance: none;
  background-color: rgba(255,255,255,0.03);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  background: #0c1324;
  color: #fff;
}

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

.sms-disclosure {
  margin: 0.25rem 0 1rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  font-weight: 700;
}

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

.form-status.error {
  color: #ffb4a8;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 8, 18, 0.72);
}

.success-modal[hidden] {
  display: none;
}

.success-modal-panel {
  width: min(100%, 440px);
  padding: 1.5rem;
  background: #0c1324;
  border: 1px solid rgba(87, 191, 247, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-modal-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.success-modal-panel .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  background: rgba(0,0,0,0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-copy {
  max-width: 40ch;
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.site-footer a,
.site-footer span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .cortex-grid,
  .feature,
  .contact-grid,
  .contact-page-grid,
  .contact-cta,
  .footer-grid,
  .boundary-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: #0c1324;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

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

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-cta {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .contact-cta-actions {
    justify-content: stretch;
  }

  .contact-cta-actions .btn {
    width: 100%;
  }

  .hero-grid,
  .about-grid,
  .cortex-grid,
  .feature,
  .contact-grid,
  .contact-page-grid,
  .form-row,
  .footer-grid,
  .onboarding-grid,
  .boundary-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .feature-reverse .feature-media,
  .feature-reverse .feature-copy {
    order: initial;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    max-width: 100%;
  }
}
