:root {
  --bg: #0b0912;
  --bg-soft: #0f0c18;
  --card: #15121f;
  --card-2: #1a1627;
  --input: #211c31;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f0f7;
  --muted: #9892b0;
  --muted-bright: #b9b3ca;
  --pink: #ff2a85;
  --pink-soft: rgba(255, 42, 133, 0.14);
  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, 0.12);
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.12);
  --green: #5ef2a0;
  --sunset: #ff7a3d;
  color-scheme: dark;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(255, 42, 133, 0.11), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(0, 240, 255, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  color: #0b0912;
  background: var(--cyan);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 3.15vw, 2.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

code {
  padding: 0.1em 0.38em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.88em;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #071016;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(11, 9, 18, 0.72);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 9, 18, 0.9);
}

@supports (backdrop-filter: blur(14px)) {
  .site-header {
    backdrop-filter: blur(14px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(74px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  gap: 20px;
}

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

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  color: var(--pink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.045em;
}

.brand-tag {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--cyan);
  color: #071016;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav > a {
  color: var(--muted-bright);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.site-nav > a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

.site-nav .nav-cta:hover {
  background: var(--cyan);
  color: #071016;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  padding: 10px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--card);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 116px) 0 clamp(56px, 7vw, 92px);
  background: url("images/hero-sunset.jpg") center 62% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(11, 9, 18, 0.88) 0%, rgba(11, 9, 18, 0.62) 42%, rgba(11, 9, 18, 0.3) 75%, rgba(11, 9, 18, 0.45) 100%),
    linear-gradient(0deg, rgba(11, 9, 18, 0.92) 0%, rgba(11, 9, 18, 0.35) 30%, rgba(11, 9, 18, 0.25) 60%, rgba(11, 9, 18, 0.55) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 61, 0.45), rgba(255, 42, 133, 0.35), transparent);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

.gradient-text {
  background: linear-gradient(96deg, var(--pink) 8%, var(--gold) 54%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  max-width: 570px;
  margin-top: 24px;
  color: var(--muted-bright);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
}

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

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.79rem;
  letter-spacing: 0.015em;
}

.mobile-soon {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.79rem;
  letter-spacing: 0.015em;
}

.mobile-soon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 34px rgba(255, 42, 133, 0.24);
}

.button-primary:hover {
  background: #ff4696;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.button-full {
  width: 100%;
  margin-top: auto;
}

/* ----------------------------------------------------------- studio mock */
.hero-visual {
  position: relative;
  padding: 14px 6px 26px;
}

.studio-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: linear-gradient(160deg, #171321, #0e0b17);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center left;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: #100d19;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a344b;
}

.window-dots span:first-child {
  background: var(--pink);
}

.window-title {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.engine-chip {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 700;
}

.studio-body {
  display: grid;
  grid-template-columns: 91px minmax(0, 1fr) 151px;
  min-height: 354px;
}

.studio-rail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 9px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.rail-item {
  padding: 7px 8px;
  border-radius: 5px;
  color: #777189;
  font-size: 0.55rem;
  font-weight: 600;
  white-space: nowrap;
}

.rail-item.active {
  background: var(--pink-soft);
  color: var(--pink);
}

.studio-main {
  padding: 16px 13px;
}

.studio-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 13px;
}

.studio-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.47rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.studio-title {
  margin-top: 2px;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-plan {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.46rem;
  font-weight: 800;
}

.idea-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 9px;
  border: 1px solid rgba(255, 42, 133, 0.22);
  border-radius: 7px;
  background: rgba(255, 42, 133, 0.055);
}

.idea-card.muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.idea-rank {
  color: var(--pink);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 800;
}

.idea-card.muted .idea-rank {
  color: var(--muted);
}

.idea-copy {
  min-width: 0;
  flex: 1;
}

.idea-name {
  overflow: hidden;
  color: var(--text);
  font-size: 0.59rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idea-meta {
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.43rem;
  white-space: nowrap;
}

.idea-save {
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted-bright);
  font-size: 0.46rem;
  font-weight: 700;
}

.build-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.build-button {
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--pink);
  color: #fff;
  font-size: 0.53rem;
  font-weight: 800;
}

.build-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.45rem;
}

.pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.studio-chat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 10px;
  border-left: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
}

