:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-float-top: max(0.65rem, env(safe-area-inset-top, 0px) + 0.35rem);
  --nav-stack-clearance: 4.35rem;
  --hero-bloom-dur: 2s;
  --hero-shine-fade-dur: 1.75s;
  --hero-shine-delay: 0.95s;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .slow-line {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .mark {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-shine-wrap {
    animation: none !important;
    transform: none !important;
  }
  .hero-shine {
    opacity: 1 !important;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.nav-dock {
  position: fixed;
  top: var(--nav-float-top);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 0.45rem;
  pointer-events: none;
}

.topnav {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  max-width: calc(100vw - 0.9rem);
  background: #0a0a0a;
  color: #f5f5f5;
  border-radius: 999px;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.topnav-link {
  padding: 0.45rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 245, 0.75);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.topnav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.topnav-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.topnav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  background: #f5f5f5;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}

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

.topnav-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.anchor-target {
  scroll-margin-top: calc(var(--nav-float-top) + var(--nav-stack-clearance));
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-inline-end: 1.1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 999px;
}

.topnav-brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.topnav-mark {
  width: 1.45rem;
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: invert(1);
}

.topnav-word {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-float-top) + var(--nav-stack-clearance));
}

main {
  flex: 1;
}

.wrap {
  width: min(34rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero-mark-wrap {
  position: relative;
  width: min(33rem, 94vw);
  max-width: 100%;
  margin: 0 auto 1.15rem;
}

@media (max-width: 36rem) {
  .hero-mark-wrap {
    width: min(22rem, 68vw);
  }

  .hero-shine {
    width: 118%;
  }
}

.hero-shine-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  transform-origin: center center;
  animation: shineRotate 52s linear var(--hero-shine-delay) infinite;
}

.hero-shine {
  width: 142%;
  max-width: none;
  height: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0;
  animation: shineFadeIn var(--hero-shine-fade-dur) var(--ease) var(--hero-shine-delay) forwards;
}

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

@keyframes shineRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mark {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  display: block;
  transform-origin: center center;
  animation: markBloom var(--hero-bloom-dur) var(--ease) both;
}

@keyframes markBloom {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-logo,
.interest-title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(3rem, 14vw, 6.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--fg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

section {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}

.message {
  text-align: center;
}

.hero-message {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 1.15rem;
  margin: 0.35rem auto 1.5rem;
  max-width: min(42rem, 100%);
}

.message .slow-line {
  margin: 0;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--fg);
  opacity: 0;
  transform: translateY(0.65rem);
}

.message .slow-line--2 {
  margin-top: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.message.hero-message .slow-line--2 {
  margin-top: 0;
}

.message.hero-message .slow-line,
.message.hero-message .slow-line--1,
.message.hero-message .slow-line--2 {
  opacity: 1;
  transform: none;
  animation: none;
}

.message.is-visible .slow-line--1 {
  animation: slowIn 2.6s var(--ease) forwards;
}

.message.is-visible .slow-line--2 {
  animation: slowIn 2.6s var(--ease) 1.15s forwards;
}

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

.mock {
  text-align: center;
}

.mock--fullscreen {
  padding: 0;
  border-top: none;
}

.mock-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0.85rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock--fullscreen .mock-img {
  width: 100%;
  max-width: none;
  height: clamp(200px, 36vh, 420px);
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}

.how {
  text-align: center;
  padding-block: clamp(6rem, 16vw, 11rem);
  border-top: none;
}

.how-heading {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.interest {
  text-align: center;
  padding-block: clamp(7rem, 18vw, 12rem);
}

.interest-lede {
  margin: 0 auto;
  max-width: 27rem;
  font-size: clamp(0.95rem, 2vw, 1.0625rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.6;
  color: var(--muted);
}

.interest-actions {
  margin: 1.25rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 26rem;
}

.interest-actions-note {
  margin: 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.35rem);
  text-align: center;
}

.how-step {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1rem;
  max-width: 28rem;
  margin-inline: auto;
}

.how-step-icon {
  line-height: 0;
  display: flex;
  justify-content: center;
}

.how-step-icon img {
  width: clamp(2.125rem, 5vw, 2.5rem);
  height: auto;
  display: block;
}

.how-step-body {
  min-width: 0;
  max-width: 24rem;
  text-align: center;
}

.how-step-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
}

.how-step-desc {
  margin: 0;
  font-size: clamp(0.9375rem, 1.9vw, 1.03125rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.55;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn strong {
  font-weight: 700;
}

.btn:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

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

.btn--dark {
  color: #f5f5f5;
  background: #0a0a0a;
  border-color: #0a0a0a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn--dark:hover {
  color: #fff;
  background: #141414;
  border-color: #141414;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--dark:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #0a0a0a;
}

footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(0.75rem) scale(0.97);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.is-visible {
  animation-play-state: running;
}

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