/* SLEM Scripts — shop window */
:root {
  --bg: #140306;
  --bg-deep: #0b0103;
  --maroon: #4a0d19;
  --maroon-2: #2c0810;
  --panel: rgba(255, 235, 235, .055);
  --panel-2: rgba(255, 235, 235, .10);
  --line: rgba(255, 200, 200, .14);
  --line-hi: rgba(255, 210, 200, .30);
  --fg: #f6eee6;
  --dim: #cbb6b9;
  --dimmer: #a89296;
  --gold: #e3c07a;
  --green: #55d97f;
  --radius: 16px;
  --radius-lg: 22px;
  --serif: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --script: "Edwardian Script ITC", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  --ui: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  --gut: 20px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--fg);
  font: 400 17px/1.65 var(--ui);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 50% -220px, var(--maroon) 0%, var(--maroon-2) 42%, transparent 78%),
    radial-gradient(900px 600px at 110% 40%, rgba(120, 20, 38, .30) 0%, transparent 70%),
    radial-gradient(800px 500px at -10% 75%, rgba(90, 16, 30, .26) 0%, transparent 72%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::after { /* drifting embers, decorative */
  content: "";
  position: fixed;
  inset: -20% -10%;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 150, 150, .16) 0 1.6px, transparent 3px),
    radial-gradient(circle at 74% 12%, rgba(255, 220, 200, .13) 0 1.3px, transparent 3px),
    radial-gradient(circle at 88% 64%, rgba(255, 160, 160, .14) 0 2px, transparent 4px),
    radial-gradient(circle at 34% 78%, rgba(255, 235, 220, .10) 0 1.4px, transparent 3px);
  background-size: 420px 420px, 300px 300px, 360px 360px, 260px 260px;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-60px, -120px, 0); }
}

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

a { color: var(--fg); text-decoration-color: rgba(227, 192, 122, .55); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--fg); color: #1a0509; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .18s ease;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 1; }
.narrow { width: min(760px, 100%); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(16, 3, 6, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-head.stuck { border-bottom-color: var(--line); background: rgba(13, 2, 5, .90); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); }
.brand .wm { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand .wm b { font: 700 21px/1 var(--serif); letter-spacing: 2.5px; }
.brand .wm i { font: 400 22px/1 var(--script); font-style: normal; color: var(--dim); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.navlink {
  padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--dim);
  font: 600 14px var(--ui); white-space: nowrap; transition: color .18s, background .18s;
}
.nav a.navlink:hover { color: var(--fg); background: var(--panel); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line); background: var(--panel); color: var(--fg);
  padding: 13px 22px; border-radius: 13px; font: 700 15px var(--ui); cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: transform .12s ease, background .18s, border-color .18s, box-shadow .25s;
}
.btn:hover { background: var(--panel-2); border-color: var(--line-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(180deg, #fbf3e6, #e6d3b4);
  color: #24070d; border-color: transparent;
  box-shadow: 0 10px 30px -14px rgba(255, 228, 190, .75);
}
.btn.primary:hover { box-shadow: 0 14px 38px -14px rgba(255, 228, 190, .95); }
.btn.small { padding: 9px 15px; font-size: 13.5px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .5; cursor: not-allowed; transform: none; }
.btn .cost { font: 600 14px var(--ui); opacity: .72; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 24px; text-align: center; }
.hero-card {
  position: relative; margin: 0 auto 34px; width: min(880px, 100%);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-hi);
  box-shadow: var(--shadow), 0 0 90px -30px rgba(255, 180, 170, .35);
  background: #170406;
  aspect-ratio: 1008 / 556;
}
.hero-card video, .hero-card img.poster {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.015);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 3, 6, .85) 100%);
}
.hero-card .sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 240, 225, .22) 48%, transparent 58%);
  background-size: 260% 100%;
  animation: sheen 7.5s ease-in-out infinite;
}
@keyframes sheen {
  0%, 62% { background-position: 150% 0; }
  100% { background-position: -60% 0; }
}

.eyebrow {
  font: 700 11.5px var(--ui); letter-spacing: 3.4px; text-transform: uppercase; color: var(--gold);
  margin: 0 0 16px;
}
h1 {
  font: 700 clamp(30px, 5.4vw, 54px)/1.14 var(--serif);
  margin: 0 0 18px; letter-spacing: .4px;
  text-shadow: 0 0 46px rgba(255, 220, 200, .28);
}
h1 .soft { color: var(--dim); }
.lede { color: var(--dim); font-size: clamp(16px, 2.1vw, 19px); margin: 0 auto 28px; max-width: 620px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust {
  margin: 26px 0 0; padding: 0; list-style: none;
  display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap;
  color: var(--dimmer); font-size: 13.5px;
}
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold); flex: none;
}

