/* JakeBot site stylesheet. */
:root {
    --accent: #f5b82e;
    --accent-strong: #ffd166;
    --accent-ink: #1d1500;
    --bg: #14110a;
    --bg-alt: #1c170c;
    --surface: #221c0e;
    --surface-2: #2a2312;
    --text: #f6ecd2;
    --muted: #b9a874;
    --border: #3a3018;
    --shadow: 0 10px 30px rgb(0 0 0 / 45%);
    --code-bg: #0d0b06;
    --code-text: #f6ecd2;
    --radius: 16px;
    --header-h: 68px;
    color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-y: scroll; scrollbar-gutter: stable; overflow-x: clip; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--accent); color: var(--accent-ink);
    padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; gap: 16px;
    min-height: var(--header-h);
}
.brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); text-decoration: none;
    font-weight: 800; font-size: 1.25rem; letter-spacing: .02em;
}
.brand img { width: 40px; height: 40px; cursor: pointer; }
.brand img.spin { animation: spin .8s ease-in-out; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem;
    transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); }
.nav-links a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }

.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); cursor: pointer;
    font-size: 1.1rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--accent); }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgb(242 176 30 / 35%); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px;}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
    background:
        radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
        var(--bg);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    align-items: center;
    gap: clamp(24px, 6vw, 72px);
    text-align: left;
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy .lead { margin-left: 0; }
.hero-copy .btn-row { justify-content: flex-start; margin-top: 32px}
.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 290px;
}
.hero-art::before {
    content: "";
    position: absolute;
    width: min(100%, 310px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 30%, transparent);
    box-shadow: 0 0 0 18px color-mix(in srgb, var(--accent) 10%, transparent);
}
.hero-art img {
    position: relative;
    width: min(100%, 310px);
    filter: drop-shadow(12px 16px 0 color-mix(in srgb, var(--accent-ink) 18%, transparent));
    animation: hero-float 4s ease-in-out infinite;
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-9px) rotate(-2deg); }
}
.hero-spark {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent);
    transform: rotate(45deg);
}
.hero-spark-one { top: 14%; right: 7%; }
.hero-spark-two { bottom: 12%; left: 5%; width: 10px; height: 10px; }
.hero .tagline {
    display: inline-block; margin-bottom: 18px; padding: 6px 16px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
    color: var(--muted); font-size: .9rem; font-weight: 500;
}
.hero h1 span { color: var(--accent-strong); }
.hero .lead { max-width: 640px; margin: 15px 0; color: var(--muted); font-size: 1.15rem; }
.stats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 80px; }
.stat {
    min-width: 170px; padding: 14px 22px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 1.8rem; color: var(--accent-strong); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }

