/* ==========================================================================
   Rob Runners — styles
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #07060c;
  --bg-alt: #0c0a15;
  --surface: #13101f;
  --surface-2: #1a1629;
  --surface-3: #241e38;
  --border: rgba(167, 139, 250, 0.14);
  --border-strong: rgba(167, 139, 250, 0.32);

  --primary: #8b5cf6;
  --primary-strong: #7c3aed;
  --primary-soft: #a78bfa;
  --primary-faint: rgba(139, 92, 246, 0.12);
  --on-primary: #ffffff;

  --cash: #5ee08a;
  --warn: #fbbf24;
  --danger: #f87171;
  --discord: #5865f2;

  --text: #eeebf7;
  --text-muted: #a8a3bd;
  --text-dim: #7d7894;

  --font-display: 'Russo One', 'Chakra Petch', system-ui, sans-serif;
  --font-body: 'Chakra Petch', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 50px -12px rgba(124, 58, 237, 0.55);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-soft); text-decoration: none; }
a:hover { color: #c4b5fd; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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: absolute; left: 16px; top: -100px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.text-gradient { background: linear-gradient(100deg, #c4b5fd 0%, var(--primary) 55%, #d946ef 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head-left { text-align: left; margin-inline: 0; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-sub { color: var(--text-muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-soft); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

/* 4. Components ------------------------------------------------------------ */
/* Buttons */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--btn-bg); color: var(--text);
  font-weight: 600; font-size: 1rem; letter-spacing: .02em; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur);
}
.btn:hover { color: var(--text); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%); color: var(--on-primary); box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .95), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--primary-faint); border-color: var(--primary); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -12px rgba(88, 101, 242, .9); }
.btn-discord:hover { color: #fff; transform: translateY(-2px); background: #4752c4; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-xl { min-height: 62px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.is-selected { background: var(--cash); color: #05210f; box-shadow: 0 10px 30px -12px rgba(94, 224, 138, .8); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; transition: background-color var(--dur), border-color var(--dur); }
.icon-btn:hover { background: var(--primary-faint); border-color: var(--border-strong); color: var(--text); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color var(--dur), border-color var(--dur), backdrop-filter var(--dur); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7, 6, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-family: var(--font-display); font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--primary), #4c1d95); box-shadow: 0 6px 20px -6px rgba(139, 92, 246, .8); }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .02em; }
.brand-name span { color: var(--primary-soft); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 10px; color: var(--text-muted); font-weight: 500; font-size: .95rem; transition: color var(--dur), background-color var(--dur); }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: var(--primary-faint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle, .nav-mobile-only { display: none; }
.nav-toggle .icon-close { display: none; }

/* Forms */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.req { color: var(--primary-soft); }
.optional { color: var(--text-dim); font-weight: 400; font-size: .9em; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 12px;
  font-size: 1rem; transition: border-color var(--dur), box-shadow var(--dur);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.help { color: var(--text-dim); font-size: .88rem; margin: 6px 0 0; }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.hint { color: var(--text-dim); font-size: .88rem; margin: 0; text-align: center; }

/* Notices */
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--primary-faint); border: 1px solid var(--border-strong); margin: 20px 0; }
.notice > .icon { color: var(--primary-soft); margin-top: 3px; }
.notice p { margin: 4px 0 0; color: var(--text-muted); font-size: .95rem; }
.notice-warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .35); }
.notice-warn > .icon { color: var(--warn); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-weight: 500; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.panel-title { font-family: var(--font-display); font-size: 1.4rem; padding: 0; margin-bottom: 6px; }
.panel-sub { color: var(--text-muted); margin-bottom: 24px; }

/* 5. Sections -------------------------------------------------------------- */
/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 60% 50% at 15% 20%, rgba(124, 58, 237, .22), transparent 70%),
  radial-gradient(ellipse 50% 60% at 85% 70%, rgba(217, 70, 239, .12), transparent 70%),
  linear-gradient(180deg, #0d0a18 0%, var(--bg) 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(167, 139, 250, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: 10%; background: radial-gradient(circle, rgba(124, 58, 237, .38), transparent 65%); filter: blur(20px); }
.hero-inner { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.8rem); margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hero-facts li { padding: 12px 18px; border-radius: 14px; background: rgba(19, 16, 31, .7); border: 1px solid var(--border); backdrop-filter: blur(6px); }
.hero-facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--text); }
.hero-facts span { font-size: .85rem; color: var(--text-muted); }
.hero-art { position: relative; margin: 0 clamp(0px, 2vw, 32px) 0 0; padding-bottom: 80px; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--glow); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform var(--dur-slow) var(--ease-out); }
.hero-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-frame img { width: 100%; height: auto; aspect-ratio: 460 / 215; object-fit: cover; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 40%); pointer-events: none; }
.hero-cash { position: absolute; right: -28px; bottom: 0; width: clamp(130px, 14vw, 190px); border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8), 0 0 40px -10px rgba(94, 224, 138, .35); animation: float 6s ease-in-out infinite; }

