:root {
  --ink: #0b090a;
  --ink-soft: #171314;
  --wine: #b02040;
  --wine-dark: #501018;
  --wine-deep: #2a080c;
  --paper: #ffffff;
  --paper-soft: #f4f1f2;
  --muted: #6f6b6d;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(80, 16, 24, 0.16);
  --shadow: 0 28px 80px rgba(11, 9, 10, 0.26);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --scroll-progress: 0;
  --hero-depth: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: calc(var(--scroll-progress) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--wine-dark), var(--wine), #d84a68);
  transform-origin: left center;
  pointer-events: none;
}

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 72% 32%, rgba(176, 32, 64, 0.36), transparent 30%),
    var(--ink);
  pointer-events: none;
  animation: curtain-exit 900ms var(--ease-out-expo) 220ms both;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
  animation: header-enter 760ms var(--ease-out-expo) 420ms both;
}

.brand img {
  width: 210px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: #2c2829;
  font-size: 0.9rem;
  font-weight: 800;
}

.main-nav a,
.header-cta,
.button,
.site-footer a {
  text-decoration: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms var(--ease-out-quart),
    background 180ms var(--ease-out-quart),
    color 180ms var(--ease-out-quart),
    border-color 180ms var(--ease-out-quart),
    box-shadow 220ms var(--ease-out-quart);
}

.header-cta::after,
.button::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -35%;
  width: 44%;
  height: 300%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(22deg) translateX(-140%);
  transition: transform 520ms var(--ease-out-expo);
  pointer-events: none;
}

.header-cta {
  color: var(--wine);
  white-space: nowrap;
}

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

.button:hover::after,
.header-cta:hover::after {
  transform: rotate(22deg) translateX(420%);
}

.button.is-pressed,
.header-cta.is-pressed {
  transform: translateY(0) scale(0.97);
}

.primary {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine);
  box-shadow: 0 18px 46px rgba(176, 32, 64, 0.32);
}

.primary:hover {
  background: #c52a4e;
  border-color: #c52a4e;
}

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

.large {
  min-height: 58px;
  padding-inline: 28px;
}

.section-dark,
.section-light {
  padding: clamp(72px, 8vw, 120px) clamp(20px, 5vw, 76px);
}

.section-dark {
  background:
    linear-gradient(120deg, rgba(80, 16, 24, 0.24), rgba(11, 9, 10, 0) 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 116px),
    var(--ink);
  color: var(--paper);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  perspective: 1200px;
}

.hero-copy {
  animation: hero-copy-enter 960ms var(--ease-out-expo) 520ms both;
}

.eyebrow {
  margin: 0;
  color: #d84a68;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 14px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 7.6vw, 8.4rem);
  line-height: 0.9;
}

h2 {
  max-width: 980px;
  font-size: clamp(2.3rem, 5vw, 5.6rem);
  line-height: 0.96;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p:not(.eyebrow),
.copy-block p,
.conversion p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.76;
}

.section-light .section-heading p:not(.eyebrow),
.copy-block p,
.section-light p {
  color: #4d484a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  max-width: 720px;
}

.hero-proof span {
  border: 1px solid rgba(216, 74, 104, 0.32);
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(calc(var(--hero-depth) * -10px));
}

.hero-proof strong {
  display: block;
  color: var(--paper);
  font-size: 1.28rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  transform-style: preserve-3d;
  animation: hero-visual-enter 1180ms var(--ease-out-expo) 600ms both;
  display: grid;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -9% auto auto;
  width: min(460px, 72vw);
  height: min(460px, 72vw);
  border: 34px solid rgba(176, 32, 64, 0.35);
  border-radius: 50%;
  filter: drop-shadow(0 0 60px rgba(176, 32, 64, 0.28));
}

.visual-card {
  position: absolute;
  border: 1px solid var(--line-dark);
  background: #120f10;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform:
    translate3d(0, var(--card-y, 0px), 0)
    rotateZ(var(--card-rotate, 0deg));
  transition: transform 260ms var(--ease-out-quart);
  will-change: transform;
}

.tech-orbit {
  position: absolute;
  inset: 4% 0 auto auto;
  z-index: 2;
  width: min(640px, 86vw);
  height: min(640px, 86vw);
  opacity: 0.92;
  transform:
    translate3d(0, calc(var(--hero-depth) * 48px), -80px)
    rotateX(calc(var(--hero-depth) * 10deg));
  pointer-events: none;
}

.tech-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 32, 64, 0.2), transparent 64%);
  filter: blur(18px);
}

.tech-orbit canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.tech-orbit.is-static {
  display: none;
}