.chat-title {
  margin-bottom: 2px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.chat-bubble {
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.5rem;
  line-height: 1.45;
}

.chat-bubble.bot {
  border: 1px solid var(--line);
  border-top-left-radius: 2px;
  background: var(--card-2);
  color: var(--muted-bright);
}

.chat-bubble.user {
  align-self: flex-end;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-top-right-radius: 2px;
  background: var(--cyan-soft);
  color: #c6fbff;
}

.chat-bubble strong {
  color: var(--text);
}

.chat-input {
  margin-top: auto;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #655f76;
  font-size: 0.48rem;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(21, 18, 31, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  animation: float 6s ease-in-out infinite;
}

.badge-verified {
  right: -9px;
  bottom: 44px;
  border-color: rgba(94, 242, 160, 0.3);
}

.badge-version {
  top: 46px;
  left: -18px;
  border-color: rgba(255, 215, 0, 0.28);
  animation-delay: -3s;
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(94, 242, 160, 0.12);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
}

.badge-version .badge-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.floating-badge strong,
.floating-badge small {
  display: block;
}

.floating-badge strong {
  font-size: 0.66rem;
  line-height: 1.2;
}

.floating-badge small {
  color: var(--muted);
  font-size: 0.5rem;
  line-height: 1.4;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ------------------------------------------------------------ trust strip */
.palm-strip {
  display: none;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 0;
}

.trust-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.trust-grid span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ---------------------------------------------------------------- section */
.section {
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: calc(84px + env(safe-area-inset-top));
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.section-head p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 23px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  border-color: rgba(255, 42, 133, 0.32);
  background: linear-gradient(160deg, rgba(255, 42, 133, 0.055), rgba(255, 255, 255, 0.01));
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-bottom: 17px;
  border-radius: 9px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-pink {
  background: var(--pink-soft);
  color: var(--pink);
}

.icon-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.icon-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-card h3 {
  margin-bottom: 9px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- stories */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 122, 61, 0.08), transparent 70%),
    var(--card);
}

.story-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--sunset), var(--cyan));
  content: "";
}

.story-tag {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.story-card > p:not(.story-tag):not(.story-lesson) {
  color: var(--muted-bright);
  font-size: 0.9rem;
  line-height: 1.7;
}

.story-lesson {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 9px;
  background: rgba(0, 240, 255, 0.05);
  color: var(--muted-bright);
  font-size: 0.82rem;
}

.story-lesson strong {
  color: var(--cyan);
}

.story-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 42, 133, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 220px at 0% 100%, rgba(255, 42, 133, 0.12), transparent 70%),
    var(--card-2);
}

.story-cta h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.story-cta p {
  max-width: 640px;
  color: var(--muted-bright);
  font-size: 0.88rem;
}

.story-cta .button {
  flex: 0 0 auto;
}

/* ----------------------------------------------------------- release feed */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}

.update-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(0, 240, 255, 0.06), transparent 70%),
    var(--card);
}

.update-tag {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.update-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.update-card > p:not(.update-tag) {
  color: var(--muted-bright);
  font-size: 0.88rem;
  line-height: 1.65;
}

.update-promo {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
}

.update-promo:hover {
  color: var(--cyan);
  border-bottom-color: rgba(0, 240, 255, 0.5);
}

.updates-subhead {
  margin: 26px 0 10px;
  color: var(--cyan);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.updates-released {
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates-released li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted-bright);
  font-size: 0.85rem;
  line-height: 1.6;
}

.updates-released li + li {
  margin-top: 8px;
}

.updates-released strong {
  color: var(--text);
}

/* ------------------------------------------------------------------ steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.step::after {
  position: absolute;
  top: 20px;
  right: 18px;
  color: rgba(255, 255, 255, 0.06);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  content: attr(data-ghost);
}

.step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.step p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 820px;
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.045);
}

.how-note-icon {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 1.1rem;
  line-height: 1.4;
}

.how-note p {
  color: var(--muted-bright);
  font-size: 0.84rem;
}

.how-note strong {
  color: var(--text);
}

/* ------------------------------------------------------------------ split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.split-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
}

.check-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 0 27px;
  margin-bottom: 13px;
  color: var(--muted-bright);
  font-size: 0.88rem;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(94, 242, 160, 0.4);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 900;
  content: "✓";
}

.security-visual {
  position: relative;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #0c0912;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: #120f1b;
}

.terminal-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #393247;
}

.terminal-bar span:first-child {
  background: var(--pink);
}

.terminal-bar span:nth-child(2) {
  background: var(--gold);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

.terminal-bar em {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.terminal pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #c8c2d8;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.75;
}

.terminal code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.t-muted {
  color: #6d667e;
}

.t-pink {
  color: var(--pink);
}

.t-cyan {
  color: var(--cyan);
}

.security-chip {
  position: absolute;
  right: -9px;
  bottom: -15px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 8px;
  background: var(--card);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------------------------ plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 27px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.plan-featured {
  border-color: rgba(255, 42, 133, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 42, 133, 0.08), transparent 46%),
    var(--card);
  box-shadow: 0 18px 58px rgba(255, 42, 133, 0.08);
}

.plan-flag {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-card h3 {
  font-size: 1.05rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 18px;
}

.plan-price span {
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.plan-price small {
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-sub {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.76rem;
}

.plan-desc {
  min-height: 2.9em;
  margin-top: 14px;
  color: var(--muted-bright);
  font-size: 0.84rem;
}

.plan-card ul {
  margin: 20px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.plan-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.plan-footnote {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.75rem;
}

/* -------------------------------------------------------------------- get */
.get-section {
  padding-top: 10px;
  padding-bottom: clamp(26px, 4vw, 48px);
}

.get-card {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(0, 240, 255, 0.1), transparent 68%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 42, 133, 0.13), transparent 68%),
    var(--card);
  box-shadow: var(--shadow);
}

