:root {
  --landing-bg: #070810;
  --landing-surface: rgba(16, 18, 29, 0.82);
  --landing-surface-strong: #11141f;
  --landing-line: rgba(255, 255, 255, 0.085);
  --landing-line-strong: rgba(255, 255, 255, 0.14);
  --landing-text: #f5f5f7;
  --landing-muted: #9da3b2;
  --landing-quiet: #72798b;
  --landing-accent: #5e72b2;
  --landing-accent-bright: #52649f;
  --landing-cyan: #48b9df;
  --landing-rose: #e0a2ae;
}

body {
  background:
    radial-gradient(circle at 50% 8%, rgba(70, 89, 160, 0.13), transparent 33rem),
    radial-gradient(circle at 78% 42%, rgba(145, 70, 105, 0.055), transparent 34rem),
    var(--landing-bg);
  color: var(--landing-text);
}

.container {
  width: min(calc(100% - 48px), 1160px);
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  min-height: 68px;
  border-bottom-color: rgba(255, 255, 255, 0.065);
  background: rgba(7, 8, 16, 0.78);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-size: 1.03rem;
}

.nav-links {
  min-height: 68px;
}

.nav-links a,
.nav-signin {
  color: var(--landing-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-signin:hover {
  color: var(--landing-text);
}

.nav-cta,
.btn-primary {
  border-color: transparent;
  background: var(--landing-accent);
  color: #fff;
  box-shadow: none;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--landing-accent-bright);
}

.btn-ghost {
  border-color: var(--landing-line-strong);
  background: rgba(255, 255, 255, 0.018);
  color: var(--landing-text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: center;
  padding: 150px 0 112px;
  overflow: hidden;
  border-bottom-color: var(--landing-line);
}

.hero::before {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(980px, 90vw);
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(71, 92, 174, 0.11), rgba(123, 78, 132, 0.04) 48%, transparent 72%);
  content: '';
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  min-height: 34px;
  align-items: center;
  margin: 0 0 26px;
  padding: 0 14px;
  border: 1px solid rgba(72, 185, 223, 0.24);
  border-radius: 999px;
  background: rgba(72, 185, 223, 0.055);
  color: #9dcfe0;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(4.2rem, 7.2vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
}

.hero h1 .line-1 {
  color: var(--landing-text);
}

.hero h1 .line-2 {
  margin-top: 8px;
  background: linear-gradient(96deg, #aebcff 7%, #d5d9eb 51%, #e4a9b5 92%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-sub {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--landing-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-ctas {
  justify-content: center;
  margin-top: 30px;
}

.btn-large {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
  color: var(--landing-quiet);
}

.hero-proof span {
  padding: 0 16px;
  border-right: 1px solid var(--landing-line);
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-proof span:last-child {
  border-right: 0;
}

.section {
  padding: 108px 0;
  border-bottom-color: var(--landing-line);
  background: transparent;
}

.section-head {
  display: grid;
  max-width: 840px;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-head h2,
.walkthrough-copy h2 {
  margin-top: 14px;
  color: var(--landing-text);
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-head p,
.walkthrough-copy p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--landing-muted);
  line-height: 1.7;
}

.section-tag,
.window-kicker,
.proof-label,
.plan-kicker,
.signal-label {
  color: #9ba8d2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

.loop-row {
  display: grid;
  min-height: 270px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-content: start;
  column-gap: 8px;
  padding: 28px 24px;
  border: 0;
  border-right: 1px solid var(--landing-line);
  border-radius: 0;
  background: transparent;
}

.loop-row:last-child {
  border-right: 0;
}

.loop-row:nth-child(2) {
  border-color: var(--landing-line);
  background: rgba(115, 136, 209, 0.045);
}

.loop-row > * {
  padding: 0;
}

.loop-number {
  grid-row: 1 / 4;
  place-items: start;
  padding-top: 4px;
  color: var(--landing-quiet);
}

.loop-name {
  gap: 7px;
}

.loop-name span {
  color: #9ba8d2;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loop-name h3 {
  font-size: 1.17rem;
  line-height: 1.25;
}

.loop-copy {
  align-self: start;
  margin-top: 20px;
  color: var(--landing-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.loop-proof {
  margin-top: 24px;
  color: #c5cad8;
  font-size: 0.69rem;
  font-weight: 500;
}

.feature-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--landing-line);
}

.feature {
  min-height: 300px;
  padding: 30px 34px 32px;
  border: 0;
  border-right: 1px solid var(--landing-line);
  border-radius: 0;
  background: transparent;
}

.feature:last-child {
  border-right: 0;
}

.feature-index {
  color: #8e9ac5;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
}

.feature h3 {
  margin: 38px 0 15px;
  font-size: 1.5rem;
  line-height: 1.14;
}

.feature p {
  color: var(--landing-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.feature-stat {
  margin-top: 28px;
  color: #aab3d1;
  font-size: 0.69rem;
  font-weight: 500;
}

.walkthrough-grid {
  display: grid;
  max-width: 1060px;
  grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1.25fr);
  align-items: center;
  gap: clamp(48px, 8vw, 92px);
}

.walkthrough-copy h2 {
  margin-bottom: 18px;
}

.walkthrough-copy p {
  margin: 0;
}

.walkthrough-list {
  margin-top: 30px;
  border-top-color: var(--landing-line);
}

.walkthrough-list div {
  border-bottom-color: var(--landing-line);
}

.walkthrough-list span,
.hero-video-label {
  color: var(--landing-muted);
}

.hero-video-shell {
  border-color: var(--landing-line-strong);
  border-radius: 16px;
  background: var(--landing-surface-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.hero-video-play {
  background: rgba(7, 8, 16, 0.36);
}

.hero-video-play span {
  border-color: var(--landing-line-strong);
  background: rgba(7, 8, 16, 0.9);
}

.hero-video-meta {
  border-top-color: var(--landing-line);
}

.hero-video-control {
  border-color: var(--landing-line);
  color: #aeb9dc;
}

.formats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

.format {
  min-height: 160px;
  padding: 24px 18px;
  border: 0;
  border-right: 1px solid var(--landing-line);
  border-radius: 0;
  background: transparent;
}

.format:last-child {
  border-right: 0;
}

.format-abbr {
  color: #a7b5e0;
  font-size: 1.12rem;
}

.format h3 {
  margin: 28px 0 8px;
}

.format p {
  color: var(--landing-muted);
  font-size: 0.74rem;
}

.pricing-cards {
  gap: 14px;
}

.pricing-card {
  min-height: 470px;
  padding: 28px;
  border-color: var(--landing-line);
  border-radius: 16px;
  background: rgba(16, 18, 29, 0.62);
  box-shadow: none;
}

.pricing-card--plus {
  border-color: rgba(115, 136, 209, 0.58);
  background: rgba(28, 34, 55, 0.72);
}

.pricing-badge {
  color: #adb9df;
}

.pricing-price {
  font-size: 2.9rem;
}

.pricing-period,
.pricing-annual,
.pricing-features li {
  color: var(--landing-muted);
}

.pricing-features {
  border-top-color: var(--landing-line);
}

.pricing-features li::before {
  color: #9ca9cf;
}

.final-cta {
  position: relative;
  padding: 126px 0;
  overflow: hidden;
  border-bottom-color: var(--landing-line);
}

.final-cta h2 {
  max-width: 920px;
  font-size: clamp(3rem, 6.3vw, 5.7rem);
}

.final-cta p {
  color: var(--landing-muted);
}

.footer {
  background: rgba(5, 6, 12, 0.42);
}

.footer-links,
.footer-copy {
  color: var(--landing-muted);
}

@media (max-width: 1080px) {
  .hero-copy {
    max-width: 880px;
  }

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

  .loop-row:nth-child(2) {
    border-right: 0;
  }

  .loop-row:nth-child(-n + 2) {
    border-bottom: 1px solid var(--landing-line);
  }

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

  .format:nth-child(3) {
    border-right: 0;
  }

  .format:nth-child(-n + 3) {
    border-bottom: 1px solid var(--landing-line);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), 1160px);
  }

  .nav {
    grid-template-columns: 1fr auto auto;
    min-height: 62px;
    padding: 0 14px;
  }

  .nav-links {
    top: 70px;
    border-color: var(--landing-line-strong);
    background: rgba(14, 16, 25, 0.97);
  }

  .nav-toggle {
    border-color: var(--landing-line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--landing-text);
  }

  .hero {
    min-height: 760px;
    padding: 126px 0 92px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 11vw, 5.1rem);
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .feature-ledger {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .walkthrough-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .walkthrough-copy {
    max-width: 680px;
    text-align: center;
  }

  .walkthrough-copy p {
    margin: 0 auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .nav-logo img {
    width: 24px;
    height: 24px;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 700px;
    padding: 112px 0 78px;
  }

  .hero::before {
    top: 8%;
    height: 480px;
  }

  .hero-badge {
    margin-bottom: 22px;
    font-size: 0.63rem;
    letter-spacing: 0.07em;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: 0.96;
  }

  .hero h1 .line-2 {
    margin-top: 6px;
  }

  .hero-sub {
    margin-top: 24px;
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .hero-ctas {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-ctas a {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 9px;
    margin-top: 25px;
  }

  .hero-proof span {
    padding: 0 8px;
    border: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-head h2,
  .walkthrough-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .loop-grid {
    grid-template-columns: 1fr;
  }

  .loop-row,
  .loop-row:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
    background: transparent;
  }

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

  .feature {
    padding: 28px 12px;
  }

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

  .format,
  .format:nth-child(3) {
    border-right: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
  }

  .format:nth-child(even) {
    border-right: 0;
  }

  .format:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pricing-card {
    padding: 25px 21px;
  }

  .final-cta {
    padding: 94px 0;
  }

  .hero-video-meta {
    align-items: center;
    flex-direction: row;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    transform: translateX(-50%);
  }
}
