:root {
  color-scheme: light dark;
  --bg: #faf8f5;
  --bg-subtle: #f3f0ea;
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.65);
  --text: #1c1917;
  --text-soft: #44403c;
  --muted: #78716c;
  --border: rgba(28, 25, 23, 0.09);
  --border-strong: rgba(28, 25, 23, 0.14);
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(124, 58, 237, 0.12);
  --warm: #d97706;
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 56px rgba(28, 25, 23, 0.1);
  --shadow-shot: 0 28px 64px rgba(15, 23, 42, 0.14);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 3.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0908;
    --bg-subtle: #141211;
    --surface: #1c1917;
    --surface-2: rgba(28, 25, 23, 0.72);
    --text: #fafaf9;
    --text-soft: #d6d3d1;
    --muted: #a8a29e;
    --border: rgba(250, 250, 249, 0.08);
    --border-strong: rgba(250, 250, 249, 0.14);
    --accent: #60a5fa;
    --accent-2: #a78bfa;
    --accent-soft: rgba(96, 165, 250, 0.12);
    --accent-glow: rgba(167, 139, 250, 0.1);
    --warm: #fbbf24;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.55);
    --shadow-shot: 0 32px 72px rgba(0, 0, 0, 0.55);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -15%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, var(--accent-glow), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 85%, rgba(217, 119, 6, 0.06), transparent 50%),
    var(--bg);
}

@media (prefers-color-scheme: dark) {
  .bg-grid {
    opacity: 0.25;
  }

  .bg-glow {
    background:
      radial-gradient(ellipse 75% 50% at 50% -12%, rgba(96, 165, 250, 0.14), transparent 52%),
      radial-gradient(ellipse 48% 38% at 100% 8%, rgba(167, 139, 250, 0.08), transparent 48%),
      radial-gradient(ellipse 40% 32% at 0% 88%, rgba(251, 191, 36, 0.05), transparent 48%),
      var(--bg);
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text) !important;
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand:hover .brand-text {
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 22%;
  box-shadow: var(--shadow-xs);
}

.brand-text {
  display: none;
}

@media (min-width: 480px) {
  .brand-text {
    display: inline;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 640px) {
  .site-nav {
    gap: 0.65rem;
  }
}

.nav-link {
  display: none;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted) !important;
  text-decoration: none !important;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

@media (min-width: 720px) {
  .nav-link {
    display: inline-flex;
  }
}

.nav-link:hover {
  color: var(--text) !important;
  background: var(--surface-2);
  text-decoration: none !important;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  color: #fff !important;
  box-shadow:
    0 1px 2px rgba(37, 99, 235, 0.2),
    0 8px 24px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff !important;
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.28),
    0 14px 36px rgba(79, 70, 229, 0.28);
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.35),
      0 10px 28px rgba(59, 130, 246, 0.25);
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  }
}

.btn-secondary {
  background: var(--surface);
  color: var(--text) !important;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    background: var(--surface-2);
  }

  .btn-secondary:hover {
    background: #292524;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--muted) !important;
  border-color: transparent;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
}

.btn-ghost:hover {
  color: var(--text) !important;
  background: var(--surface-2);
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 3.5rem;
  }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-visual {
    align-items: flex-start;
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm), var(--accent));
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero-icon-shell {
  padding: 0.5rem;
  background: linear-gradient(150deg, var(--surface) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border);
  border-radius: 28%;
  box-shadow: var(--shadow-md);
}

@media (prefers-color-scheme: dark) {
  .hero-icon-shell {
    background: linear-gradient(150deg, #292524 0%, #1c1917 100%);
  }
}

.hero-icon {
  display: block;
  width: min(112px, 28vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  .hero-icon {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  }
}

.hero-copy {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-copy {
    text-align: left;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, var(--warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  .hero-accent {
    background: linear-gradient(120deg, #93c5fd 0%, #c4b5fd 55%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.tagline {
  color: var(--text-soft);
  font-size: 1.125rem;
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .tagline {
    margin-left: 0;
    margin-right: 0;
  }
}

.tagline strong {
  color: var(--text);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-row {
    justify-content: flex-start;
  }
}

.hero-meta {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Sections */
.section {
  margin-bottom: 4rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
  color: var(--text);
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.35rem 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  .feature-card:hover {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  }
}

.feature-card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 960px) {
  .feature-card-wide {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.5rem;
    align-items: start;
  }

  .feature-card-wide .feature-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--text);
}

.feature-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Screenshots */
.section-shots .section-head {
  margin-bottom: 2rem;
}

.shot-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.shot {
  margin: 0;
}

.shot-frame {
  border-radius: var(--radius-lg);
  padding: 0.55rem;
  background: linear-gradient(155deg, color-mix(in srgb, var(--surface) 90%, var(--accent-soft)), var(--surface-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .shot-frame {
    background: linear-gradient(155deg, #292524, #1c1917);
  }
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}

.shot figcaption {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-style: normal;
  max-width: 48rem;
}

.shot-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.shot-pair {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .shot-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.shot-hero .shot-frame {
  box-shadow: var(--shadow-lg);
}

/* Requirements */
.requirements-card {
  padding: 1.65rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 42rem;
}

.requirements-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.requirements-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 500;
}
