:root {
  --bg: #090c12;
  --bg-soft: #0c1118;
  --panel: rgba(15, 22, 31, 0.82);
  --panel-strong: rgba(18, 28, 40, 0.94);
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(127, 160, 183, 0.18);
  --line-strong: rgba(127, 160, 183, 0.28);
  --text: #f1f5f8;
  --muted: #9cafbf;
  --cyan: #73ebff;
  --cyan-strong: #42d8ff;
  --red: #ff546f;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 40px 120px rgba(0, 0, 0, 0.48);
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(115, 235, 255, 0.08), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(255, 84, 111, 0.1), transparent 26%),
    linear-gradient(180deg, #080b10 0%, #090c12 55%, #07090e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 140, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 140, 160, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45));
}

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

img {
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 16, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-bar,
.footer-bar,
.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-bar {
  min-height: 4.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-icon-shell {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(115, 235, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 28, 0.9);
  box-shadow: 0 0 26px rgba(66, 216, 255, 0.16);
}

.brand-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 0.14rem;
}

.brand-text strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.top-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.25rem;
  border-radius: 0.72rem;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.button-small {
  min-height: 2.6rem;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
}

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), #94f6ff);
  box-shadow: 0 0 24px rgba(66, 216, 255, 0.26);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.protocol-pill,
.eyebrow,
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.protocol-pill,
.eyebrow {
  color: #d8faff;
  border: 1px solid rgba(115, 235, 255, 0.18);
  background: rgba(115, 235, 255, 0.08);
}

.hero-grid,
.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}

.hero {
  padding-top: 4.6rem;
}

.hero-copy h1,
.phase-copy h2,
.cta-copy h2,
.cta-shell h2 {
  margin: 1.25rem 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 11vw, 6.9rem);
}

.hero-copy h1 span,
.phase-copy h2 span {
  display: block;
}

.hero-copy h1 em,
.phase-copy h2 em {
  font-style: italic;
  color: var(--cyan);
}

.hero-summary,
.phase-copy p,
.cta-copy p,
.cta-shell p:not(.protocol-pill):not(.eyebrow),
.faq-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-summary {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.55rem 0 0;
}

.hero-tags li {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e6f0;
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  min-height: 38rem;
}

.stage-frame {
  position: relative;
  min-height: 34rem;
  border-radius: 2.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 22, 0.92);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.stage-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at center, rgba(115, 235, 255, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(14, 22, 31, 0.95), rgba(9, 13, 20, 0.98));
}

.stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
}

.stage-glow-cyan {
  top: 6rem;
  left: 5.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(66, 216, 255, 0.24);
}

.stage-glow-red {
  right: 3rem;
  bottom: 5rem;
  width: 13rem;
  height: 13rem;
  background: rgba(255, 84, 111, 0.2);
}

.hero-logo-ring {
  position: absolute;
  top: 7rem;
  left: 6rem;
  z-index: 1;
  width: 16rem;
  height: 16rem;
  padding: 0.95rem;
  overflow: hidden;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(8, 13, 20, 0.94);
  box-shadow: 0 0 44px rgba(66, 216, 255, 0.1);
}

.hero-logo-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.phone-card {
  position: absolute;
  z-index: 2;
  width: 13.2rem;
  margin: 0;
  padding: 0.55rem;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 26, 0.95);
  box-shadow: var(--shadow-strong);
}

.phone-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 1.15rem;
}

.phone-card-primary {
  top: 4.1rem;
  right: 4.1rem;
  transform: rotate(9deg);
}

.phone-card-secondary {
  bottom: 3.2rem;
  left: 4rem;
  transform: rotate(-10deg);
}

.stage-chip {
  position: absolute;
  z-index: 3;
  padding: 0.78rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line);
  background: rgba(14, 20, 29, 0.88);
  color: #e0f6fb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.stage-chip-top {
  left: 1.2rem;
  top: 2rem;
}

.stage-chip-side {
  right: -0.4rem;
  top: 13rem;
}

.metrics-strip {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.24);
}

.metric-grid,
.faq-grid,
.stat-mini-grid {
  display: grid;
  gap: 1rem;
}

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

.metric-card {
  padding: 1.4rem 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.metric-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.phase-section {
  position: relative;
}

.phase-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}

.phase-grid-reverse .phase-copy {
  order: 1;
}

.phase-grid-reverse .phase-media {
  order: 2;
}

.phase-media {
  position: relative;
}

.phase-card,
.faq-card,
.cta-shell,
.note-card,
.stat-mini {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 15, 22, 0.94);
  box-shadow: var(--shadow-soft);
}

.phase-card {
  padding: 0.75rem;
  border-radius: 1.7rem;
}

.phase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  border-radius: 1.1rem;
}

.phase-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.phase-card-offset {
  transform: translateY(2.2rem);
}

.phase-copy {
  max-width: 34rem;
}

.phase-label {
  color: var(--cyan);
  padding: 0;
  border: 0;
  background: transparent;
}

.phase-copy h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.phase-copy p {
  margin-top: 1rem;
}

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

.phase-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #d4e1e9;
}

.phase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(66, 216, 255, 0.3);
}

.note-card {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.7rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
}

.note-card span,
.stat-mini span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-card strong,
.stat-mini strong {
  font-size: 1rem;
}

.note-card-accent span {
  color: var(--cyan);
}

.stat-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.stat-mini {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}

.cta-shell {
  padding: 2.25rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at left center, rgba(115, 235, 255, 0.08), transparent 30%),
    radial-gradient(circle at right center, rgba(255, 84, 111, 0.08), transparent 30%),
    rgba(10, 15, 22, 0.96);
}

.cta-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

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

.faq-card {
  padding: 1.25rem 1.3rem;
  border-radius: 1.25rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.06rem;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 0.9rem 0 0;
}

.faq-card a {
  color: var(--cyan);
}

.site-footer {
  padding: 1.8rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 15, 0.78);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.18s;
}

.delay-3 {
  animation-delay: 0.28s;
}

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

@media (max-width: 1080px) {
  .header-bar,
  .footer-bar,
  .cta-shell,
  .hero-grid,
  .phase-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 34rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

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

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .metric-grid,
  .faq-grid,
  .stat-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
  }

  .stage-frame {
    min-height: 28rem;
  }

  .hero-logo-ring {
    top: 5.5rem;
    left: 50%;
    width: 12rem;
    height: 12rem;
    transform: translateX(-50%);
  }

  .phone-card-primary {
    top: 2.3rem;
    right: 2rem;
    width: 10.5rem;
  }

  .phone-card-secondary {
    left: 1.7rem;
    bottom: 2rem;
    width: 10.2rem;
  }

  .stage-chip-top {
    top: 1rem;
    left: 1rem;
  }

  .stage-chip-side {
    top: auto;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .header-bar {
    min-height: auto;
    padding: 1rem 0;
  }

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

  .hero-copy h1,
  .phase-copy h2,
  .cta-copy h2 {
    font-size: clamp(2.6rem, 16vw, 4.1rem);
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-summary {
    font-size: 0.98rem;
  }

  .stage-frame {
    min-height: 24rem;
  }

  .hero-logo-ring {
    width: 9.5rem;
    height: 9.5rem;
    top: 6.2rem;
  }

  .phone-card-primary,
  .phone-card-secondary {
    width: 8.4rem;
  }

  .phone-card-primary {
    right: 1rem;
  }

  .phone-card-secondary {
    left: 1rem;
  }

  .phase-stack {
    grid-template-columns: 1fr;
  }

  .phase-card-offset {
    transform: none;
  }

  .cta-shell {
    padding: 1.4rem;
  }
}
