/* The promotional site of Oynaya İlkokul (tanitim.ilkokul.oynayaoynaya.net): the watercolour page language of
   oynayaoynaya.net in the brand purple of the app. Fonts are served from here, nothing is loaded from elsewhere. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap; src: url(assets/fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 800; font-display: swap; src: url(assets/fonts/bricolage-latin.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(assets/fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(assets/fonts/nunito-latin.woff2) format("woff2"); }

:root {
  --primary: #7F30FF; --primary-hover: #6A22E0; --primary-deep: #5A1BC4; --soft: #EFE4FF; --soft-strong: #DCC8FF;
  --ink: #241B3F; --ink-soft: #6B6383; --ink-muted: #9A94B0;
  --card: rgba(255, 255, 255, .84); --white: #fff;
  --peach: #F5D7C8; --peach-ink: #A66A4E; --green-bg: rgba(155, 212, 177, .32); --green-ink: #3E7D5A;
  --shadow-sm: 0 3px 12px rgba(127, 48, 255, .14); --shadow-md: 0 14px 36px rgba(127, 48, 255, .22); --shadow-lg: 0 30px 70px rgba(127, 48, 255, .38);
  --ease: cubic-bezier(.32, .72, 0, 1); --dur: 250ms;
  --display: "Bricolage Grotesque", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.6 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-color: #F7EDE2;
  background-image: linear-gradient(180deg, #F7EDE2 0px, rgba(247, 237, 226, 0) 160px),
    linear-gradient(rgba(255, 255, 255, .38), rgba(255, 255, 255, .38)), url(assets/sulu-boya.jpg);
  background-size: auto, auto, max(1100px, 100%) auto; background-repeat: no-repeat, no-repeat, repeat-y; background-position: top center;
}
.shell { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.022em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.accent { color: var(--primary-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 26px; padding: .78rem 1.5rem;
  font: 700 15px/1.2 Nunito, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur); }
.btn:hover { transform: translateY(-1.5px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(127, 48, 255, .32); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 26px rgba(127, 48, 255, .4); }
.btn-soft { background: var(--soft); color: var(--ink); box-shadow: 0 3px 12px rgba(127, 48, 255, .16); }
.btn-soft:hover { background: #E6D7FF; box-shadow: 0 7px 20px rgba(127, 48, 255, .24); }
.btn-ghost { background: rgba(255, 255, 255, .55); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .85); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; padding: 10px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.nav { display: none; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 10px 30px -14px rgba(127, 48, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: background var(--dur), color var(--dur); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--ink);
  font: 600 14px Nunito, system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.menu-panel { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 45px -20px rgba(127, 48, 255, .5); }
.menu-panel a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.menu-panel a:hover { background: var(--soft); }
.top.open .menu-panel { display: block; }
.top .wrap { position: relative; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn, .menu-panel { display: none !important; } }
@media (max-width: 479px) { .top .brand span { display: none; } }

/* Sections */
main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 72px; padding: 20px 0 56px; }
section { scroll-margin-top: 90px; min-width: 0; }
.center { text-align: center; }
.h-xl { font-size: clamp(34px, 5.4vw, 56px); max-width: 880px; margin: 0 auto; }
.h-lg { font-size: clamp(30px, 4.6vw, 50px); max-width: 820px; margin: 0 auto; }
.h-md { font-size: clamp(26px, 3.6vw, 38px); }
.lead { max-width: 640px; margin: 16px auto 0; font-size: 16.5px; line-height: 1.7; }
.lead strong { color: var(--ink); }
.note { max-width: 680px; margin: 14px auto 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.note strong { color: var(--ink); font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--ink-soft); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.soon { width: 100%; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* Download menu */
.dl { position: relative; display: inline-block; }
.dl-menu { display: none; position: absolute; left: 50%; top: calc(100% + 8px); z-index: 30; min-width: 300px; transform: translateX(-50%); padding: 8px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 24px 50px -18px rgba(36, 27, 63, .45); text-align: left; }
.dl.open .dl-menu { display: block; }
.dl-menu a { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.dl-menu a small { color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.dl-menu a:hover { background: var(--soft); }

/* Fans */
.fan { display: flex; justify-content: center; list-style: none; margin: 4px auto 0; padding: 8px 16px 44px; max-width: 1180px; overflow-x: clip; }
.fan li { position: relative; min-width: 0; margin-left: -78px; animation: settle 350ms var(--ease) both; }
.fan li:first-child { margin-left: 0; }
.fan button { display: block; width: 104px; padding: 0; border: 4px solid #fff; border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden;
  box-shadow: 0 3px 10px rgba(127, 48, 255, .14); transform-origin: bottom center; transform: rotate(var(--rot)) translateY(var(--lift-m));
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fan img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 9px; }
.hint { margin-top: 4px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
@media (min-width: 640px) { .fan li { margin-left: -104px; } .fan button { width: 150px; } }
@media (min-width: 1024px) {
  .fan { overflow: visible; padding-bottom: 84px; }
  .fan li { margin-left: -56px; }
  .fan li:hover { z-index: 30; }
  .fan button { width: 164px; border-width: 5px; box-shadow: var(--shadow-md); transform: rotate(var(--rot)) translateY(var(--lift)); }
  .fan button:hover { box-shadow: var(--shadow-lg); transform: rotate(0deg) translateY(calc(var(--lift) / 2)) scale(2.3); }
  .hint { display: none; }
}
@keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hero: two rows of colourful cards gliding across the whole width */
.rainbow { background: linear-gradient(90deg, #7F30FF 0%, #E0409A 55%, #FF8A3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.rows { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.marquee { overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: glide 75s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 90s; }
.marquee:hover .track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.marquee img { width: 124px; height: 124px; object-fit: cover; border: 4px solid #fff; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(127, 48, 255, .18); transform: rotate(-2deg); }
.marquee li:nth-child(even) img { transform: rotate(2deg) translateY(6px); }
@keyframes glide { to { transform: translateX(calc(-50% - 6px)); } }
@media (min-width: 640px) { .marquee .track, .marquee ul { gap: 16px; } .marquee img { width: 172px; height: 172px; border-width: 5px; border-radius: 20px; box-shadow: var(--shadow-md); } @keyframes glide { to { transform: translateX(calc(-50% - 8px)); } } }

/* Poster wall */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; max-width: 1120px; margin: 28px auto 0; }
.wall .cell { aspect-ratio: 1; }
.wall .big { grid-column: span 2; grid-row: span 2; }
.wall button { display: block; width: 100%; height: 100%; padding: 0; border: 4px solid #fff; border-radius: 16px; background: #fff; cursor: pointer; overflow: hidden;
  box-shadow: 0 8px 22px rgba(127, 48, 255, .16); transform: rotate(var(--rot)); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.wall .cell:hover { z-index: 30; position: relative; }
@media (min-width: 640px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); } .wall button:hover { transform: rotate(0) scale(1.3); box-shadow: var(--shadow-lg); } .wall .big button:hover { transform: rotate(0) scale(1.1); } }

/* Book shelf */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; max-width: 1080px; margin: 28px auto 0; padding: 0; list-style: none; }
.shelf button { display: block; width: 100%; padding: 0; border: 4px solid #fff; border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden;
  box-shadow: 0 8px 22px rgba(127, 48, 255, .16); transform: rotate(var(--rot)); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.shelf img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 10px; }
.shelf li:hover { z-index: 30; position: relative; }
@media (min-width: 640px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; } }
@media (min-width: 1024px) { .shelf { grid-template-columns: repeat(6, minmax(0, 1fr)); } .shelf button:hover { transform: rotate(0) scale(1.3); box-shadow: var(--shadow-lg); } }

/* Pano bunting */
.bunting { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 1140px; margin: 0 auto 22px; }
.bunting .word { display: flex; gap: 2px; }
.bunting img { width: clamp(32px, 3.4vw, 46px); height: auto; transform: rotate(var(--r)); filter: drop-shadow(0 5px 6px rgba(36, 27, 63, .2)); }

/* App section */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 36px auto 0; align-items: end; }
.phone { border-radius: 34px; border: 7px solid var(--ink); background: var(--ink); box-shadow: 0 30px 60px -20px rgba(36, 27, 63, .5); overflow: hidden; }
.phone img { border-radius: 27px; aspect-ratio: 1320 / 2868; object-fit: cover; }
.phones .phone:nth-child(2) { transform: translateY(-16px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 980px; margin: 32px auto 0; }
.feature { padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: 0 8px 24px -14px rgba(127, 48, 255, .4); border: 1px solid rgba(255, 255, 255, .9); }
.feature b { display: block; font-size: 15px; color: var(--ink); }
.feature span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.pill { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--soft-strong); font-size: 13px; font-weight: 700; color: var(--ink); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .phones { gap: 8px; } .phone { border-width: 4px; border-radius: 22px; } .phone img { border-radius: 18px; } }

/* Week anatomy */
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; }
.chips span.lbl { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--soft-strong); background: rgba(255, 255, 255, .8); color: var(--ink);
  font-size: 13px; font-weight: 700; text-decoration: none; transition: background var(--dur); }
.chip:hover { background: var(--soft); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.bands { display: flex; flex-direction: column; gap: 64px; margin-top: 40px; }
.band h3 { font-size: clamp(24px, 3.6vw, 38px); line-height: 1.1; }
.band h3 span { color: var(--grade); }
.band .when { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; max-width: 1080px; margin: 24px auto 0; }
.tile { position: relative; aspect-ratio: 3 / 4; }
.tile.wide { grid-column: span 2; aspect-ratio: 154 / 100; }
.tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: 76 / 100; }
.tile button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 4px solid #fff; border-radius: 13px; background: #fff; cursor: pointer; overflow: hidden; text-align: left;
  box-shadow: 0 10px 28px rgba(127, 48, 255, .2); transform: rotate(var(--rot)); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.tile .lbl { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 10.5px; font-weight: 800; color: var(--ink-soft); box-shadow: 0 2px 8px rgba(36, 27, 63, .14); }
.tile:hover { z-index: 30; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile button:hover { box-shadow: var(--shadow-lg); transform: rotate(0) scale(1.38); }
  .tile.wide button:hover { transform: rotate(0) scale(1.22); }
  .tile.big button:hover { transform: rotate(0) scale(1.12); }
}
.band-dl { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 24px; }
.band-dl small { font-size: 12px; font-weight: 600; color: var(--ink-muted); }

/* Price band */
.plans { display: grid; gap: 16px; margin-top: 28px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 20px 20px; border-radius: 20px; background: var(--card); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 24px rgba(127, 48, 255, .14); }
.plan.featured { border: 1.5px solid var(--primary); box-shadow: 0 14px 38px rgba(127, 48, 255, .26); }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--peach); color: var(--peach-ink); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.plan .grade { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--g-bg); color: var(--g-ink); }
.plan .tagline { flex: 1; margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.plan .price { margin-top: 14px; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.plan .price-note { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; width: 100%; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.plan li { padding: 4px 0 4px 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 11px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.plan .btn { width: 100%; margin-top: 16px; }
.promise { max-width: 560px; margin: 26px auto 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.zumre { display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: 760px; margin: 28px auto 0; padding: 20px 24px; border-radius: 20px; background: rgba(255, 255, 255, .84); text-align: left;
  box-shadow: 0 10px 28px -14px rgba(127, 48, 255, .4); border: 1px solid var(--soft); }
.zumre .k { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--peach); color: var(--peach-ink); font-size: 11.5px; font-weight: 800; }
.zumre b { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.35; }
.zumre p { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.free { max-width: 640px; margin: 22px auto 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } .zumre { flex-direction: row; } .zumre .btn { flex-shrink: 0; } }

/* Footer: one night card; centred and stacked on the phone, rows on the desktop */
.night { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; color: #fff;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(127, 48, 255, .35) 0%, transparent 70%), linear-gradient(180deg, #3B2C6E 0%, #2E2258 48%, #241B3F 100%); }
footer { padding: 28px 12px 28px; }
.foot { display: flex; flex-direction: column; gap: 26px; max-width: 1160px; margin: 0 auto; padding: 30px 20px 24px; text-align: center; }
.foot-top { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot .brand { flex-direction: column; color: #fff; gap: 8px; }
.foot .brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: none; }
.foot .brand small { display: block; margin-top: 2px; font: 600 13px/1.4 Nunito, system-ui, sans-serif; color: rgba(255, 255, 255, .62); letter-spacing: 0; }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; }
.foot .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.foot-family { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 16px; border-radius: 18px; background: rgba(255, 255, 255, .07); }
.foot-family img { width: 76px; height: auto; padding: 5px; border-radius: 50%; background: #fff; }
.foot-family p { max-width: 620px; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.foot-family strong { color: #fff; }
.foot-family .stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.foot-family .stats div { font-size: 12.5px; color: rgba(255, 255, 255, .66); }
.foot-family .stats b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.foot-links a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 700; text-decoration: none; transition: background var(--dur); }
.foot-links a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.foot-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.foot-bottom p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.foot-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; }
@media (min-width: 760px) {
  footer { padding: 36px 16px 40px; }
  .foot { padding: 36px 32px 28px; text-align: left; }
  .foot-top { flex-direction: row; justify-content: space-between; }
  .foot .brand { flex-direction: row; gap: 12px; }
  .foot-cta { justify-content: flex-end; }
  .foot-family { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 26px; }
  .foot-family .stats { justify-content: flex-start; gap: 8px 22px; }
  .foot-links { justify-content: flex-start; }
  .foot-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .foot-bottom p:last-child { justify-content: flex-end; text-align: right; }
}

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(36, 27, 63, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 150ms ease both; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border: 7px solid #fff; border-radius: 16px; background: #fff; object-fit: contain; box-shadow: 0 40px 90px rgba(20, 18, 50, .5); animation: settle 300ms var(--ease) both; }
.lb button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); cursor: pointer; box-shadow: 0 10px 26px rgba(20, 18, 50, .35); }
.lb .close { top: 16px; right: 16px; } .lb .prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb .next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb .count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.lb .cap { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); max-width: 70vw; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .lb .prev { left: 20px; } .lb .next { right: 20px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
