:root {
  --night: #08111f;
  --deep: #101d33;
  --deep-2: #0d1728;
  --cyan: #18d4e5;
  --green: #52f2a2;
  --cloud: #f5f8fc;
  --white: #f8fafc;
  --ink: #182336;
  --graphite: #475467;
  --amber: #f4b740;
  --line-dark: rgba(248, 250, 252, 0.14);
  --line-light: rgba(16, 29, 51, 0.12);
  --shadow: 0 24px 70px rgba(4, 10, 20, 0.26);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cloud);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(24, 212, 229, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--cyan);
  color: #03101c;
  font-weight: 800;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 40px;
  background: rgba(8, 17, 31, 0.78);
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 17, 31, 0.94);
  box-shadow: 0 18px 50px rgba(2, 8, 18, 0.24);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 178px;
}

.brand-link img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: rgba(248, 250, 252, 0.78);
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(248, 250, 252, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-5px);
}

.menu-toggle span:last-child {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #06101b;
  color: var(--white);
  padding: 148px 40px 72px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 16, 27, 0), rgba(6, 16, 27, 0.94));
}

.flow-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.62;
}

.scene-board {
  position: absolute;
  width: 296px;
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 17, 31, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.scene-board-a {
  right: 8%;
  top: 19%;
}

.scene-board-b {
  right: 20%;
  bottom: 16%;
}

.scene-kicker {
  color: var(--cyan);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.scene-board strong {
  display: block;
  color: var(--white);
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.scene-board p {
  color: rgba(248, 250, 252, 0.72);
  font-size: 14px;
  margin: 12px 0 0;
}

.scene-progress {
  height: 8px;
  border-radius: 999px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.1);
}

.scene-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  animation: scenePulse 4s ease-in-out infinite;
}

.scene-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(248, 250, 252, 0.09);
}

.scene-row:last-child {
  border-bottom: 0;
}

.scene-row span {
  color: rgba(248, 250, 252, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.scene-row strong {
  color: var(--green);
  font-size: 14px;
}

.scene-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(24, 212, 229, 0.68), transparent);
  opacity: 0.7;
  transform-origin: center;
}

.scene-line-one {
  width: 420px;
  right: 12%;
  top: 47%;
  transform: rotate(26deg);
}

.scene-line-two {
  width: 340px;
  right: 30%;
  bottom: 31%;
  transform: rotate(-14deg);
}

.hero-content {
  width: min(100%, 870px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.brand-copy h2,
.contact-copy h2 {
  margin: 0;
  color: inherit;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: 64px;
}

.hero-subtitle {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(248, 250, 252, 0.78);
  font-size: 20px;
}

.hero-actions,
.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--cyan);
  color: #03101c;
  box-shadow: 0 12px 30px rgba(24, 212, 229, 0.26);
}

.button-secondary {
  border-color: rgba(248, 250, 252, 0.18);
  background: rgba(248, 250, 252, 0.08);
  color: var(--white);
}

.button-dark {
  background: var(--night);
  color: var(--white);
}

.button-ghost {
  border-color: var(--line-light);
  color: var(--night);
  background: rgba(255, 255, 255, 0.56);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin: 48px 0 0;
}

.hero-metrics div {
  min-height: 86px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.06);
  padding: 16px;
}

.hero-metrics dt {
  color: var(--green);
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.signal-band {
  background: var(--deep);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 250, 252, 0.1);
}

.signal-grid p {
  min-height: 118px;
  display: flex;
  align-items: center;
  margin: 0;
  background: var(--deep);
  color: rgba(248, 250, 252, 0.82);
  font-weight: 700;
  padding: 24px;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: var(--cloud);
}

.section-dark {
  background: var(--night);
  color: var(--white);
}

.section-brand {
  background: #ffffff;
}

.section-contact {
  background: var(--deep);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading h2,
.brand-copy h2,
.contact-copy h2 {
  font-size: 42px;
}

.section-heading p:not(.eyebrow),
.brand-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--graphite);
  font-size: 18px;
}

.section-dark .section-heading p:not(.eyebrow),
.section-contact .contact-copy p:not(.eyebrow) {
  color: rgba(248, 250, 252, 0.72);
}

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

