/* sevenfoxes.de — Stylesheet
   Drei „Welten": das Studio (Creme/Orange, Grund des Logos), Quizerra (Noir/Lime)
   und Quizerra Kids (Himmel/Creme). Jede Welt setzt nur die Variablen um;
   Komponenten kennen nur die Variablen. */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/Sora[wght].ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("/assets/fonts/PixelifySans[wght].ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-pixel: "Pixelify Sans", "Sora", monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wrap: 1080px;
  --radius: 22px;
  --radius-lg: 30px;
  --fox: #E8722A;        /* Fuchs-Orange aus dem Logo */
  --lime: #E8FF5A;       /* Quizerra-Akzent */
  --kids-green: #6BB30D; /* Kids-Akzent */
}

/* ---------- Welten ---------- */
[data-world="studio"] {
  --bg: #F6EDE4;
  --bg-soft: #EFE2D4;
  --card: #FFF9F2;
  --fg: #1A1511;
  --muted: #6E6158;
  --accent: #E8722A;
  --accent-ink: #B5501A;
  --line: rgba(26, 21, 17, .14);
  --shadow: 0 18px 50px rgba(72, 40, 12, .16);
  --pixel: #E8722A;
  color-scheme: light;
}
[data-world="noir"] {
  --bg: #0A0B10;
  --bg-soft: #10121A;
  --card: #14161F;
  --fg: #E8EAF2;
  --muted: #9AA0B0;
  --accent: #E8FF5A;
  --accent-ink: #E8FF5A;
  --line: #2A2D3A;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --pixel: #E8FF5A;
  color-scheme: dark;
}
[data-world="sky"] {
  --bg: #F3F6FC;
  --bg-soft: #E4EDF9;
  --card: rgba(255, 255, 255, .72);
  --fg: #1F2652;
  --muted: #545C82;
  --accent: #6BB30D;
  --accent-ink: #4A8203;
  --line: rgba(31, 38, 82, .14);
  --shadow: 0 18px 50px rgba(31, 38, 82, .18);
  --pixel: #F7941F;
  color-scheme: light;
}

[data-world="garden"] {
  --bg: #FFF8E6;
  --bg-soft: #F0F7DF;
  --card: rgba(255, 253, 246, .8);
  --fg: #3B2416;
  --muted: #6B5443;
  --accent: #FFC93C;
  --accent-ink: #9A6A00;
  --line: rgba(59, 36, 22, .16);
  --shadow: 0 18px 50px rgba(59, 36, 22, .18);
  --pixel: #E8527A;
  color-scheme: light;
}

/* ---------- Grundgerüst ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}
body[data-world="sky"] {
  background: linear-gradient(180deg, #FFFAE6 0%, #E9F1FB 40%, #C2DEF8 100%) fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg);
        padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -.015em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }

/* Pixel-Label: die kleine Auszeichnungsschrift, das typografische Echo auf den PixelFox */
.eyebrow {
  font-family: var(--font-pixel); font-weight: 500; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink);
  margin: 0 0 10px;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
              background: #F6EDE4; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.brand-word { font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; }
.brand-word b { color: var(--fox); font-weight: 800; }
.brand-word .games { font-weight: 600; letter-spacing: .3em; color: var(--muted); font-size: .8em; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a, .lang a {
  font-family: var(--font-pixel); font-size: 1.15rem; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--fg); padding: 6px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-current { border-bottom-color: var(--accent); }
.lang { display: flex; gap: 4px; }
.lang a { padding: 6px 8px; border-radius: 8px; color: var(--muted); border: 0; }
.lang a[aria-current="true"] { color: var(--fg); background: var(--bg-soft); }
.lang a:hover { color: var(--fg); }

/* ---------- Hero (Startseite) ---------- */
.hero { text-align: center; padding-block: 64px 24px; position: relative; }
.hero .logo-full { width: min(420px, 78vw); margin: 0 auto 28px; position: relative; z-index: 1; }
.hero h1 { max-width: 20ch; margin: 0 auto 14px; }
.hero .lead { margin: 0 auto; }
/* Die Pixel-Fragmente des Logos lösen sich beim Laden einmal vom Fuchs */
.hero-pixels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-pixels i {
  position: absolute; left: 50%; top: 150px; width: var(--s, 8px); height: var(--s, 8px);
  background: var(--pixel); opacity: 0;
  animation: drift 1.6s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards;
}
@keyframes drift {
  0%   { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
  30%  { opacity: .9; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r, 0deg)); opacity: .28; }
}

