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

:root {
  --bg: #0a0a08;
  --ink: #f0ede6;
  --ink-dim: #6b6860;
  --ink-ghost: #3a3935;
  --accent: #c8f55a;
  --serif: "Fraunces", Georgia, serif;
  --mono: "DM Mono", monospace;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
}

body {
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 237, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 237, 230, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -0.5px -0.5px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 20%, transparent 75%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

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

#fp-canvas {
  position: fixed;
  right: -18vw;
  top: 50%;
  transform: translateY(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 1100px;
  max-height: 1100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: fpReveal 2.4s ease 0.8s forwards;
}

@keyframes fpReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.screen {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4vw, 56px);
  max-width: 100vw;
  position: relative;
  z-index: 1;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.logo {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.logo span,
.domain span {
  color: var(--accent);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  padding: 11px 16px;
  border-radius: 2px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--bg);
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.login-link:hover {
  background: #d4ff6a;
  border-color: #d4ff6a;
  color: var(--bg);
  transform: translateY(-1px);
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px) 0;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 36px);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.25s forwards;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-ghost);
  padding: 6px 12px 6px 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.025);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease infinite;
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: clamp(10px, 1vw, 11px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  white-space: nowrap;
}

.eyebrow-text strong,
.proof-item strong {
  color: var(--ink);
  font-weight: 400;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: clamp(20px, 2.5vw, 32px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.headline span { display: block; }
.headline .line-3 {
  font-style: italic;
  font-size: clamp(48px, 9.2vw, 128px);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.subheadline {
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 520px;
  margin-bottom: clamp(28px, 4vw, 48px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.cta-wrap {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: clamp(12px, 1.5vw, 16px) clamp(20px, 2.5vw, 28px);
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-btn:hover {
  background: #d4ff6a;
  transform: translateY(-1px);
}

.cta-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.cta-btn:hover .cta-arrow { transform: translateX(3px); }

.social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 300;
  color: var(--ink-ghost);
  white-space: nowrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-divider {
  width: 1px;
  height: 14px;
  background: var(--ink-ghost);
  opacity: 0.5;
}

.testimonial-wrap {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--ink-ghost);
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

.testimonial-track {
  position: relative;
  min-height: 80px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-slide.exit {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--ink-dim);
  margin-bottom: 12px;
}

.testimonial-quote .highlight {
  color: var(--ink);
  font-style: italic;
}

.testimonial-attr {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ink-ghost);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.testimonial-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 16px;
  height: 2px;
  background: var(--ink-ghost);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  border-radius: 1px;
}

.dot.active {
  background: var(--accent);
  width: 28px;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.3s forwards;
}

.domain,
.legal {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-ghost);
  text-transform: uppercase;
}

.domain { letter-spacing: 0.2em; }

.vert-accent {
  position: fixed;
  right: clamp(24px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
  z-index: 1;
}

.vert-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--ink-ghost), transparent);
}

.vert-text {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-ghost);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

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

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

@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .screen { min-height: 100vh; }
  #fp-canvas {
    right: -42vw;
    top: auto;
    bottom: -10vw;
    transform: none;
    width: 110vw;
    height: 110vw;
  }
  .eyebrow-text,
  .social-proof { white-space: normal; }
  .social-proof { gap: 12px; }
  .bottom-bar { flex-direction: column; align-items: flex-start; }
  .vert-accent { display: none; }
}