.get-copy h2 {
  max-width: 560px;
}

.get-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 17px;
  color: var(--muted-bright);
}

.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.get-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.get-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(11, 9, 18, 0.52);
}

.panel-title {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.get-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.get-panel li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-bright);
  font-size: 0.79rem;
  text-align: right;
}

.get-panel li span {
  color: var(--muted);
  text-align: left;
}

.panel-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------------- faq */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--pink);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 750px;
  padding: 0 40px 21px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------- contact */
.contact-strip {
  padding: 0 0 clamp(70px, 9vw, 110px);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.contact-inner h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.contact-inner p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #08060e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 51px 0 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-title {
  margin-bottom: 13px;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0 26px;
  border-top: 1px solid var(--line);
  color: #6f687e;
  font-family: var(--mono);
  font-size: 0.66rem;
}

/* ----------------------------------------------------------------- dialog */
.download-dialog {
  width: min(calc(100% - 32px), 460px);
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}

.download-dialog::backdrop {
  background: rgba(4, 3, 8, 0.74);
  backdrop-filter: blur(5px);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dialog-head h2 {
  font-size: 1.35rem;
}

.dialog-close {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--input);
  color: var(--muted-bright);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--text);
}

.download-dialog p {
  margin-top: 13px;
  color: var(--muted-bright);
  font-size: 0.86rem;
}

.download-dialog .dialog-lead {
  color: var(--text);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

.dialog-note {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-family: var(--mono);
  font-size: 0.65rem !important;
}

/* --------------------------------------------------------- mobile download */
.mobile-download {
  display: none;
}

/* ------------------------------------------------------------------ legal */
.legal-page {
  padding: clamp(58px, 8vw, 92px) 0 clamp(80px, 10vw, 120px);
}

.legal-wrap {
  max-width: 880px;
}

.legal-wrap h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
}

.legal-meta {
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.legal-intro {
  margin-top: 25px;
  padding: 19px 21px;
  border-left: 2px solid var(--pink);
  border-radius: 0 9px 9px 0;
  background: rgba(255, 42, 133, 0.05);
  color: var(--muted-bright);
  font-size: 0.94rem;
  line-height: 1.75;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted-bright);
  font-size: 0.72rem;
  font-weight: 600;
}

.legal-nav a:hover {
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--cyan);
}

.legal-section {
  padding-top: 36px;
}

.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.legal-section h3 {
  margin: 22px 0 7px;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: -0.005em;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.78;
}

.legal-section p + p {
  margin-top: 13px;
}

