:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #1a1d21;
  --muted: #5c6570;
  --line: #e3e6ea;
  --brand: #c41e3a;
  --brand-soft: rgba(196, 30, 58, 0.12);
  --brand-glow: rgba(196, 30, 58, 0.35);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 0 transparent);
  animation: mark-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
    mark-glow 4s ease-in-out 0.7s infinite;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(56px, 10vw, 112px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(196, 30, 58, 0.04) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: hero-scan 8s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  animation: halo 5s ease-in-out infinite;
}

.hero-logo {
  width: min(180px, 100%);
  height: auto;
  position: relative;
  animation: hero-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both,
    hero-float 6s ease-in-out 0.85s infinite;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy .lede {
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 38ch;
}

.hero-copy .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px var(--brand-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.install {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 72px;
}

.install-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
}

.install-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.install-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

pre {
  margin: 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: #111418;
  color: #e7ecf3;
  font-family: var(--mono);
  font-size: 0.88rem;
  overflow-x: auto;
}

.features {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  opacity: 0.92;
}

@keyframes mark-enter {
  from {
    opacity: 0;
    transform: scale(0.86) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes mark-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 10px var(--brand-glow));
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes halo {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

@keyframes hero-scan {
  0%,
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo-wrap {
    margin: 0 auto;
    max-width: 140px;
  }

  .hero-copy .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