.visual-main {
  display: none;
  inset: 0 8% auto auto;
  width: min(430px, 82vw);
  z-index: 2;
}

.visual-main img {
  width: 100%;
}

.visual-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(11, 9, 10, 0.72);
  border: 1px solid var(--line-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-note {
  right: 0;
  bottom: 12px;
  width: min(330px, 78vw);
  padding: 20px;
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 15, 16, 0.82);
  backdrop-filter: blur(14px);
}

.visual-note span {
  color: #d84a68;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-note strong {
  display: block;
  margin-top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.04;
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 44px;
}

.section-heading.compact {
  margin-inline: 0;
}

.authority-grid,
.proof-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.method-list,
.services-grid,
.benefits-grid,
.numbers,
.testimonials,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

.method-list article,
.services-grid article,
.benefits-grid > div,
.testimonials article,
.faq-grid article {
  border: 1px solid var(--line-light);
  background: #fff;
  padding: 26px;
  transition:
    transform 260ms var(--ease-out-quart),
    border-color 260ms var(--ease-out-quart),
    background 260ms var(--ease-out-quart),
    box-shadow 260ms var(--ease-out-quart);
}

.method-list article:hover,
.services-grid article:hover,
.benefits-grid > div:hover,
.testimonials article:hover,
.faq-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 32, 64, 0.34);
  box-shadow: 0 22px 56px rgba(11, 9, 10, 0.12);
}

.method-list span,
.services-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--wine);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.method-list p,
.services-grid p,
.testimonials p,
.faq-grid p,
.objection-list p {
  color: #5d575a;
  line-height: 1.7;
}

.services {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
}

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

.services-grid article {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-dark);
}

.services-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.benefits-grid,
.faq-grid {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefits-grid ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.benefits-grid li {
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  color: #4d484a;
  line-height: 1.55;
}

.proof-layout {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.proof-image {
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.numbers {
  max-width: 1180px;
  margin: 42px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.numbers div {
  padding: 30px 24px;
  border-right: 1px solid var(--line-dark);
}

.numbers div:last-child {
  border-right: 0;
}

.numbers strong {
  display: block;
  color: #d84a68;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.85;
}

.numbers span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.testimonials {
  max-width: 1180px;
  margin: 42px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials article {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}

.testimonials p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.testimonials span {
  color: #d84a68;
  font-size: 0.86rem;
  font-weight: 900;
}

.objection-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
}

details {
  border-bottom: 1px solid var(--line-light);
  padding: 24px 0;
  transition: background 220ms var(--ease-out-quart), padding-inline 220ms var(--ease-out-quart);
}

details[open] {
  padding-inline: 16px;
  background: rgba(176, 32, 64, 0.035);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 900;
}

summary::marker {
  color: var(--wine);
}

.conversion {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}

.conversion h2 {
  max-width: 860px;
}

.conversion p {
  max-width: 760px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
  padding: 54px clamp(20px, 5vw, 76px);
  background: #f4f1f2;
  border-top: 1px solid var(--line-light);
}

.site-footer img {
  width: 220px;
}

.site-footer p {
  max-width: 520px;
  color: #5d575a;
  line-height: 1.7;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
  color: #3a3436;
  font-weight: 800;
}

.footer-contact span {
  color: var(--wine);
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition:
    opacity 680ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 680ms var(--ease-out-expo) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.section-dark .reveal-item {
  transform: translate3d(0, 52px, 0) rotateX(5deg) scale(0.985);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

@keyframes curtain-exit {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  62% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translate3d(-28px, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-visual-enter {
  from {
    opacity: 0;
    transform: translate3d(42px, 36px, -80px) rotateY(-12deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .services,
  .authority-grid,
  .proof-layout,
  .conversion,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .tech-orbit {
    inset: 0 -8% auto auto;
    width: min(540px, 100vw);
    height: min(540px, 100vw);
    opacity: 0.86;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand img {
    width: 160px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .section-dark,
  .section-light {
    padding: 64px 18px;
  }

  h1 {
    font-size: clamp(2.85rem, 15.8vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
  }

  .hero-proof,
  .method-list,
  .services-grid,
  .benefits-grid,
  .numbers,
  .testimonials,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .tech-orbit {
    inset: 4px -18px auto auto;
    width: 330px;
    height: 330px;
    opacity: 0.84;
  }

  .visual-main {
    inset: 0 auto auto 0;
    width: 88vw;
  }

  .numbers div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .numbers div:last-child {
    border-bottom: 0;
  }
}

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

  .page-curtain,
  .page-progress,
  .tech-orbit {
    display: none !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
