/* TrueThings website: one stylesheet for every page.
   Colours, radii and type follow the app's design system (TrueThings/DesignSystem
   in the app repo); the dark plum look, pixel motifs and marker underline come
   from the App Store screenshots. Pages are generated by src/build.py. */

/* ------------------------------------------------------------------ tokens */

:root {
  color-scheme: light dark;

  --bg: #FAF7F4;
  --surface: #FFFFFF;
  --surface-warm: #FCF8F5;
  --surface-2: #F3EEEA;
  --border: rgba(29, 26, 28, .08);
  --border-strong: rgba(29, 26, 28, .14);
  --shadow: 0 1px 2px rgba(42, 26, 34, .05), 0 8px 24px -8px rgba(42, 26, 34, .12);
  --shadow-lift: 0 2px 4px rgba(42, 26, 34, .06), 0 24px 48px -16px rgba(42, 26, 34, .22);
  --text: #1D1A1C;
  --text-2: #6E6569;
  --text-3: #9C9398;
  --accent: #F4339A;
  --accent-deep: #D91A7E;
  --accent-soft: rgba(244, 51, 154, .12);
  --link: #C4166F;
  --marker: #FFB09E;

  --rose-fill: #FCE4EE;   --rose-ink: #D4276F;
  --peach-fill: #FDE7DB;  --peach-ink: #D25A1A;
  --butter-fill: #FBF0CF; --butter-ink: #A8780A;
  --mint-fill: #DCF3E7;   --mint-ink: #1E8F5E;
  --sky-fill: #DFEDFB;    --sky-ink: #2B6FCF;
  --lilac-fill: #ECE5FA;  --lilac-ink: #744BD1;
  --sand-fill: #F1EBE2;   --sand-ink: #86663F;
  --brand-fill: rgba(244, 51, 154, .12); --brand-ink: #F4339A;

  --plum-0: #380935;
  --plum-1: #530F4E;
  --plum-2: #7E1A5B;
  --plum-3: #A82B62;
  --on-plum: #FFF5F1;
  --on-plum-2: rgba(255, 233, 228, .80);
  --on-plum-3: rgba(255, 233, 228, .62);

  --r-s: 10px;
  --r-m: 14px;
  --r-btn: 16px;
  --r-l: 20px;
  --r-xl: 28px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141114;
    --surface: #1F1B1E;
    --surface-warm: #1A1618;
    --surface-2: #2A2528;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 0, 0, .6);
    --text: #F6F2F4;
    --text-2: #A8A0A5;
    --text-3: #766E73;
    --accent: #FF5AB3;
    --accent-deep: #F23C9C;
    --accent-soft: rgba(255, 90, 179, .20);
    --link: #FF7FC2;
    --marker: rgba(255, 138, 115, .55);

    --rose-fill: #4A1E31;   --rose-ink: #FF8FC0;
    --peach-fill: #4C2C1E;  --peach-ink: #FFA477;
    --butter-fill: #433519; --butter-ink: #F3C74E;
    --mint-fill: #1F372D;   --mint-ink: #5FD39A;
    --sky-fill: #222F48;    --sky-ink: #79B1F7;
    --lilac-fill: #332749;  --lilac-ink: #B79AF5;
    --sand-fill: #382D26;   --sand-ink: #D2B48C;
    --brand-fill: rgba(255, 90, 179, .20); --brand-ink: #FF5AB3;
  }
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.wrap.mid { max-width: 960px; }

/* ------------------------------------------------------------------ type helpers */

.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .55em 1.05em .55em .95em; border-radius: 999px;
  color: var(--accent-deep); background: var(--accent-soft);
}
.kicker img { width: 20px; height: 20px; border-radius: 6px; margin: -3px 0; }
.kicker .px { width: 9px; height: 9px; display: block; }
.on-plum .kicker, .kicker.on-plum {
  color: #FFE1D8; background: rgba(255, 255, 255, .10); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16);
}
.kicker.tint { color: var(--ink); background: var(--fill); }