/* Pixel-Trenner zwischen Abschnitten */
.pixels { display: block; width: 100%; height: 26px; color: var(--pixel); margin: 36px 0 12px; }

/* ---------- Abschnitte ---------- */
.section { padding-block: 40px; }
.section-head { max-width: 62ch; margin-bottom: 28px; }

/* ---------- App-Panels: jede App in ihrer Welt ---------- */
.world-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 52px);
  margin: 22px 0; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.world-panel[data-world="sky"] { background: linear-gradient(160deg, #FFF8E4 0%, #E6EEFA 55%, #C7DFF7 100%); }
.world-panel[data-world="noir"] { background: radial-gradient(120% 90% at 30% -10%, #1A1D2A 0%, #0A0B10 60%); }
.world-panel[data-world="garden"] { background: linear-gradient(165deg, #FFF8E6 0%, #F3F6D8 50%, #CFE8B0 100%); }
.world-panel:hover { transform: translateY(-3px); }
.panel-copy { min-width: 0; }
.app-name { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.app-name img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.app-name .display { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: .02em; }
.app-name .display b { color: var(--lime); font-weight: 800; }
[data-world="sky"] .app-name .display b { color: var(--kids-green); }
[data-world="garden"] .app-name .display b { color: #E8527A; }
.panel-art .bee { position: absolute; width: 30%; left: -4%; top: 10%; transform: rotate(-12deg);
                  filter: drop-shadow(0 10px 16px rgba(59,36,22,.25)); }
.kids-word { letter-spacing: .12em; }
.kids-word b:nth-child(1) { color: #EB4242; } .kids-word b:nth-child(2) { color: #F7941F; }
.kids-word b:nth-child(3) { color: #6BB30D; } .kids-word b:nth-child(4) { color: #1F99DB; }
.app-sub { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 12px; }
.facts { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); }
.facts li { font-family: var(--font-pixel); font-size: 1.05rem; letter-spacing: .03em; }
.facts li::before { content: "■"; color: var(--pixel); margin-right: 8px; font-size: .7em; vertical-align: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.panel-art { position: relative; min-width: 0; }
.device { width: min(320px, 100%); margin: 0 auto; border-radius: 26px; box-shadow: var(--shadow);
          transition: transform .3s ease; }
.world-panel:hover .device { transform: translateY(-6px); }
.panel-art .ella { position: absolute; width: 38%; left: -6%; bottom: -4%; transform: rotate(-6deg); filter: drop-shadow(0 10px 18px rgba(31,38,82,.25)); }
.panel-art .sticker { position: absolute; width: 22%; filter: drop-shadow(0 6px 12px rgba(31,38,82,.22)); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 999px;
       padding: 13px 22px; font-family: var(--font-display); font-weight: 650; font-size: 1rem; line-height: 1;
       border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-store { background: var(--fg); color: var(--bg); }
.btn-store small { font-family: var(--font-pixel); font-weight: 500; font-size: .8rem; opacity: .75; letter-spacing: .04em; }
.btn-store .apple { font-size: 1.25em; line-height: 0; }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-accent { background: var(--accent); color: #1A1511; }
.soon { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 20px;
        border: 1.5px dashed var(--line); font-family: var(--font-pixel); font-size: 1.05rem; letter-spacing: .04em; color: var(--muted); }
.soon::before { content: ""; width: 10px; height: 10px; background: var(--pixel); }

/* ---------- Studio-Abschnitt ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.principle { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.principle h3 { margin-bottom: 6px; }
.principle p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Produktseiten ---------- */
.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: 56px 24px;
                overflow-x: clip; } /* Sticker/Ella duerfen ueber den Rand ragen, aber keinen Scrollbalken erzeugen */
.product-hero .device { width: min(360px, 100%); }
.product-hero .lead { max-width: 46ch; }
.statrow { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.statrow li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.statrow b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.statrow span { font-family: var(--font-pixel); font-size: .95rem; color: var(--muted); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: .95rem; }
.chips li.mix { border-style: dashed; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.features h3 { margin-bottom: 6px; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: .96rem; }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery img { flex: 0 0 auto; width: 230px; border-radius: 18px; scroll-snap-align: start; box-shadow: var(--shadow); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 16px; padding: 18px 22px; }
.note p:last-child { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--font-pixel); font-size: 1.2rem;
  background: var(--accent); color: #1A1511; border-radius: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.parents { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.parents ul { margin: 12px 0 0; padding-left: 1.2em; }
.parents li { margin-bottom: 8px; }
.album-art { position: relative; overflow-x: clip; }
.album-art img.album { border-radius: 22px; box-shadow: var(--shadow); }
.album-art .sticker { position: absolute; width: 26%; filter: drop-shadow(0 8px 14px rgba(31,38,82,.25)); }
.ella-hero { width: min(300px, 70%); margin: 0 auto; filter: drop-shadow(0 16px 28px rgba(31,38,82,.25)); }

/* ---------- Kontakt / Impressum / Rechtstexte ---------- */
.narrow { max-width: 760px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; margin: 28px 0; }
.address { font-style: normal; line-height: 1.55; }
.topics { padding-left: 1.2em; }
.topics li { margin-bottom: 8px; }
.legal { max-width: 760px; }
.legal h1 { font-size: 1.9rem; margin: 36px 0 6px; }
.legal h2 { font-size: 1.25rem; margin: 2em 0 .5em; color: var(--accent-ink); }
.legal h3 { font-size: 1.05rem; margin: 1.5em 0 .4em; }
.legal .box, .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.legal .lang-switch { margin: 6px 0 24px; display: flex; gap: 18px; }
.legal .lang-switch a { font-family: var(--font-pixel); font-size: 1.1rem; text-decoration: none; }
.legal .brand-line { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; margin: 40px 0 4px; }
.legal .brand-line b { color: var(--accent-ink); }
.legal .muted { font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 40px 0 48px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.foot-claim { color: var(--muted); margin: 6px 0 0; max-width: 40ch; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--fg); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; font-family: var(--font-pixel); letter-spacing: .04em; }
.foot-copy .c { font-family: var(--font-body); } /* Pixelify Sans hat kein ©-Zeichen */

/* ---------- Responsiv ---------- */
@media (max-width: 860px) {
  .world-panel, .product-hero, .two-col { grid-template-columns: 1fr; }
  .panel-art { order: -1; }
  .product-hero .panel-art { order: 0; }
  .principles, .features { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 14px 20px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { margin-left: 0; order: 3; width: 100%; gap: 18px; }
  .lang { margin-left: auto; }
  .panel-art .ella { left: 0; width: 30%; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero { padding-top: 40px; }
  .device { width: min(260px, 100%); }
  .btn { padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pixels i { animation: none; opacity: .25; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))); }
  .world-panel, .device, .btn { transition: none; }
}

/* ---------- Impressum als beschriftete Liste ---------- */
.imprint { margin: 24px 0 8px; padding: 0; border-top: 1px solid var(--line); }
.imprint > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.imprint dt { font-family: var(--font-pixel); font-size: 1.05rem; letter-spacing: .04em; color: var(--muted); margin: 0; }
.imprint dd { margin: 0; }
@media (max-width: 560px) { .imprint > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Launch-Banner (Quizerra Kids, 08.10.2026) ---------- */
.launch-banner { display: block; text-decoration: none; color: #1A1511;
  background: linear-gradient(90deg, #FFF8E4 0%, #E6EEFA 55%, #C7DFF7 100%);
  border-bottom: 1px solid rgba(26, 21, 17, .12); }
.launch-banner .wrap { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.launch-banner img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.launch-banner .launch-text { flex: 1; font-size: .98rem; line-height: 1.35; }
.launch-banner .launch-text b { font-family: var(--font-display); font-weight: 800; color: var(--kids-green); margin-right: 6px; }
.launch-banner .launch-cta { flex: none; font-family: var(--font-pixel); font-size: 1rem; letter-spacing: .03em;
  padding: 8px 14px; border-radius: 999px; background: var(--kids-green); color: #fff; white-space: nowrap; }
.launch-banner:hover .launch-cta { background: #5A9A08; }
.launch-banner:focus-visible { outline: 3px solid var(--kids-green); outline-offset: -3px; }
/* Bumblossom-Banner (01.10.2026): Garten-Farben */
.launch-banner.bb { background: linear-gradient(90deg, #FFF8E4 0%, #F6F2CF 55%, #DDEDB9 100%); }
.launch-banner.bb .launch-text b { color: #D6406C; }
.launch-banner.bb .launch-cta { background: #F4B41A; color: #1A1511; }
.launch-banner.bb:hover .launch-cta { background: #E0A00C; }
.launch-banner.bb:focus-visible { outline-color: #F4B41A; }
@media (max-width: 640px) {
  .launch-banner .wrap { flex-wrap: wrap; gap: 10px 12px; padding: 12px 16px; }
  .launch-banner .launch-text { flex-basis: calc(100% - 52px); font-size: .93rem; }
  .launch-banner .launch-cta { margin-left: 52px; }
}

/* ---------- Bumblossom-Events (Produktseite + Banner, per Datum ein-/ausgeblendet) ---------- */
.launch-banner[hidden], .ev-section[hidden], .ev-card[hidden] { display: none; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ev-card { background: #FFFDF6; color: #1A1511; border: 2px solid #3B2416; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 0 #3B2416; }
.ev-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ev-body { padding: 16px 18px 18px; }
.ev-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 2px 0 6px; }
.ev-body .muted { color: #5B4636; }
.ev-state { font-size: .9rem; margin: 0; color: #5B4636; }
.ev-state span { display: none; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-right: 4px; }
.ev-card.is-now .ev-now { display: inline-block; background: #F4B41A; color: #1A1511; }
.ev-card.is-soon .ev-soon { display: inline-block; background: #DDEDB9; color: #2F5A12; }

/* ---------- Duell-Einladung (/duell/?c=…) ---------- */
.invite-card { text-align: center; }
.invite-card .actions { justify-content: center; margin-top: 18px; }
.invite-code { font-family: var(--font-pixel); font-size: clamp(2.6rem, 9vw, 3.6rem); letter-spacing: .08em;
  color: var(--lime); margin: 4px 0 0; line-height: 1.1; }
.btn-open small { font-family: var(--font-pixel); font-weight: 500; font-size: .8rem; opacity: .75; letter-spacing: .04em; }
.btn-open[hidden], .duel-invite [hidden] { display: none; }

/* ---------- Ratgeber ---------- */
.guide-meta { font-size: .92rem; margin-top: 6px; }
.guide h2 { margin-top: 4px; }
.guide-checks { margin-top: 20px; gap: 18px; }
.guide-checks h3 { margin: 4px 0 4px; font-size: 1.1rem; }
.guide-checks p { margin: 0; color: var(--muted); }
.guide-list { margin: 0; padding-left: 1.2em; }
.guide-list li { margin-bottom: 8px; }
.guide-example { position: relative; overflow: hidden; }
.guide-ella { position: absolute; right: 18px; top: 18px; width: 120px; filter: drop-shadow(0 10px 18px rgba(31,38,82,.22)); }
.guide-example h2, .guide-example > p { max-width: calc(100% - 130px); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 650; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 640px) {
  .guide-ella { width: 72px; right: 12px; top: 12px; }
  .guide-example h2 { max-width: calc(100% - 76px); }
  .guide-example > p { max-width: none; }
}

/* ---------- 404 ---------- */
.nf-hero { padding-block: 0; height: 120px; margin-bottom: -40px; }
.nf-hero .hero-pixels i { top: 60px; }
.nf { position: relative; z-index: 1; text-align: center; padding-top: 24px; }
.nf .lead { margin-inline: auto; }
.nf-code { font-family: var(--font-pixel); font-size: clamp(4.5rem, 16vw, 8rem); line-height: 1; letter-spacing: .06em;
           color: var(--accent); margin: 8px 0 10px; }
.nf-card { text-align: left; max-width: 560px; margin-inline: auto; padding: 24px; }
.nf-q { font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; margin: 0 0 14px; }
.nf-answer { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 10px;
             border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--fg);
             text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.nf-answer:hover { transform: translateY(-1px); border-color: var(--accent); text-decoration: none; }
.nf-letter { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
             background: var(--fg); color: var(--bg); font-family: var(--font-pixel); font-size: 1.1rem; }
.nf-text { display: flex; flex-direction: column; line-height: 1.25; }
.nf-text small { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.nf-hint { margin: 12px 0 0; font-size: .9rem; }
