:root {
  --accent: #5b3ea5;
  --accent-hover: #4a3290;
  --accent-soft: rgba(91, 62, 165, 0.04);
  --accent-border: rgba(91, 62, 165, 0.2);
  --accent-shadow: rgba(91, 62, 165, 0.25);
  --gold: #c9a84c;
  --gold-soft: rgba(201, 168, 76, 0.06);
  --gold-border: rgba(201, 168, 76, 0.3);
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --font-heading: "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.container {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 4rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  font-family: var(--font-heading, var(--font-h, "DM Sans", system-ui, sans-serif));
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--gray-900, #111827);
  -webkit-font-smoothing: antialiased;
}
.logo-word {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  gap: 0;
}
.logo-text {
  color: var(--gray-900, #111827);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo-l {
  letter-spacing: -0.07em;
  margin-right: 0.01em;
}
.logo-dark { color: var(--gray-900, #111827); }
.logo-accent { color: var(--accent, #5b3ea5); }
/* Infinity = the "oo" in Loop */
.logo-infinity + .logo-text {
  margin-left: -0.04em;
}
.logo-infinity {
  display: inline-block;
  color: var(--accent, #5b3ea5);
  font-family: "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.48em;
  font-weight: 700;
  line-height: 1;
  margin: 0 -0.02em 0 0.01em;
  padding: 0;
  /* optical baseline match with L / p */
  transform: translateY(0.05em);
  letter-spacing: 0;
  vertical-align: baseline;
  flex-shrink: 0;
}
.logo-sm { font-size: 1.12rem; }
.logo-sm .logo-infinity {
  font-size: 1.44em;
  transform: translateY(0.05em);
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 25px var(--accent-shadow);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-lines .line {
  stroke: rgba(91, 62, 165, 0.2);
  stroke-width: 0.15;
  stroke-dasharray: 0.4 0.3;
  vector-effect: non-scaling-stroke;
}

.hero-lines .line-gold {
  stroke: rgba(201, 168, 76, 0.4);
}

.hero-target {
  position: absolute;
  left: 75%;
  top: 55%;
  transform: translate(-50%, -50%);
  animation: fadeIn 0.8s ease 0.3s both;
}

.target-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.target-ring-outer {
  width: 36px;
  height: 36px;
  left: -12px;
  top: -12px;
  animation: pulseRing 3s ease infinite;
}

.target-ring-inner {
  width: 26px;
  height: 26px;
  left: -7px;
  top: -7px;
  border-color: rgba(201, 168, 76, 0.4);
}

.target-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
}

.target-label {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  animation: fadeIn 0.8s ease 0.9s both;
}

.icp-tag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -40%) scale(0.9);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
  animation: tagIn 0.6s ease var(--delay) both;
}

.icp-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  animation: pulse 2s ease infinite;
}

.icp-tag-gold {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-soft);
}

.icp-tag-gold::before {
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.h1-bold {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gray-900);
}

.h1-light {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: var(--gray-600);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Logo marquee */
.logo-marquee {
  padding: 2rem 0 0;
  overflow: hidden;
}

.logo-marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.logo-marquee-inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wordmark {
  flex-shrink: 0;
  padding: 0 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--gray-400);
  filter: grayscale(1);
  opacity: 0.45;
  transition: opacity 0.3s, filter 0.3s;
  white-space: nowrap;
}

.logo-marquee:hover .logo-wordmark {
  opacity: 0.65;
}

/* Trust strip */
.trust-strip {
  padding: 2.5rem 0;
  text-align: center;
}

.trust-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-400);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.6;
}

.trust-strip strong {
  color: var(--gray-500);
  font-weight: 500;
}

/* Stats */
.stats {
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 56rem;
  margin-inline: auto;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.stat-sub {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--gray-900);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
}

/* Screen cards */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.screen-card,
.screen-card-link {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.screen-card:hover {
  border-color: rgba(91, 62, 165, 0.3);
  box-shadow: 0 20px 40px rgba(91, 62, 165, 0.1);
  transform: translateY(-2px);
}

.screen-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.screen-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 250%;
  transform: scale(0.4);
  transform-origin: top left;
  border: 0;
  pointer-events: none;
}

.live-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #22c55e;
  color: var(--white);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.screen-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.screen-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.screen-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  margin: 0 0 0.75rem;
}

.screen-body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.screen-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.screen-card:hover .screen-link {
  text-decoration: underline;
}

.screen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.screen-footer {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.screen-footer a {
  font-weight: 600;
}

/* Build grid */
.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.build-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
}

.build-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.5rem;
}

.build-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Value section */
.value-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.value-intro h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--gray-900);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.value-intro h2 em {
  font-style: normal;
  color: var(--accent);
}

.value-intro p {
  line-height: 1.65;
  margin: 0;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.value-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
}

.value-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold);
}

.value-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.35rem;
}

.value-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.price-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
}

.price-featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(91, 62, 165, 0.1);
}

.price-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.price-badge-muted {
  background: var(--gray-200);
  color: var(--gray-600);
}

.price-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gray-900);
  margin: 0 0 0.5rem;
}

.price-tagline {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.price-amount {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.price-amount strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.price-tier-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0 0 1.25rem;
}

.price-includes-label,
.price-note {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--gray-600);
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  font-size: 0.9rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-guarantee {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.pricing-footer {
  margin-top: 2rem;
  font-size: 0.95rem;
}

.center {
  text-align: center;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 48rem;
  margin-inline: auto;
}

.process-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.process-list li:last-child {
  border-bottom: none;
}

.process-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.process-list h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.35rem;
}

.process-list p {
  margin: 0;
  font-size: 0.95rem;
}

/* Founder */
.founder-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.founder-image {
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--accent) 0%, #3d2a6e 100%);
  position: relative;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.85);
}

.founder-copy h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--gray-900);
  margin: 0 0 1rem;
}

.founder-copy p {
  line-height: 1.65;
  margin: 0 0 1rem;
}

.founder-close {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* CTA */
.cta-section {
  padding-bottom: 6rem;
}

.cta-box {
  text-align: center;
  max-width: 40rem;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--gray-900);
  margin: 0 0 1rem;
}

.cta-box p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.cta-note {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  color: var(--gray-400) !important;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-100);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tagIn {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -40%) scale(0.9);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-canvas {
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .hero-canvas {
    display: none;
  }

  .stats-grid,
  .screen-grid,
  .build-grid,
  .value-split,
  .pricing-grid,
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-image {
    max-width: 220px;
    margin-inline: auto;
  }

  .process-list li {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

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

  .screen-actions .btn {
    width: 100%;
  }
}