.display {
  font-size: clamp(42px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03;
}
.h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.h3 { font-size: clamp(21px, 2.3vw, 26px); font-weight: 750; letter-spacing: -.018em; line-height: 1.18; }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--text-2); }
.on-plum .lead { color: var(--on-plum-2); }
.muted { color: var(--text-2); }
.small { font-size: 14.5px; }

/* The highlighted word: gradient on dark, accent on light, with a hand-drawn marker under it. */
.hl { font-style: normal; position: relative; display: inline-block; white-space: nowrap; color: var(--accent); }
.hl::after {
  content: ""; position: absolute; left: -3%; width: 106%; bottom: -.1em; height: .22em; z-index: -1;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M1.5 15.5 Q 50 0 98.5 8.5' fill='none' stroke='%23FFB09E' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hl-wrap { position: relative; z-index: 0; }
.on-plum .hl {
  background: linear-gradient(100deg, #FFC3A6 0%, #FF9EC4 55%, #FF8FD0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .02em;
}
.on-plum .hl::after {
  z-index: 0; bottom: -.16em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M1.5 15.5 Q 50 0 98.5 8.5' fill='none' stroke='%23FF7A66' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(244, 51, 154, .7); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn-ghost:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text-3); }
.on-plum .btn-ghost { background: rgba(255, 255, 255, .08); color: var(--on-plum); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.on-plum .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.store-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .18s ease; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge:active { transform: scale(.97); }
/* Our own App Store button where the official badge isn't available in the page's language. */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px 0 8px;
  border-radius: 14px; background: #000; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: transform .18s ease;
}
.store-btn img { width: 38px; height: 38px; border-radius: 9px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.store-btn small { font-size: 11.5px; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.store-btn:hover { color: #fff; transform: translateY(-1px); }
.store-btn:active { transform: scale(.97); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { font-size: 14px; color: var(--text-2); }
.on-plum .cta-note { color: var(--on-plum-3); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(56, 9, 53, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-plum);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--on-plum-2); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--on-plum-2); text-decoration: none; padding: 7px 10px; border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18);
}
.lang-switch:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34); }
.header-cta { margin-left: 4px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--on-plum);
}
.menu-toggle svg { width: 22px; height: 22px; display: block; margin: auto; }
.menu-toggle .close { display: none; }
.site-header.open .menu-toggle .open-icon { display: none; }
.site-header.open .menu-toggle .close { display: block; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    display: none; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 10px var(--gutter) 18px; background: rgba(48, 8, 46, .97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 12px; font-size: 17px; }
  .nav .lang-switch { align-self: flex-start; margin: 8px 12px 4px; }
  .nav .header-cta { margin: 10px 12px 0; }
}

/* ------------------------------------------------------------------ plum surfaces */

.plum {
  position: relative; isolation: isolate; color: var(--on-plum); overflow: hidden;
  background:
    radial-gradient(58% 46% at 74% 78%, rgba(255, 122, 102, .42) 0%, rgba(255, 122, 102, 0) 100%),
    radial-gradient(70% 40% at 100% 0%, rgba(196, 44, 104, .55) 0%, rgba(196, 44, 104, 0) 100%),
    radial-gradient(60% 40% at 0% 30%, rgba(255, 122, 102, .16) 0%, rgba(255, 122, 102, 0) 100%),
    linear-gradient(180deg, var(--plum-0) 0%, var(--plum-1) 40%, var(--plum-2) 78%, var(--plum-3) 100%);
}
.plum::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/img/grain.webp) 0 0 / 200px 200px; opacity: .45; mix-blend-mode: soft-light;
}
.plum a:not(.btn):not(.store-badge):not(.store-btn) { color: #FFC3D9; }
.plum a:not(.btn):not(.store-badge):not(.store-btn):hover { color: #fff; }
.pix { position: absolute; z-index: 0; image-rendering: pixelated; shape-rendering: crispEdges; pointer-events: none; overflow: visible; }
.sprite { image-rendering: pixelated; image-rendering: crisp-edges; }
.sprite.shadowed { filter: drop-shadow(0 18px 22px rgba(34, 0, 24, .38)); }

/* ------------------------------------------------------------------ hero */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .kicker { margin-bottom: 22px; }
.hero-copy .display { margin-bottom: 20px; }
.hero-copy .lead { max-width: 30em; margin-bottom: 30px; }
.hero-copy .cta-row { margin-bottom: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; list-style: none; font-size: 14.5px; color: var(--on-plum-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 14px; height: 14px; flex: none; }
.nw { white-space: nowrap; }
.hero-art { position: relative; min-height: 660px; width: 100%; max-width: 540px; justify-self: center; }
.hero-art .phone.main { --w: 280px; position: absolute; left: 2%; top: 0; transform: rotate(-5deg); z-index: 1; }
.hero-art .phone.side { --w: 240px; position: absolute; right: 0; top: 13%; transform: rotate(6deg); z-index: 2; }
.hero-art .couple { position: absolute; left: -12%; bottom: -4%; width: 270px; z-index: 3; }
/* On phones the lock screen is dropped; its notification floats over the game instead. */
.hero-notif { display: none; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row, .hero-facts { justify-content: center; }
  .hero-art { min-height: 600px; }
  .hero-art .couple { left: -2%; }
}
@media (max-width: 560px) {
  .hero > .pix { display: none; }
  .hero-art { min-height: calc(min(250px, 62vw) * 2.2 + 40px); max-width: 360px; }
  .hero-art .phone.side { display: none; }
  .hero-art .phone.main { --w: min(250px, 62vw); left: 50%; transform: translateX(-50%) rotate(-3deg); }
  .hero-art .couple { width: min(190px, 48vw); left: -4%; bottom: 0; }
  .hero-notif {
    display: flex; position: absolute; z-index: 2; right: -2%; top: 22%; width: min(250px, 70vw); gap: 10px; align-items: center;
    padding: 10px 12px; border-radius: 18px; text-align: left; color: #1D1A1C;
    background: rgba(252, 248, 250, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 18px 30px -12px rgba(30, 0, 25, .55);
  }
  .hero-notif img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
  .hero-notif b { display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; line-height: 1.2; }
  .hero-notif b span { font-weight: 500; color: rgba(29, 26, 28, .5); }
  .hero-notif p { margin: 0; font-size: 13.5px; line-height: 1.3; }
}

/* ------------------------------------------------------------------ phone mockup */

.phone {
  --w: 280px;
  position: relative; width: var(--w); padding: calc(var(--w) * .014); flex: none;
  border-radius: calc(var(--w) * .172);
  background: linear-gradient(140deg, #9a96a0 0%, #45424a 14%, #2b292e 40%, #2b292e 62%, #4c4951 86%, #a19da6 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 44px 80px -28px rgba(28, 0, 22, .6), 0 18px 36px -14px rgba(28, 0, 22, .4);
}
.phone-bezel { position: relative; padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .158); background: #070607; }
.phone-screen {
  display: block; width: 100%; height: auto; aspect-ratio: 720 / 1564; object-fit: cover;
  border-radius: calc(var(--w) * .128); background: #FAF7F4;
}
.phone-island {
  position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--w) * .052);
  width: calc(var(--w) * .27); height: calc(var(--w) * .079); border-radius: 999px; background: #000;
}
.phone-glare {
  position: absolute; inset: calc(var(--w) * .03); border-radius: calc(var(--w) * .128); pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 32%);
}

/* A lock screen drawn in HTML: wallpaper, clock and one notification. */
.lockscreen {
  position: relative; aspect-ratio: 720 / 1564; border-radius: calc(var(--w) * .128); overflow: hidden;
  color: #fff; text-align: center;
  background:
    radial-gradient(60% 34% at 18% 12%, rgba(255, 190, 160, .95) 0%, rgba(255, 190, 160, 0) 100%),
    radial-gradient(55% 32% at 90% 40%, rgba(255, 120, 180, .85) 0%, rgba(255, 120, 180, 0) 100%),
    radial-gradient(75% 40% at 20% 85%, rgba(150, 95, 215, .9) 0%, rgba(150, 95, 215, 0) 100%),
    linear-gradient(170deg, #FFA48C 0%, #EC6FA5 45%, #8B4AB0 100%);
}
.lockscreen .ls-date { position: absolute; top: 15%; left: 0; right: 0; font-size: calc(var(--w) * .055); font-weight: 600; opacity: .9; }
.lockscreen .ls-time {
  position: absolute; top: 18.5%; left: 0; right: 0; font-family: var(--font-rounded);
  font-size: calc(var(--w) * .27); font-weight: 700; letter-spacing: -.02em; line-height: 1; opacity: .96;
}
.lockscreen .ls-notif {
  position: absolute; left: 4.5%; right: 4.5%; top: 58%; display: flex; gap: calc(var(--w) * .03); align-items: center;
  padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .07); text-align: left; color: #1D1A1C;
  background: rgba(252, 248, 250, .88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 18px 30px -12px rgba(30, 0, 25, .45);
}
.lockscreen .ls-notif img { width: calc(var(--w) * .1); height: calc(var(--w) * .1); border-radius: calc(var(--w) * .024); flex: none; }
.lockscreen .ls-notif b { display: flex; justify-content: space-between; gap: 6px; font-size: calc(var(--w) * .043); line-height: 1.2; }
.lockscreen .ls-notif b span { font-weight: 500; color: rgba(29, 26, 28, .5); }
.lockscreen .ls-notif p { margin: 0; font-size: calc(var(--w) * .042); line-height: 1.28; }
.lockscreen .ls-heart { position: absolute; image-rendering: pixelated; }

/* ------------------------------------------------------------------ sections */

.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.warm { background: var(--surface-warm); }
.section.sand { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { margin-bottom: 18px; }
.section-head .h2 { margin-bottom: 16px; }
.section-head .lead { margin-bottom: 0; }

/* Text next to a phone; .flip puts the phone left. */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip .feature-art { order: -1; }
.feature-copy .kicker { margin-bottom: 18px; }
.feature-copy .h2 { margin-bottom: 18px; }
.feature-copy .lead { margin-bottom: 22px; }
.feature-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.feature-art .phone { --w: 280px; z-index: 1; }
.feature-art .sprite { position: absolute; z-index: 2; }
.feature-art .widget-card {
  position: absolute; z-index: 2; width: 46%; max-width: 230px; border-radius: 26px; overflow: hidden; background: #FFFDF8;
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--border);
}
.feature-art .widget-card img { display: block; width: 100%; height: auto; }
.feature-art .blob { position: absolute; inset: 8% 6%; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; background: var(--fill, var(--accent-soft)); z-index: 0; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { min-height: 0; padding: 8px 0; }
  .feature-art .phone { --w: min(260px, 64vw); }
}

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4339A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 650; color: var(--ink, var(--text-2)); background: var(--fill, var(--surface-2));
}

/* Tint helpers: set --fill/--ink from the app's palette. */
.t-rose { --fill: var(--rose-fill); --ink: var(--rose-ink); }
.t-peach { --fill: var(--peach-fill); --ink: var(--peach-ink); }
.t-butter { --fill: var(--butter-fill); --ink: var(--butter-ink); }
.t-mint { --fill: var(--mint-fill); --ink: var(--mint-ink); }
.t-sky { --fill: var(--sky-fill); --ink: var(--sky-ink); }
.t-lilac { --fill: var(--lilac-fill); --ink: var(--lilac-ink); }
.t-sand { --fill: var(--sand-fill); --ink: var(--sand-ink); }
.t-brand { --fill: var(--brand-fill); --ink: var(--brand-ink); }

/* ------------------------------------------------------------------ steps */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step {
  position: relative; padding: 26px 24px 24px; border-radius: var(--r-xl); background: var(--surface);
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 16px;
  font: 800 19px/1 var(--font-rounded); color: var(--ink); background: var(--fill);
}
.step h3 { font-size: 19px; font-weight: 750; letter-spacing: -.012em; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ cards: games and decks */

.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); padding: 0; margin: 0; list-style: none; }
.game-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-xl);
  background: var(--fill); color: var(--text); min-height: 196px; overflow: hidden;
}
.game-card .gicon { width: 52px; height: 52px; margin-bottom: 8px; color: var(--ink); }
.game-card .gicon svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; shape-rendering: crispEdges; }
.game-card h3 { font-size: 20px; font-weight: 750; letter-spacing: -.015em; }
.game-card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.45; }
.game-card .chips { margin-top: auto; padding-top: 10px; }
.game-card .chip { background: color-mix(in srgb, var(--surface) 72%, transparent); color: var(--ink); }