/* ---------- sections ---------- */
section { padding: 62px 0; position: relative; z-index: 1; }
section + section { border-top: 1px solid rgba(255, 200, 200, .07); }
h2 { font: 700 clamp(24px, 3.6vw, 34px)/1.2 var(--serif); margin: 0 0 12px; letter-spacing: .3px; }
h3 { font: 700 18px/1.35 var(--ui); margin: 0 0 8px; }
.sec-lede { color: var(--dim); max-width: 640px; margin: 0 0 34px; }
.kicker {
  font: 700 11px var(--ui); letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin: 0 0 10px;
}

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px; backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-hi); background: var(--panel-2); }
.card p { color: var(--dim); margin: 0; font-size: 15.5px; }
.card .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(227, 192, 122, .12); border: 1px solid rgba(227, 192, 122, .3);
  color: var(--gold); margin-bottom: 14px;
}
.card .ico svg { width: 19px; height: 19px; }

.plain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.plain-list li { display: flex; gap: 11px; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.plain-list li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold); }
.plain-list li b { color: var(--fg); font-weight: 600; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -17px; left: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 15px var(--mono); color: #24070d;
  background: linear-gradient(180deg, #fbf3e6, #dcc19a);
  box-shadow: 0 0 22px -6px rgba(255, 228, 190, .8);
}
.step h3 { margin-top: 8px; }
.step p { color: var(--dim); margin: 0; font-size: 15.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.plan {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 16px;
}
.plan.featured {
  border-color: rgba(227, 192, 122, .45);
  background: linear-gradient(180deg, rgba(227, 192, 122, .10), rgba(255, 235, 235, .05));
  box-shadow: 0 0 70px -34px rgba(255, 210, 160, .9);
}
.plan .tag {
  position: absolute; top: 18px; right: 18px;
  font: 700 10.5px var(--ui); letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim);
  background: rgba(0, 0, 0, .3);
}
.plan.featured .tag { color: var(--gold); border-color: rgba(227, 192, 122, .4); }
.plan h3 { font: 700 20px var(--serif); letter-spacing: 1.2px; margin: 0; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 700 42px/1 var(--serif); letter-spacing: 1px; }
.price span { color: var(--dim); font-size: 14.5px; }
.plan .note { color: var(--dimmer); font-size: 13px; margin: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan ul li { display: flex; gap: 10px; color: var(--dim); font-size: 15px; line-height: 1.5; }
.plan ul li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.plan.soon { opacity: .96; }
.plan.soon ul li svg { color: var(--dimmer); }
.plan .foot { margin-top: auto; display: grid; gap: 10px; }

.paylogos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.paylogos span {
  font: 600 12px var(--ui); color: var(--dimmer); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 10px; background: rgba(0, 0, 0, .22);
}

/* ---------- notice / faq ---------- */
.notice {
  border: 1px solid rgba(227, 192, 122, .28); background: rgba(227, 192, 122, .07);
  border-radius: var(--radius); padding: 20px 22px;
}
.notice h3 { color: var(--gold); }
.notice p { color: var(--dim); margin: 0 0 10px; font-size: 15.5px; }
.notice p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line); border-radius: 13px; background: var(--panel);
  padding: 0 18px; transition: border-color .2s, background .2s;
}
details[open] { border-color: var(--line-hi); background: var(--panel-2); }
summary {
  cursor: pointer; list-style: none; padding: 17px 30px 17px 0; position: relative;
  font: 600 16px var(--ui);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details .answer { padding: 0 0 18px; color: var(--dim); font-size: 15.5px; }
details .answer p { margin: 0 0 10px; }
details .answer p:last-child { margin-bottom: 0; }

/* ---------- final band ---------- */
.band {
  border: 1px solid var(--line-hi); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(74, 13, 25, .55), rgba(20, 3, 6, .5));
  padding: 44px 30px; text-align: center; box-shadow: var(--shadow);
}
.band h2 { margin-bottom: 10px; }
.band p { color: var(--dim); margin: 0 auto 24px; max-width: 520px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 56px; position: relative; z-index: 1; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: minmax(230px, 1.3fr) repeat(auto-fit, minmax(150px, 1fr)); }
.foot-grid h4 { font: 700 11px var(--ui); letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot-grid a { color: var(--dim); text-decoration: none; font-size: 14.5px; }
.foot-grid a:hover { color: var(--fg); text-decoration: underline; }
.foot-note { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 200, 200, .07); color: var(--dimmer); font-size: 13px; }
.foot-note p { margin: 0 0 8px; max-width: 760px; }

