:root {
  --ink: #111827;
  --ink-soft: #374151;
  --ink-mute: #6b7280;
  --paper: #f7f8fa;
  --paper-warm: #eef1f5;
  --brand: #e85d04;
  --brand-deep: #c2410c;
  --brand-soft: #fff4eb;
  --line: #e5e7eb;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(232, 93, 4, 0.08), transparent 55%),
    radial-gradient(700px 420px at -5% 20%, rgba(17, 24, 39, 0.04), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 45%, var(--paper-warm) 100%);
  font-family: Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.font-display {
  font-family: Syne, system-ui, sans-serif;
}

.site-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-nav {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 24, 39, 0.1);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.btn-ghost:hover {
  border-color: rgba(17, 24, 39, 0.35);
  background: rgba(17, 24, 39, 0.03);
  transform: translateY(-1px);
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-rise {
  animation: heroRise 0.9s ease both;
}

.hero-rise-delay {
  animation: heroRise 0.9s ease 0.12s both;
}

.hero-media {
  animation: heroMedia 1.1s ease 0.2s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMedia {
  from {
    opacity: 0;
    transform: translateY(28px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.media-frame {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1);
}

.media-frame img {
  width: 100%;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.price-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.price-panel.is-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
}

.divider-list > * + * {
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-rise,
  .hero-rise-delay,
  .hero-media {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