.deck-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.deck-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--text); }
.deck-card .deck-swatch {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--fill); color: var(--ink);
}
.deck-card .deck-swatch svg { width: 26px; height: 26px; image-rendering: pixelated; shape-rendering: crispEdges; }
.deck-card h2, .deck-card h3 { font-size: 19px; font-weight: 750; letter-spacing: -.012em; line-height: 1.25; }
.deck-card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.45; }
.deck-card .go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.deck-card:hover .go .arrow { transform: translateX(3px); }
.deck-card .go .arrow { transition: transform .2s ease; }

/* ------------------------------------------------------------------ plan / pricing note */

.plan {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 36px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.plan .h2 { margin: 16px 0 14px; }
.plan-art { display: flex; justify-content: center; align-items: center; gap: 0; position: relative; }
.plan-art .phone { --w: 240px; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ FAQ */

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details {
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 17.5px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6569' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ CTA band */

.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px;
  padding: clamp(32px, 5vw, 64px); border-radius: 36px; overflow: hidden;
}
.cta-band .h2 { margin-bottom: 12px; }
.cta-band .lead { margin-bottom: 26px; max-width: 32em; }
.cta-band .band-art { position: relative; z-index: 1; width: clamp(200px, 26vw, 320px); }
.cta-band .band-art img { display: block; width: 100%; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .lead { margin-left: auto; margin-right: auto; }
  .cta-band .cta-row { justify-content: center; }
  .cta-band .band-art { margin: 0 auto; order: -1; width: 220px; }
}

/* ------------------------------------------------------------------ page hero (light pages) */

.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.034em; line-height: 1.04; margin-bottom: 18px; }
.page-hero .lead { max-width: 40em; margin-bottom: 20px; }
.breadcrumbs { margin-bottom: 22px; font-size: 14px; color: var(--text-3); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { display: inline-flex; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: var(--text-3); }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-deep); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-2); }