/* Service */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-visual { position: relative; padding: clamp(22px, 4vw, 36px); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(124, 58, 237, .35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(94, 224, 138, .1), transparent 50%), var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--glow); }
.sv-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 22px; }
.sv-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.sv-flow::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--primary), var(--cash)); opacity: .5; }
.sv-flow li { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 0; }
.sv-flow div { flex: 1; min-width: 0; }
.sv-flow strong { display: block; font-size: 1.05rem; }
.sv-flow div span { color: var(--text-muted); font-size: .92rem; }
.sv-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--bg); border: 1px solid var(--border-strong); color: var(--primary-soft); }
.sv-icon .icon { width: 26px; height: 26px; }
.sv-flow li:nth-child(2) .sv-icon { background: linear-gradient(135deg, var(--primary), #5b21b6); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -8px rgba(139, 92, 246, .9); }
.sv-flow li:nth-child(3) .sv-icon { color: var(--cash); }
.sv-tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-muted); }
.sv-tag-team { background: var(--primary-faint); border-color: var(--border-strong); color: var(--primary-soft); }
.service-copy > p { color: var(--text-muted); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.feature-list li:hover { border-color: var(--border-strong); transform: translateX(4px); }
.feature-list h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.feature-list p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--primary-faint); color: var(--primary-soft); }

