/* Deflicker marketing site: one shared stylesheet. No framework, system fonts only. */

:root {
  --bg: #0a0a0f;
  --bg-raised: #111119;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --surface-solid: #13131c;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f3f7;
  --muted: #a9a9bb;
  --faint: #83839a;
  --violet: #7c5cff;
  --violet-soft: #b3a2ff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --gutter: clamp(16px, 4.5vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(124, 92, 255, 0.2), transparent 62%),
    radial-gradient(900px 520px at 100% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: break-word;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--violet-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 5.4vw + 0.6rem, 3.75rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.6vw + 0.8rem, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 650; color: #fff; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 6px; padding: 0.1em 0.35em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #0a0a0f; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan);
}

/* ---------- Glass ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: var(--surface-solid); }
  .site-header { background: #0d0d14 !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .nav-extra { display: none; }
@media (min-width: 760px) { .nav .nav-extra { display: inline-block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid var(--border-strong); color: var(--text); background: var(--surface);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--surface-strong); color: #fff; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 28px -10px rgba(124, 92, 255, 0.8); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 0.9rem; }
.nav .btn-sm { color: #fff; margin-left: 4px; }

.store-badge { display: inline-block; border-radius: 12px; color: #fff; font-size: 0.85rem; line-height: 1.3; text-decoration: none; }
.store-badge img { width: 180px; height: 60px; }
.store-badge.small img { width: 150px; height: 50px; }
.store-badge.is-fallback {
  display: inline-flex; align-items: center; justify-content: center; width: 180px; height: 60px; line-height: 1.2;
  background: #000; border: 1px solid #a6a6a6; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; text-align: center; padding: 0 14px;
}
.store-badge.small.is-fallback { width: 150px; height: 50px; font-size: 0.85rem; }
.store-badge.is-fallback img { display: none; }
.store-badge.is-fallback::after { content: "Download on the App Store"; }
@media (max-width: 400px) {
  .store-badge img, .store-badge.is-fallback { width: 165px; height: 55px; }
  .cta-row { gap: 12px; }
  .cta-row .btn { padding-inline: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section.pt-0 { padding-top: 0; }
.section.pt-sm { padding-top: 28px; }
.lead-narrow { max-width: 40em; }
.cta-row.center { justify-content: center; margin-top: 24px; }
.more-link { margin-top: 22px; font-weight: 600; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--violet-soft); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { font-size: clamp(1.08rem, 0.6vw + 0.95rem, 1.24rem); color: #cfcfdc; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { max-width: 36em; margin-bottom: 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { margin-top: 16px; font-size: 0.92rem; color: var(--faint); }
.cta-note a { color: var(--muted); }

.demo { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.demo::before {
  content: ""; position: absolute; inset: 8% -6% -4% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.45), transparent), radial-gradient(closest-side at 80% 80%, rgba(34, 211, 238, 0.3), transparent);
  filter: blur(40px);
}
.demo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); background: #000;
  aspect-ratio: 724 / 640;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.demo-frame video { width: 100%; height: 100%; object-fit: cover; }
.demo-toggle {
  position: absolute; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(10, 10, 15, 0.6); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.demo-toggle[hidden] { display: none; }
.demo-toggle svg { width: 18px; height: 18px; }
.demo-toggle .i-pause { display: none; }
.demo-toggle.is-playing .i-pause { display: block; }
.demo-toggle.is-playing .i-play { display: none; }
.demo figcaption, .figure figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--faint); text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { padding: clamp(20px, 3vw, 28px); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(34, 211, 238, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Compare slider ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.compare {
  --pos: 50%;
  position: relative; width: 100%; max-width: 380px; margin-inline: auto;
  aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); background: #000;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: rgba(10, 10, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare-handle svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare-label {
  position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; pointer-events: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(10, 10, 15, 0.6); border: 1px solid rgba(255, 255, 255, 0.16);
}
.compare-label.l { left: 12px; }
.compare-label.r { right: 12px; background: rgba(34, 211, 238, 0.28); }
.compare input[type="range"] { position: absolute; inset: auto 0 0 0; width: 100%; opacity: 0; pointer-events: none; }
.compare:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps.row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { counter-increment: step; position: relative; }
.steps > li .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--grad);
}

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .plan { font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.price-card .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 750; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.price-card li { position: relative; padding-left: 28px; color: #d6d6e2; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm4.1 6.6-4.8 5.2a.9.9 0 0 1-1.3 0L4.9 9.6a.9.9 0 1 1 1.3-1.3l1.4 1.5 4.2-4.5a.9.9 0 0 1 1.3 1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0Zm4.1 6.6-4.8 5.2a.9.9 0 0 1-1.3 0L4.9 9.6a.9.9 0 1 1 1.3-1.3l1.4 1.5 4.2-4.5a.9.9 0 0 1 1.3 1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card li.minus::before { background: var(--faint); -webkit-mask: none; mask: none; width: 10px; height: 2px; top: 0.8em; left: 4px; border-radius: 2px; }
.price-card.featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 60px -30px rgba(124, 92, 255, 0.7);
}
.tag {
  display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--grad);
}
.pricing-notes { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.pricing-notes p { margin-bottom: 0.5em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0; border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 650; font-size: 1.05rem; line-height: 1.4; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--violet-soft); border-bottom: 2px solid var(--violet-soft);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary h3 { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: 0; margin: 0; }
.faq .answer { padding: 0 20px 20px; color: #cdcdda; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Guide cards ---------- */
.guide-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease; }
.guide-card:hover { border-color: rgba(124, 92, 255, 0.55); background: var(--surface-strong); transform: translateY(-2px); color: var(--text); }
.guide-card h3 { font-size: 1.12rem; }
.guide-card p { color: var(--muted); margin: 0 0 16px; }
.guide-card .meta { margin-top: auto; font-size: 0.85rem; color: var(--violet-soft); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 260px at 50% 0%, rgba(124, 92, 255, 0.3), transparent 70%); }
.cta-band img.app-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 18px; box-shadow: 0 14px 40px -12px rgba(124, 92, 255, 0.7); }
.cta-band p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.cta-band .store-badge { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-block: 48px 40px; font-size: 0.93rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-title { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin: 12px 0 0; max-width: 30em; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.82rem; color: var(--faint); }
.legal p { margin: 0 0 6px; }

/* ---------- Article (guides) ---------- */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--faint); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.25); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.article-head { padding-block: clamp(32px, 6vw, 64px) 8px; }
.article-head h1 { font-size: clamp(2rem, 3.8vw + 0.9rem, 3.1rem); }
.article-meta { color: var(--faint); font-size: 0.9rem; margin-top: 10px; }
.prose { font-size: 1.075rem; line-height: 1.75; color: #dcdce6; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.45rem, 1.5vw + 1rem, 1.85rem); color: #fff; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.7em; color: #fff; scroll-margin-top: 84px; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--violet-soft); }
.prose a { color: var(--violet-soft); }
.prose a:hover { color: #fff; }
.callout { padding: 18px 20px; border-radius: 16px; margin: 1.6em 0; border: 1px solid rgba(124, 92, 255, 0.35); background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.06)); }
.callout p:last-child { margin-bottom: 0; }
.callout .callout-title { display: block; font-weight: 700; color: #fff; margin-bottom: 4px; }
.toc { padding: 18px 22px; margin: 26px 0 8px; }
.toc-title { font-size: 0.8rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.98rem; }
.toc a { text-decoration: none; color: #d4d4e0; }
.toc a:hover { color: #fff; text-decoration: underline; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--border); }
th { color: #fff; font-weight: 650; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.table-wrap table { min-width: 520px; }
pre {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.3em 0; padding: 16px 18px; border-radius: 14px;
  background: #07070b; border: 1px solid var(--border); font: 0.88rem/1.6 var(--mono); color: #e6e6f0;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.figure { margin: 1.8em 0; }
.figure img, .figure svg { border-radius: 16px; border: 1px solid var(--border); width: 100%; height: auto; }
.chart { background: #0d0d14; }
.figure .chart { max-width: 560px; margin-inline: auto; }
.chart .ax { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.chart .wave { stroke: var(--cyan); stroke-width: 2.4; fill: none; }
.chart .tick { stroke: rgba(179, 162, 255, 0.45); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .dot { fill: var(--violet-soft); stroke: #0d0d14; stroke-width: 2; }
.chart .bar { fill: url(#barGrad); }
.chart text { fill: #a9a9bb; font: 500 18px var(--font); }
.chart text.t { fill: #fff; font-weight: 650; }
.howto-steps { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; counter-reset: hs; }
.howto-steps > li { padding: 20px 22px 20px 66px; position: relative; margin: 0; }
.howto-steps > li::before {
  counter-increment: hs; content: counter(hs);
  position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.92rem; color: #fff; background: var(--grad);
}
.howto-steps h3 { margin: 2px 0 6px; font-size: 1.1rem; }
.howto-steps p { margin: 0; color: #cdcdda; }
@media (max-width: 480px) {
  .howto-steps > li { padding: 18px 18px 18px 58px; }
  .howto-steps > li::before { left: 16px; top: 18px; }
}
.more-guides ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.more-guides a { display: block; padding: 14px 18px; border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 600; }
.more-guides a:hover { border-color: rgba(124, 92, 255, 0.55); color: #fff; }
.more-guides a span { display: block; font-weight: 400; color: var(--muted); font-size: 0.93rem; margin-top: 2px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.notfound .code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; margin-bottom: 8px; }

/* ---------- Motion ---------- */
@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; }
  .guide-card:hover, .btn-primary:hover { transform: none; }
}
