/* Noky — Playful Technical / Soft Neumorphism */
:root {
    --ink: #15121f;
    --ink-2: #2a2638;
    --text: #1d1a2b;
    --text-2: #5d5873;
    --text-3: #8b86a0;
    --bg: #f6f3ff;
    --card: rgba(255, 255, 255, 0.78);
    --card-solid: #ffffff;
    --line: rgba(80, 60, 160, 0.10);
    --line-2: rgba(80, 60, 160, 0.18);

    --blue: #3b82f6;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --green: #22c55e;
    --amber: #f59e0b;
    --danger: #e11d48;
    --grad-y: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    --sh-1: 0 1px 2px rgba(50, 30, 110, 0.06), 0 4px 12px -4px rgba(70, 50, 150, 0.10);
    --sh-2: 0 2px 4px rgba(50, 30, 110, 0.05), 0 18px 40px -16px rgba(70, 50, 150, 0.28);
    --sh-3: 0 4px 8px rgba(50, 30, 110, 0.06), 0 32px 64px -24px rgba(70, 50, 150, 0.38);

    --r-sm: 12px;
    --r: 20px;
    --r-lg: 28px;
    --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
code, .mono { font-family: var(--mono); }
code { font-size: 0.85em; background: rgba(139, 92, 246, 0.10); color: #5b30c9; border-radius: 6px; padding: 1px 6px; }
.muted { color: var(--text-2); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(139, 92, 246, 0.55); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Pastel backdrop */
.backdrop-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
    background: linear-gradient(180deg, #fbf8ff 0%, #f3efff 60%, #eef3ff 100%); }
.backdrop-blobs span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.75; }
.backdrop-blobs span:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -160px; background: #fcd6ec; }
.backdrop-blobs span:nth-child(2) { width: 620px; height: 620px; right: -200px; top: -120px; background: #dcd3ff; }
.backdrop-blobs span:nth-child(3) { width: 520px; height: 520px; left: 30%; top: 360px; background: #d3e6ff; opacity: 0.6; }

/* Wordmark */
.wordmark { font-weight: 900; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.wordmark .y { display: inline-block; background: var(--grad-y); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 0.1em 0.16em 0.02em; margin: 0 -0.1em -0.16em -0.02em; }
.wordmark.xl { font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1.08; padding-bottom: 0.04em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
    font-weight: 800; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
    transition: transform 140ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .material-symbols-rounded { font-size: 20px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 0.8rem; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 1rem; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 18, 31, 0.55); }
.btn-ink:hover { box-shadow: 0 12px 26px -10px rgba(21, 18, 31, 0.6); }
.btn-soft { background: var(--card-solid); color: var(--ink); box-shadow: var(--sh-1); }
.btn-soft:hover { box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.7); }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; font-size: 1.05rem; }
.btn .stack small { font-size: 0.66rem; font-weight: 700; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; }
.play-glyph { width: 24px; height: 24px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--card-solid); box-shadow: var(--sh-1); cursor: pointer; transition: transform 140ms var(--ease); }
.icon-btn:hover { transform: scale(1.06); }

/* Topbar */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(250, 248, 255, 0.72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--sh-1); }
.brand .wordmark { font-size: 1.5rem; }
.brand.small .wordmark { font-size: 1.15rem; }
.brand.small img { border-radius: 7px; }
.topnav { display: flex; gap: 4px; }
.topnav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 0.93rem; color: var(--text-2); transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.topnav a:hover { background: rgba(255, 255, 255, 0.8); color: var(--ink); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; width: min(280px, 32vw);
    background: var(--card-solid); border-radius: 999px; box-shadow: var(--sh-1); color: var(--text-3); cursor: text; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-weight: 600; color: var(--ink); }
.search input::placeholder { color: var(--text-3); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), var(--sh-1); }
@media (max-width: 980px) {
    .topnav { display: none; }
    .topbar-row { gap: 12px; }
    .search { width: auto; flex: 1; min-width: 0; }
}
@media (max-width: 480px) {
    .brand .wordmark { display: none; }
    .get-app { padding: 0 14px; }
}

/* Hero */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.listing-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.app-icon { width: 88px; height: 88px; border-radius: 24px; box-shadow: var(--sh-2); }
.dev { color: var(--text-2); font-weight: 600; font-size: 0.95rem; margin-top: 6px; }
.dev a { color: var(--purple); font-weight: 800; }
.hero-tagline { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 900; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 10px; }
.hero-sub { color: var(--text-2); font-size: 1.05rem; max-width: 520px; margin-bottom: 26px; }
.stat-strip { display: flex; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); padding: 14px 4px; margin-bottom: 26px; max-width: 520px; backdrop-filter: blur(8px); }
.stat { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-size: 1.05rem; font-weight: 900; color: var(--ink); }
.stat span { font-size: 0.78rem; color: var(--text-3); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; height: 440px; }
.kb-stack { position: absolute; inset: 40px 20px 30px 40px; }
.mini-kb {
    position: absolute; width: 78%; aspect-ratio: 2.25 / 1; border-radius: 22px; padding: 12px;
    display: grid; gap: 6px; grid-template-rows: repeat(4, 1fr);
    box-shadow: var(--sh-3);
    transform-origin: center;
}
.mini-kb .r { display: flex; gap: 5px; }
.mini-kb .r.p { padding: 0 5%; }
.mini-kb i { flex: 1 1 0; border-radius: 7px; display: grid; place-items: center; font: 700 0.68rem var(--font); font-style: normal; }
.mini-kb i.w { flex-grow: 1.6; }
.mini-kb i.sp { flex-grow: 5; }
.theme-blue { right: 0; top: 0; background: linear-gradient(135deg, #bfdbfe, #a5b4fc); transform: rotate(6deg); }
.theme-blue i { background: rgba(255, 255, 255, 0.55); color: #1e3a8a; }
.theme-pink { right: 6%; top: 18%; background: linear-gradient(135deg, #fbcfe8, #f0abfc); transform: rotate(-3deg); }
.theme-pink i { background: rgba(255, 255, 255, 0.6); color: #9d174d; }
.theme-dark { left: 4%; top: 34%; background: #1b1827; transform: rotate(2deg); }
.theme-dark i { background: #2c2840; color: #e9e6ff; }
.theme-dark i.hot { background: var(--grad-y); color: #fff; }
.theme-light { left: 0; bottom: 0; background: #fdfcff; transform: rotate(-5deg); }
.theme-light i { background: #f0edf9; color: var(--ink); box-shadow: 0 1px 0 rgba(60, 40, 120, 0.12); }
.theme-light i.hot { background: var(--ink); color: #fff; }

.tile3d {
    position: absolute; width: 74px; height: 74px; border-radius: 22px;
    display: grid; place-items: center; font-weight: 800; font-size: 1.35rem;
    animation: float 6s ease-in-out infinite;
}
.tile3d .material-symbols-rounded { font-size: 36px; }
.t-term { background: var(--ink); color: #b8f36b; left: -6px; top: 16px; box-shadow: 0 8px 0 #000, 0 26px 40px -12px rgba(21, 18, 31, 0.6); }
.t-code { background: #fff; color: var(--purple); right: -8px; bottom: 44px; box-shadow: 0 8px 0 #ddd4fb, 0 26px 40px -14px rgba(90, 60, 180, 0.45); animation-delay: -2s; }
.t-gear { background: linear-gradient(140deg, #a78bfa, #7c3aed); color: #fff; left: 46%; top: -12px; width: 62px; height: 62px; border-radius: 19px; box-shadow: 0 7px 0 #5b21b6, 0 24px 36px -14px rgba(124, 58, 237, 0.6); animation-delay: -4s; }
.t-shield { background: linear-gradient(140deg, #4ade80, #16a34a); color: #fff; left: 30%; bottom: -4px; width: 64px; height: 64px; border-radius: 20px; box-shadow: 0 7px 0 #15803d, 0 24px 36px -14px rgba(22, 163, 74, 0.55); animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { height: 340px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
    .hero { padding-top: 32px; }
    .hero-art { height: 260px; }
    .mini-kb { padding: 8px; gap: 4px; border-radius: 16px; }
    .mini-kb .r { gap: 3px; }
    .mini-kb i { font-size: 0.5rem; border-radius: 5px; }
    .tile3d { width: 54px; height: 54px; border-radius: 16px; font-size: 1rem; }
    .tile3d .material-symbols-rounded { font-size: 26px; }
    .app-icon { width: 72px; height: 72px; border-radius: 20px; }
}

/* Squircle icon containers */
.squircle { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; }
.squircle .material-symbols-rounded { font-size: 26px; }
.squircle.sm { width: 34px; height: 34px; border-radius: 11px; }
.squircle.sm .material-symbols-rounded { font-size: 20px; }
.squircle.lg { width: 84px; height: 84px; border-radius: 24px; font-size: 1.6rem; }
.squircle.lg .material-symbols-rounded { font-size: 42px; }
.c-green { background: linear-gradient(140deg, #4ade80, #16a34a); }
.c-purple { background: linear-gradient(140deg, #a78bfa, #7c3aed); }
.c-blue { background: linear-gradient(140deg, #60a5fa, #2563eb); }
.c-pink { background: linear-gradient(140deg, #f9a8d4, #db2777); }
.c-amber { background: linear-gradient(140deg, #fcd34d, #f59e0b); }
.c-ink { background: var(--ink); color: #b8f36b; }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 24px; padding-bottom: 8px; }
.hl { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--sh-1); backdrop-filter: blur(8px); }
.hl strong { display: block; font-size: 0.92rem; color: var(--ink); }
.hl span:not(.squircle):not(.material-symbols-rounded):not(.mono) { font-size: 0.78rem; color: var(--text-3); font-weight: 600; }
@media (max-width: 1100px) {
    .highlights { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; padding-bottom: 12px; }
    .highlights::-webkit-scrollbar { display: none; }
    .hl { flex: 0 0 230px; scroll-snap-align: start; }
}

/* Sections */
.section { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--ink); }
.section-head p { color: var(--text-2); font-weight: 600; }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 14px; margin: 0 -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-size: 0.88rem;
    background: var(--card-solid); color: var(--text-2); box-shadow: var(--sh-1);
    transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 140ms var(--ease); }
.chip:hover { color: var(--ink); transform: translateY(-1px); }
.chip.active { background: var(--ink); color: #fff; }
.chips.small { padding-bottom: 10px; }
.chips.small .chip { height: 32px; padding: 0 14px; font-size: 0.8rem; }

/* Featured rail */
.featured-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
    position: relative; border-radius: var(--r-lg); padding: 18px; cursor: pointer; overflow: hidden;
    background: var(--card-solid); box-shadow: var(--sh-2);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
    display: flex; flex-direction: column; gap: 14px; text-align: left; border: 0;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.feature-card .tray { padding: 14px; }
.feature-card .fc-body { display: flex; align-items: center; gap: 12px; }
.feature-card .fc-text { flex: 1; min-width: 0; }
.feature-card h3 { font-size: 1.1rem; color: var(--ink); }
.feature-card p { font-size: 0.85rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-card .eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
@media (max-width: 960px) {
    .featured-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 24px; margin: -4px -4px 0; }
    .featured-rail::-webkit-scrollbar { display: none; }
    .feature-card { flex: 0 0 min(340px, 84vw); scroll-snap-align: start; }
}

/* Tray (keyboard thumbnail frame) */
.tray { position: relative; display: block; border-radius: var(--r); padding: 14px; overflow: hidden; }
.tray canvas { width: 100%; display: block; border-radius: 12px; box-shadow: 0 14px 28px -12px rgba(21, 18, 31, 0.55); transition: transform 200ms var(--ease); }
.feature-card:hover .tray canvas, .kbd-tile:hover .tray canvas { transform: translateY(-3px) scale(1.015); }
.tray.cat-code { background: linear-gradient(135deg, #d9f99d 0%, #a7f3d0 100%); }
.tray.cat-shapes { background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 100%); }
.tray.cat-ergo { background: linear-gradient(135deg, #bfdbfe 0%, #c7d2fe 100%); }
.tray.cat-macro { background: linear-gradient(135deg, #fbcfe8 0%, #f5d0fe 100%); }
.tray.cat-stem { background: linear-gradient(135deg, #fde68a 0%, #fecaca 100%); }
.tray.cat-other { background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 100%); }

/* Keyboard grid */
.kbd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.kbd-tile {
    background: var(--card-solid); border-radius: var(--r); padding: 12px; box-shadow: var(--sh-1);
    display: flex; flex-direction: column; gap: 12px; cursor: pointer;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.kbd-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.kbd-tile .tray { padding: 12px; }
.tile-body { display: flex; align-items: flex-start; gap: 10px; padding: 0 4px 4px; }
.tile-text { flex: 1; min-width: 0; }
.tile-text h3 { font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-meta { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--text-3); font-weight: 700; white-space: nowrap; overflow: hidden; }
.verified { font-size: 15px !important; color: var(--blue); vertical-align: -2px; }
.get-btn { flex: none; height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(139, 92, 246, 0.12); color: #6d28d9; font-weight: 900; font-size: 0.85rem; cursor: pointer; display: inline-flex; align-items: center; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.get-btn:hover { background: var(--ink); color: #fff; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); }
.empty .material-symbols-rounded { font-size: 40px; color: var(--text-3); }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin: 6px 0 4px; }
.empty p { color: var(--text-2); margin-bottom: 16px; }

/* Dictionaries */
.dict-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .dict-grid { grid-template-columns: 1fr; } }
.dict-tile { display: flex; align-items: center; gap: 14px; background: var(--card-solid); border-radius: var(--r); padding: 14px; box-shadow: var(--sh-1); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.dict-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.dict-tile .squircle { width: 56px; height: 56px; border-radius: 17px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.dict-tile h3 { font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dict-tile .dmeta { font-size: 0.8rem; color: var(--text-3); font-weight: 700; }
.dict-tile .dsample { font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.dict-tile .tile-text { flex: 1; min-width: 0; }
.dict-tile .squircle.long { font-size: 0.72rem; letter-spacing: 0.04em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); backdrop-filter: blur(8px); }
.step { display: flex; flex-direction: column; gap: 4px; padding: 4px 8px; }
.step strong { color: var(--ink); font-size: 1.02rem; }
.step span:not(.step-n) { color: var(--text-2); font-size: 0.9rem; }
.step-n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-y); color: #fff; font-weight: 900; margin-bottom: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Create */
.segmented { display: inline-flex; background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 4px; box-shadow: var(--sh-1); margin-bottom: 18px; max-width: 100%; }
.seg { border: 0; background: transparent; height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 0.9rem; color: var(--text-2); cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease); white-space: nowrap; }
.seg.active { background: var(--ink); color: #fff; }
.pane { display: none; }
.pane.active { display: block; }
.workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .workspace { grid-template-columns: 1fr; } }
.card { background: var(--card-solid); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--ink); }
.card > p.muted { font-size: 0.9rem; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 16px; text-align: center; border-radius: var(--r); border: 2px dashed var(--line-2); background: #faf8ff; cursor: pointer; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.dropzone .material-symbols-rounded { font-size: 36px; color: var(--purple); }
.dropzone strong { color: var(--ink); }
.dropzone span.muted { font-size: 0.85rem; }
.dropzone:hover, .dropzone.dragover { border-color: var(--purple); background: #f3eeff; }
.report { display: flex; flex-direction: column; gap: 8px; }
.report:empty { display: none; }
.status-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; background: #faf8ff; border-radius: var(--r-sm); padding: 10px 12px; overflow-wrap: anywhere; }
.status-row .material-symbols-rounded { font-size: 20px; flex: none; }
.status-row.ok .material-symbols-rounded { color: var(--green); }
.status-row.warn .material-symbols-rounded { color: var(--amber); }
.status-row.err { color: var(--danger); }
.json-box { background: var(--ink); color: #d9d4f5; font-family: var(--mono); font-size: 0.76rem; line-height: 1.6; padding: 16px; border-radius: var(--r-sm); max-height: 260px; overflow: auto; white-space: pre; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.feedback { font-size: 0.85rem; font-weight: 800; color: var(--green); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.82rem; font-weight: 800; color: var(--text-2); }
.field input, .field select, .field textarea {
    width: 100%; border: 1.5px solid var(--line-2); background: #fbfaff; border-radius: var(--r-sm);
    padding: 11px 14px; font-weight: 600; outline: 0; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }

/* Details sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(30, 22, 60, 0.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade 160ms var(--ease); }
.sheet { position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fdfcff; border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 28px; display: flex; flex-direction: column; gap: 20px; animation: rise 180ms var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.99); } }
.sheet-close { position: absolute; top: 16px; right: 16px; }
.sheet-head { display: flex; align-items: center; gap: 18px; padding-right: 48px; }
.sheet-title { flex: 1; min-width: 0; }
.sheet-title h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--ink); }
.stat-strip.compact { max-width: none; margin: 0; }
.try-panel { background: linear-gradient(135deg, #f1ecff, #fde9f4 60%, #e7f0ff); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.try-bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: var(--sh-1); }
.try-label { font-weight: 900; font-size: 0.8rem; color: var(--purple); text-transform: uppercase; letter-spacing: 0.06em; flex: none; }
.try-text { flex: 1; min-width: 0; font-size: 0.85rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.try-text.placeholder { color: var(--text-3); }
.stage-wrap { position: relative; }
.kbd-stage { position: relative; border-radius: 14px; overflow: hidden; background: #111114; box-shadow: 0 18px 36px -18px rgba(21, 18, 31, 0.7); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.kbd-stage .stage-canvas { display: block; width: 100%; }
.stage-error { display: flex; gap: 8px; align-items: center; padding: 24px; color: #fecdd3; font-weight: 700; font-size: 0.9rem; }
.key-inspector { font-size: 0.82rem; color: var(--text-2); font-weight: 600; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.key-inspector strong { color: var(--ink); }
.sheet-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.sheet-body h4 { font-size: 1rem; color: var(--ink); margin-bottom: 8px; }
.sheet-body p { color: var(--text-2); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 0.76rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #f0ecfb; color: #5b30c9; }
.tag.mono { font-weight: 500; }
.pkg-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.84rem; }
.pkg-info dt { color: var(--text-3); font-weight: 800; }
.pkg-info dd { color: var(--ink); overflow-wrap: anywhere; }
.pkg-info .sha { font-size: 0.72rem; color: var(--text-2); }
@media (max-width: 720px) {
    .sheet-backdrop { padding: 0; align-items: flex-end; }
    .sheet { max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 20px 16px; }
    .sheet-head { flex-wrap: wrap; gap: 14px; }
    .sheet-head .squircle.lg { width: 64px; height: 64px; border-radius: 19px; }
    .sheet-head .btn { width: 100%; }
    .sheet-body { grid-template-columns: 1fr; }
    .kbd-key { font-size: 0.68rem; }
    .kbd-row { gap: 3px; }
}

/* Footer */
.footer { padding: 32px 0 40px; margin-top: 24px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-links a { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--text-2); transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.footer-links a:hover { background: #fff; color: var(--ink); }

/* Privacy policy page */
.policy { max-width: 820px; margin: 40px auto 24px; }
.policy-sheet { background: var(--card-solid); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 36px; }
.policy-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.policy-head h1 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--ink); }
.policy-head p { color: var(--text-3); font-weight: 700; font-size: 0.88rem; }
.policy-intro { color: var(--text-2); margin-bottom: 22px; }
.safety-box { background: linear-gradient(135deg, #ecfdf5, #f1ecff); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; margin-bottom: 28px; }
.safety-item { display: flex; gap: 12px; align-items: flex-start; }
.safety-item strong { display: block; color: var(--ink); }
.safety-item span:not(.squircle):not(.material-symbols-rounded) { font-size: 0.88rem; color: var(--text-2); }
.policy-sec { padding: 20px 0; border-top: 1px solid var(--line); }
.policy-sec h2 { font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; }
.policy-sec p, .policy-sec li { color: var(--text-2); font-size: 0.95rem; }
.policy-sec p + p { margin-top: 10px; }
.policy-sec ul { padding-left: 20px; display: grid; gap: 8px; }
.policy-sec strong { color: var(--ink); }
.policy-sec a { color: var(--purple); font-weight: 800; }
@media (max-width: 640px) { .policy { margin-top: 20px; } .policy-sheet { padding: 22px 18px; } }

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

/* Listing name + About this app */
.app-name { font-weight: 800; color: var(--text-2); font-size: 1.05rem; margin-top: 4px; }
.listing-head .dev { margin-top: 2px; font-size: 0.88rem; }
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat { background: var(--card-solid); border-radius: var(--r); padding: 18px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.feat:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.feat .squircle { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 4px; }
.feat h3 { font-size: 1.02rem; color: var(--ink); }
.feat p { font-size: 0.88rem; color: var(--text-2); }
.side-cards { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.card.side { padding: 20px; gap: 12px; }
.card.side .btn { align-self: flex-start; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 0.88rem; color: var(--text-2); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 12px; height: 7px; border-left: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple); transform: rotate(-45deg); }
.safety-line { display: flex; gap: 12px; align-items: flex-start; }
.safety-line > .material-symbols-rounded { color: var(--green); font-size: 22px; }
.safety-line strong { display: block; color: var(--ink); font-size: 0.92rem; }
.safety-line span { font-size: 0.82rem; color: var(--text-2); font-weight: 600; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .side-cards { position: static; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ── Polish pass ─────────────────────────────────────────────────────────── */
.section-head h2 .count { font-size: 0.9rem; font-weight: 800; color: var(--text-3); letter-spacing: 0; margin-left: 6px; vertical-align: middle; }
.search .slash { flex: none; font: 700 0.72rem var(--mono); color: var(--text-3); border: 1.5px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.search:focus-within .slash { display: none; }
@media (hover: none), (max-width: 860px) { .search .slash { display: none; } }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.chip:focus-visible, .get-btn:focus-visible, .btn:focus-visible { outline: 3px solid rgba(139, 92, 246, 0.55); outline-offset: 2px; }
.kbd-tile:focus-visible, .feature-card:focus-visible { outline: 3px solid rgba(139, 92, 246, 0.55); outline-offset: 3px; }
.get-btn:active { transform: scale(0.96); }
.tray canvas { height: auto; }

/* Sheet header actions + share */
.sheet-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.share-wrap { position: relative; }
.share-btn { padding: 0 16px; }
.share-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; width: 300px;
    background: #fff; border-radius: 20px; box-shadow: var(--sh-3), 0 0 0 1px var(--line);
    padding: 14px; display: flex; flex-direction: column; gap: 12px;
    transform-origin: top right; animation: menu-in 140ms var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(0.97); } }
.share-head { display: flex; flex-direction: column; gap: 2px; }
.share-head strong { color: var(--ink); font-size: 0.95rem; }
.share-head .mono { font-size: 0.72rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-item { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform 140ms var(--ease), background-color 150ms var(--ease); }
.share-item.primary { background: var(--ink); color: #fff; }
.share-item:hover { transform: translateY(-1px); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.share-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 14px; border: 0; background: transparent; font-size: 0.74rem; font-weight: 800; color: var(--text-2); cursor: pointer; transition: background-color 150ms var(--ease); }
.share-app:hover { background: #f4f1fd; color: var(--ink); }
.share-app .dot { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.share-app .dot svg { width: 22px; height: 22px; }
.share-app .dot .material-symbols-rounded { font-size: 22px; }
.dot.wa { background: #25d366; }
.dot.tg { background: #229ed9; }
.dot.xx { background: #111; }
.dot.rd { background: #ff4500; }
.dot.em { background: linear-gradient(140deg, #a78bfa, #7c3aed); }
.dot.fl { background: linear-gradient(140deg, #60a5fa, #2563eb); }

/* Try-it bar */
.try-note { flex: none; font-size: 0.74rem; font-weight: 800; color: #6d28d9; background: #f0ebff; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.try-note.pop { animation: note-pop 180ms var(--ease); }
@keyframes note-pop { from { transform: scale(0.9); opacity: 0.4; } }
.try-text { scrollbar-width: none; }

/* Long-press alternatives */
.alt-popover { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; background: #30303b; border-radius: 12px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6); z-index: 3; animation: menu-in 140ms var(--ease); }
.alt-key { min-width: 44px; height: 44px; border: 0; border-radius: 8px; background: #222228; color: #ececf0; font: 700 1.05rem var(--font); cursor: pointer; }
.alt-key:hover { background: #3a3a48; }

/* Key inspector */
.ki-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ki-head strong { font-size: 0.95rem; }
.ki-extra { font-size: 0.78rem; color: var(--text-3); }

/* Toast */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 16px);
    display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px));
    padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 16px 36px -12px rgba(21, 18, 31, 0.6);
    opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .material-symbols-rounded { color: #b8f36b; font-size: 20px; flex: none; }

@media (max-width: 720px) {
    .sheet-actions { width: 100%; }
    .sheet-actions .btn { flex: 1; }
    .share-wrap { flex: 1; display: flex; }
    .share-btn { width: 100%; }
    .share-menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform-origin: bottom center; }
    .toast { bottom: 16px; }
}

/* ── Multi-page structure ───────────────────────────────────────────────── */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; transition: top 120ms var(--ease); }
.skip-link:focus { top: 12px; }

.topnav a { display: inline-flex; align-items: center; gap: 4px; }
.topnav a { white-space: nowrap; }
.topnav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.topnav a.nav-create { color: #6d28d9; }
.topnav a.nav-create .material-symbols-rounded { font-size: 18px; }
.topnav a.nav-create[aria-current="page"] { background: var(--ink); color: #fff; }

/* Mobile bottom tab bar */
.tabbar { display: none; }
@media (max-width: 980px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(252, 250, 255, 0.86);
        backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid var(--line);
    }
    .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 0.72rem; font-weight: 800; color: var(--text-3); border-radius: 14px; transition: color 150ms var(--ease); }
    .tabbar a .material-symbols-rounded { font-size: 24px; width: 56px; height: 30px; display: grid; place-items: center; border-radius: 999px; transition: background-color 150ms var(--ease); }
    .tabbar a[aria-current="page"] { color: var(--ink); }
    .tabbar a[aria-current="page"] .material-symbols-rounded { background: #ede6ff; color: #6d28d9; }
    .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
    .share-menu { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Page header (Keyboards / Word packs) */
.page-head { padding: 40px 0 0; }
.page-head-row { display: flex; align-items: center; gap: 18px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--ink); }
.page-head p { color: var(--text-2); font-weight: 600; font-size: 1.02rem; margin-top: 4px; }
@media (max-width: 520px) { .page-head-row .squircle.lg { width: 60px; height: 60px; border-radius: 18px; } .page-head-row .squircle.lg .material-symbols-rounded { font-size: 30px; } }

.see-all { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: #6d28d9; padding: 8px 6px 8px 14px; border-radius: 999px; white-space: nowrap; transition: background-color 150ms var(--ease); }
.see-all:hover { background: #fff; }

.toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.toolbar .chips { flex: 1; min-width: 0; }
.sort { flex: none; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 6px 0 12px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); color: var(--text-2); }
.sort select { border: 0; background: transparent; font-weight: 800; font-size: 0.86rem; color: var(--ink); outline: 0; cursor: pointer; padding-right: 4px; }
.sort:focus-within { box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), var(--sh-1); }
@media (max-width: 640px) { .toolbar { flex-direction: column-reverse; align-items: stretch; } .sort { align-self: flex-end; } }

.tray.cat-aesthetic { background: linear-gradient(135deg, #fbcfe8 0%, #c4b5fd 60%, #a5f3fc 100%); }

.mstat { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }
.mstat .material-symbols-rounded { font-size: 14px; }
.mstat.liked { color: #e11d48; }

/* Like button */
.like-btn { padding: 0 14px; gap: 6px; }
.like-btn .material-symbols-rounded { color: var(--text-3); transition: color 150ms var(--ease); }
.like-btn.liked .material-symbols-rounded { color: #e11d48; font-variation-settings: "FILL" 1; }
.like-btn.burst .material-symbols-rounded { animation: like-burst 320ms var(--ease); }
@keyframes like-burst { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.like-count { font-weight: 800; min-width: 1ch; }

/* Home: creator banner */
.create-banner {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
    padding: 28px 32px; border-radius: var(--r-lg); overflow: hidden;
    background: linear-gradient(120deg, #1b1530 0%, #2b1d5c 55%, #5b2a86 100%); color: #fff; box-shadow: var(--sh-3);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.create-banner:hover { transform: translateY(-2px); }
.create-banner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 72, 153, 0.45), transparent); pointer-events: none; }
.create-banner .eyebrow { font-size: 0.74rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #f9a8d4; }
.create-banner h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 4px 0 6px; color: #fff; }
.create-banner p { color: #d8d0f5; max-width: 560px; }
.create-banner code { background: rgba(255, 255, 255, 0.12); color: #fff; }
.create-banner .btn { background: #fff; color: var(--ink); position: relative; z-index: 1; }
.cb-art { position: relative; width: 120px; height: 96px; }
.tile3d.mini { width: 60px; height: 60px; border-radius: 18px; animation: float 6s ease-in-out infinite; }
.cb-art .t-code { position: absolute; left: 0; top: 18px; right: auto; bottom: auto; }
.cb-art .t-gear { position: absolute; left: 52px; top: 0; }
@media (max-width: 760px) {
    .create-banner { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
    .cb-art { display: none; }
    .create-banner .btn { justify-self: start; }
}

/* Create page */
.create-hero { padding: 48px 0 8px; }
.create-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.create-hero .eyebrow { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); }
.create-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--ink); margin: 6px 0 12px; }
.journey { list-style: none; display: grid; gap: 12px; counter-reset: step; }
.journey li { position: relative; display: flex; gap: 14px; align-items: center; background: var(--card-solid); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh-1); }
.journey li + li::before { content: ""; position: absolute; left: 39px; top: -12px; width: 2px; height: 12px; background: var(--line-2); }
.journey strong { display: block; color: var(--ink); }
.journey span:not(.squircle):not(.material-symbols-rounded) { font-size: 0.86rem; color: var(--text-2); font-weight: 600; }
@media (max-width: 900px) { .create-hero-grid { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card-solid); border-radius: var(--r); box-shadow: var(--sh-1); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 800; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "expand_more"; font-family: "Material Symbols Rounded"; font-size: 22px; color: var(--text-3); transition: transform 160ms var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--text-2); padding-bottom: 16px; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-brand p { color: var(--text-2); font-size: 0.9rem; margin-top: 10px; max-width: 280px; }
.footer-brand p a { color: var(--purple); font-weight: 800; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col strong { color: var(--ink); font-size: 0.86rem; margin-bottom: 2px; }
.footer-col a { color: var(--text-2); font-weight: 700; font-size: 0.9rem; transition: color 150ms var(--ease); }
.footer-col a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.material-symbols-rounded.filled { font-variation-settings: "FILL" 1; }
.json-details { border-radius: var(--r-sm); background: #faf8ff; padding: 0 12px; }
.json-details summary { cursor: pointer; padding: 10px 0; font-weight: 800; font-size: 0.86rem; color: var(--text-2); }
.json-details[open] { padding-bottom: 12px; }
.not-found { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.not-found h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--ink); }
.not-found p { color: var(--text-2); font-weight: 600; max-width: 460px; }
.not-found .hero-cta { justify-content: center; margin-top: 8px; }