/* How it works */
.turnaround-note { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 0; padding: 10px 16px; border-radius: 999px; background: var(--primary-faint); border: 1px solid var(--border-strong); font-size: .95rem; }
.turnaround-note .icon { color: var(--primary-soft); }
.turnaround-note span { color: var(--text-dim); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { position: absolute; right: 18px; top: 12px; font-family: var(--font-display); font-size: 2.6rem; color: rgba(167, 139, 250, .1); line-height: 1; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; background: linear-gradient(135deg, var(--primary), #5b21b6); color: #fff; box-shadow: 0 8px 22px -8px rgba(139, 92, 246, .9); }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.package-card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur); }
.package-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.package-card.is-featured { border-color: rgba(139, 92, 246, .6); background: linear-gradient(180deg, rgba(139, 92, 246, .14), var(--surface) 55%); box-shadow: var(--glow); }
.package-card.is-selected { border-color: var(--cash); box-shadow: 0 0 0 1px var(--cash), 0 18px 50px -14px rgba(94, 224, 138, .45); }
.package-badge { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--primary); color: #fff; }
.package-media { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; aspect-ratio: 16 / 8; background: radial-gradient(circle at 85% 20%, rgba(94, 224, 138, .18), transparent 55%), linear-gradient(135deg, #1d1636, #0d0b16); border: 1px solid var(--border); }
.package-card.is-featured .package-media { background: radial-gradient(circle at 85% 20%, rgba(94, 224, 138, .2), transparent 55%), linear-gradient(135deg, #4c1d95, #1a1033); }
.package-watermark { position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; color: rgba(94, 224, 138, .16); stroke-width: 1.5; transition: transform var(--dur-slow) var(--ease-out); }
.package-card:hover .package-watermark { transform: rotate(-12deg) scale(1.08); }
.package-amount { position: relative; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: #fff; }
.package-unit { position: relative; color: var(--cash); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.unit-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; background: rgba(94, 224, 138, .12); color: var(--cash); border: 1px solid rgba(94, 224, 138, .3); }
.package-name { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-soft); margin-bottom: 4px; }
.package-cash { color: var(--text-muted); font-size: .95rem; margin-bottom: 16px; }
.package-price { display: flex; align-items: baseline; gap: 8px; margin: auto 0 18px; }
.package-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.package-price span { color: var(--text-dim); font-size: .9rem; }
.price-was { color: var(--text-dim); font-size: 1.05rem; }
.package-badge-deal { background: var(--cash); color: #05210f; }
.readout-discount { display: block; margin-top: 6px; color: var(--cash); font-size: .88rem; font-weight: 600; }

/* Custom slider */
.custom-card { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 32px; background: radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .25), transparent 55%), var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.custom-copy p { color: var(--text-muted); }
.custom-cash { width: 160px; border-radius: 20px; margin-top: 12px; border: 1px solid var(--border-strong); box-shadow: 0 0 40px -10px rgba(94, 224, 138, .4); }
.custom-readout { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 26px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.readout-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.readout-amount { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--text); }
.readout-full { display: block; color: var(--cash); font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.readout-price-wrap { text-align: right; }
.readout-price { display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; }
.readout-amount, .readout-price { font-variant-numeric: tabular-nums; }
.bump { animation: bump var(--dur) var(--ease-out); }

.slider { --fill: 0%; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.slider:focus { outline: none; }
.slider::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-strong), var(--primary-soft)) 0 / var(--fill) 100% no-repeat, var(--surface-3); }
.slider::-moz-range-track { height: 10px; border-radius: 999px; background: var(--surface-3); }
.slider::-moz-range-progress { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--primary-strong), var(--primary-soft)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 6px solid var(--primary); box-shadow: 0 0 0 6px rgba(139, 92, 246, .2), 0 6px 16px rgba(0,0,0,.5); transition: transform var(--dur-fast), box-shadow var(--dur); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--primary); box-shadow: 0 0 0 6px rgba(139, 92, 246, .2), 0 6px 16px rgba(0,0,0,.5); }
.slider:hover::-webkit-slider-thumb, .slider:active::-webkit-slider-thumb { transform: scale(1.1); }
.slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(167, 139, 250, .45); }
.slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 8px rgba(167, 139, 250, .45); }
.slider-scale { display: flex; justify-content: space-between; color: var(--text-dim); font-size: .82rem; font-weight: 500; margin: 2px 4px 22px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }

/* Order */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.progress-step { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); font-weight: 600; font-size: .92rem; transition: all var(--dur); }
.progress-step span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--surface-3); font-size: .82rem; }
.progress-step.is-active { color: var(--text); border-color: var(--primary); background: var(--primary-faint); }
.progress-step.is-active span { background: var(--primary); color: #fff; }
.progress-step.is-done { color: var(--text-muted); }
.progress-step.is-done span { background: var(--cash); color: #05210f; }
.order-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.order-fields[disabled] { display: none; }
.empty-order { text-align: center; padding: 20px 0; }
.empty-icon { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 22px; background: var(--primary-faint); border: 1px solid var(--border-strong); color: var(--primary-soft); }
.empty-icon .icon { width: 34px; height: 34px; }
.progress-step em { font-style: normal; }
.help.center { text-align: center; }
.uid-hint { margin-top: 10px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.uid-hint summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; cursor: pointer; color: var(--primary-soft); font-weight: 600; font-size: .92rem; list-style: none; }
.uid-hint summary::-webkit-details-marker { display: none; }
.uid-hint-body { padding: 0 14px 14px; color: var(--text-muted); font-size: .92rem; }
.uid-hint-body p { margin: 0 0 10px; }
.uid-hint-body img { border-radius: 10px; border: 1px solid var(--border-strong); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 4px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border-strong); }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); cursor: pointer; }
.consent label { cursor: pointer; font-size: .95rem; }
.consent.has-error { border-color: var(--danger); }
.checkout .error#agreeTermsError { margin-bottom: 12px; }
#finalAction { margin-top: 16px; }
/* PayPal checkout */
.paypal-area { margin-top: 16px; }
.paypal-area .notice { margin-top: 0; }
.paypal-buttons { position: relative; z-index: 0; min-height: 48px; padding: 12px; border-radius: var(--radius); background: #fff; }
.paypal-buttons[hidden] { display: none !important; }
.paypal-buttons:empty { background: transparent; padding: 0; }
#paypalStatus { margin-top: 10px; }
#paypalStatus.error { display: block; color: var(--danger); }
.paid-panel { text-align: center; }
.paid-panel:focus { outline: none; }
.paid-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: rgba(94, 224, 138, .14); border: 1px solid rgba(94, 224, 138, .4); color: var(--cash); }
.paid-icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.paid-history-title { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin: 20px 0 8px; }
.paid-history { list-style: none; margin: 0 auto 8px; padding: 0; max-width: 420px; text-align: left; }
.paid-history li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.paid-panel .status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--surface-3); color: var(--text-muted); }
.paid-panel .status-payment_confirmed, .paid-panel .status-grinding { background: var(--primary-faint); color: var(--primary-soft); }
.paid-panel .status-delivered { background: rgba(94, 224, 138, .14); color: var(--cash); }
.paid-panel .status-awaiting_payment { background: rgba(251, 191, 36, .14); color: var(--warn); }
.empty-order p { color: var(--text-muted); }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.checkout:focus { outline: none; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.review-list, .summary-list { margin: 0; }
.review-list > div, .summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-list dt, .summary-list dt { color: var(--text-muted); flex: none; }
.review-list dd, .summary-list dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.review-total, .summary-total { border-bottom: 0 !important; padding-top: 18px !important; }
.review-total dt, .summary-total dt { color: var(--text) !important; font-weight: 700; }
.review-total dd, .summary-total dd { font-family: var(--font-display); font-weight: 400 !important; font-size: 1.8rem; line-height: 1; color: var(--text); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card { padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(139, 92, 246, .12), var(--surface) 40%); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.summary-art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 18px; }
.summary-art { position: relative; background: radial-gradient(circle at 50% 40%, #2c4a2c, #172617 75%); border: 1px solid var(--border); }
.summary-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.summary-title { font-size: 1.25rem; }
.summary-note { display: flex; gap: 10px; color: var(--text-muted); font-size: .88rem; margin: 14px 0; }
.summary-note .icon { color: var(--primary-soft); margin-top: 2px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-summary { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto 24px; }
.review-summary-score { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--text); }
.review-summary .review-stars { margin: 0; }
.review-summary-count { color: var(--text-muted); }
.review-more { display: flex; justify-content: center; margin-top: 24px; }
.review-empty { grid-column: 1 / -1; text-align: center; max-width: 560px; margin: 0 auto; padding: 32px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--border-strong); color: var(--text-muted); }
.review-empty p { margin: 0 0 12px; }
.review-empty strong { color: var(--text); }
.review-empty .btn { margin-top: 8px; }
.review-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.review-stars { display: flex; gap: 3px; color: var(--warn); margin-bottom: 12px; }
.review-stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.review-stars .is-empty { color: var(--surface-3); }
.review-card blockquote { margin: 0 0 16px; color: var(--text); }
.review-meta { color: var(--text-dim); font-size: .88rem; }
.review-meta strong { color: var(--text); display: block; }
.reviews-empty { grid-column: 1 / -1; text-align: center; max-width: 560px; margin: 0 auto; padding: 44px 28px; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); background: rgba(19, 16, 31, .5); }
.reviews-empty .review-stars { justify-content: center; }
.reviews-empty p { color: var(--text-muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color var(--dur), background-color var(--dur); }
.faq[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--primary-soft); transition: transform var(--dur) var(--ease-out); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px; color: var(--text-muted); }
.faq-body p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.contact-grid.is-single { grid-template-columns: 1fr; max-width: 540px; }
.contact-card { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.contact-discord { border-color: rgba(88, 101, 242, .5); background: radial-gradient(circle at 100% 0%, rgba(88, 101, 242, .22), transparent 55%), var(--surface); }
.contact-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; background: var(--primary-faint); color: var(--primary-soft); }
.contact-icon .icon { width: 28px; height: 28px; }
.contact-icon.discord { background: var(--discord); color: #fff; }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 2px; }
.contact-label { color: var(--text-muted); }
.contact-handle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 14px 18px; margin: 6px 0 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border-strong); font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.6rem); cursor: pointer; text-align: left; transition: border-color var(--dur); }
.contact-handle:hover { border-color: var(--discord); }
.contact-handle .icon { color: var(--text-dim); }
.contact-handle-static { cursor: default; font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); justify-content: flex-start; flex-wrap: wrap; }
.contact-handle-static:hover { border-color: var(--border-strong); }
.placeholder-tag { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(251, 191, 36, .14); color: var(--warn); border: 1px solid rgba(251, 191, 36, .4); }
.contact-card .help { margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 28px; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { max-width: 440px; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; margin-top: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: flex-start; }
.footer-nav a { color: var(--text-muted); padding: 8px 0; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--text-muted); padding: 8px 0; }
.footer-legal a:hover { color: var(--text); }