/* ------------------------------------------------------------------ deck player */

.deck-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .deck-layout { grid-template-columns: 1fr; } }
.player { position: relative; }
.player-stack { position: relative; height: clamp(340px, 46vw, 420px); margin: 10px 0 22px; }
.player-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 36px);
  border-radius: 32px; background: var(--fill); color: var(--text); box-shadow: var(--shadow-lift);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.player-card.back { transform: rotate(-3.2deg) translate(-10px, 8px); opacity: .55; box-shadow: var(--shadow); }
.player-card.back2 { transform: rotate(2.4deg) translate(10px, 12px); opacity: .35; box-shadow: none; }
.player-card .pc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.player-card .pc-count { font-family: var(--font-rounded); font-weight: 800; }
.player-card .pc-q {
  margin: auto 0; padding: 18px 0; font-family: var(--font-display);
  font-size: clamp(25px, 3.1vw, 34px); font-weight: 650; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance;
}
.player-card .pc-hint { font-size: 15px; color: var(--text-2); font-style: italic; }
.player-card.cta { background: var(--plum-1); color: var(--on-plum); }
.player-card.cta .pc-q { font-size: clamp(23px, 2.7vw, 30px); }
.player-card.cta .pc-hint { color: var(--on-plum-2); font-style: normal; }
.player-card.cta .pc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.player-card.enter { animation: card-in .34s cubic-bezier(.2, .9, .3, 1.2); }
.player-card.leave-left { animation: card-out-left .26s ease-in forwards; }
.player-card.leave-right { animation: card-out-right .26s ease-in forwards; }
@keyframes card-in { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes card-out-left { to { transform: translateX(-60%) rotate(-10deg); opacity: 0; } }
@keyframes card-out-right { to { transform: translateX(60%) rotate(10deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .player-card.enter, .player-card.leave-left, .player-card.leave-right { animation: none; }
}
.player-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.player-controls .btn-primary { flex: 1 1 auto; min-width: 180px; }
.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--text-3); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }
.player-progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 18px; }
.player-progress span { display: block; height: 100%; width: 0; background: var(--ink, var(--accent)); border-radius: 99px; transition: width .3s ease; }
.player-tip { margin-top: 12px; font-size: 14px; color: var(--text-3); }

