/* Point & Purr site — the game's palette: cream paper, ink, terracotta; soft and cosy. */
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url('/media/fonts/Fredoka_700Bold.ttf') format('truetype'); }
/* Fredoka has no Cyrillic: Ukrainian pages use Nunito (rounded, OFL; Latin + Latin-ext + Cyrillic, weights 600–900),
   which is also the game's body font. No third-party font requests. */
@font-face { font-family: Nunito; font-weight: 600 900; font-display: swap; src: url('/media/fonts/Nunito-ext.woff2') format('woff2'); }

:root {
  --cream: #FFF8EE; --cream2: #F7EBDA; --paper: #FFFDF9;
  --ink: #3D405B; --ink-soft: #6B6E86;
  --terra: #E07A5F; --terra-dark: #B95A41; --sage: #81B29A; --sand: #F2CC8F; --laser: #FF3B30;
  --radius: 22px; --shadow: 0 6px 0 rgba(61, 64, 91, 0.12);
  --max: 1120px; --gutter: 16px;
  /* height of the sticky header (site.js keeps it exact); in-page anchors land just below it */
  --header-h: 74px;
  --paws: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23E07A5F' fill-opacity='0.09' transform='rotate(-18 50 50)'%3E%3Cellipse cx='50' cy='62' rx='18' ry='15'/%3E%3Cellipse cx='28' cy='40' rx='8' ry='10'/%3E%3Cellipse cx='43' cy='29' rx='8' ry='10'/%3E%3Cellipse cx='58' cy='29' rx='8' ry='10'/%3E%3Cellipse cx='72' cy='40' rx='8' ry='10'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* anchors: a section lands with its heading just under the sticky header; anything else a little below it */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
section[id] { scroll-margin-top: calc(var(--header-h) - 32px); }
body {
  margin: 0; font-family: Nunito, ui-rounded, 'Segoe UI', system-ui, sans-serif; font-weight: 600; color: var(--ink);
  background: var(--cream); line-height: 1.5; overflow-x: hidden; overflow-wrap: break-word;
}
h1, h2, h3, .btn .big, .logo span, footer .brand span { font-family: Fredoka, Nunito, ui-rounded, system-ui, sans-serif; font-weight: 700; }
:lang(uk) h1, :lang(uk) h2, :lang(uk) h3, :lang(uk) .btn .big,
:lang(pl) h1, :lang(pl) h2, :lang(pl) h3, :lang(pl) .btn .big,
:lang(tr) h1, :lang(tr) h2, :lang(tr) h3, :lang(tr) .btn .big { font-family: Nunito, ui-rounded, system-ui, sans-serif; font-weight: 900; }
/* CJK: the system's fonts (Hiragino Maru Gothic is rounded, like the game) — no multi-megabyte webfonts */
body:lang(ja), :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .btn .big { font-family: Nunito, 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', 'Noto Sans CJK JP', system-ui, sans-serif; }
body:lang(ko), :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) .btn .big { font-family: Nunito, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR', system-ui, sans-serif; }
body:lang(zh), :lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .btn .big { font-family: Nunito, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(zh) h1, :lang(zh) h2 { line-height: 1.3; }
body:lang(ko) { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .lead { word-break: auto-phrase; }
/* long German / Polish / Ukrainian words must never push the page sideways on phones */
h1, h2, h3 { hyphens: auto; }
h1, h2, h3, .btn, summary { hyphens: auto; -webkit-hyphens: auto; }
img, video, iframe, svg { max-width: 100%; display: block; }
a { color: var(--terra-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: static; width: auto; height: auto; clip: auto; padding: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 22px;
  font: inherit; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; cursor: pointer;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.terra { background: var(--terra); color: #fff; }
.btn.ink { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #23253A; }
.btn[aria-disabled='true'] { opacity: 0.6; cursor: default; }
/* "coming soon" store badge: both stores look the same — an ink store badge that is not pressable (no greyed-out look) */
.btn.soon { opacity: 1; cursor: default; background: var(--ink); color: #fff; box-shadow: 0 4px 0 #23253A; }
.btn.soon:hover, .btn.soon:active { transform: none; box-shadow: 0 4px 0 #23253A; }
.btn.soon .sub { color: var(--sand); opacity: 1; }
.btn .sub { display: block; font-size: 12px; font-weight: 700; opacity: 0.85; line-height: 1; }
.btn .big { display: block; font-size: 19px; line-height: 1.1; }
.btn svg { width: 26px; height: 26px; flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 238, 0.94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--cream2); }
.top .wrap { position: relative; display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 22px; white-space: nowrap; }
.logo img { width: 44px; height: 44px; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 12px; font-size: 16px; }
.top nav a:hover { background: var(--cream2); }
.top .btn { min-height: 42px; font-size: 15px; padding: 6px 14px; box-shadow: 0 3px 0 var(--ink); }
.top nav a.on { background: var(--cream2); color: var(--terra-dark); }
/* phones and small tablets: the section links become a second, horizontally scrolling row; its edges fade out
   where more pills are hidden (site.js sets data-edge: start / mid / end / none; no JS → the right edge fades) */
@media (max-width: 860px) {
  :root { --header-h: 100px; }
  .top .wrap { flex-wrap: wrap; height: auto; column-gap: 12px; row-gap: 0; padding-top: 6px; }
  .top .logo { min-height: 48px; }
  .top .lang-menu { margin-left: auto; }
  .top nav {
    order: 3; flex: 0 0 calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; gap: 6px;
    --fade: 48px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent);
  }
  .top nav[data-edge='none'] { -webkit-mask-image: none; mask-image: none; }
  .top nav[data-edge='end'] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(to left, #000 calc(100% - var(--fade)), transparent); }
  .top nav[data-edge='mid'] {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: none; white-space: nowrap; font-size: 14px; line-height: 1.3; padding: 5px 12px; border: 2px solid var(--cream2); border-radius: 999px; background: var(--paper); }
  .top nav a.on { border-color: var(--sand); background: var(--sand); color: var(--ink); }
}
/* phones: one compact top row — the app icon alone (the hero's title card carries the name), language, a smaller CTA */
@media (max-width: 520px) {
  .top .wrap { column-gap: 8px; }
  .logo span { display: none; }
  .logo img { width: 40px; height: 40px; flex: none; }
  .top .btn { min-height: 38px; font-size: 14px; padding: 5px 12px; border-radius: 13px; white-space: nowrap; }
  .top .lang-menu summary { min-height: 38px; padding: 4px 8px; gap: 5px; font-size: 14px; border-radius: 13px; }
  .top .lang-menu summary svg { width: 18px; height: 18px; }
}

/* language switcher (a <details> menu, anchored to the header's right edge) */
.lang-menu { flex: none; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); cursor: pointer; font-weight: 800; font-size: 15px; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 20px; height: 20px; }
.lang-menu[open] summary { background: var(--cream2); }
.lang-menu ul { position: absolute; right: var(--gutter); top: calc(100% - 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; display: grid; gap: 2px; width: min(220px, calc(100vw - 2 * var(--gutter))); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); }
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 16px; }
.lang-menu li a:hover, .lang-menu li a:focus-visible { background: var(--cream2); }
.lang-menu li a[aria-current] { background: var(--sand); }

/* hero: the title card, the real game on a phone, and a floor where Biscuit chases the laser (landing.js) */
.hero { position: relative; overflow: hidden; padding: 0; background: radial-gradient(110% 80% at 80% 20%, #FCE6D4 0%, var(--cream) 62%); border-bottom: 0; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: 0.55; pointer-events: none; background-image: var(--paws); background-size: 132px 132px; background-position: 0 0; }
.hero > .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 150px; }
.title-card { position: absolute; z-index: 2; left: -18px; top: -62px; display: inline-flex; flex-direction: column; margin: 0; padding: 8px 20px 10px; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 rgba(61, 64, 91, 0.25); transform: rotate(-3deg); font-family: Fredoka, Nunito, ui-rounded, system-ui, sans-serif; font-weight: 700; font-size: 34px; line-height: 0.98; color: var(--ink); }
.title-card span + span { color: var(--terra); }
.title-card small { font-size: 0.66em; margin-right: 0.18em; }
.hero h1 { font-size: clamp(30px, 3.7vw, 48px); hyphens: manual; -webkit-hyphens: manual; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 46ch; color: var(--ink-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.pill { background: var(--paper); border: 2px solid var(--cream2); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.hero-art { position: relative; justify-self: center; width: 100%; padding-top: 30px; }
.hero-art .device { width: min(560px, 100%); transform: rotate(-2deg); }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; background: linear-gradient(#C98D64 0 6px, #E8B48C 6px 100%); box-shadow: inset 0 -10px 0 rgba(185, 90, 65, 0.12); }
.hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
@media (max-width: 820px) {
  .hero > .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 28px; padding-bottom: 150px; gap: 28px; }
  .hero .lead { margin: 0 auto 1em; }
  .pills, .hero .stores { justify-content: center; }
  .title-card { font-size: 26px; left: 0; top: 0; }
  .hero-art { padding-top: 50px; }
  .hero-art .device { width: min(520px, 100%); }
}
/* phones: a tighter title block so the game screen already peeks above the fold */
@media (max-width: 560px) {
  .hero > .wrap { padding-top: 18px; gap: 14px; }
  .hero h1 { font-size: clamp(25px, 7.4vw, 30px); margin-bottom: 0.3em; }
  .hero .lead { font-size: 15.5px; line-height: 1.45; margin-bottom: 0.8em; }
  .pills { gap: 6px; margin: 12px 0 16px; }
  .pill { font-size: 13.5px; padding: 3px 11px; }
  .hero .stores { gap: 10px; }
  .hero .stores .btn { min-height: 48px; padding: 6px 14px; gap: 8px; }
  .hero .stores .btn svg { width: 22px; height: 22px; }
  .hero .stores .btn .sub { font-size: 11px; }
  .hero .stores .btn .big { font-size: 17px; }
  /* the title card sits on the bezel only, clear of the game's pause button */
  .hero-art { padding-top: 44px; }
  .title-card { font-size: 19px; padding: 6px 13px 7px; border-radius: 16px; border-width: 2.5px; left: 2px; }
}

/* a phone: the real game screen in a rounded ink bezel */
.device { position: relative; padding: 9px; background: var(--ink); border-radius: 40px; box-shadow: 0 26px 50px rgba(61, 64, 91, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.6); }
.device img { width: 100%; height: auto; border-radius: 31px; background: var(--cream2); }
.device.small { width: min(260px, 70vw); border-radius: 36px; padding: 8px; }
.device.land { border-radius: 34px; padding: 9px; }
.device.land img { border-radius: 26px; }
.device.small img { border-radius: 28px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--cream2); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 44px); }
.sec-head p { font-size: 18px; color: var(--ink-soft); max-width: 56ch; margin: 0 auto; }
.sec-head.left { text-align: left; margin-bottom: 22px; }
.sec-head.left p { margin: 0; }
.kicker { display: inline-block; margin: 0 0 10px !important; padding: 4px 12px; border-radius: 999px; background: var(--laser); color: #fff !important; font-weight: 800; font-size: 15px !important; letter-spacing: 0.02em; }

/* the playable demo + how to play */
.demo-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.demo-wrap .demo { order: -1; }
.demo-frame { position: relative; border: 3px solid var(--ink); border-radius: 26px; overflow: hidden; background: #A47B5B; box-shadow: 0 8px 0 rgba(61, 64, 91, 0.18); aspect-ratio: 16 / 10; }
.demo canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.demo canvas:focus-visible { outline: 4px solid var(--sand); outline-offset: -4px; }
.demo-hint { margin: 14px 0 4px; min-height: 3em; font-size: 18px; font-weight: 800; text-align: center; }
.demo-keys { margin: 0; font-size: 14px; text-align: center; }
.demo-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px; text-align: center; background: rgba(255, 253, 249, 0.9); }
.demo-done[hidden] { display: none; }
.demo-done-title { font-family: Fredoka, Nunito, ui-rounded, system-ui, sans-serif; font-size: clamp(26px, 4vw, 38px); margin: 0; color: var(--terra-dark); }
:lang(uk) .demo-done-title, :lang(pl) .demo-done-title, :lang(tr) .demo-done-title { font-family: Nunito, ui-rounded, system-ui, sans-serif; font-weight: 900; }
.demo-done p { margin: 0 0 8px; max-width: 36ch; }
.demo-done .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.demo-done .btn { min-height: 46px; font-size: 16px; }
.how { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.how li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 2px solid var(--cream2); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.how b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--terra); color: #fff; font-size: 19px; border: 2px solid var(--ink); }
.how li:nth-child(2) b { background: var(--laser); }
.how li:nth-child(3) b { background: var(--sage); }
.how h3 { font-size: 20px; margin-bottom: 2px; }
.how p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) { .demo-wrap { grid-template-columns: 1fr; gap: 24px; } .demo-text { display: contents; } .demo-text .sec-head { order: 0; margin: 0; } .demo-wrap .demo { order: 1; } .demo-wrap .how { order: 2; } .demo-frame { border-radius: 20px; } }

/* trailer + screenshots */
.trailer { max-width: 960px; margin: 0 auto; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; background: #BFD9EE; box-shadow: 0 8px 0 rgba(61, 64, 91, 0.18); }
.trailer video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #BFD9EE; }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 36px auto 0; max-width: 1040px; }
.shots figure { margin: 0; padding: 6px; background: var(--ink); border-radius: 26px; box-shadow: 0 10px 22px rgba(61, 64, 91, 0.18); }
.shots img { width: 100%; height: auto; border-radius: 20px; background: var(--cream); }
.shots figure:nth-child(odd) { transform: rotate(-1.5deg); }
.shots figure:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
@media (max-width: 820px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 28px calc(-1 * var(--gutter)) 0; padding: 6px var(--gutter) 22px; scrollbar-width: thin; }
  .shots figure { flex: 0 0 min(46vw, 200px); scroll-snap-align: center; transform: none !important; }
}

/* cats */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cats { grid-template-columns: 1fr 1fr; gap: 12px; } }
.cat { background: var(--paper); border: 2px solid var(--cream2); border-radius: var(--radius); padding: 14px 14px 18px; box-shadow: var(--shadow); text-align: center; }
.cat-art { position: relative; height: 112px; margin: 0 0 10px; padding: 10px 8px; background: radial-gradient(closest-side, var(--bg, var(--cream2)) 0 92%, transparent 100%) center / 112px 112px no-repeat, var(--cream); border-radius: 16px; }
.cat-art img { width: 100%; height: 100%; object-fit: contain; }
/* the animated loop (landing.js) is drawn over the still portrait, which stays as the reduced-motion / no-JS picture */
.cat-art canvas { position: absolute; inset: 10px 8px; width: calc(100% - 16px); height: calc(100% - 20px); }
.cat-art.playing img { visibility: hidden; }
.cat h3 { font-size: 20px; margin-bottom: 4px; }
.cat p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* buildings and modes: real level shots */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place { background: var(--paper); border: 2px solid var(--cream2); border-radius: var(--radius); padding: 0 0 22px; box-shadow: var(--shadow); overflow: hidden; }
.place img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 2px solid var(--cream2); background: var(--cream2); }
.place h3, .place p { padding: 0 22px; }
.place h3 { font-size: 22px; margin-top: 16px; }
.place p { margin: 0; color: var(--ink-soft); }
.place p.meta { color: var(--terra-dark); font-weight: 800; margin-bottom: 8px; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.sub-head { font-size: 26px; margin: 0 0 12px; }

/* a home of your own */
.home-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.hats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 0 18px; }
.hats img { width: 100%; height: auto; }
.features.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .home-grid { grid-template-columns: 1fr; gap: 28px; } .home-grid .device { margin: 0 auto; } .sub-head { text-align: center; } .hats { grid-template-columns: repeat(3, 1fr); max-width: 360px; margin: 0 auto 18px; } }
@media (max-width: 560px) { .features.two { grid-template-columns: 1fr; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .features.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features.four { grid-template-columns: 1fr; } }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--cream2); display: grid; place-items: center; margin-bottom: 12px; }
section.alt .feature .ic { background: var(--cream); }
.feature .ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 21px; }
.feature p { margin: 0; color: var(--ink-soft); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 2px solid var(--cream2); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--terra); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* final cta */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--terra); color: #fff; }
.cta .wrap { position: relative; z-index: 1; }
.cta-cat { position: absolute; bottom: 18px; width: 150px; height: auto; pointer-events: none; }
.cta-cat.left { left: max(16px, calc(50% - 560px)); transform: rotate(-8deg); }
.cta-cat.right { right: max(16px, calc(50% - 560px)); }
@media (max-width: 900px) { .cta { padding-bottom: 150px; } .cta-cat { width: 110px; bottom: 14px; } }
.cta h2 { font-size: clamp(28px, 4.6vw, 48px); }
.cta .stores { justify-content: center; margin-top: 20px; }

/* footer */
footer { background: var(--ink); color: #E6E7F0; padding: 40px 0 28px; font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; color: #fff; }
footer .brand img { width: 40px; height: 40px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer h4 { margin: 0 0 10px; font-size: 16px; color: var(--sand); }
footer .langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
footer .langs a { color: #E6E7F0; }
footer .langs a[aria-current] { color: var(--sand); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; color: #B9BBCC; font-size: 13px; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* consent banner (only when an optional third-party analytics id is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 620px; margin: 0 auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(61, 64, 91, 0.25); display: none; }
.consent.show { display: block; }
.consent p { margin: 0 0 12px; font-size: 15px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 44px; font-size: 16px; }

/* legal / doc pages */
.doc { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc h2 { font-size: 23px; margin-top: 1.6em; }
.doc li { margin-bottom: 6px; }
.doc .card { background: var(--paper); border: 2px solid var(--cream2); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); margin: 18px 0; }
.doc .card.note { font-size: 15px; background: var(--cream2); box-shadow: none; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { hyphens: auto; -webkit-hyphens: auto; text-align: left; border-bottom: 2px solid var(--cream2); padding: 8px 6px; vertical-align: top; }
.not-found .stores { margin-top: 20px; }
/* phones: the 3-column privacy table becomes one labelled block per row */
@media (max-width: 560px) {
  .doc table.stack thead { display: none; }
  .doc table.stack tr { display: block; padding: 10px 0; border-bottom: 2px solid var(--cream2); }
  .doc table.stack td { display: block; border: 0; padding: 3px 0; }
  .doc table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-soft); }
}

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