.package-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 29, 51, 0.08);
  overflow: hidden;
}

.package-card.is-featured {
  border-color: rgba(24, 212, 229, 0.46);
  box-shadow: 0 24px 60px rgba(24, 212, 229, 0.12);
}

.package-top {
  padding: 24px;
  border-bottom: 1px solid var(--line-light);
}

.package-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(24, 212, 229, 0.12);
  color: #095662;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}

.package-card h3 {
  margin: 18px 0 12px;
  color: var(--night);
  font-family: Sora, Inter, sans-serif;
  font-size: 25px;
  line-height: 1.16;
}

.package-card p {
  margin: 0;
  color: var(--graphite);
}

.package-price {
  display: grid;
  gap: 8px;
  padding: 22px 24px 0;
}

.package-price strong {
  color: var(--night);
  font-family: Sora, Inter, sans-serif;
  font-size: 28px;
}

.package-price span {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
}

.package-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0 24px 24px;
  list-style: none;
}

.package-list li,
.contact-points li {
  position: relative;
  padding-left: 22px;
}

.package-list li::before,
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.package-footer {
  margin-top: auto;
  padding: 0 24px 24px;
}

.package-footer .button {
  width: 100%;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.06);
  padding: 18px;
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(82, 242, 162, 0.14);
  color: var(--green);
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.process-item h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-family: Sora, Inter, sans-serif;
  font-size: 19px;
}

.process-item p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
}

.brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.brand-showcase {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(8, 17, 31, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
  padding: 28px;
}

.brand-showcase img {
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(8, 17, 31, 0.16);
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.swatch {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--night);
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.swatch-chip {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(8, 17, 31, 0.14);
  border-radius: var(--radius);
}

.swatch strong {
  display: block;
  font-size: 14px;
}

.swatch span {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.niche-card {
  min-height: 134px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.niche-card h3 {
  margin: 0 0 10px;
  color: var(--night);
  font-family: Sora, Inter, sans-serif;
  font-size: 18px;
}

.niche-card p {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(248, 250, 252, 0.78);
  font-weight: 700;
  list-style: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.06);
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 14px;
  font-weight: 800;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 17, 31, 0.74);
  color: var(--white);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form select {
  appearance: none;
}

.contact-form .button {
  width: 100%;
}

.hidden-field {
  display: none;
}

.site-footer {
  background: #050c17;
  color: rgba(248, 250, 252, 0.7);
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  padding: 32px 0;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    var(--night);
  background-size: 48px 48px;
  color: var(--white);
  padding: 24px;
}

.thanks-shell {
  width: min(100%, 720px);
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.06);
  box-shadow: var(--shadow);
  padding: 32px;
}

.thanks-shell img {
  width: 240px;
  margin-bottom: 34px;
}

.thanks-shell h1 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: 42px;
  line-height: 1.08;
}

.thanks-shell p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(248, 250, 252, 0.74);
  font-size: 18px;
}

.thanks-shell .button {
  margin-top: 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scenePulse {
  0%,
  100% {
    width: 58%;
  }

  50% {
    width: 84%;
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding-inline: 24px;
  }

  .hero {
    padding-inline: 24px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .scene-board-a {
    right: 3%;
  }

  .scene-board-b {
    right: 8%;
  }

  .package-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .process-layout,
  .brand-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .niche-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

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

  .brand-link {
    min-width: 144px;
  }

  .brand-link img {
    width: 144px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    width: min(280px, calc(100vw - 36px));
    display: grid;
    gap: 4px;
    border: 1px solid rgba(248, 250, 252, 0.12);
    border-radius: var(--radius);
    background: rgba(8, 17, 31, 0.98);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .hero {
    min-height: 88svh;
    padding: 118px 18px 56px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .scene-board,
  .scene-line-one,
  .scene-line-two {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-inner {
    width: min(100% - 36px, 1120px);
  }

  .section-heading h2,
  .brand-copy h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .section-heading p:not(.eyebrow),
  .brand-copy p:not(.eyebrow),
  .contact-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .package-card h3 {
    font-size: 23px;
  }

  .palette-grid,
  .niche-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .thanks-shell h1 {
    font-size: 32px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 36px;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .brand-showcase,
  .contact-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