.side-card { padding: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.side-card + .side-card { margin-top: 16px; }
.side-card h2 { font-size: 21px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 12px; }
.side-card ol, .side-card ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.side-card li + li { margin-top: 8px; }
.side-card.plum-card {
  color: var(--on-plum); border: 0;
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(255, 122, 102, .35) 0%, rgba(255, 122, 102, 0) 100%),
    linear-gradient(160deg, var(--plum-0) 0%, var(--plum-1) 50%, var(--plum-2) 100%);
}
.side-card.plum-card p { color: var(--on-plum-2); }
.side-card.plum-card .sprite { width: 110px; float: right; margin: -8px -6px 0 8px; }

.qlist { columns: 2 320px; column-gap: 40px; padding-left: 1.6em; margin: 0; }
.qlist li { break-inside: avoid; padding: 6px 0 6px 4px; line-height: 1.5; }
.qlist li::marker { color: var(--text-3); font-family: var(--font-rounded); font-weight: 700; font-size: .9em; }

/* ------------------------------------------------------------------ blog */

.post-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); padding: 0; margin: 0; list-style: none; }
.post-card {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--text); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--plum-1); }
.post-card .pc-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.post-card h2, .post-card h3 { font-size: 21px; font-weight: 750; letter-spacing: -.018em; line-height: 1.22; }
.post-card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.post-meta { font-size: 13.5px; color: var(--text-3); font-weight: 600; }