/* 6. Motion ---------------------------------------------------------------- */
/* Content is only hidden for the reveal effect while the `js` class is on
   <html> (added inline in <head>, removed again if main.js fails). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  .hero-frame { transform: none; }
  .hero-cash { animation: none; }
}

/* Responsive --------------------------------------------------------------- */
/* Collapse nav into a menu before the links run out of room */
@media (max-width: 1180px) {
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; }
  .nav-mobile-only { display: block; }
  .header-actions .icon-btn[href] { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: rgba(7, 6, 12, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .main-nav ul { flex-direction: column; padding: 12px var(--gutter) 20px; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  body.nav-open .site-header { background: rgba(7, 6, 12, .97); border-color: var(--border); }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .hero { min-height: auto; }
  .hero-inner, .service-grid, .custom-card, .order-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-art { max-width: 680px; margin-right: 24px; }
  .service-visual { order: 2; }
  .summary, .faq-layout .section-head { position: static; }
  .summary { order: -1; }
  .package-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .custom-cash { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-actions .btn { width: 100%; }
  .hero-facts li { flex: 1 1 calc(50% - 12px); }
  .hero-frame { transform: none; }
  .hero-art { margin-right: 0; padding-bottom: 56px; }
  .hero-cash { right: 8px; width: 120px; }
  .package-grid, .review-grid, .steps { grid-template-columns: 1fr; }
  .sv-tag { display: none; }
  .progress-step { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; font-size: .8rem; }
  .readout-price-wrap { text-align: left; }
  .review-list > div { flex-direction: column; gap: 2px; }
  .review-list dd { text-align: left; }
  .review-total { flex-direction: row !important; align-items: baseline; }
}