.feature {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(40px, 7vw, 80px);
}
.feature:last-child { margin-bottom: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media img:not(.character-art):not(.feature-peeker) {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform .25s;
}
.feature-media:hover img:not(.character-art):not(.feature-peeker) { transform: scale(1.02) rotate(-.5deg); }
.feature-text p { color: var(--muted); }
.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.feature-highlights li {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: .88rem;
    font-weight: 600;
}
.character-art {
    width: auto !important;
    max-height: 330px;
    object-fit: contain;
    margin-inline: auto;
    background: transparent;
    box-shadow: none !important;
    border: 0 !important;
}

/* Wordcloud media & peeker character */
.wordcloud-media {
    position: relative;
}
.wordcloud-img {
    position: relative;
    z-index: 2;
    display: block;
}
.feature-peeker {
    position: absolute;
    left: -85px;
    top: 18%;
    width: 125px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: transform .35s var(--pop);
    filter: drop-shadow(-3px 4px 6px rgb(0 0 0 / 35%));
}
.wordcloud-media:hover .feature-peeker {
    transform: translateX(-10px) rotate(-4deg);
}

.cta {
    text-align: center; padding: clamp(36px, 6vw, 64px);
    /* border-radius: calc(var(--radius) * 1.5); */
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-ink); box-shadow: var(--shadow);
}
.cta-inner { position: relative; z-index: 1; }
.cta-art { margin-bottom: 8px; }
.cta-art img {
    width: auto;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(4px 6px 0 color-mix(in srgb, var(--accent-ink) 25%, transparent));
    animation: bob 3.5s ease-in-out infinite;
}
.cta p { max-width: 520px; margin: 0 auto 22px; }
.cta .btn-primary { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.cta a:not(.btn) { color: var(--accent-ink); font-weight: 700; }

/* ---------- Page layouts ---------- */
.page { flex: 1; padding: clamp(40px, 7vw, 80px) 0; }
.page-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.page-title { text-align: center; margin-bottom: 40px; }
.page-title p { max-width: 640px; margin-inline: auto; }
.translation-art {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 14px;
    height: 112px;
    margin: 18px auto -12px;
}
.translation-art img {
    width: auto;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(4px 5px 0 color-mix(in srgb, var(--accent-ink) 14%, transparent));
}
.translation-art img:first-child { transform: rotate(-4deg); }
.translation-art img:last-child { transform: rotate(5deg); height: 98px; }
.eyebrow {
    margin: 0 0 8px; font-size: .8rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;;
}
.center-card {
    max-width: 560px; margin: 0 auto; text-align: center;
    padding: clamp(28px, 5vw, 48px); border-radius: calc(var(--radius) * 1.5);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.center-card .btn-row { justify-content: center; margin-top: 24px; }
.support-card-art {
    width: min(100%, 220px);
    height: 150px;
    object-fit: contain;
    object-position: bottom center;
    margin: -20px auto 4px;
    filter: drop-shadow(5px 6px 0 color-mix(in srgb, var(--accent-ink) 16%, transparent));
}

.card {
    padding: 24px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.link-list a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 16px 20px; border-radius: var(--radius); text-decoration: none; font-weight: 600;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    transition: border-color .15s, transform .15s;
}
.link-list a::after { content: "\2192"; color: var(--accent-strong); }
.link-list a:hover { border-color: var(--accent); transform: translateX(4px); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.price-card .from { color: var(--muted); font-size: .9rem; }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 24px; flex: 1; }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.price-card li:last-child { border-bottom: 0; }
.price-card em { font-style: normal; font-weight: 700; color: var(--accent-strong); text-align: right; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.premium-card { position: relative;}
.premium-card-art {
    width: min(100%, 220px);
    height: 132px;
    object-fit: contain;
    position: absolute;
    top: -110px; left: 60%;
    object-position: bottom center;
    margin: -6px auto 10px;
    filter: drop-shadow(5px 6px 0 color-mix(in srgb, var(--accent-ink) 16%, transparent));
}

@media (max-width: 820px) {
   .premium-card {
    margin-top: 80px;
   }
}

/* ---------- Translation styles ---------- */
.style-card h3 { margin-bottom: 6px; }
.style-card p { color: var(--muted); font-size: .95rem; }
.style-card img { margin-top: 14px; border-radius: 10px; }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code.cmd, .pill {
    display: inline-block; padding: 4px 10px; border-radius: 8px;
    background: var(--code-bg); color: var(--code-text); font-size: .85rem; word-break: break-word;
}
pre {
    overflow-x: auto; margin: 14px 0 0; padding: 16px; border-radius: 10px;
    background: var(--code-bg); color: var(--code-text); line-height: 1.5; font-size: .88rem;
}

/* ---------- Health & Status Page ---------- */
.status-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: clamp(20px, 3vw, 32px);
    border-radius: calc(var(--radius) * 1.3);
    background: var(--surface);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}
.status-hero.ok {
    border-color: #10b981;
}
.status-hero.degraded {
    border-color: #f59e0b;
}
.status-hero-art img {
    width: 80px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(4px 4px 0 var(--border));
}
.status-hero-content { flex: 1; }
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.status-badge.ok {
    background: #d1fae5;
    color: #065f46;
}
[data-theme="dark"] .status-badge.ok {
    background: #064e3b;
    color: #a7f3d0;
}
.status-badge.degraded {
    background: #fef3c7;
    color: #92400e;
}
[data-theme="dark"] .status-badge.degraded {
    background: #78350f;
    color: #fde68a;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent);
}
.status-hero h2 {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.status-hero p {
    margin: 0;
    color: var(--muted);
}
.status-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-size: .9rem;
}
.status-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}
.status-metric b {
    color: var(--text);
}

.health-section-title {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.components-list {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}
.component-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}
.component-row:hover {
    transform: translateY(-2px);
}
.component-info {
    display: flex;
    align-items: center;
}
.component-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}
.component-detail {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 2px;
}
.component-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}
.component-status-pill.ok {
    background: #d1fae5;
    color: #065f46;
}
[data-theme="dark"] .component-status-pill.ok {
    background: #064e3b;
    color: #a7f3d0;
}
.component-status-pill.warn {
    background: #fef3c7;
    color: #92400e;
}
[data-theme="dark"] .component-status-pill.warn {
    background: #78350f;
    color: #fde68a;
}
.component-status-pill.error {
    background: #fee2e2;
    color: #991b1b;
}
[data-theme="dark"] .component-status-pill.error {
    background: #7f1d1d;
    color: #fecaca;
}