.article-head { padding: clamp(28px, 4.5vw, 56px) 0 8px; }
.article-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.033em; line-height: 1.06; margin-bottom: 18px; }
.article-head .lead { margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.byline img { width: 44px; height: 44px; border-radius: 14px; background: var(--sky-fill); }
.byline strong { color: var(--text); }
.article-cover { margin: 28px 0 8px; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow); aspect-ratio: 1200 / 630; }

.toc {
  margin: 28px 0; padding: 20px 24px; border-radius: var(--r-l); background: var(--surface-warm); border: 1px solid var(--border);
}
.toc summary { cursor: pointer; font-weight: 750; font-size: 16px; }
.toc ol { margin: 12px 0 0; padding-left: 1.3em; columns: 2 260px; column-gap: 32px; }
.toc li { break-inside: avoid; padding: 3px 0; font-size: 15.5px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent-deep); text-decoration: underline; }

.prose { font-size: 18px; line-height: 1.7; }
.prose > * { max-width: 100%; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -.024em; line-height: 1.15; margin: 1.9em 0 .55em; }
.prose h3 { font-size: 21px; font-weight: 750; letter-spacing: -.014em; line-height: 1.25; margin: 1.6em 0 .45em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table { margin-bottom: 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--accent); }
.prose ol.questions { padding-left: 2.1em; }
.prose ol.questions li { padding: .25em 0 .25em .3em; margin: 0; border-bottom: 1px dashed var(--border); }
.prose ol.questions li:last-child { border-bottom: 0; }
.prose ol.questions li::marker { font-family: var(--font-rounded); font-weight: 800; font-size: .9em; color: var(--text-3); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent-soft); color: var(--text-2); font-style: italic; }
.prose strong { font-weight: 700; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 750; background: var(--surface-2); }
.prose thead th:first-child { border-top-left-radius: 10px; }
.prose thead th:last-child { border-top-right-radius: 10px; }
.prose .tip {
  margin: 1.6em 0; padding: 18px 22px; border-radius: var(--r-l); background: var(--butter-fill); color: var(--text);
}
.prose .tip p { margin: 0; }
.prose .tip p + p { margin-top: .6em; }
.prose .tip::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--butter-ink); margin-bottom: 6px; }

