:root {
  --bg-start: #c6c7e6;
  --bg-end: #fff4e8;
  --accent: #c4941c;
  --text: #1b1b1f;
  --muted: #5e6472;
  --surface: rgba(255, 255, 255, 0.5);
  --surface-strong: rgba(255, 255, 255, 0.8);
  --ring: color-mix(in oklab, var(--accent) 35%, transparent);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

.headline,
.section-title,
.brand-name,
.subhead {
  font-family: 'Bellota', cursive;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(150%) blur(8px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 64px;
}

.brand-logo img {
  height: 64px;
  width: auto;
  display: none;
}

.brand.has-logo .logo-mark {
  display: none;
}

.brand.has-logo .brand-logo img {
  display: block;
}

.logo-mark {
  color: var(--accent);
  font-size: 40px;
}

.brand-name {
  font-size: 28px;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  gap: 16px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-link:hover {
  border-color: var(--ring);
}

.nav-link.cta {
  border-color: var(--accent);
  color: var(--text);
}

.hero {
  padding: 72px 0 56px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.hero-text .headline {
  font-size: 56px;
  line-height: 1.05;
  margin: 0;
}

.subhead {
  font-size: 22px;
  color: var(--muted);
  margin: 10px 0 16px;
}

.lead {
  font-size: 18px;
  color: #2c2f36;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.4s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.btn::after {
  display: none;
}

.btn.primary {
  background: var(--accent);
  color: #1a1305;
  border-color: var(--accent);
}

.btn.ghost {
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 28px -10px rgba(196, 148, 28, 0.5), 0 0 0 1px rgba(255, 223, 140, 0.3);
}

@keyframes firefly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  15% {
    opacity: 0.85;
  }

  85% {
    opacity: 0.75;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--tx-end, 0px), var(--ty-end, 0px)) scale(0.3);
  }
}

.firefly-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 4px 1px rgba(255, 215, 0, 0.7);
  animation: firefly 1.6s ease-out forwards;
  left: 50%;
  top: 50%;
  pointer-events: none;
  opacity: 0;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 16px -6px rgba(196, 148, 28, 0.4);
}

.hero-visual {
  position: relative;
  height: 360px;
}

.fireflies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  width: 100%;
}

.firefly {
  position: absolute;
  width: var(--size, 6px);
  height: var(--size, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, #ffd77a 0%, #c4941c 40%, rgba(196, 148, 28, 0) 70%);
  box-shadow: 0 0 8px 2px rgba(255, 223, 140, 0.7), 0 0 16px 6px rgba(196, 148, 28, 0.35);
  opacity: 0.85;
  animation: fly var(--dur, 10s) ease-in-out var(--delay, 0s) infinite alternate, twinkle 2.6s ease-in-out infinite;
}

@keyframes fly {
  0% {
    transform: translate3d(var(--x0, 0px), var(--y0, 0px), 0) scale(1);
  }

  25% {
    transform: translate3d(var(--x1, 40px), var(--y1, -20px), 0) scale(1.05);
  }

  50% {
    transform: translate3d(var(--x2, -30px), var(--y2, 30px), 0) scale(0.95);
  }

  75% {
    transform: translate3d(var(--x3, 20px), var(--y3, -35px), 0) scale(1.08);
  }

  100% {
    transform: translate3d(var(--x4, -40px), var(--y4, 10px), 0) scale(1);
  }
}

@keyframes twinkle {

  0%,
  100% {
    filter: brightness(1);
    opacity: 0.7;
  }

  50% {
    filter: brightness(1.4);
    opacity: 1;
  }
}

.square-overlay {
  position: absolute;
  inset: 1px;
  background: linear-gradient(to bottom right, transparent, rgba(196, 148, 28, 0.08));
  pointer-events: none;
  mix-blend-mode: multiply;
  border-radius: inherit;
}

.orb {
  position: absolute;
  inset: 20px 10px 10px 10px;
  border-radius: 24px;
  overflow: hidden;
  z-index: 3;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 35%, transparent), 0 20px 50px rgba(0, 0, 0, 0.08);
  animation: float 8s ease-in-out infinite;
}

.orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.delicate-line {
  position: absolute;
  right: -6px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.hero-illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0) 70%);
  filter: drop-shadow(0 0 6px #fff);
  animation: shimmer 3.6s ease-in-out infinite;
}

.sparkle.s1 {
  top: 20%;
  left: 6%;
  animation-delay: .2s;
}

.sparkle.s2 {
  bottom: 18%;
  right: 10%;
  animation-delay: 1.1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes shimmer {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.9) translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-2px);
  }
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 32px;
  margin: 0 0 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-item {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.feature-item .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
}

.feature-item .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.statement {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  color: #2c2f36;
}

.how .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.how .steps li {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 18px;
  padding: 18px;
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.how .steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #1a1305;
  background: color-mix(in oklab, var(--accent) 85%, white 15%);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.beta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: var(--surface-strong);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  border-radius: 14px;
  padding: 10px;
  backdrop-filter: blur(6px);
}

.form input[type="email"] {
  height: 42px;
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.85);
}

.form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}

.form .form-message {
  grid-column: 1 / -1;
  margin: 6px 8px 0;
  font-size: 13px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.footer-inner {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  border: 0;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 280px;
  }

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

  .beta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 48px;
  }

  .hero-text .headline {
    font-size: 40px;
  }

  .subhead {
    font-size: 18px;
  }

  .lead {
    font-size: 16px;
  }

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

  .how .steps {
    grid-template-columns: 1fr;
  }

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