.legal-section strong {
  color: var(--muted-bright);
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-list li {
  margin-bottom: 8px;
}

.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------------------- 404 */
.error-page {
  display: grid;
  min-height: 66vh;
  place-items: center;
  padding: 70px 0;
  text-align: center;
}

.error-code {
  color: transparent;
  background: linear-gradient(96deg, var(--pink), var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.error-page h1 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.error-page p {
  max-width: 480px;
  margin: 16px auto 0;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 690px);
  }

  .studio-window {
    transform: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-body {
    grid-template-columns: 100px minmax(0, 1fr) 175px;
  }
}

@media (max-width: 860px) {
  body.has-mobile-bar {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .mobile-download {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: block;
    padding: 10px calc(16px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(11, 9, 18, 0.92);
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 260ms ease, visibility 260ms;
  }

  @supports (backdrop-filter: blur(14px)) {
    .mobile-download {
      backdrop-filter: blur(14px);
    }
  }

  .mobile-download.is-visible {
    visibility: visible;
    transform: none;
  }

  .mobile-download .button {
    width: 100%;
    min-height: 50px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(74px + env(safe-area-inset-top));
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #12101b;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 7px;
  }

  .site-nav > a:hover {
    background: var(--input);
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 5px;
    text-align: center;
  }

  .footer-col a {
    padding: 4px 0;
  }

  .dialog-close {
    width: 40px;
    height: 40px;
  }

  .hero {
    background-image: url("images/hero-sunset-mobile.jpg");
    background-position: center 72%;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(11, 9, 18, 0.94) 0%, rgba(11, 9, 18, 0.66) 45%, rgba(11, 9, 18, 0.5) 100%);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

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

  .story-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-cta .button {
    width: 100%;
  }

  .security-visual {
    max-width: 590px;
  }

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

  .plan-featured {
    order: -1;
  }

  .get-card {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 670px) {
  .container {
    width: min(100% - 30px, var(--max));
  }

  h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.3rem);
  }

  .studio-body {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 330px;
  }

  .studio-chat {
    display: none;
  }

  .hero-visual {
    padding-inline: 0;
  }

  .floating-badge {
    display: none;
  }

  .studio-main {
    padding: 14px 11px;
  }

  .idea-meta {
    font-size: 0.4rem;
  }

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

  .step-number {
    margin-bottom: 18px;
  }

  .contact-inner {
    padding: 23px;
  }

  .contact-inner .button {
    width: 100%;
  }

  .palm-strip {
    position: relative;
    display: block;
    height: 120px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(0deg, rgba(11, 9, 18, 0.6) 0%, rgba(11, 9, 18, 0.1) 60%, rgba(11, 9, 18, 0.35) 100%),
      url("images/hero-sunset-mobile.jpg") center 78% / cover no-repeat;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .studio-rail {
    display: none;
  }

  .studio-body {
    grid-template-columns: 1fr;
  }

  .trust-grid strong {
    font-size: 1.1rem;
  }

  .trust-grid > div {
    padding: 17px 13px;
  }

  .get-actions .button,
  .hero-actions .button {
    width: 100%;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }
}

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

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

/* ---- Seasonal decorations (driven by seasonal.json + data-decor on body) ---- */

.season-ribbon {
  position: relative;
  z-index: 70;
  padding: 10px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(90deg, #c0182b, #ff2a85 45%, #ffd700);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.sale-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1206;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.plan-price s {
  margin-right: 7px;
  opacity: 0.55;
  font-size: 0.8em;
}

body[data-decor="christmas"] {
  --pink: #ff4d5e;
  --pink-soft: rgba(255, 77, 94, 0.16);
  --cyan: #5ef2a0;
  --cyan-soft: rgba(94, 242, 160, 0.13);
}

body[data-decor="christmas"] .season-ribbon {
  background: linear-gradient(90deg, #0f7a3d, #c0182b 50%, #ffd700);
}

body[data-decor="newyear"] {
  --pink: #ffd700;
  --pink-soft: rgba(255, 215, 0, 0.15);
  --cyan: #9d7bff;
  --cyan-soft: rgba(157, 123, 255, 0.14);
}

body[data-decor="newyear"] .season-ribbon {
  background: linear-gradient(90deg, #2b1a6e, #9d7bff 50%, #ffd700);
  color: #12082b;
  text-shadow: none;
}

body[data-decor="valentine"] {
  --pink: #ff5c9e;
  --pink-soft: rgba(255, 92, 158, 0.18);
  --cyan: #ff9ec4;
  --cyan-soft: rgba(255, 158, 196, 0.14);
}

body[data-decor="valentine"] .season-ribbon {
  background: linear-gradient(90deg, #a3124f, #ff5c9e 55%, #ffd1e3);
}

body[data-decor="easter"],
body[data-decor="spring"] {
  --pink: #ff9ec4;
  --pink-soft: rgba(255, 158, 196, 0.15);
  --cyan: #7de8b0;
  --cyan-soft: rgba(125, 232, 176, 0.14);
}

body[data-decor="easter"] .season-ribbon,
body[data-decor="spring"] .season-ribbon {
  background: linear-gradient(90deg, #3f9e6e, #7de8b0 50%, #ff9ec4);
  color: #10241a;
  text-shadow: none;
}

body[data-decor="summer"] {
  --pink: #ff7a3d;
  --pink-soft: rgba(255, 122, 61, 0.16);
  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, 0.14);
}

body[data-decor="summer"] .season-ribbon {
  background: linear-gradient(90deg, #0aa3c2, #00f0ff 50%, #ff7a3d);
  color: #06222b;
  text-shadow: none;
}

body[data-decor="canadaday"] {
  --pink: #ff3b3b;
  --pink-soft: rgba(255, 59, 59, 0.16);
  --cyan: #f4f1de;
  --cyan-soft: rgba(244, 241, 222, 0.12);
}

body[data-decor="canadaday"] .season-ribbon {
  background: linear-gradient(90deg, #c0182b, #ff3b3b 50%, #f4f1de);
  color: #fff;
}

body[data-decor="harvest"] {
  --pink: #ff9d3d;
  --pink-soft: rgba(255, 157, 61, 0.16);
  --cyan: #ffd319;
  --cyan-soft: rgba(255, 211, 25, 0.13);
}

body[data-decor="harvest"] .season-ribbon {
  background: linear-gradient(90deg, #8a4b12, #ff9d3d 55%, #ffd319);
  color: #241203;
  text-shadow: none;
}

body[data-decor="halloween"] {
  --pink: #ff7a1a;
  --pink-soft: rgba(255, 122, 26, 0.17);
  --cyan: #b06bff;
  --cyan-soft: rgba(176, 107, 255, 0.15);
}

body[data-decor="halloween"] .season-ribbon {
  background: linear-gradient(90deg, #1c0f33, #b06bff 45%, #ff7a1a);
}

body[data-decor="blackfriday"] {
  --pink: #ffd700;
  --pink-soft: rgba(255, 215, 0, 0.16);
  --cyan: #ff2a85;
  --cyan-soft: rgba(255, 42, 133, 0.14);
}

body[data-decor="blackfriday"] .season-ribbon {
  background: linear-gradient(90deg, #0b0912, #ff2a85 50%, #ffd700);
}

.snowfall {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -6vh;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 6px rgba(160, 220, 255, 0.7);
  animation-name: snowfall-drop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes snowfall-drop {
  to {
    transform: translateY(115vh) rotate(300deg);
  }
}

.sf0 { left: 3%; font-size: 12px; animation-duration: 11s; animation-delay: -1s; opacity: 0.7; }
.sf1 { left: 11%; font-size: 18px; animation-duration: 14s; animation-delay: -6s; opacity: 0.9; }
.sf2 { left: 19%; font-size: 10px; animation-duration: 9s; animation-delay: -3s; opacity: 0.55; }
.sf3 { left: 27%; font-size: 15px; animation-duration: 12.5s; animation-delay: -8s; opacity: 0.8; }
.sf4 { left: 35%; font-size: 21px; animation-duration: 16s; animation-delay: -2s; opacity: 0.95; }
.sf5 { left: 43%; font-size: 11px; animation-duration: 10s; animation-delay: -5s; opacity: 0.6; }
.sf6 { left: 51%; font-size: 16px; animation-duration: 13s; animation-delay: -9s; opacity: 0.85; }
.sf7 { left: 59%; font-size: 13px; animation-duration: 11.5s; animation-delay: -4s; opacity: 0.7; }
.sf8 { left: 67%; font-size: 19px; animation-duration: 15s; animation-delay: -7s; opacity: 0.9; }
.sf9 { left: 75%; font-size: 10px; animation-duration: 9.5s; animation-delay: -2.5s; opacity: 0.5; }
.sf10 { left: 83%; font-size: 17px; animation-duration: 13.5s; animation-delay: -10s; opacity: 0.85; }
.sf11 { left: 92%; font-size: 14px; animation-duration: 12s; animation-delay: -6.5s; opacity: 0.75; }

.holiday-lights {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #ff4d5e 0 14px,
    #ffd700 14px 28px,
    #5ef2a0 28px 42px,
    #00f0ff 42px 56px
  );
  animation: lights-blink 1.8s steps(2, jump-none) infinite;
}

@keyframes lights-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 640px) {
  .season-ribbon {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .snowflake {
    font-size: 10px;
  }

  .snowflake:nth-child(even) {
    display: none;
  }
}