.inline-cta {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center;
  margin: 2em 0; padding: 22px 24px; border-radius: 26px; text-decoration: none;
}
.inline-cta .sprite { width: 104px; }
.inline-cta h3 { font-size: 21px; font-weight: 800; letter-spacing: -.018em; margin: 0 0 6px; }
.inline-cta p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--on-plum-2); }
.inline-cta .cta-row { gap: 10px 14px; }
.inline-cta .store-badge img { height: 46px; }
.inline-cta .store-btn { min-height: 46px; }
.inline-cta .store-btn img { width: 32px; height: 32px; }
.inline-cta.deck { background: var(--fill); color: var(--text); }
.inline-cta.deck p { color: var(--text-2); }
.inline-cta.deck .deck-swatch { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--surface); color: var(--ink); }
.inline-cta.deck .deck-swatch svg { width: 34px; height: 34px; image-rendering: pixelated; shape-rendering: crispEdges; }
@media (max-width: 560px) {
  .inline-cta { grid-template-columns: 1fr; }
  .inline-cta .sprite { width: 88px; }
}

.author-box {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center;
  margin: 40px 0 0; padding: 22px 24px; border-radius: var(--r-xl); background: var(--surface-warm); border: 1px solid var(--border);
}
.author-box img { width: 72px; height: 72px; border-radius: 20px; background: var(--sky-fill); }
.author-box p { margin: 0; font-size: 15.5px; color: var(--text-2); }
.author-box strong { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 2px; }

/* ------------------------------------------------------------------ legal + support */

.legal { padding-bottom: clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.032em; margin-bottom: 8px; }
.legal .page-date { color: var(--text-3); font-size: 15px; margin-bottom: 32px; }
.legal section { margin-bottom: 30px; }
.legal h2 { font-size: 22px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 10px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal .card { padding: 18px 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); margin-bottom: 14px; }
.legal .card p { margin: 0; }
.legal .rights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.legal .right-item { padding: 14px 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); font-size: 15px; }
.legal .right-item strong { display: block; margin-bottom: 2px; }
.legal .right-item span { color: var(--text-2); }
.legal .disclaimer { padding: 16px 20px; border-radius: var(--r-l); background: var(--surface-2); color: var(--text-2); font-size: 15px; }

.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--bg);
  color: var(--text); font: inherit; font-size: 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-success { display: none; text-align: center; padding: 20px 0 8px; }
.form-success .sprite { width: 120px; margin: 0 auto 10px; display: block; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ------------------------------------------------------------------ footer */

.site-footer { padding: clamp(48px, 7vw, 80px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: var(--on-plum-2); font-size: 15px; margin: 14px 0 20px; max-width: 22em; }
.footer-col h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-plum-3); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:not(.btn):not(.store-badge):not(.store-btn), .footer-col button {
  color: var(--on-plum-2) !important; text-decoration: none; font-size: 15px;
}
.site-footer a:not(.btn):not(.store-badge):not(.store-btn):hover, .footer-col button:hover { color: #fff !important; text-decoration: underline; }
.footer-col button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: var(--on-plum-3);
}
.footer-bottom .sprite { width: 56px; vertical-align: middle; margin: -14px 6px -10px 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ cookie banner */

.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; width: min(640px, calc(100% - 24px));
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px; border-radius: 22px;
  background: rgba(48, 8, 46, .96); color: var(--on-plum); box-shadow: 0 24px 60px -16px rgba(20, 0, 16, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.cookie-banner.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: 14.5px; line-height: 1.5; color: var(--on-plum-2); }
.cookie-banner a { color: #FFC3D9; }
.cookie-banner .actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ------------------------------------------------------------------ 404 */

.not-found { text-align: center; padding: clamp(56px, 10vw, 120px) 0; }
.not-found .sprite { width: 180px; margin: 0 auto 12px; display: block; }
.not-found h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.not-found .cta-row { justify-content: center; margin-top: 24px; }

/* ------------------------------------------------------------------ utilities */

.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.stack-lg > * + * { margin-top: clamp(48px, 7vw, 88px); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
