/* =========================================================================
   KingPlugins — Ungael (Vorkath) product site
   Design system: deep charcoal + warm gold. No web fonts (system stack)
   for speed. Single stylesheet, strict-CSP friendly (no inline styles).
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0b0d11;
  --bg-2: #0f1218;
  --panel: #14181f;
  --panel-2: #181d26;
  --panel-border: #242b36;
  --panel-border-strong: #36404f;

  /* Ink */
  --text: #f4f7fc;
  --muted: #aab3c2;
  --muted-2: #7c8696;

  /* Brand */
  --accent: #d7b46a;
  --accent-strong: #f0cc7a;
  --accent-soft: rgba(215, 180, 106, 0.14);
  --accent-line: rgba(215, 180, 106, 0.32);
  --button-text: #19140a;

  /* Semantic */
  --good: #74d394;
  --good-soft: rgba(116, 211, 148, 0.14);
  --warn: #e6b35a;
  --danger: #e0735f;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1140px;
  --gutter: 22px;

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.75);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------- reset */
* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(215, 180, 106, 0.12), transparent 60%),
    radial-gradient(820px 520px at 8% 2%, rgba(255, 255, 255, 0.045), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 480px);
  background-attachment: fixed;
}

h1, h2, h3, h4, p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(215, 180, 106, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.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 becomes visible when focused via keyboard */
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; margin: 0; padding: 10px 16px;
  clip: auto; overflow: visible; white-space: nowrap;
  z-index: 100;
  border-radius: 10px;
  font-weight: 700;
  color: var(--button-text);
  background: var(--accent-strong);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------- structure */
.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* keep anchored headings clear of the sticky header */
.section[id] { scroll-margin-top: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before {
  background: linear-gradient(90deg, var(--accent), var(--accent));
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  line-height: 1.6;
}

.accent { color: var(--accent-strong); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --pad-y: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: var(--pad-y) 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: var(--button-text);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 34px -16px rgba(215, 180, 106, 0.85);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow:
  0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 40px -16px rgba(215, 180, 106, 0.95); }

.btn-ghost {
  color: var(--text);
  border-color: var(--panel-border-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.06); }

.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 1.02rem; border-radius: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.is-loading { opacity: 0.8; cursor: progress; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, backdrop-filter 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--panel-border);
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.06rem;
  white-space: nowrap;
}
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--button-text);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 0 6px 16px -8px rgba(215, 180, 106, 0.9);
  flex: none;
}
.brand small { color: var(--muted-2); font-weight: 600; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.16s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }

