/* English Fun Academy – ortak stil. Elle yazılır; build.mjs bu dosyaya dokunmaz. */

@font-face { font-family: Fredoka; font-weight: 300 700; font-display: swap;
  src: url(../fonts/fredoka-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Fredoka; font-weight: 300 700; font-display: swap;
  src: url(../fonts/fredoka-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

/* ---------- Renkler ---------- */
:root {
  --purple: #5e17eb; --purple-deep: #3d0aa8; --navy: #221a4c;
  --yellow: #ffc531; --coral: #ff7a59; --sky: #4fc3f7; --mint: #2ec4a0;

  --bg: #ffffff; --bg-soft: #f5f1ff; --card: #ffffff;
  --ink: #221a4c; --muted: #5b5478; --rule: #e7e1f7; --accent: #5e17eb; --lift: #e2d9fa;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #110c24; --bg-soft: #191233; --card: #1d1638;
    --ink: #efeaff; --muted: #b3aad4; --rule: #2d2551; --accent: #b799ff; --lift: #080512;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #110c24; --bg-soft: #191233; --card: #1d1638;
  --ink: #efeaff; --muted: #b3aad4; --rule: #2d2551; --accent: #b799ff; --lift: #080512;
  color-scheme: dark;
}

/* ---------- Temel ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: Fredoka, system-ui, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-block; font: 600 14px/1 Fredoka, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 36em; }
.section { padding: 96px 0 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 + p { margin-top: 14px; }

/* ---------- Marka yazısı ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 8px; font: 700 21px/1 Fredoka, system-ui, sans-serif; color: var(--ink); text-decoration: none; white-space: nowrap; }
.fun { display: inline-block; background: var(--yellow); color: var(--navy); padding: 3px 9px 5px; border-radius: 9px; transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--navy); }
.on-dark .wordmark, .on-dark .wordmark:visited { color: #fff; }

/* ---------- Üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.topnav a:hover { background: var(--bg-soft); }
.topnav a.btn { margin-left: 6px; color: #fff; }
.topnav a.btn:hover { background: var(--purple); }

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 17px/1 Fredoka, system-ui, sans-serif;
  text-decoration: none; padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--purple); color: #fff; box-shadow: 0 4px 0 var(--purple-deep); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--purple-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--purple-deep); }
.btn.small { padding: 10px 16px; font-size: 15px; border-radius: 12px; box-shadow: 0 3px 0 var(--purple-deep); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.btn.light { background: #fff; color: var(--navy); box-shadow: 0 4px 0 rgba(20, 5, 70, .45); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Google Play: yayında (rozet ya da düğme) / yakında */
.play { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.play img { height: 56px; width: auto; }
.play-soon { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--navy); padding: 11px 18px 11px 14px;
  border-radius: 14px; box-shadow: 0 4px 0 rgba(20, 5, 70, .45); font: 600 17px/1.15 Fredoka, system-ui, sans-serif; }
.play-soon small { display: block; font: 500 13px/1.2 system-ui, sans-serif; color: #5b5478; }
.play-soon svg { flex: none; }

/* ---------- Telefon çerçevesi (gerçek ekran görüntüsü içinde) ---------- */
.phone { --w: 280px; position: relative; width: var(--w); max-width: 100%; aspect-ratio: 480 / 1009;
  padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .16); background: #17112e;
  box-shadow: inset 0 0 0 2px #3a3160, 0 30px 60px -20px rgba(20, 5, 70, .55); flex: none; }
.phone::before { content: ""; position: absolute; top: calc(var(--w) * .055); left: 50%; width: calc(var(--w) * .045); aspect-ratio: 1;
  translate: -50% 0; border-radius: 50%; background: #0a0716; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * .125); background: #efe9ff; }

.sticker { position: absolute; z-index: 3; font: 700 22px/1 Fredoka, system-ui, sans-serif; color: var(--navy); background: var(--yellow);
  padding: 10px 16px 12px; border-radius: 14px; border: 3px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); white-space: nowrap; }

.dots { background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.6px); background-size: 22px 22px; }

/* ---------- Kartlar ---------- */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 24px; }
.pill { display: inline-block; font: 600 13px/1 Fredoka, system-ui, sans-serif; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px;
  background: var(--bg-soft); color: var(--muted); }
.pill.live { background: #d5f6ec; color: #0b5a45; }
.pill.soon { background: #fff0c2; color: #5a4200; }

/* ---------- SSS ---------- */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.35 Fredoka, system-ui, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; max-width: 42em; }

/* ---------- Alt bilgi ---------- */
.footer { margin-top: 120px; background: var(--bg-soft); border-top: 1px solid var(--rule); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer .about-line { color: var(--muted); max-width: 22em; margin-top: 14px; }
.footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* =========================================================
   ANA SAYFA (akademi) – sade, beyaz zemin, bol boşluk
   ========================================================= */
.home-hero { padding: 72px 0 0; }
.home-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.home-hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.home-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--yellow); border-radius: 4px; z-index: -1; }
.home-hero .lede { margin: 22px 0 32px; }
.stage { position: relative; height: 560px; border-radius: 32px; background: var(--purple); overflow: hidden; }
.stage .phone { position: absolute; }
.stage .p1 { --w: 250px; left: 50%; top: 56px; translate: -78% 0; z-index: 2; }
.stage .p2 { --w: 220px; left: 50%; top: 110px; translate: 8% 0; rotate: 6deg; }
.stage .sticker { left: 24px; bottom: 34px; rotate: -5deg; }

.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(40, 10, 120, .45); }
.app-visual { position: relative; height: 260px; overflow: hidden; display: flex; justify-content: center; }
.app-visual .phone { --w: 230px; margin-top: 36px; }
.app-visual.placeholder { align-items: center; background: repeating-linear-gradient(-45deg, var(--bg-soft) 0 14px, transparent 14px 28px); }
.app-visual.placeholder span { font: 600 15px/1 Fredoka, system-ui, sans-serif; color: var(--muted); border: 2px dashed var(--rule); padding: 14px 20px; border-radius: 14px; background: var(--card); }
.app-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.app-title { display: flex; align-items: center; gap: 14px; }
.app-title img { width: 52px; height: 52px; border-radius: 13px; }
.app-body p { color: var(--muted); margin: 0; }
.app-body .btn { align-self: flex-start; margin-top: auto; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; }
.value .mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.value p { color: var(--muted); margin: 10px 0 0; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 28px;
  background: var(--navy); color: #fff; }
.contact p { color: #cfc7ef; margin: 10px 0 0; }

/* =========================================================
   ÜRÜN SAYFASI (sözlük) – renkli bloklar, büyük ekranlar
   ========================================================= */
.prod-hero { background-color: var(--purple); color: #fff; overflow: hidden; }
.prod-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; padding-top: 64px; }
.prod-hero .text { padding-bottom: 80px; }
.app-id { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 600 17px/1.2 Fredoka, system-ui, sans-serif; }
.app-id img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.prod-hero h1 em { font-style: normal; color: var(--yellow); }
.prod-hero .lede { color: #e5dbff; margin: 20px 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li { background: rgba(255, 255, 255, .13); border-radius: 999px; padding: 6px 13px; font-size: 15px; }
.prod-hero .visual { position: relative; display: flex; justify-content: center; }
.prod-hero .phone { --w: 320px; margin-bottom: -90px; }
.prod-hero .sticker { right: 4%; top: 30%; rotate: 5deg; }

.facts-band { background: var(--navy); color: #fff; padding: 120px 0 44px; }
.facts-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts-band strong { display: block; font: 700 clamp(30px, 4vw, 44px)/1 Fredoka, system-ui, sans-serif; color: var(--yellow); margin-bottom: 8px; }
.facts-band span { color: #cfc7ef; font-size: 15px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 96px; }
.feature.flip .feature-visual { order: 2; }
.feature-visual { position: relative; border-radius: 32px; display: flex; justify-content: center; align-items: flex-end; gap: 16px; height: 540px; overflow: hidden; padding: 0 20px; }
.feature-visual .phone { --w: 270px; margin-bottom: -60px; }
.feature-visual .phone.second { --w: 230px; margin-bottom: -110px; }
.feature-visual .sticker { left: 22px; top: 28px; rotate: -5deg; }
.feature-text h2 { margin-bottom: 14px; }
.feature-text .lede { margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 6px; background: var(--c, var(--accent)); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.25em + 4px); width: 6px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; rotate: 40deg; }
.bg-purple { background: var(--purple); } .bg-coral { background: var(--coral); } .bg-yellow { background: var(--yellow); }
.bg-sky { background: var(--sky); } .bg-mint { background: var(--mint); }

.packs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.packs span { font: 600 15px/1 Fredoka, system-ui, sans-serif; padding: 9px 14px; border-radius: 12px; color: var(--navy); }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 16px 28px; margin: 0 -16px; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery .phone { --w: 220px; }
.gallery figcaption { margin-top: 14px; font: 600 16px/1.3 Fredoka, system-ui, sans-serif; }
.gallery figcaption span { display: block; font: 400 14px/1.4 system-ui, sans-serif; color: var(--muted); margin-top: 3px; }

.final-cta { margin-top: 112px; background-color: var(--purple); color: #fff; border-radius: 32px; padding: 64px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta p { color: #e5dbff; max-width: 32em; margin: 0; }
.final-cta img.icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 5px 0 rgba(0, 0, 0, .25); }

.other-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-langs > div { padding: 28px; }
.other-langs h2 { font-size: 26px; margin-bottom: 12px; }
.other-langs p { color: var(--muted); }
.note { border-left: 4px solid var(--yellow); padding-left: 12px; font-size: 15px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.notfound h1 { font-size: 96px; color: var(--accent); }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 980px) {
  .home-hero .wrap, .prod-hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 500px; }
  .prod-hero .text { padding-bottom: 8px; }
  .prod-hero .phone { --w: 280px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-visual { order: 0; }
  .feature-visual { height: 480px; }
  .facts-band ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topnav a:not(.btn) { display: none; }
  .section { padding-top: 72px; }
  .apps, .values, .other-langs, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { min-width: 0; }
  .footer a { overflow-wrap: anywhere; }
  .contact .btn { max-width: 100%; overflow-wrap: anywhere; white-space: normal; text-align: center; }
  .stage { height: 440px; }
  .stage .p1 { --w: 200px; top: 40px; }
  .stage .p2 { --w: 176px; top: 84px; }
  .feature-visual { height: 420px; }
  .feature-visual .phone { --w: 220px; }
  .feature-visual .phone.second { display: none; }
  .contact { padding: 28px; }
  .final-cta { padding: 48px 20px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 18px; }
  .topnav .btn { padding: 9px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .app-card, .faq summary::after { transition: none; }
}

/* =========================================================
   LEARNING CENTER + DEVLOG – EFA editorial system
   ========================================================= */
.topnav { min-width: 0; }
.topnav a { white-space: nowrap; }
.learning-promo { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 42px; border: 2px solid var(--rule); border-bottom: 6px solid var(--lift); border-radius: 24px; background: var(--bg-soft); }
.learning-promo h2 { max-width: 15ch; }
.learning-promo .lede { margin: 16px 0 22px; }
.learning-levels { display: grid; grid-template-columns: repeat(3, 62px); gap: 10px; transform: rotate(-4deg); }
.learning-levels span { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid var(--navy); border-bottom-width: 5px; border-radius: 16px; color: var(--navy); font: 700 23px/1 Fredoka, sans-serif; }
.level-a { background: var(--mint); } .level-b { background: var(--yellow); } .level-c { background: #c7a9ff; }
.editorial-page { overflow: hidden; }
.editorial-hero, .devlog-hero { padding: 76px 0 72px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.editorial-hero::after, .devlog-hero::after { content: "Aa"; position: absolute; right: max(5vw, calc((100vw - 1120px)/2)); bottom: -100px; color: rgba(255,255,255,.07); font: 700 360px/.9 Fredoka, sans-serif; pointer-events: none; }
.editorial-hero .wrap, .devlog-hero .wrap { position: relative; z-index: 1; }
.editorial-hero .eyebrow, .devlog-hero .eyebrow { color: var(--yellow); }
.editorial-hero h1, .devlog-hero h1 { max-width: 780px; font-size: clamp(42px, 6.5vw, 72px); }
.editorial-hero h1 em, .devlog-hero h1 em { color: var(--yellow); font-style: normal; }
.editorial-hero .lede, .devlog-hero .lede { color: #ded6f5; margin: 22px 0 0; max-width: 650px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-pills span { padding: 7px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font: 600 14px Fredoka, sans-serif; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { min-height: 220px; padding: 26px; border: 2px solid var(--navy); border-bottom-width: 6px; border-radius: 20px; text-decoration: none; color: var(--navy); transition: transform .18s, box-shadow .18s; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(36,22,79,.12); }
.category-card.mint { background: #d9f7ee; } .category-card.yellow { background: #fff0bf; } .category-card.purple { background: #e9ddff; } .category-card.coral { background: #ffe0d8; } .category-card.sky { background: #d9f3ff; }
.category-eyebrow { display: block; margin-bottom: 16px; font: 600 13px Fredoka, sans-serif; text-transform: uppercase; letter-spacing: .07em; opacity: .72; }
.category-card h3 { font-size: 25px; }
.category-card p { margin: 12px 0 18px; font-size: 15px; line-height: 1.5; }
.category-link { font: 600 15px Fredoka, sans-serif; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; min-height: 245px; padding: 25px; border: 2px solid var(--rule); border-bottom: 5px solid var(--lift); border-radius: 20px; background: var(--card); }
.post-card-top, .post-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.category-tag { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; color: var(--navy); font: 600 13px Fredoka, sans-serif; }
.category-tag.mint { background: #c8f2e5; } .category-tag.yellow { background: #ffedb2; } .category-tag.purple { background: #e5d7ff; } .category-tag.coral { background: #ffd8ce; } .category-tag.sky { background: #d4f0ff; }
.read-time, .post-card-bottom time { color: var(--muted); font-size: 13px; }
.post-card h3 { margin: 20px 0 10px; font-size: 24px; line-height: 1.2; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card > p { color: var(--muted); font-size: 15px; }
.post-card-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); }
.post-card-bottom a { font: 600 14px Fredoka, sans-serif; text-decoration: none; }
.devlog-promo { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; border-radius: 24px; background: var(--navy); color: #fff; }
.devlog-promo .eyebrow { color: var(--yellow); }
.devlog-promo h2 { max-width: 15ch; }
.devlog-promo p { color: #d6cdef; max-width: 560px; margin: 14px 0 22px; }
.devlog-stamp { flex: 0 0 auto; display: grid; place-items: center; width: 150px; height: 150px; border: 4px solid var(--yellow); border-radius: 50%; color: var(--yellow); text-align: center; font: 700 20px/1.2 Fredoka, sans-serif; transform: rotate(9deg); }
.category-hero { padding: 54px 0 60px; }
.category-hero.mint { background: #d9f7ee; } .category-hero.yellow { background: #fff0bf; } .category-hero.purple { background: #e9ddff; } .category-hero.coral { background: #ffe0d8; } .category-hero.sky { background: #d9f3ff; }
.category-hero h1 { margin-top: 12px; color: var(--navy); }
.category-hero .lede { margin-top: 14px; color: #51466e; }
.back-link, .breadcrumbs a { color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link { display: inline-block; margin-bottom: 26px; }
.article-wrap { max-width: 900px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding: 30px 0; color: var(--muted); font-size: 14px; }
.article-header { max-width: 780px; margin: 16px auto 38px; text-align: center; }
.article-header h1 { margin: 20px 0 16px; font-size: clamp(36px, 5vw, 58px); }
.article-deck { color: var(--muted); font-size: 20px; max-width: 680px; margin: 0 auto 20px; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 14px; }
.article-content { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.8; }
.article-intro { padding: 22px 25px; border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0; background: var(--bg-soft); font-size: 20px; }
.article-content h2 { margin: 42px 0 14px; font-size: 30px; }
.article-content p, .article-content li { color: var(--ink); }
.article-content ul { padding-left: 24px; }
.article-content li { padding-left: 5px; margin: 6px 0; }
.article-content em { color: var(--purple); font-weight: 600; }
.takeaway { margin: 42px 0; padding: 24px; border: 2px solid var(--navy); border-bottom-width: 6px; border-radius: 18px; background: #fff4ce; color: var(--navy); }
.takeaway strong { font: 700 18px Fredoka, sans-serif; }
.takeaway p { margin: 8px 0 0; color: var(--navy); }
.article-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid var(--rule); font: 600 15px Fredoka, sans-serif; }
.article-bottom a { text-decoration: none; }

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .learning-promo { grid-template-columns: 1fr; }
  .learning-levels { grid-template-columns: repeat(6, 1fr); transform: none; max-width: 440px; }
  .learning-levels span { width: 100%; height: 52px; }
}
@media (max-width: 720px) {
  .topbar .wrap { height: auto; min-height: 64px; align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: 10px; }
  .topnav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .topnav a { display: inline-flex !important; padding: 7px 9px; font-size: 13px; }
  .topnav a.btn { margin-left: auto; }
  .editorial-hero, .devlog-hero { padding: 58px 0 54px; }
  .editorial-hero::after, .devlog-hero::after { right: -40px; font-size: 230px; bottom: -55px; }
  .category-grid, .post-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 0; }
  .learning-promo, .devlog-promo { padding: 28px; }
  .devlog-promo { align-items: flex-start; }
  .devlog-stamp { width: 94px; height: 94px; font-size: 13px; border-width: 3px; }
  .article-content { font-size: 17px; }
  .article-content h2 { font-size: 26px; }
  .article-deck { font-size: 18px; }
}
@media (max-width: 420px) {
  .learning-levels { grid-template-columns: repeat(3, 1fr); }
  .devlog-promo { flex-direction: column; }
  .article-header h1 { font-size: 36px; }
}