/* ---------- document pages ---------- */
.doc { padding: 46px 0 20px; }
.doc h1 { font-size: clamp(28px, 4.6vw, 40px); margin-bottom: 10px; }
.doc .updated { color: var(--dimmer); font-size: 13.5px; margin: 0 0 34px; }
.doc h2 { font: 700 21px/1.3 var(--ui); margin: 34px 0 10px; letter-spacing: 0; }
.doc h3 { margin: 22px 0 8px; font-size: 16.5px; }
.doc p, .doc li { color: var(--dim); font-size: 16px; }
.doc ul, .doc ol { padding-left: 20px; display: grid; gap: 8px; }
.doc .lead { color: var(--fg); font-size: 17.5px; }
.doc dl { display: grid; gap: 4px 18px; grid-template-columns: max-content 1fr; margin: 0 0 18px; }
.doc dt { color: var(--dimmer); font-size: 14.5px; }
.doc dd { margin: 0; color: var(--dim); font-size: 15.5px; }
.quote {
  border-left: 3px solid var(--gold); background: rgba(227, 192, 122, .07);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 16px 0; color: var(--fg); font-size: 15.5px;
}
.quote.de { color: var(--dim); font-size: 14.5px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); text-decoration: none; font: 600 14px var(--ui); margin-bottom: 18px; }
.back:hover { color: var(--fg); }

/* ---------- forms / dialog ---------- */
dialog.sheet {
  border: 1px solid var(--line-hi); border-radius: var(--radius-lg); padding: 0;
  background: #1b0509; color: var(--fg); width: min(520px, calc(100vw - 32px));
  box-shadow: 0 40px 100px -30px #000;
}
dialog.sheet::backdrop { background: rgba(8, 1, 3, .74); backdrop-filter: blur(4px); }
.sheet-in { padding: 26px 26px 28px; }
.sheet-in h2 { font: 700 23px var(--serif); margin: 0 0 4px; }
.sheet-in .sub { color: var(--dim); font-size: 14.5px; margin: 0 0 20px; }
.sheet-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--dim); cursor: pointer; font-size: 17px; line-height: 1;
}
.sheet-close:hover { background: var(--panel-2); color: var(--fg); }

.field { display: grid; gap: 6px; margin-bottom: 15px; }
.field label { font: 600 14px var(--ui); }
.field .hint { color: var(--dimmer); font-size: 13px; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); color: var(--fg);
  padding: 12px 14px; border-radius: 12px; font: 15px var(--ui);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(227, 192, 122, .55); }
.field textarea { min-height: 96px; resize: vertical; }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin-bottom: 15px;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: rgba(0, 0, 0, .22); }
.check input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #e3c07a; }
.check label { font-size: 14px; color: var(--dim); line-height: 1.5; }
.check label b { color: var(--fg); font-weight: 600; }
.check .de { display: block; color: var(--dimmer); font-size: 12.5px; margin-top: 6px; }
.check:focus-within { border-color: rgba(227, 192, 122, .45); }

.form-err { color: #ff9a9a; font-size: 14px; min-height: 20px; margin: 0 0 6px; }
.fine { color: var(--dimmer); font-size: 12.5px; margin: 14px 0 0; line-height: 1.55; }
.fine a { color: var(--dim); }

/* success / cancelled */
.result { padding: 60px 0 30px; text-align: center; }
.result .crest {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-hi); box-shadow: 0 0 60px -18px rgba(255, 210, 170, .7);
}
.result h1 { margin-bottom: 12px; }
.result .lede { margin-bottom: 30px; }
.timeline { display: grid; gap: 14px; text-align: left; counter-reset: t; margin: 0 auto; width: min(620px, 100%); }
.timeline li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--panel); }
.timeline li::before {
  counter-increment: t; content: counter(t);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px var(--mono); color: #24070d; background: linear-gradient(180deg, #fbf3e6, #dcc19a);
}
.timeline strong { display: block; margin-bottom: 3px; }
.timeline span { color: var(--dim); font-size: 15px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  :root { --gut: 16px; }
  .nav a.navlink { display: none; }
  .nav .btn { padding: 10px 15px; font-size: 14px; }
  section { padding: 48px 0; }
  .hero { padding: 34px 0 16px; }
  body { font-size: 16.5px; }
}

@media (max-width: 420px) {
  .brand img { width: 30px; height: 30px; }
  .brand .wm b { font-size: 18px; letter-spacing: 2px; }
  .brand .wm i { font-size: 19px; }
  .head-in { min-height: 60px; gap: 10px; }
  .cta-row .btn { width: 100%; }
  .band { padding: 32px 18px; }
  .plan { padding: 22px 18px 24px; }
  .doc dl { grid-template-columns: 1fr; gap: 2px; }
  .doc dd { margin-bottom: 10px; }
}

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

/* slim footer for the document pages */
.foot-slim ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0 0 20px; }
.foot-slim a { color: var(--dim); text-decoration: none; font-size: 14.5px; }
.foot-slim a:hover { color: var(--fg); text-decoration: underline; }
