:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #fafafd;
  --text: #1d1d1f;
  --muted: #606067;
  --border: #dadbe0;
  --border-strong: #c7c9d0;
  --link: #0066cc;
  --accent: #0a84ff;
  --accent-soft: #e6f1ff;
  --max-width: 1024px;
  --radius: 18px;
  --shadow-soft: 0 10px 28px rgba(24, 36, 58, 0.06);
  --shadow-lift: 0 18px 44px rgba(18, 33, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 50% -180px, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

body::before {
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.14) 0%, rgba(10, 132, 255, 0) 68%);
}

body::after {
  bottom: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(90, 100, 140, 0.14) 0%, rgba(90, 100, 140, 0) 68%);
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(14, 20, 32, 0.07);
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: none;
  background: rgba(10, 132, 255, 0.1);
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  background: rgba(10, 132, 255, 0.12);
}

main {
  padding: 3.4rem 0 4.4rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.16) 0%, rgba(10, 132, 255, 0) 72%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a4d6b;
  background: #eef4fd;
  border: 1px solid #d9e7fb;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

h1,
h2 {
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  max-width: 70ch;
}

.muted {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.24);
}

.btn-secondary {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

.stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.panel-title {
  margin-bottom: 0.55rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.feature {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  border-radius: 14px;
  padding: 1rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.app-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  box-shadow: var(--shadow-lift);
  padding: 1.5rem;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(160deg, #0a84ff 0%, #5ac8fa 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.list {
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}

.list li {
  margin: 0.3rem 0;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.reveal {
  animation: reveal-up 620ms ease both;
}

.reveal.delay-1 {
  animation-delay: 90ms;
}

.reveal.delay-2 {
  animation-delay: 160ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.delay-1,
  .reveal.delay-2 {
    animation: none;
  }

  .btn,
  .site-nav a {
    transition: none;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 58px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .site-nav {
    width: 100%;
    gap: 0.55rem;
  }

  main {
    padding-top: 2rem;
  }

  .hero {
    padding: 1.5rem;
  }

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

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
