:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --link: #0066cc;
  --link-hover: #0077ed;
  --button: #0071e3;
  --button-hover: #0077ed;
  --button-text: #ffffff;
  --hairline: rgba(0, 0, 0, 0.08);
  --hero-wash: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 55%, #eef1f5 100%);
  --max: 980px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:focus-visible,
.button:focus-visible,
.nav-button:focus-visible {
  outline: 2px solid var(--button);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 48px;
  padding: 0 var(--pad);
}

.logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 0.85rem;
  border-radius: 980px;
  background: var(--button);
  color: var(--button-text) !important;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 1 !important;
  text-decoration: none !important;
}

.nav-button:hover {
  background: var(--button-hover);
  color: var(--button-text) !important;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 48px);
  padding: clamp(4rem, 12vh, 7rem) var(--pad);
  overflow: hidden;
  background: var(--hero-wash);
}

.hero-stage {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(0, 113, 227, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 0, 0, 0.03), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 34em;
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 980px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.button-primary {
  background: var(--button);
  color: var(--button-text) !important;
}

.button-primary:hover {
  background: var(--button-hover);
  color: var(--button-text) !important;
}

.button-secondary {
  background: transparent;
  color: var(--link) !important;
}

.button-secondary:hover {
  color: var(--link-hover) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background: var(--bg-elevated);
}

.section-tint {
  background: var(--bg);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.section-intro {
  margin: 0 auto 3rem;
  max-width: 32em;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
}

.feature-list,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

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

.feature-list h3,
.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-list p,
.steps p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.steps {
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact {
  text-align: center;
}

.footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.33337;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--pad) 2rem;
}

.footer a {
  color: var(--text-secondary);
}

.footer a:hover {
  color: var(--link);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-content > * {
  animation: fade-up 0.9s var(--ease) both;
}

.hero-brand { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.25s; }
.hero-actions { animation-delay: 0.35s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 834px) {
  .feature-list {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --text-secondary: #3a3a3c;
    --hairline: rgba(0, 0, 0, 0.35);
  }

  .button-primary,
  .nav-button {
    border: 2px solid #000;
  }
}
