:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --line: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 140svh;
  background: #050505;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 24%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 56%);
}

.hero-logo {
  position: absolute;
  top: max(28px, env(safe-area-inset-top));
  left: 50%;
  display: block;
  transform: translateX(-50%);
}

.hero-logo img {
  display: block;
  width: clamp(132px, 12vw, 176px);
  height: auto;
}

.hero-copy {
  position: absolute;
  right: 24px;
  bottom: clamp(48px, 8vh, 92px);
  left: 24px;
  margin: 0 auto;
  max-width: 900px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.75rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.button-light {
  background: #ffffff;
  color: #000000;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 2px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: saturate(180%) blur(18px);
}

.section-nav a,
.site-footer a {
  text-decoration: none;
}

.section-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.section-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.section {
  padding: clamp(96px, 14vw, 180px) max(24px, 6vw);
}

.section > h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-intro {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.feature-grid,
.price-grid {
  display: grid;
  max-width: 1180px;
  margin: clamp(64px, 9vw, 112px) auto 0;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.feature,
.price-card {
  border-radius: 30px;
  padding: clamp(34px, 4vw, 56px);
}

.feature {
  background: var(--soft);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 44px;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: #ffffff;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon-fill {
  fill: currentColor;
  stroke: none;
}

.feature h3,
.price-card h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.feature > p,
.price-card > p:not(.price) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.pricing {
  background: var(--soft);
}

.price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}

.price-card {
  background: var(--paper);
}

.price-card-pro {
  background: var(--ink);
  color: #ffffff;
}

.price-card-pro > p:not(.price) {
  color: rgba(255, 255, 255, 0.66);
}

.price {
  margin: 28px 0 0;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  letter-spacing: -0.05em;
}

.price-coming {
  font-size: clamp(2.25rem, 4.25vw, 3.75rem);
  line-height: 1;
}

.pricing-note {
  margin: 48px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.servers {
  background: var(--ink);
  color: #ffffff;
}

.servers .section-intro {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.66);
}

.server-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  padding: 0;
  list-style: none;
}

.server-list li {
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 1.1rem;
  font-weight: 650;
}

.servers .fine-print,
.beta .fine-print {
  color: rgba(255, 255, 255, 0.56);
}

.beta {
  background: #000000;
  color: #ffffff;
}

.beta .section-intro {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
}

.signup-form {
  position: relative;
  display: flex;
  width: min(100%, 520px);
  margin: 36px auto 0;
  gap: 10px;
}

.signup-form input[type="email"] {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 11px 20px;
  font: inherit;
  font-size: 1rem;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.signup-form input[type="email"]:focus {
  border-color: #ffffff;
  outline: 2px solid transparent;
}

.signup-form .button {
  min-height: 48px;
  margin-top: 0;
  cursor: pointer;
}

.signup-consent {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  line-height: 1.5;
}

.signup-consent a {
  color: #ffffff;
}

.signup-honeypot,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.faq-list {
  max-width: 800px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 4px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 680px;
  margin: 0;
  padding: 0 4px 28px;
  color: var(--muted);
  line-height: 1.6;
}

.download {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fine-print {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal-page {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 56px 0 96px;
  text-align: left;
}

.legal-header {
  margin-bottom: 72px;
  text-align: center;
}

.legal-header a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.legal-header nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legal-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.legal-page h2 {
  margin-top: 48px;
  font-size: 1.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

@supports (animation-timeline: scroll()) {
  .hero-image {
    animation: hero-image-exit linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 40vh;
  }

  .hero-shade {
    animation: hero-shade-exit linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 40vh;
  }

  .hero-copy {
    animation: hero-copy-exit linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 32vh;
  }

  @keyframes hero-image-exit {
    to {
      filter: saturate(0.82) brightness(0.65);
      transform: scale(1.1) translateY(-1.5%);
    }
  }

  @keyframes hero-shade-exit {
    to {
      background-color: rgba(0, 0, 0, 0.3);
    }
  }

  @keyframes hero-copy-exit {
    to {
      opacity: 0;
      transform: translateY(-54px);
    }
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 125svh;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-image {
    object-position: 50% center;
  }

  .hero-copy {
    bottom: 48px;
  }

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

  .signup-form {
    flex-direction: column;
  }

  .signup-form .button {
    width: 100%;
  }

  .feature {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .hero-shade,
  .hero-copy {
    animation: none;
  }
}