/* ------------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(50px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 850;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2.5vw, 1.28rem);
  line-height: 1.62;
  max-width: 560px;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-chips {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.chip svg { width: 15px; height: 15px; color: var(--accent-strong); flex: none; }

/* hero HUD visual */
.hero-visual { position: relative; }
.hud-glow {
  position: absolute; inset: -8% -6% -12% -6%;
  background: radial-gradient(60% 60% at 70% 25%, rgba(215, 180, 106, 0.22), transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.hud {
  position: relative;
  z-index: 1;
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ------------------------------------------------------------ trust strip */
.trust { border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  padding: 22px 20px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-item strong {
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trust-item strong svg { width: 18px; height: 18px; color: var(--accent-strong); flex: none; }
.trust-item span { color: var(--muted); font-size: 0.92rem; }

/* --------------------------------------------------------------- features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  padding: 24px 22px 26px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm), 0 22px 50px -30px rgba(215, 180, 106, 0.5);
}
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ------------------------------------------------------------------ steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}
.step-num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-weight: 800;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ------------------------------------------------------------------ split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ico {
  margin-top: 2px;
  width: 24px; height: 24px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 7px;
  color: var(--good);
  background: var(--good-soft);
}
.check-list .ico svg { width: 14px; height: 14px; }
.check-list strong { display: block; letter-spacing: -0.01em; }
.check-list span { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------- pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
/* single one-time offer: one centered card */
.price-grid--solo {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.plan--featured {
  border-color: var(--accent-line);
  box-shadow: 0 30px 70px -34px rgba(215, 180, 106, 0.55);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(215, 180, 106, 0.12), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--button-text);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  white-space: nowrap;
}
.plan-name { font-size: 1.04rem; font-weight: 700; color: var(--muted); }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amount { font-size: 3rem; font-weight: 850; letter-spacing: -0.03em; }
.plan-price .period { color: var(--muted-2); font-weight: 600; font-size: 0.96rem; }
.plan-sub { margin-top: 6px; color: var(--muted); font-size: 0.92rem; min-height: 1.3em; }
.plan-list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.plan-list .ico { margin-top: 3px; color: var(--accent-strong); flex: none; }
.plan-list .ico svg { width: 15px; height: 15px; }
.plan .btn { margin-top: auto; }
.plan-assure {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: center;
}
.plan-assure svg { width: 14px; height: 14px; color: var(--good); flex: none; }
.pricing-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  align-items: center;
}
.pricing-note span { display: inline-flex; align-items: center; gap: 7px; }
.pricing-note svg { width: 15px; height: 15px; color: var(--muted); }
.checkout-error {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(224, 115, 95, 0.4);
  border-radius: 10px;
  background: rgba(224, 115, 95, 0.1);
  color: #f3b9ad;
  font-size: 0.92rem;
  text-align: center;
}
.checkout-error[hidden] { display: none; }

/* ------------------------------------------------------------------- faq */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.qa {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.qa[open] { border-color: var(--accent-line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .q-ico {
  margin-left: auto;
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--accent-strong);
  transition: transform 0.2s var(--ease);
}
.qa[open] summary .q-ico { transform: rotate(45deg); }
.qa .qa-body { padding: 0 22px 20px; color: var(--muted); }
.qa .qa-body p + p { margin-top: 12px; }

/* -------------------------------------------------------------- cta band */
.cta-band {
  position: relative;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(215, 180, 106, 0.16), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 850;
}
.cta-band p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 48px 0 40px;
  margin-top: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 0.94rem; max-width: 360px; }
.foot-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.foot-col a, .foot-col span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.16s;
}
.foot-col a:hover { color: var(--text); }
.foot-col span { color: var(--muted-2); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 0.86rem;
}
.disclaimer { max-width: 640px; line-height: 1.55; }

/* -------------------------------------------------------- generic panels */
.panel {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(22px, 4vw, 34px);
}
.note {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: rgba(230, 179, 90, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}
.note .ico { flex: none; color: var(--warn); margin-top: 1px; }

/* --------------------------------------------------------- transactional */
.tx-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.tx-card {
  width: min(100% - 40px, 560px);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.tx-badge {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--good-soft);
  color: var(--good);
}
.tx-badge.is-wait { background: var(--accent-soft); color: var(--accent-strong); }
.tx-badge svg { width: 32px; height: 32px; }
.tx-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: -0.02em; }
.tx-card p { margin-top: 12px; color: var(--muted); }
.license-box {
  margin: 24px 0 8px;
  padding: 18px;
  border: 1px dashed var(--accent-line);
  border-radius: var(--radius);
  background: rgba(215, 180, 106, 0.07);
}
.license-box .label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.license-key {
  margin-top: 10px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, monospace;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  word-break: break-all;
}
.copy-btn {
  margin-top: 14px;
}
.tx-steps {
  margin: 24px 0 0;
  text-align: left;
  padding: 20px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.tx-steps ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.tx-steps li { margin: 8px 0; }
.spinner {
  width: 30px; height: 30px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* legal pages */
.legal { max-width: 780px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.02em; }
.legal .updated { color: var(--muted-2); margin-top: 8px; }
.legal h2 { font-size: 1.3rem; margin-top: 38px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- utilities */
/* small helpers so we never need inline style="" (keeps CSP style-src 'self') */
.u-center { display: grid; place-items: center; }
.u-ml-auto { margin-left: auto; }
.u-m0 { margin: 0; }
.u-mt-16 { margin-top: 16px; }
.u-mt-18 { margin-top: 18px; }
.u-mt-22 { margin-top: 22px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-40 { margin-top: 40px; }
.u-small { font-size: 0.9rem; }
.u-accent { color: var(--accent-strong); }
.u-bare-top { margin-top: 0; border-top: none; }

/* ----------------------------------------------------------- reveal anim */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}

/* ------------------------------------------------- sticky mobile buy bar */
.buybar { display: none; }
@media (max-width: 720px) {
  .buybar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 60;
    padding: 11px 12px 11px 18px;
    border: 1px solid var(--accent-line);
    border-radius: 14px;
    background: rgba(15, 18, 24, 0.92);
    backdrop-filter: saturate(140%) blur(12px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    transform: translateY(160%);
    opacity: 0;
    transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
    pointer-events: none;
  }
  .buybar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .buybar-text { display: flex; flex-direction: column; line-height: 1.2; }
  .buybar-text strong { font-size: 0.98rem; letter-spacing: -0.01em; }
  .buybar-text span { color: var(--muted-2); font-size: 0.78rem; }
  .buybar-cta {
    display: inline-flex; align-items: center; gap: 6px;
    flex: none;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 800; font-size: 0.95rem;
    color: var(--button-text);
    background: linear-gradient(180deg, var(--accent-strong), var(--accent));
    box-shadow: 0 10px 24px -12px rgba(215, 180, 106, 0.9);
  }
  .buybar-cta svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .buybar { transition: none; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 560px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .brand small { display: none; }
  .nav-cta { min-height: 42px; padding: 9px 16px; }
  .price-grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .hero-actions, .cta-band .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .feature-grid, .steps, .trust-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