.endpoint-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.method { padding: 3px 9px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 800; }
.endpoint-head code { font-size: .95rem; overflow-wrap: anywhere; font-weight: 600; }
.endpoint .response { color: var(--muted); font-size: .92rem; }
.endpoint a.endpoint-link {
    font-size: .85rem;
    margin-left: auto;
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 600;
}
.endpoint a.endpoint-link:hover { text-decoration: underline; }

/* ---------- Long-form legal text (cookie policy) ---------- */
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.prose, .prose * { color: var(--text) !important; background: transparent !important; }
.prose a { color: var(--accent-strong) !important; }
.prose img { display: inline; }
.prose table { max-width: 100%; display: block; overflow-x: auto; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    margin-top: auto; border-top: 1px solid var(--border); background: var(--bg-alt); padding: 36px 0 28px;
}
.footer-peeker {
    position: absolute;
    top: -55px;
    right: clamp(16px, 8vw, 80px);
    width: 85px;
    height: 55px;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}
.footer-peeker img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 -3px 4px color-mix(in srgb, var(--accent-ink) 16%, transparent));
    transition: transform .3s var(--pop);
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent-strong); text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.socials a:hover { border-color: var(--accent); }
.socials img { width: 22px; height: 22px; object-fit: contain; }
.credits { margin-top: 22px; color: var(--muted); font-size: .8rem; }
.credits p { margin: 0 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .menu-toggle { display: inline-grid; }
    .site-nav { margin-left: auto; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 12px 20px 20px; background: var(--bg);
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.open .nav-links { display: flex; }
    .nav-links a { padding: 14px 16px; border-radius: 12px; }
    .header-cta { display: none; }
    .feature, .feature.reverse { grid-template-columns: 1fr; }
    .feature.reverse .feature-media { order: 0; }
    .feature-peeker {
        width: 80px;
        left: -32px;
        top: 10%;
    }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy .lead { margin-inline: auto; }
    .hero-copy .btn-row { justify-content: center; }
    .hero-art { min-height: 230px; }
    .hero-art img { width: min(70vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Layout stability ---------- */
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* ---------- Whimsy ---------- */
:root {
    --display: Fredoka, Montserrat, system-ui, sans-serif;
    --pop: cubic-bezier(.34, 1.56, .64, 1);
    --sticker: 4px 4px 0 var(--border);
}
h1, h2, h3, .brand, .eyebrow { font-family: var(--display); }
h1, h2 { font-weight: 700; letter-spacing: 0; }

.brand img { transition: transform .4s var(--pop); }
.brand:hover img { transform: rotate(-14deg) scale(1.12); }

.nav-links a { transition: transform .25s var(--pop), background .15s; }
.nav-links a:hover { transform: translateY(-2px) rotate(-2deg); }

.btn { border-width: 2px; border-color: var(--accent-ink); transition: transform .25s var(--pop), box-shadow .2s, background .15s; box-shadow: 3px 3px 0 var(--accent-ink); }
.btn:hover { transform: translate(-1px, -3px) rotate(-1.5deg); box-shadow: 5px 6px 0 var(--accent-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--accent-ink); }
.btn-ghost { border-color: var(--text); box-shadow: 3px 3px 0 var(--text); }
.btn-ghost:hover { box-shadow: 5px 6px 0 var(--text); }
.btn-primary { box-shadow: 3px 3px 0 var(--accent-ink); }
.cta .btn-primary { border-color: var(--accent-ink); box-shadow: 3px 3px 0 rgb(0 0 0 / 35%); }
.nav-cta, .site-nav > .btn { box-shadow: 2px 2px 0 var(--accent-ink); }

.card, .stat, .center-card, .link-list a, .feature-media img:not(.character-art):not(.feature-peeker) {
    border: 2px solid var(--text); box-shadow: var(--sticker);
}
.card, .stat, .center-card, .link-list a, .feature-media img:not(.character-art):not(.feature-peeker) { border-color: var(--border); }
.card, .stat, .link-list a { transition: transform .3s var(--pop), box-shadow .2s; }
.grid > .card:nth-child(odd):hover { transform: translateY(-5px) rotate(-1deg); }
.grid > .card:nth-child(even):hover { transform: translateY(-5px) rotate(1deg); }
.stat:nth-child(1) { transform: rotate(-2deg); }
.stat:nth-child(2) { transform: rotate(2deg); }
.stat:hover { transform: rotate(0) scale(1.05); }
.feature-media:hover img:not(.character-art):not(.feature-peeker) { transform: scale(1.03) rotate(-1.5deg); }
.feature:nth-child(even) .feature-media:hover img:not(.character-art):not(.feature-peeker) { transform: scale(1.03) rotate(1.5deg); }

.hero .tagline { transform: rotate(-2deg); border: 2px dashed var(--accent-strong); }
.hero h1 span { display: inline-block; animation: bob 3s ease-in-out infinite; }
.hero h1 span::after { content: "\2726"; font-size: .45em; vertical-align: super; margin-left: 4px; color: var(--accent); }

/* Floating sparkles */
.hero::before, .hero::after, .cta::before, .cta::after {
    position: absolute; pointer-events: none; line-height: 1; user-select: none;
    font-size: clamp(28px, 5vw, 56px); opacity: .55; color: var(--accent-strong);
    animation: float 6s ease-in-out infinite;
}
.hero::before { content: "\2726"; left: 8%; top: 22%; }
.hero::after { content: "\273A"; right: 9%; top: 48%; font-size: clamp(22px, 4vw, 44px); animation-delay: -2s; animation-direction: alternate-reverse; }
.cta { position: relative; overflow: hidden; }
.cta::before { content: "\2726"; left: 6%; top: 14%; color: var(--accent-ink); opacity: .25; }
.cta::after { content: "\2736"; right: 7%; bottom: 14%; color: var(--accent-ink); opacity: .25; animation-delay: -3s; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(18deg); } }


.eyebrow { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; transform: rotate(-2deg); letter-spacing: .1em; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Translation guide ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.jump a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; }
.jump a:hover { background: var(--accent); color: var(--accent-ink); }
.block { padding: 80px 0 8px; scroll-margin-top: 90px; }
.block > h2 { margin: 0 0 15px; }
.block .lead { color: var(--muted); max-width: 760px; margin: 0 0 18px; }
.block .note { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.plain { margin: 8px 0 0; padding-left: 20px; }
.plain li { margin: 4px 0; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; padding: 0; margin: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 20px; padding-top: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps h3 { margin: 0 0 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
