:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --ink: #1f2a5c;
  --muted: #686d78;
  --border: #e0e3e8;
  --ring: #2563eb;
  --cb-navy: #0b1f5c;
  --cb-indigo: #2a2f8f;
  --cb-cobalt: #0f3fa0;
  --glass-bg: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(15, 23, 42, 0.09);
  --container: 46rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
}

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

a:hover {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.14);
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
}

.hero-inner > * {
  animation: hero-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-inner > :nth-child(1) {
  animation-delay: 0.05s;
}

.hero-inner > :nth-child(2) {
  animation-delay: 0.14s;
}

.hero-inner > :nth-child(3) {
  animation-delay: 0.23s;
}

.hero-inner > :nth-child(4) {
  animation-delay: 0.32s;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 10vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.title-ink {
  display: block;
  font-weight: 500;
  background-image: linear-gradient(100deg, var(--cb-navy), var(--cb-indigo), var(--cb-cobalt), var(--cb-navy));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 16s ease infinite;
}

.title-muted {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.subline {
  margin: 28px 0 0;
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.btn-solid {
  color: #ffffff;
  background-image: linear-gradient(100deg, var(--cb-navy), var(--cb-indigo), var(--cb-cobalt), var(--cb-navy));
  background-size: 300% 300%;
  animation: gradient-shift 16s ease infinite;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px -10px rgba(15, 23, 42, 0.5);
}

.btn-solid:hover {
  filter: brightness(1.06);
}

.btn-glass {
  color: var(--ink);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.14);
}

.caption {
  margin: 24px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.8;
}

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

@keyframes hero-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

  .hero-inner > *,
  .title-ink,
  .btn-solid {
    animation: none;
  }

  .title-ink,
  .btn-solid {
    background-size: 100% 100%;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(48px, 5.6vw, 76px);
  }

  .subline {
    font-size: 17px;
  }
}

@media (min-width: 48rem) {
  :root {
    --container: 68rem;
  }
}
