/* tokens moved to tokens.css — do not add :root here */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .tile,
body.has-custom-cursor .feature-card,
body.has-custom-cursor .header-btn,
body.has-custom-cursor .cta-btn {
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.08;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: multiply;
}

.ambient-1 {
  position: fixed;
  top: 5%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle,
      rgba(242, 101, 34, 0.12) 0%,
      rgba(242, 101, 34, 0.03) 45%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-2 {
  position: fixed;
  bottom: 0%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(11, 45, 83, 0.14) 0%,
      rgba(11, 45, 83, 0.03) 45%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Cursor */
.cursor {
  display: none;
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  box-shadow: 0 0 12px rgba(242, 101, 34, 0.6);
  transform: translate(-50%, -50%);
}

body.has-custom-cursor .cursor {
  display: block;
}

/* ============ HEADER ============ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 16px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-dot {
  max-width: 140px;
  height: 44px;
  display: flex;
  align-items: center;
}

.logo-dot img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.header-menu-toggle,
.mobile-nav-contact {
  display: none;
}

.header-nav a.mobile-nav-contact {
  display: none;
}

.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s, transform 0.2s;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--navy);
}

.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 0 var(--navy);
}

.header-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--navy);
  color: var(--orange);
  border-color: var(--orange);
}

.header-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--navy);
}

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding: 40px 56px 60px;
  align-items: center;
  position: relative;
  z-index: 5;
  min-height: 720px;
}

.hero-left {
  padding-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-tint);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.2);
}

.hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.title-line.title-navy {
  color: var(--navy);
}

.title-line.title-orange {
  color: var(--orange);
}

.title-inner {
  display: inline-block;
  will-change: transform;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(242, 101, 34, 0.35),
    0 16px 32px rgba(242, 101, 34, 0.15);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 14px 28px rgba(242, 101, 34, 0.45),
    0 24px 48px rgba(242, 101, 34, 0.2);
}

.cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.4s;
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-soft);
  border: 1.5px solid var(--navy-tint);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.secondary-btn:hover {
  background: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ============ CONSTELLATION ============ */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.constellation {
  position: relative;
  width: 600px;
  height: 660px;
  max-width: 100%;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.constellation-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 1;
}

.constellation-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.constellation-lines path {
  fill: none;
  stroke: rgba(11, 45, 83, 0.28);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.tile {
  position: absolute;
  z-index: 2;
  transform-style: preserve-3d;
}

.tile-inner {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  animation: tile-float var(--dur, 5s) ease-in-out infinite var(--delay, 0s);
}

.tile:hover .tile-inner {
  transform: translateY(-8px) scale(1.06);
}

.tile-icon {
  width: 48%;
  height: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tile:hover .tile-icon {
  transform: scale(1.12) rotate(-3deg);
}

.tile-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tile Blue / Orange Color System */
.tile.navy .tile-inner {
  background: linear-gradient(155deg, #16487e 0%, #0B2D53 55%, #061a32 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.4),
    inset 0 0 24px rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(11, 45, 83, 0.35),
    0 24px 48px rgba(11, 45, 83, 0.15);
  color: var(--white);
}

.tile.orange .tile-inner {
  background: linear-gradient(155deg, var(--orange-light) 0%, var(--orange) 55%, var(--orange-deep) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25),
    inset 0 0 24px rgba(255, 255, 255, 0.2),
    0 12px 24px rgba(242, 101, 34, 0.35),
    0 24px 48px rgba(242, 101, 34, 0.15);
  color: var(--white);
}

.tile.soft-blue .tile-inner {
  background: linear-gradient(155deg, #ffffff 0%, var(--navy-soft) 55%, var(--navy-tint) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 0 rgba(11, 45, 83, 0.08),
    0 12px 24px rgba(11, 45, 83, 0.12),
    0 24px 48px rgba(11, 45, 83, 0.06);
  color: var(--navy);
}

.tile.soft-orange .tile-inner {
  background: linear-gradient(155deg, #ffffff 0%, var(--orange-soft) 55%, var(--orange-tint) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 0 rgba(242, 101, 34, 0.1),
    0 12px 24px rgba(242, 101, 34, 0.14),
    0 24px 48px rgba(242, 101, 34, 0.06);
  color: var(--orange-deep);
}

.tile.deep-navy .tile-inner {
  background: linear-gradient(155deg, #103258 0%, #081d36 60%, #030d1a 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -4px 0 rgba(0, 0, 0, 0.6),
    0 16px 32px rgba(6, 26, 50, 0.45),
    0 32px 64px rgba(6, 26, 50, 0.25);
  color: var(--white);
}

/* Tile sizes (fewer tiles, so each one gets bigger) */
.tile.size-main {
  width: 160px;
  height: 136px;
}

.tile.size-big {
  width: 190px;
  height: 160px;
}

/* Tile positions (600 x 660 stage)
   Order of preference from client:
   1. center icon  2. partnership hands  3. histogram  4. magnifying glass */
.tile-hands {
  top: 60px;
  left: 60px;
  --dur: 5.5s;
  --delay: 0.4s;
  --float: -10px;
}

.tile-histogram {
  top: 60px;
  left: 380px;
  --dur: 5s;
  --delay: 0.8s;
  --float: -8px;
}

.tile-db {
  top: 250px;
  left: 205px;
  --dur: 4.5s;
  --delay: 0.2s;
  --float: -7px;
}

.tile-search {
  top: 500px;
  left: 220px;
  --dur: 6s;
  --delay: 0.9s;
  --float: -10px;
}

@keyframes tile-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(var(--float, -8px));
  }
}

/* Sparkle decoration */
.sparkle {
  position: absolute;
  width: 32px;
  height: 32px;
  bottom: 30px;
  right: 30px;
  color: var(--orange);
  animation:
    spin 8s linear infinite,
    sparkleFloat 4s ease-in-out infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes sparkleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ============ FEATURES SECTION ============ */
.features {
  padding: 120px 56px;
  background: var(--bg-warm);
  position: relative;
}

.features-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 70px;
  gap: 60px;
}

.section-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.features h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  max-width: 720px;
}

.features-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  line-height: 2.2;
  text-align: right;
  border-left: 2px solid var(--orange);
  padding-left: 20px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 38px 34px;
  border-radius: 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.feature-card:hover {
  transform: translateY(-10px);
}

/* Card Themes */
.feature-card.fc-navy {
  background: linear-gradient(160deg, #123d6d 0%, #0B2D53 100%);
  color: var(--white);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 18px 36px rgba(11, 45, 83, 0.25),
    0 36px 72px rgba(11, 45, 83, 0.1);
}

.feature-card.fc-orange {
  background: linear-gradient(160deg, #f77a3d 0%, #F26522 100%);
  color: var(--white);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 18px 36px rgba(242, 101, 34, 0.28),
    0 36px 72px rgba(242, 101, 34, 0.12);
}

.feature-card.fc-soft {
  background: linear-gradient(160deg, #ffffff 0%, var(--navy-soft) 100%);
  color: var(--navy);
  border: 1px solid var(--navy-tint);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    0 18px 36px rgba(11, 45, 83, 0.08),
    0 36px 72px rgba(11, 45, 83, 0.04);
}

.feature-card .fc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
  opacity: 0.85;
}

.feature-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.88;
  flex: 1;
}

.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.feature-card.fc-soft .fc-icon {
  background: var(--navy);
  color: var(--white);
}

/* ============ QUOTE ============ */
.quote-section {
  padding: 130px 56px;
  background: var(--bg);
  text-align: center;
  position: relative;
}

.quote-mark {
  display: block;
  font-size: 100px;
  line-height: 0.6;
  color: var(--orange);
  margin-bottom: 28px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.quote-section blockquote {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 1000px;
  margin: 0 auto 36px;
}

.quote-author {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 80px 56px 120px;
  text-align: center;
  background: var(--bg);
}

.final-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
  border-radius: 44px;
  background: linear-gradient(150deg, #103866 0%, #0B2D53 50%, #061a32 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -4px 0 rgba(0, 0, 0, 0.5),
    0 30px 60px rgba(11, 45, 83, 0.35),
    0 60px 120px rgba(11, 45, 83, 0.2);
}

.final-cta h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: var(--white);
}

.final-cta h2 .accent {
  color: var(--orange);
}

.final-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 36px;
}

.final-cta .cta-btn {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(242, 101, 34, 0.45);
}

.final-cta .cta-btn .cta-arrow {
  background: rgba(255, 255, 255, 0.25);
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-card .orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle,
      rgba(242, 101, 34, 0.35) 0%,
      transparent 70%);
  top: -70px;
  left: -70px;
  filter: blur(50px);
}

.final-cta-card .orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle,
      rgba(22, 72, 126, 0.45) 0%,
      transparent 70%);
  bottom: -100px;
  right: -100px;
  filter: blur(60px);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  padding: 60px 56px 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 30px 32px 50px;
  }

  .hero-left,
  .hero-right {
    min-width: 0;
  }

  .site-header {
    padding: 16px 12px;
  }

  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .features {
    padding: 70px 32px;
  }

  .final-cta,
  .quote-section {
    padding: 70px 32px;
  }

  .features-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .features-meta {
    text-align: left;
    border-left: 2px solid var(--orange);
    padding-left: 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 850px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 20px;
    right: 20px;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(11, 45, 83, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(11, 45, 83, 0.16);
  }

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

  .header-nav a {
    padding: 12px;
  }

  .header-nav a.mobile-nav-contact {
    display: block;
    border-top: 1px solid var(--line);
    color: var(--orange-deep);
  }

  .header-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--navy-tint);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
  }

  .header-menu-toggle svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .header-menu-toggle:focus-visible,
  .header-nav a:focus-visible {
    outline: 3px solid rgba(242, 101, 34, 0.6);
    outline-offset: 3px;
  }

  .header-btn {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    gap: 24px;
    padding: 26px 20px 40px;
    min-height: auto;
  }

  .hero-left {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(34px, 9vw, 52px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-right {
    overflow: visible;
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 360px;
  }

  .constellation {
    width: 600px;
    height: 660px;
    max-width: none;
    flex: 0 0 600px;
    transform: scale(0.55);
    transform-origin: top center;
    margin-bottom: -300px;
  }

  .feature-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .feature-card {
    min-height: 320px;
    padding: 30px 26px;
    border-radius: 20px;
  }

  .features,
  .quote-section,
  .final-cta {
    padding: 64px 20px;
  }

  .final-cta-card {
    padding: 42px 22px;
    border-radius: 24px;
  }

  .footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .site-footer {
    padding: 44px 20px 28px;
  }

  .footer-top {
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .hero-right {
    min-height: 320px;
  }

  .constellation {
    transform: scale(0.44);
    margin-bottom: -330px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .tile-inner {
    animation: none !important;
  }

  .sparkle {
    animation: none !important;
  }
}