/* ============================================================
   Digi Doughnut — design system (Site Plan, "Design system")
   Brand cyan ground, pink buttons, plum ink, and a deep "night"
   stage under the hero and rails so product art pops.
   components.css (loaded after this) owns Glaze, the chat, the
   My apps drawer and the promise-band animation.
   ============================================================ */
:root {
  --cyan: #00d3ff;
  --pink: #e84393;
  --pink-dark: #c62b78;
  --plum: #47206b;
  --night: #1f0b33;
  --night-2: #2c1247;
  --plum-ink: #ffe9f5;
  --plum-ink-2: rgba(255, 233, 245, .74);
  --ink: #22313a;
  --muted: #4f6b77;
  --surface: #ffffff;
  --soft: #e2f7fe;
  --line: #9fdcf0;
  --line-soft: #d7eff7;
  /* old names, kept as aliases */
  --bg: var(--cyan); --accent: var(--pink); --accent-dark: var(--pink-dark);

  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --r-tile: 12px;
  --r-panel: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --head-h: 64px;
}
@media (min-width: 700px) { :root { --gutter: 4vw; --head-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--cyan); color: var(--ink); font: 400 16px/1.6 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.page-home main :focus-visible, .title-hero :focus-visible, .stage :focus-visible, .site-foot :focus-visible,
.over-hero .site-head:not(.is-solid) :focus-visible { outline-color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px; font: 800 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--pink-dark); color: #fff; }
.btn-primary:hover { background: var(--plum); }
.title-hero .btn-primary:hover, .billboard .btn-primary:hover, .sticky-cta .btn-primary:hover { background: var(--pink); }
.btn-big { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { flex: 1; }
.btn-quiet { background: rgba(255, 255, 255, .08); color: var(--plum-ink); border-color: rgba(255, 233, 245, .55); }
.btn-quiet:hover { background: rgba(255, 255, 255, .18); border-color: var(--plum-ink); }
.btn-quiet.is-on { background: var(--plum-ink); color: var(--night); }
.btn-quiet-dark { background: transparent; color: var(--plum-ink); border-color: rgba(255, 233, 245, .5); }
.btn-ghost { background: transparent; color: var(--plum-ink); border-color: rgba(255, 233, 245, .4); }
.btn-ghost:hover { border-color: var(--plum-ink); }
.btn.is-disabled { background: rgba(255, 255, 255, .14); color: rgba(255, 233, 245, .7); cursor: default; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink-dark); font-weight: 800; text-decoration: underline; cursor: pointer; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--cyan); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.site-head.is-solid { background: rgba(0, 211, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(31, 11, 51, .12); }
.over-hero .site-head { position: fixed; left: 0; right: 0; }
.over-hero .site-head:not(.is-solid) { background: linear-gradient(to bottom, rgba(31, 11, 51, .72), rgba(31, 11, 51, 0)); }
.announce { background: var(--plum); color: var(--plum-ink); font-size: 13.5px; font-weight: 700; text-align: center; padding: 7px var(--gutter); }
.head-row { display: flex; align-items: center; gap: 14px; height: var(--head-h); padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.logo { flex: none; display: block; }
.logo img { height: 40px; width: auto; filter: drop-shadow(0 2px 3px rgba(31, 11, 51, .25)); }
@media (min-width: 700px) { .logo img { height: 48px; } }
.head-nav { display: none; align-items: center; gap: 4px; margin-left: 10px; }
.nav-link { background: none; border: 0; padding: 8px 12px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; text-shadow: 0 1px 2px rgba(31, 11, 51, .35); }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(255, 255, 255, .2); }
.browse { position: relative; }
.browse-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 16px 40px rgba(31, 11, 51, .22); display: grid; }
.browse-menu a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); }
.browse-menu a:hover { background: var(--soft); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .32); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.myapps-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; border: 2px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .16);
  color: #fff; font-weight: 800; font-size: 14px; padding: 0 14px; border-radius: 999px; cursor: pointer; text-shadow: 0 1px 2px rgba(31, 11, 51, .3); }
.myapps-btn:hover { background: rgba(255, 255, 255, .3); }
.myapps-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--plum); color: #fff; font-size: 12.5px; text-shadow: none; }
.etsy-btn, .etsy-soon { display: none; font-size: 14px; font-weight: 800; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.etsy-btn { background: var(--pink-dark); color: #fff; }
.etsy-soon { background: rgba(255, 255, 255, .85); color: var(--plum); }
@media (min-width: 900px) {
  .head-nav { display: flex; }
  .menu-btn { display: none; }
  .etsy-btn, .etsy-soon { display: inline-block; }
}
.search-panel { padding: 0 var(--gutter) 16px; max-width: 760px; margin: 0 auto; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; height: 48px; border: 2px solid transparent; border-radius: 999px; padding: 0 18px; background: #fff; font-size: 16px; color: var(--ink); }
.search-form input:focus { outline: 3px solid var(--plum); outline-offset: 1px; }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(31, 11, 51, .2); }
.search-results:empty { display: none; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus-visible { background: var(--soft); }
.search-results img, .sr-blank { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--soft); flex: none; }
.search-results b { display: block; }
.search-results small { color: var(--muted); font-size: 13px; }
.sr-none { padding: 14px; color: var(--muted); }
.menu-backdrop { position: fixed; inset: 0; z-index: 44; background: rgba(31, 11, 51, .5); display: none; }
body.menuSheet-open .menu-backdrop { display: block; }
/* The phone menu: a bottom sheet with an icing top, search, My apps and candy-coloured tiles. */
.menu-sheet { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -16px 40px rgba(31, 11, 51, .3); }
.menu-sheet:not([hidden]) { animation: sheet-up .38s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40%); opacity: 0; } }
.menu-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 18px; border-radius: 26px 26px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='70' viewBox='0 0 180 70'%3E%3Cg stroke-linecap='round' stroke-width='4'%3E%3Cpath d='M14 14l9 4' stroke='%23ffd93b'/%3E%3Cpath d='M52 40l3 9' stroke='%23fff'/%3E%3Cpath d='M88 12l9-3' stroke='%237bdff2'/%3E%3Cpath d='M124 46l8 5' stroke='%235ee37a'/%3E%3Cpath d='M160 18l-3 9' stroke='%23fff'/%3E%3Cpath d='M30 56l9-2' stroke='%23b388eb'/%3E%3Cpath d='M106 34l2-9' stroke='%23ffd93b'/%3E%3Cpath d='M148 58l9 1' stroke='%23ff8a3d'/%3E%3Cpath d='M70 60l-7-5' stroke='%237bdff2'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 70px, linear-gradient(160deg, #ff7ab8, var(--pink)); }
.menu-top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 26' preserveAspectRatio='none'%3E%3Cpath fill='%23e84393' d='M0 0h400v6c-8 0-10 4-12 9s-5 7-9 2-3-11-12-11c-10 0-9 6-18 6s-10-6-22-6c-9 0-10 12-14 16s-9 2-10-6-4-10-14-10c-12 0-12 7-24 7s-14-7-26-7c-9 0-9 5-15 5s-8-5-18-5c-8 0-9 15-13 17s-8-2-9-9-5-8-13-8c-11 0-12 8-24 8s-12-8-24-8c-8 0-10 6-16 6s-9-6-18-6c-9 0-10 9-14 12s-7-1-8-6-6-6-14-6H0z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.menu-logo { height: 46px; width: auto; filter: drop-shadow(0 3px 4px rgba(31, 11, 51, .3)); }
.menu-close { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); cursor: pointer; box-shadow: 0 3px 10px rgba(31, 11, 51, .2); }
.menu-close svg { width: 20px; height: 20px; fill: none; stroke: var(--plum); stroke-width: 2.6; stroke-linecap: round; }
.menu-body { display: grid; gap: 14px; padding: 30px 16px calc(20px + env(safe-area-inset-bottom)); }
.menu-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 999px; background: var(--soft); border: 2px solid var(--line-soft); }
.menu-search:focus-within { border-color: var(--pink); background: #fff; }
.menu-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--plum); stroke-width: 2.4; stroke-linecap: round; }
.menu-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.menu-results { margin: -4px 0 0; box-shadow: 0 10px 28px rgba(31, 11, 51, .16); }
.menu-myapps { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 18px; border: 0; border-radius: 20px; cursor: pointer; text-align: left;
  background: linear-gradient(120deg, var(--plum), var(--night)); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 11, 51, .8); }
.menu-myapps b { display: block; font: 600 20px/1.2 var(--display); }
.menu-myapps small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--plum-ink-2); }
.menu-myapps-count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 999px; background: var(--pink); font-weight: 800; }
.menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 78px; padding: 12px 14px; border-radius: 20px; text-decoration: none;
  font: 600 18px/1.15 var(--display); color: var(--night); box-shadow: inset 0 -4px 0 rgba(31, 11, 51, .12); }
.menu-tile::after { content: ""; position: absolute; right: -14px; top: -14px; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 9px, rgba(255, 255, 255, .55) 9.5px 26px, transparent 26.5px); }
.menu-tile:active { transform: scale(.97); }
.menu-tile-all { grid-column: 1 / -1; min-height: 64px; background: linear-gradient(120deg, var(--cyan), #6fe6ff); }
.menu-tile-1 { background: #ffd93b; }
.menu-tile-2 { background: #ff8fc4; }
.menu-tile-3 { background: #7ee8b4; }
.menu-tile-4 { background: #b9a2f5; }
.menu-tile-5 { background: #ffb37a; }
.menu-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.menu-links a { padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line-soft); text-decoration: none; font-weight: 800; color: var(--plum); }
.menu-links a:hover { border-color: var(--plum); }
.menu-sheet:not([hidden]) .menu-tile, .menu-sheet:not([hidden]) .menu-myapps { animation: tile-pop .45s var(--ease) backwards; }
.menu-sheet .menu-myapps { animation-delay: .05s !important; }
.menu-tile:nth-child(2) { animation-delay: .1s !important; } .menu-tile:nth-child(3) { animation-delay: .14s !important; }
.menu-tile:nth-child(4) { animation-delay: .18s !important; } .menu-tile:nth-child(5) { animation-delay: .22s !important; }
.menu-tile:nth-child(6) { animation-delay: .26s !important; }
@keyframes tile-pop { from { transform: translateY(14px) scale(.96); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .menu-sheet:not([hidden]), .menu-sheet .menu-tile, .menu-sheet .menu-myapps { animation: none !important; } }

/* Phones: search and My apps live in the menu, so the bar is just the logo and the menu button. */
@media (max-width: 699px) {
  #searchBtn, .myapps-btn { display: none; }
  /* home page: the logo starts big and centred above Codee, then glides up into the bar as you
     scroll (pond.js sets --logo-p from 0 to 1 over the first 170px). Small logo: 120x40 at the
     left gutter; big: 300x100, centred just below the bar. */
  .page-home .site-head .logo img { transform-origin: 0 50%; will-change: transform;
    transform: translate3d(calc((1 - var(--logo-p, 0)) * (50vw - 166px)), calc((1 - var(--logo-p, 0)) * 88px), 0) scale(calc(1 + 1.5 * (1 - var(--logo-p, 0)))); }
}
@media (max-width: 359px) {
  .page-home .site-head .logo img { transform: translate3d(calc((1 - var(--logo-p, 0)) * (50vw - 148px)), calc((1 - var(--logo-p, 0)) * 82px), 0) scale(calc(1 + 1.2 * (1 - var(--logo-p, 0)))); }
  .page-home .billboard { --logo-room: 100px; }
}

/* ---------- badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none;
  background: rgba(255, 255, 255, .12); color: var(--plum-ink); border: 1px solid rgba(255, 233, 245, .3); }
a.badge:hover { border-color: var(--plum-ink); }
.badge-type { background: var(--plum-ink); color: var(--night); border-color: transparent; }
.badge-free { background: var(--pink-dark); color: #fff; border-color: transparent; }
.badge-version { background: transparent; }

/* ---------- billboard (home): Codee's pond ----------
   An endless pond: falling sprinkles, Codee drifting toward the cursor (assets/js/pond.js),
   and the carousel words rising into the lower left. The page then dives through a live
   waterline into the night stage, where the rails float up. */
.billboard { --haze: #8ff0ff; --deep: #00a6dc;
  position: relative; height: clamp(640px, 100svh, 980px); overflow: hidden; overflow: clip; isolation: isolate; color: var(--night);
  background: linear-gradient(180deg, var(--haze) 0%, #3fe0ff 22%, var(--cyan) 46%, #00c4f2 74%, var(--deep) 100%); }
.pond-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* soft drifting light on the water (a compositor-only layer, not redrawn) */
.billboard::before { content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 34% at 35% 58%, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 70%);
  animation: sheen 50s ease-in-out infinite alternate; will-change: transform; }
@keyframes sheen { to { transform: translate3d(9%, -6%, 0); } }
.slides { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(170px, 24%, 250px); width: min(560px, 44vw); display: grid; align-items: end; pointer-events: none; }
.slide { grid-area: 1 / 1; pointer-events: auto; opacity: 0; visibility: hidden; transform: translateY(38px); filter: blur(6px);
  transition: opacity .7s ease, transform 1s var(--ease), filter .8s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; filter: none;
  transition: opacity .9s ease .25s, transform 1.3s cubic-bezier(.2, 1.15, .4, 1) .25s, filter .9s ease .25s, visibility 0s; }
.slide-wordmark { width: min(400px, 90%); height: auto; margin: 0 0 18px -6px; filter: drop-shadow(0 10px 18px rgba(31, 11, 51, .22)); }
.slide-thumb { display: block; width: min(350px, 78%); aspect-ratio: 4 / 3; margin-bottom: 22px; border-radius: 18px; overflow: hidden; border: 5px solid rgba(255, 255, 255, .9);
  background: var(--night-2); box-shadow: 0 26px 50px -22px rgba(31, 11, 51, .55); animation: drift 7s ease-in-out infinite; }
.slide-thumb img, .slide-thumb .placeholder, .slide-thumb svg { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(.8deg); } }
@media (max-height: 780px) and (min-width: 700px) { .slide-thumb { display: none; } }
.slide:not(.is-active) .slide-thumb { animation-play-state: paused; }
.slide-title { font-size: clamp(2.1rem, 3.5vw, 3.1rem); font-weight: 700; color: var(--night); letter-spacing: -.01em; text-wrap: balance; }
.slide-brand .slide-title { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
.slide-sub { margin: 16px 0 0; max-width: 32em; font-size: 1.12rem; line-height: 1.55; color: rgba(31, 11, 51, .82); font-weight: 700; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.billboard .btn-primary { box-shadow: 0 10px 24px -10px rgba(71, 32, 107, .8); }
.billboard .btn-quiet { background: rgba(255, 255, 255, .35); color: var(--night); border-color: rgba(31, 11, 51, .3); }
.billboard .btn-quiet:hover { background: rgba(255, 255, 255, .6); border-color: var(--night); }
.billboard .badges { gap: 8px; }
.billboard .badge { letter-spacing: .03em; }
.billboard .badge-type { background: rgba(31, 11, 51, .14); color: var(--night); }
.billboard .badge-need { border: 1.5px solid rgba(31, 11, 51, .35); color: var(--night); }
.billboard a.badge-need:hover { border-color: var(--night); }
.billboard .badge-price { background: var(--night); color: #fff; border-color: transparent; }
.billboard .badge-free { background: #ffd93b; color: var(--night); }
.billboard .badge-version { color: var(--night); border-color: rgba(31, 11, 51, .3); }
.page-home .billboard :focus-visible { outline-color: var(--night); }

/* Codee. His home spot is set here (so the first paint is already right); pond.js then takes
   over with transforms from that same spot. His waterline centre is 50.95% / 57% of his box. */
.codee { --w: clamp(240px, 28vw, 430px); position: absolute; z-index: 2; width: var(--w); aspect-ratio: 1;
  left: calc(73% - var(--w) * .5095); top: calc(60% - var(--w) * .57); transform-origin: 50.95% 57%; will-change: transform; }
.codee-still { display: none; }
.codee-flip { position: absolute; inset: 0; transform-origin: 50.95% 57%; transition: opacity .7s ease; }
.codee-reflect { position: absolute; left: 0; top: 0; width: 100%; height: 129.3%; transform-origin: 50.95% 57%; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.codee.has-reflection .codee-reflect { opacity: 1; }
.codee-rings { position: absolute; inset: 0; pointer-events: none; }
.ring { position: absolute; left: 50.95%; top: 57%; width: 94.3%; height: 54.3%; translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5); animation: ring 7.5s cubic-bezier(.25, .6, .35, 1) forwards; }
@keyframes ring { 0% { transform: scale(.98); opacity: 0; } 12% { opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
/* the waterline: below the doughnut's curved base, he's under water */
.codee-above { position: absolute; inset: 0; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(#000 57%, transparent 57%), radial-gradient(47.15% 27.15% at 50.95% 57%, #000 96.5%, transparent 100%);
          mask-image: linear-gradient(#000 57%, transparent 57%), radial-gradient(47.15% 27.15% at 50.95% 57%, #000 96.5%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.codee-above:active { cursor: grabbing; }
.codee-bob { position: absolute; inset: 0; transform-origin: 50.95% 57%; will-change: transform; }
.codee-bob img { display: block; width: 100%; height: auto; pointer-events: none; }
/* Steam: three pre-blurred wisps, animated with transform/opacity only (no repaints). The
   wrapper rides along with his bob (pond.js gives it the same transform). */
.codee-steam { position: absolute; inset: 0; transform-origin: 50.95% 57%; pointer-events: none; will-change: transform; }
.codee-steam i { position: absolute; left: 74%; top: 33.5%; width: 13%; height: 24%; translate: -50% -100%; opacity: 0;
  background: no-repeat center / 100% 100%; transform-origin: 50% 100%; animation: steam 4.2s ease-in-out infinite; }
.codee-steam i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 110'%3E%3Cfilter id='b' x='-60%25' y='-20%25' width='220%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='1.9'/%3E%3C/filter%3E%3Cpath d='M22 104 C10 86 34 72 22 54 S 30 26 24 10' fill='none' stroke='%23fff' stroke-width='6.5' stroke-linecap='round' filter='url(%23b)'/%3E%3C/svg%3E"); }
.codee-steam i:nth-child(2) { animation-delay: 1.4s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 110'%3E%3Cfilter id='b' x='-60%25' y='-20%25' width='220%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='1.9'/%3E%3C/filter%3E%3Cpath d='M34 104 C24 88 46 74 36 56 S 42 30 38 14' fill='none' stroke='%23fff' stroke-width='6.5' stroke-linecap='round' filter='url(%23b)'/%3E%3C/svg%3E"); }
.codee-steam i:nth-child(3) { animation-delay: 2.8s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 110'%3E%3Cfilter id='b' x='-60%25' y='-20%25' width='220%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='1.9'/%3E%3C/filter%3E%3Cpath d='M28 104 C40 86 18 70 30 52 S 22 28 30 12' fill='none' stroke='%23fff' stroke-width='6.5' stroke-linecap='round' filter='url(%23b)'/%3E%3C/svg%3E"); }
/* nothing in the pond animates while it's scrolled away */
.billboard.is-paused::before, .billboard.is-paused .codee-steam i, .billboard.is-paused .ring, .billboard.is-paused .slide-thumb { animation-play-state: paused; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(18px) scale(.7, .6); }
  25% { opacity: .75; }
  60% { opacity: .5; transform: translateY(-6px) scale(1.05, 1) skewX(-6deg); }
  100% { opacity: 0; transform: translateY(-26px) scale(1.25, 1.1) skewX(6deg); } }
.codee-rim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(47.15% 27.15% at 50.95% 57%, transparent 94%, rgba(255, 255, 255, .7) 98.5%, rgba(255, 255, 255, 0) 100.5%, rgba(0, 110, 160, .16) 102%, transparent 106%);
  -webkit-mask-image: linear-gradient(transparent 62%, #000 70%); mask-image: linear-gradient(transparent 62%, #000 70%); }
.codee-hint { position: absolute; left: 0; right: 0; top: -2%; text-align: center; font-size: .82rem; font-weight: 800; color: rgba(31, 11, 51, .62); transition: opacity .8s ease; pointer-events: none; }
.codee-hint.is-done { opacity: 0; }

.slide-nav { position: absolute; z-index: 3; left: calc(var(--gutter) - 8px); bottom: 92px; display: flex; align-items: center; gap: 10px; }
.slide-dots { display: flex; gap: 4px; }
.slide-dot { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.slide-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(31, 11, 51, .3); transition: width .2s var(--ease), background .2s; }
.slide-dot[aria-current="true"]::before { width: 26px; border-radius: 6px; background: var(--night); }
.slide-step { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(31, 11, 51, .35); background: rgba(255, 255, 255, .25); color: var(--night); font-size: 22px; line-height: 1; cursor: pointer; }
.slide-step:hover { border-color: var(--night); }

@media (max-width: 699px) {
  /* Phones: Codee bobs up top (script sizes the room for him), the words sit below. */
  .billboard { --logo-room: 112px; height: auto; min-height: 0; padding-top: calc(var(--head-h) + 50px + var(--logo-room) + 62vw); padding-bottom: 120px; }
  .slides { position: relative; left: auto; bottom: auto; width: auto; padding: 0 var(--gutter); }
  .slide-wordmark, .slide-thumb, .codee-hint { display: none; }
  .slide-title, .slide-brand .slide-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .slide-sub { font-size: 1rem; }
  .codee { --w: 58vw; left: calc(50% - var(--w) * .5095); top: calc(var(--head-h) + 50px + var(--logo-room)); }
  /* the bar is clear over the pond (no dark fade) until it turns solid */
  .page-home.over-hero .site-head:not(.is-solid) { background: transparent; }
  .page-home.over-hero .site-head.is-solid { background: rgb(31, 11, 51); -webkit-backdrop-filter: none; backdrop-filter: none; }   /* solid, so Codee doesn't smudge through it */
  /* phones: no falling sprinkles or light rays — they don't animate smoothly enough there */
  .pond-canvas { display: none; }
  /* the still shows first; the live scene fades in over it once the page has loaded */
  .codee-still { display: block; position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; transition: opacity .7s ease; }
  .codee-still img { width: 100%; height: auto; }
  .codee.is-live .codee-still { opacity: 0; }
  .codee:not(.is-live) .codee-flip { opacity: 0; visibility: hidden; }
  .slide-nav { position: relative; left: auto; bottom: auto; margin-top: 26px; padding: 0 calc(var(--gutter) - 8px); }
  .slide-step { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; opacity: 0; }
  .slide, .slide.is-active { transition: none; filter: none; transform: none; }
  .slide-thumb, .codee-steam i, .billboard::before { animation: none; }
}

/* ---------- the dive: live waterline, then the night stage (home) ---------- */
.page-home .stage { position: relative; z-index: 2; margin-top: -110px; padding: 110px 0 48px; pointer-events: none;
  background: linear-gradient(180deg, transparent 0 109px, #0a8fc6 109px, #0b6aa6 290px, #23376f 630px, #2a1550 1010px, var(--night) 1410px); }
.surface { position: absolute; left: 0; right: 0; top: 0; display: block; width: 100%; height: 110px; pointer-events: none; }
.depths-rays { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 1300px; pointer-events: none; }
.depths-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
@media (max-width: 699px) { .depths-rays { display: none; } }   /* phones: no light rays */
/* bubbles and sinking sprinkles: plain elements animated by the compositor (pond.js adds them) */
.bubble { position: absolute; opacity: 0; will-change: transform, opacity; }
.bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(210, 245, 255, .55);
  background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, .75) 0 13%, rgba(160, 230, 255, .08) 15%); }
.sunk { position: absolute; top: 0; border-radius: 99px; opacity: 0; will-change: transform, opacity;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 0 30%, transparent 32%); }
.depths-inner { position: relative; z-index: 1; padding-top: 10px; pointer-events: auto; }
.depths-lede { padding: 12px var(--gutter) 10px; margin: 0; font: 700 clamp(2.2rem, 4.2vw, 3.4rem)/1 var(--display); letter-spacing: -.01em; color: #c4f1ff; text-shadow: 0 4px 24px rgba(10, 40, 90, .3); }
.depths-lede span { display: block; font: 700 clamp(1rem, 1.4vw, 1.15rem)/1.5 var(--font); letter-spacing: 0; text-shadow: none; color: var(--plum-ink-2); margin-top: 12px; }
/* Products rise from the deep. Only rails that start off-screen get this (script adds it). */
.will-rise .tile { opacity: 0; transform: translate3d(0, var(--rise-y, 150px), 0) rotate(var(--rise-r, 4deg)) scale(.9); filter: blur(5px); }
.will-rise .rail-head h2 { opacity: 0; transform: translateY(24px); }
.is-risen .tile { opacity: 1; transform: none; filter: none;
  transition: transform 1.5s cubic-bezier(.18, 1.32, .36, 1) var(--d, 0s), opacity .7s ease var(--d, 0s), filter 1s ease var(--d, 0s); }
.is-risen .rail-head h2 { opacity: 1; transform: none; transition: transform 1s var(--ease), opacity .8s ease; }
@media (prefers-reduced-motion: reduce) { .will-rise .tile, .will-rise .rail-head h2 { opacity: 1; transform: none; filter: none; } }
/* on home, the header goes plum (not cyan) once you leave the pond */
.page-home .site-head.is-solid { background: rgba(31, 11, 51, .82); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }

/* ---------- night stage + rails ---------- */
.stage { background: var(--night); color: var(--plum-ink); padding: 34px 0 48px; }
.stage-all { text-align: center; margin: 12px 0 0; padding: 0 var(--gutter); }
.rail { padding: 18px 0 8px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); margin-bottom: 12px; }
.rail-head h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); color: #fff; }
.rail-head h2 a { text-decoration: none; }
.rail-head h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rail-and { font-family: var(--font); font-weight: 400; font-size: .8em; color: var(--plum-ink-2); }
.rail-arrows { display: none; gap: 8px; }
@media (hover: hover) and (min-width: 700px) { .rail-arrows { display: flex; } }
.rail-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255, 233, 245, .4); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.rail-btn:hover:not(:disabled) { border-color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gutter) - 14px) / 1.4); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 700px) { .rail-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 2 * 16px) / 2.5); gap: 16px; } }
@media (min-width: 1100px) { .rail-track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 5 * 16px) / 5.3); } }

/* ---------- tiles ---------- */
.tile { position: relative; }
.tile-link { display: block; text-decoration: none; color: inherit; border-radius: var(--r-tile); }
.tile-pic { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-tile); overflow: hidden; background: var(--night-2); }
.tile-pic img, .tile-pic .placeholder, .tile-pic svg { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.placeholder { display: block; }
.placeholder svg { width: 100%; height: 100%; }
.tile-cap { display: grid; gap: 3px; padding: 10px 2px 0; }
.tile-name { font: 600 1.08rem/1.2 var(--display); color: #fff; }
.tile-tag { font-size: 14px; line-height: 1.4; color: var(--plum-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip-type, .chip-price { font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.chip-type { border: 1px solid rgba(255, 233, 245, .35); color: var(--plum-ink); }
.chip-price { background: var(--plum-ink); color: var(--night); }
.wish { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--plum); font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 3px 10px rgba(31, 11, 51, .3); display: grid; place-items: center; }
.wish.is-on { background: var(--pink-dark); color: #fff; }
.tile-wish { position: absolute; top: 8px; right: 8px; z-index: 2; }
@media (hover: hover) {
  .tile-link:hover .tile-pic img, .tile-link:hover .tile-pic svg { transform: scale(1.04); }
  .tile-link:hover .tile-name { text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- bands (home) ---------- */
.bands { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 24px; display: grid; gap: 64px; }
.bands h2, .list-head h1, .doc-head h1 { color: var(--plum); }
.steps h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 22px; }
.steps-list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; position: relative; padding: 4px 0 0 64px; min-height: 48px; font: 600 1.15rem/1.35 var(--display); color: var(--ink); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum); color: #fff; font: 600 1.3rem/1 var(--display); }
@media (min-width: 800px) {
  .steps .steps-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps .steps-list li { padding: 64px 12px 0 0; }
}
.steps-more { margin: 20px 0 0; font-weight: 700; }
.steps-more a { color: var(--plum); }
.promise { display: grid; gap: 28px; align-items: center; }
.promise h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 17px; }
.promise-list b { color: var(--plum); }
@media (min-width: 900px) { .promise { grid-template-columns: 5fr 6fr; gap: 48px; } }
.ask { display: grid; gap: 22px; align-items: center; background: var(--surface); border-radius: var(--r-panel); padding: 28px 24px; box-shadow: 0 12px 36px rgba(31, 11, 51, .12); }
.ask-glaze { width: min(220px, 60vw); height: auto; border-radius: 50%; margin: 0 auto; }
.ask h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.ask p { color: var(--muted); max-width: 52ch; }
@media (min-width: 760px) { .ask { grid-template-columns: 220px 1fr; padding: 32px 40px; gap: 36px; } }

/* ---------- product page ---------- */
.title-hero { position: relative; overflow: hidden; overflow: clip; background: var(--night); color: var(--plum-ink); padding: calc(var(--head-h) + 28px) var(--gutter) 40px; }
.has-announce .title-hero { padding-top: calc(var(--head-h) + 60px); }
.title-backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); opacity: .45; transform: scale(1.1); }
.title-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 0%, rgba(31, 11, 51, .55) 55%, rgba(31, 11, 51, .35) 100%); }
.title-inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column-reverse; gap: 22px; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--plum-ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--plum-ink); }
.title-copy h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); color: #fff; }
.title-with-logo { display: flex; align-items: center; gap: 0.22em; }
.title-logo { height: 1.25em; width: auto; flex: none; }
.title-tag { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; margin: 10px 0 0; max-width: 46ch; }
.title-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.title-note { margin: 12px 0 0; font-size: 14.5px; color: var(--plum-ink-2); }
.title-tut { margin: 8px 0 0; font-weight: 800; }
.title-tut a { color: var(--plum-ink); }
.title-poster { width: 100%; }
.title-poster img, .title-poster .placeholder { width: 100%; height: auto; max-height: 56vw; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .45)); }
.title-poster .placeholder { aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 1000px) {
  .title-hero { min-height: 70svh; display: flex; align-items: center; padding-bottom: 56px; }
  .title-inner { flex-direction: row; align-items: center; gap: 5vw; width: 100%; }
  .title-copy { flex: 1 1 44%; }
  .title-poster { flex: 1 1 52%; }
  .title-poster img, .title-poster .placeholder { max-height: 62vh; }
}

.product-body { max-width: 1400px; margin: 0 auto; padding: 28px var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.product-main { min-width: 0; }
@media (min-width: 1000px) { .product-body { grid-template-columns: minmax(0, 1fr) 380px; margin-top: -24px; position: relative; z-index: 2; } }
.product-main { background: var(--surface); border-radius: var(--r-panel); padding: 8px 22px; box-shadow: 0 14px 40px rgba(31, 11, 51, .14); }
@media (min-width: 700px) { .product-main { padding: 10px 40px; } }
.sec { padding: 28px 0; border-top: 1px solid var(--line-soft); max-width: 72ch; }
.sec:first-child { border-top: 0; }
.sec h2 { font-size: 1.5rem; color: var(--plum); margin-bottom: 14px; }
.sec p { font-size: 17px; }
.lede { font-size: 19px !important; font-weight: 700; color: var(--ink); }
.aside-note { background: var(--soft); border-radius: 16px; padding: 14px 16px; font-size: 16px !important; }
.aside-note a, .sec a { color: var(--pink-dark); font-weight: 800; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.included li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-soft); }
.included b { font-weight: 800; }
.included span { color: var(--muted); }
@media (min-width: 700px) { .included li { grid-template-columns: 200px 1fr; gap: 16px; } }
.steps-inline li { font-size: 1.05rem; }
.specs { width: 100%; border-collapse: collapse; font-size: 16px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.specs tr:first-child th, .specs tr:first-child td { border-top: 0; }
.specs th { width: 34%; padding-right: 16px; color: var(--muted); font-weight: 800; }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shot { margin: 0; flex: none; scroll-snap-align: start; }
.shot-open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.shot img { height: 260px; width: auto; max-width: none; }
.shot-phone img { height: 360px; }
@media (max-width: 699px) { .shot img { height: 200px; } .shot-phone img { height: 300px; } }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.faq { border-top: 1px solid var(--line-soft); padding: 12px 0; }
.faq:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style-position: outside; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.sec-more { margin: 14px 0 0; font-size: 15px !important; color: var(--muted); }
.changelog { list-style: none; margin: 0; padding: 0; }
.changelog li { display: grid; grid-template-columns: 110px 130px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.changelog li:first-child { border-top: 0; }
.cl-v { font-weight: 800; }
.cl-d { color: var(--muted); }
@media (max-width: 699px) { .changelog li { grid-template-columns: 1fr; gap: 0; } }
.dock { position: sticky; top: calc(var(--head-h) + 16px); display: none; }
@media (min-width: 1000px) { .dock { display: block; } }
.stage-tail { padding-top: 26px; }

/* demo panel (product page) */
.demo-panel { position: relative; border-radius: 18px; overflow: hidden; background: var(--night); }
.demo-poster { width: 100%; height: auto; opacity: .55; }
.demo-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.demo-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; font-size: 14px !important; color: var(--plum-ink); background: rgba(31, 11, 51, .7); }

.demo-panel { min-height: 240px; }
.demo-panel.is-live { background: #120620; padding: 18px; display: grid; justify-items: center; gap: 10px; }
.demo-panel.is-live .demo-poster, .demo-panel.is-live .demo-start, .demo-panel.is-live .demo-note { display: none; }
.demo-panel .demo-frame { width: 390px; max-width: 100%; height: 720px; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 0 0 8px #2c1247; }
.demo-panel.is-loading .demo-frame { opacity: .3; }
.demo-full { color: var(--plum-ink) !important; font-weight: 800; }
.is-pulse { animation: dd-pulse 1.2s var(--ease) 2; }
@keyframes dd-pulse { 50% { box-shadow: 0 0 0 10px rgba(232, 67, 147, .35); } }

/* demo page: a slim bar over a full-height frame */
.page-demo .site-head, .page-demo .site-foot, .page-demo .helper-launch { display: none !important; }
.page-demo { background: var(--night); }
.demo-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--night); color: var(--plum-ink); border-bottom: 1px solid rgba(255, 233, 245, .12); }
.demo-back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 26px; border: 2px solid rgba(255, 233, 245, .35); flex: none; }
.demo-title { min-width: 0; display: grid; }
.demo-title b { font: 600 1.05rem/1.2 var(--display); color: #fff; }
.demo-title span { font-size: 13px; color: var(--plum-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.demo-size { display: none; gap: 4px; }
.demo-size .chip-small { color: var(--plum-ink); border-color: rgba(255, 233, 245, .35); }
.demo-size .chip-small.is-on { background: var(--plum-ink); color: var(--night); }
.demo-cta .btn { min-height: 40px; }
@media (max-width: 699px) { .demo-cta { display: none; } }
@media (min-width: 900px) { .demo-size { display: flex; } }
.demo-stage { position: relative; flex: 1; display: grid; place-items: center; padding: 0; }
.demo-stage .demo-frame { width: 100%; height: 100%; border: 0; background: #fff; }
@media (min-width: 900px) {
  .demo-stage { padding: 20px; }
  .demo-stage[data-size="phone"] .demo-frame { width: 410px; height: min(860px, 100%); border-radius: 30px; box-shadow: 0 0 0 10px #2c1247, 0 30px 60px rgba(0, 0, 0, .5); }
  .demo-stage[data-size="desktop"] .demo-frame { border-radius: 14px; }
}
.demo-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--plum-ink); font-weight: 800; background: var(--night); z-index: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 5, 26, .92); display: grid; place-items: center; padding: 56px 16px; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; }
.lb-close, .lb-step { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 233, 245, .5); background: rgba(31, 11, 51, .6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* sticky phone CTA */
.sticky-cta { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 11, 51, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
.sticky-cta .btn { flex: 1; min-height: 46px; padding: 0 14px; }
@media (min-width: 700px) { .sticky-cta { display: none !important; } }
/* Glaze's launcher: always reachable, bottom-right, lifted above the sticky bar on phones. */
.helper-launch { position: fixed; z-index: 28; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 8px; min-height: 48px; padding: 6px 16px 6px 6px; font-size: .95rem; box-shadow: 0 10px 24px rgba(31, 11, 51, .3); }
.helper-launch .donut-host { width: 36px; height: 36px; }
@media (min-width: 700px) { .helper-launch { right: 24px; bottom: 24px; } }
@media (max-width: 699px) { body.has-sticky .helper-launch { bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* ---------- list pages ---------- */
.list-page { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 56px; }
.list-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.list-head p { margin: 8px 0 0; font-size: 18px; max-width: 60ch; }
.filters { margin: 24px 0 18px; display: grid; gap: 12px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; border: 2px solid transparent; }
.chip:hover { background: #fff; }
.chip.is-on { background: var(--plum); color: #fff; }
.chip-small { min-height: 36px; font-size: 14px; background: transparent; border-color: rgba(34, 49, 58, .25); }
.chip-small.is-on { background: var(--ink); border-color: var(--ink); }
.filter-search { display: flex; gap: 8px; max-width: 520px; }
.filter-search input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 2px solid transparent; background: #fff; padding: 0 18px; font-size: 16px; color: var(--ink); }
.filter-search input:focus { outline: 3px solid var(--plum); outline-offset: 1px; }
.result-count { margin: 0; font-weight: 800; color: var(--plum); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid .tile-name { color: var(--ink); }
.grid .tile-tag { color: var(--muted); }
.grid .chip-type { color: var(--ink); border-color: rgba(34, 49, 58, .3); }
.grid .chip-price { background: var(--plum); color: #fff; }
.grid .tile-pic { box-shadow: 0 8px 22px rgba(31, 11, 51, .16); }
.empty { text-align: center; padding: 40px 0; font-weight: 700; }

/* ---------- doc pages (help, about, legal) ---------- */
.doc { max-width: 880px; margin: 0 auto; padding: 32px var(--gutter) 56px; }
.doc-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.doc-head > p { margin: 10px 0 0; font-size: 18px; max-width: 60ch; }
.doc-head .crumbs { color: var(--muted); }
.doc-head .crumbs a { color: var(--plum); }
.doc-date { font-size: 14px !important; color: var(--muted); font-weight: 700; }
.doc-body { margin-top: 26px; background: var(--surface); border-radius: var(--r-panel); padding: 10px 22px 26px; box-shadow: 0 14px 40px rgba(31, 11, 51, .12); }
@media (min-width: 700px) { .doc-body { padding: 14px 44px 34px; } }
.doc-body > section, .doc-body .qa-item { padding: 22px 0 6px; border-top: 1px solid var(--line-soft); }
.doc-body > section:first-child { border-top: 0; }
.doc-body h2 { font-size: 1.5rem; color: var(--plum); margin-bottom: 12px; }
.doc-body h3 { font-family: var(--font); font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.doc-body p, .doc-body li { font-size: 17px; max-width: 68ch; }
.doc-body a { color: var(--pink-dark); font-weight: 800; }
.qa { padding-top: 22px; }
.qa > h2 { margin-bottom: 4px; }
.qa .qa-item:first-of-type { border-top: 0; }
.help-paths { display: grid; gap: 4px; }
.help-path { padding: 22px 0 10px; border-top: 1px solid var(--line-soft); }
.help-path:first-child { border-top: 0; }
@media (min-width: 760px) { .help-paths { grid-template-columns: 1fr 1fr; gap: 36px; } .help-path { border-top: 0; } }
.help-path .steps-list li { font-size: 1.05rem; }
.doc-cta { border-top: 1px solid var(--line-soft); }
.guide { list-style: none; counter-reset: g; margin: 0; padding: 18px 0 8px; display: grid; gap: 22px; }
.guide li { counter-increment: g; position: relative; padding-left: 64px; }
.guide li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font: 600 1.25rem/1 var(--display); }
.guide h2 { font-size: 1.3rem; margin-bottom: 4px; }
.about-head { display: grid; gap: 20px; align-items: center; }
.about-glaze { width: 180px; height: 180px; border-radius: 50%; box-shadow: 0 12px 30px rgba(31, 11, 51, .2); }
@media (min-width: 700px) { .about-head { grid-template-columns: 200px 1fr; } .about-glaze { width: 200px; height: 200px; } }
.plain { padding-left: 20px; }
.plain li { margin-bottom: 10px; }
.legal-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.legal-tabs a { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 800; text-decoration: none; color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--plum); color: #fff; }
.legal-body ul { padding-left: 20px; }

/* ---------- 404 ---------- */
.lost { max-width: 640px; margin: 0 auto; padding: 48px var(--gutter) 40px; text-align: center; }
.lost-glaze { width: 220px; margin: 0 auto 10px; }
.lost h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--plum); }
.lost p { font-size: 18px; margin-top: 10px; }
.lost-search { margin: 18px auto 10px; max-width: 480px; }
.lost-links { display: flex; justify-content: center; gap: 22px; font-weight: 800; }
.lost-links a { color: var(--plum); }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--plum-ink); padding: 44px var(--gutter) calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 233, 245, .1); }
.page-home .site-foot, .page-product .site-foot, .page-404 .site-foot { border-top-color: transparent; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 10px; }
.foot-brand p { color: var(--plum-ink-2); max-width: 40ch; margin: 0; }
.site-foot nav { display: grid; gap: 6px; align-content: start; }
.site-foot h2 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.site-foot nav a { color: var(--plum-ink-2); text-decoration: none; font-weight: 700; padding: 3px 0; }
.site-foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-copy { max-width: var(--max); margin: 28px auto 0; font-size: 14px; color: var(--plum-ink-2); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

/* ---------- Glaze launcher sits above the sticky bar; docked chat fits the column ---------- */
.dock .helper { height: min(640px, calc(100vh - var(--head-h) - 40px)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.has-announce .slide-inner { padding-top: calc(var(--head-h) + 84px); }

/* Hero carousel: 3 visible, center large, sides smaller + faded */
.hero-carousel { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hc-track { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 460px; }
.hc-slide { position: absolute; margin: 0; transition: transform .6s ease, opacity .6s ease; cursor: pointer; }
.hc-slide img { display: block; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hc-slide.is-center { transform: scale(1); opacity: 1; z-index: 3; }
.hc-slide.is-center img { max-height: 440px; max-width: 62vw; }
.hc-slide.is-left { transform: translateX(-72%) scale(.68); opacity: .45; z-index: 2; }
.hc-slide.is-right { transform: translateX(72%) scale(.68); opacity: .45; z-index: 2; }
.hc-slide.is-left img, .hc-slide.is-right img { max-height: 300px; max-width: 40vw; }
.hc-slide.is-hidden { opacity: 0; transform: scale(.5); z-index: 1; pointer-events: none; }
.hc-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,8,18,.55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.hc-arrow:hover { background: rgba(214,38,72,.75); }
.hc-prev { left: 6px; } .hc-next { right: 6px; }
@media (max-width: 700px) {
  .hc-track { height: 340px; }
  .hc-slide.is-center img { max-height: 320px; max-width: 78vw; }
  .hc-slide.is-left { transform: translateX(-58%) scale(.6); }
  .hc-slide.is-right { transform: translateX(58%) scale(.6); }
}

/* Rich Etsy-style listing sections */
.sec-rich .lede { font-size: 1.25rem; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.feat { background: #fff; border: 1px solid #f0e4ec; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 18px rgba(120,40,80,.06); }
.feat-ico { font-size: 2rem; }
.feat b { font-size: 1.05rem; color: #1b1226; }
.feat span:last-child { color: #5c4a5e; font-size: .95rem; line-height: 1.5; }
.check-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { font-size: 1.05rem; line-height: 1.55; background: #fff; border: 1px solid #f0e4ec; border-radius: 12px; padding: 12px 16px; }
.listing-banner { margin: 28px 0; }
.listing-banner img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 50px rgba(60,10,40,.18); }


/* Claude v2 redesign for Intake (scoped .ix) */
 block, the <div class="ix"> block and
     the final <script> block into the site's product template, in
     place of the old title-hero + product-body. Every class is
     prefixed "ix-" and every rule is scoped under .ix, so nothing
     collides with site.css, and site.css can't reach in.
     ============================================================ -->
<style>
.ix{
  --plum-950:#14061f; --plum-900:#1f0b33; --plum-800:#2c1048; --plum-700:#3d1764;
  --pink:#ff4fa3; --pink-deep:#d92a80; --pink-soft:#ffe1ef;
  --blue:#2fc4ff; --blue-soft:#dff5ff;
  --lemon:#ffcf3a; --lemon-soft:#fff3cc;
  --mint:#2fd3a0; --mint-soft:#d9f8ec;
  --grape:#8b5cf6; --grape-soft:#ece4ff;
  --orange:#ff7a59; --orange-soft:#ffe5dc;
  --cream:#fff8f2; --ink:#271533; --muted:#6c5a7b; --line:#eadff0;
  --r-lg:28px; --r-md:18px;
  --shadow:0 18px 50px -20px rgba(31,11,51,.45);
  --shadow-soft:0 10px 30px -14px rgba(31,11,51,.25);
  --display:"Fredoka",system-ui,sans-serif;
  --body:"Nunito",system-ui,sans-serif;
  font-family:var(--body); color:var(--ink); background:#fff8f2 !important;
  line-height:1.6; font-size:16px; -webkit-font-smoothing:antialiased;
  overflow-x:clip; width:100%; text-align:left;
}
/* ---- local reset: keep site.css from leaking in ---- */
.ix *,.ix *::before,.ix *::after{box-sizing:border-box}
.ix img{display:block;max-width:100%;width:100%;height:auto;margin:0;border:0}
.ix figure{margin:0;padding:0}
.ix h1,.ix h2,.ix h3{font-family:var(--display);line-height:1.12;margin:0;padding:0;letter-spacing:-.01em;color:inherit;text-transform:none;text-align:inherit}
.ix p{margin:0;padding:0;font-size:inherit;color:inherit}
.ix ul,.ix ol{list-style:none;margin:0;padding:0}
.ix li{margin:0;padding:0}
.ix li::marker{content:none}
.ix section{margin:0;padding:0;background:none;border:0}
.ix button{font:inherit;margin:0;line-height:1;text-transform:none}
.ix a{color:var(--pink-deep)}
.ix :focus-visible{outline:3px solid var(--lemon);outline-offset:3px}
.ix-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
@media (prefers-reduced-motion:reduce){.ix *{transition:none!important}}

/* ---------- buttons ---------- */
.ix .ix-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--body);font-weight:900;font-size:1.05rem;line-height:1.2;border-radius:999px;padding:15px 28px;text-decoration:none;border:0;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s;width:auto;height:auto}
.ix .ix-btn:hover{transform:translateY(-2px)}
.ix .ix-btn-primary{background:linear-gradient(135deg,var(--pink),var(--orange));color:#fff;box-shadow:0 12px 28px -10px rgba(255,79,163,.8)}
.ix .ix-btn-ghost{background:rgba(255,255,255,.1);color:#fff;border:2px solid rgba(255,255,255,.3)}
.ix .ix-btn-ghost:hover{background:rgba(255,255,255,.18)}
.ix .ix-btn-ghost[aria-pressed="true"]{background:#fff;color:var(--plum-900)}

/* ---------- hero ---------- */
.ix .ix-hero{position:relative;color:#fff;background-color:#14061f !important;padding:48px 0 96px;overflow:hidden;background:
  radial-gradient(900px 500px at 85% 20%,rgba(255,79,163,.35),transparent 60%),
  radial-gradient(700px 500px at 10% 90%,rgba(47,196,255,.22),transparent 60%),
  linear-gradient(180deg,var(--plum-950),var(--plum-900) 55%,var(--plum-800))}
.ix-hero::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;
  background-image:radial-gradient(circle,rgba(255,207,58,.9) 1.5px,transparent 2px),radial-gradient(circle,rgba(47,196,255,.9) 1.5px,transparent 2px),radial-gradient(circle,rgba(255,79,163,.9) 1.5px,transparent 2px);
  background-size:180px 160px,230px 210px,260px 240px;background-position:20px 40px,90px 120px,160px 10px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%)}
.ix-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:44px;align-items:center}
@media (max-width:980px){.ix-hero-grid{grid-template-columns:minmax(0,1fr);gap:36px}}
.ix-crumbs{font-size:.85rem;color:#c9b6dd;margin-bottom:18px}
.ix-crumbs a{color:#e9dcf6;text-decoration:none;font-weight:700}
.ix-crumbs a:hover{text-decoration:underline}
.ix-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.ix .ix-badge{display:inline-block;font-size:.75rem;line-height:1.2;font-weight:900;letter-spacing:.05em;text-transform:uppercase;padding:6px 12px;border-radius:999px;text-decoration:none}
.ix .ix-badge-type{background:rgba(47,196,255,.18);color:#bdeeff;border:1px solid rgba(47,196,255,.45)}
.ix .ix-badge-need{background:rgba(47,211,160,.16);color:#b6f5df;border:1px solid rgba(47,211,160,.45)}
.ix .ix-badge-free{background:var(--lemon);color:var(--plum-900)}
.ix-title-row{display:flex;align-items:center;gap:18px;margin-bottom:10px}
.ix .ix-title-logo{width:84px;height:84px;object-fit:contain;flex:none;filter:drop-shadow(0 10px 20px rgba(255,79,163,.45))}
.ix .ix-title-row h1{font-size:clamp(3.2rem,7vw,5.2rem);font-weight:700;letter-spacing:-.02em;color:#fff;
  background:linear-gradient(100deg,#fff 30%,#ffc2e0 70%,#ffe08a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ix .ix-title-tag{font-family:var(--display);font-weight:500;font-size:clamp(1.35rem,2.6vw,1.75rem);line-height:1.25;color:#ffd0e6;margin-bottom:16px}
.ix .ix-hero-blurb{color:#ddd0ea;font-size:1.05rem;max-width:30em;margin-bottom:24px}
.ix-price-row{display:flex;align-items:baseline;gap:12px;margin-bottom:18px}
.ix-price{font-family:var(--display);font-size:2.2rem;font-weight:700;color:#fff;line-height:1}
.ix-price-note{color:#c9b6dd;font-weight:700;font-size:.95rem}
.ix-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.ix .ix-trust{display:flex;flex-wrap:wrap;gap:8px 18px;color:#e9dcf6;font-weight:700;font-size:.92rem}

/* ---------- carousel: 3 in view ---------- */
.ix-carousel{position:relative;user-select:none;-webkit-user-select:none}
.ix-cz-stage{position:relative;width:100%;aspect-ratio:100/54;touch-action:pan-y}
.ix .ix-cz-slide{position:absolute;top:50%;left:50%;width:64%;cursor:pointer;
  transform:translate(-50%,-50%) scale(.5);opacity:0;z-index:1;pointer-events:none;
  transition:transform .65s cubic-bezier(.22,.8,.26,1),opacity .65s,filter .65s}
.ix .ix-cz-slide img{border-radius:var(--r-md);background:var(--plum-700);box-shadow:var(--shadow)}
.ix .ix-cz-slide.is-center{transform:translate(-50%,-50%) scale(1);opacity:1;z-index:3;pointer-events:auto;cursor:zoom-in}
.ix .ix-cz-slide.is-center img{box-shadow:0 30px 70px -20px rgba(0,0,0,.7),0 0 0 4px rgba(255,255,255,.14)}
.ix .ix-cz-slide.is-left{transform:translate(-100%,-50%) scale(.7);opacity:.4;z-index:2;pointer-events:auto;filter:saturate(.6)}
.ix .ix-cz-slide.is-right{transform:translate(0%,-50%) scale(.7);opacity:.4;z-index:2;pointer-events:auto;filter:saturate(.6)}
.ix .ix-cz-slide.is-left:hover,.ix .ix-cz-slide.is-right:hover{opacity:.75;filter:none}
.ix .ix-cz-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:48px;height:48px;padding:0;border-radius:50%;border:0;cursor:pointer;
  background:#fff;color:var(--plum-900);font-size:1.7rem;font-weight:900;box-shadow:var(--shadow-soft);display:grid;place-items:center;transition:transform .15s}
.ix .ix-cz-arrow:hover{transform:translateY(-50%) scale(1.08)}
.ix .ix-cz-prev{left:0}.ix .ix-cz-next{right:0}
.ix-cz-meta{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}
.ix-cz-caption{font-weight:800;color:#f3e9fb;font-size:.95rem;text-align:center}
.ix-cz-count{font-family:var(--display);color:#c9b6dd;font-size:.9rem}
.ix-cz-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.ix .ix-cz-dot{width:9px;height:9px;min-width:0;padding:0;border-radius:999px;border:0;background:rgba(255,255,255,.3);cursor:pointer;transition:width .3s,background .3s}
.ix .ix-cz-dot[aria-current="true"]{width:26px;background:var(--pink)}
@media (max-width:640px){
  .ix-cz-stage{aspect-ratio:100/66}
  .ix .ix-cz-slide{width:80%}
  .ix .ix-cz-slide.is-left{transform:translate(-88%,-50%) scale(.68)}
  .ix .ix-cz-slide.is-right{transform:translate(-12%,-50%) scale(.68)}
  .ix .ix-cz-arrow{width:40px;height:40px;font-size:1.35rem}
}

/* ---------- fact strip ---------- */
.ix-facts{position:relative;z-index:2;margin-top:-48px}
.ix .ix-facts ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px;background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow)}
.ix .ix-facts li{display:flex;align-items:center;gap:12px;padding:14px 16px;font-weight:800;font-size:.95rem;line-height:1.3}
.ix-facts li span{font-size:1.5rem;flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center}
.ix-facts li:nth-child(1) span{background:var(--blue-soft)}
.ix-facts li:nth-child(2) span{background:var(--mint-soft)}
.ix-facts li:nth-child(3) span{background:var(--pink-soft)}
.ix-facts li:nth-child(4) span{background:var(--lemon-soft)}
@media (max-width:860px){.ix .ix-facts ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:440px){.ix .ix-facts ul{grid-template-columns:minmax(0,1fr)}}

/* ---------- section scaffolding ---------- */
.ix .ix-block{padding-top:88px}
.ix-kicker{display:inline-flex;align-items:center;gap:8px;font-weight:900;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--pink-deep);margin-bottom:12px}
.ix-kicker::before{content:"";width:22px;height:3px;border-radius:3px;background:currentColor}
.ix .ix-sec-title{font-size:clamp(2rem,4vw,2.9rem);font-weight:700;margin-bottom:14px;color:var(--ink)}
.ix .ix-sec-sub{color:var(--muted);font-size:1.1rem;max-width:38em}
.ix-center{text-align:center}
.ix .ix-center .ix-sec-sub{margin:0 auto}

/* ---------- lede ---------- */
.ix-lede{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center}
@media (max-width:860px){.ix-lede{grid-template-columns:minmax(0,1fr);gap:22px}}
.ix .ix-lede-big{font-family:var(--display);font-weight:600;font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.12;color:var(--ink)}
.ix .ix-lede-big mark{background:linear-gradient(transparent 58%,var(--pink-soft) 58%);color:inherit;padding:0 .08em}
.ix .ix-lede-big em{font-style:normal;color:var(--pink-deep)}
.ix .ix-lede-copy p{font-size:1.1rem;color:#4b3a59;margin-bottom:14px}
.ix .ix-lede-copy p:first-child::first-letter{font-family:var(--display);font-weight:700;font-size:3.4em;float:left;line-height:.85;margin:6px 10px 0 0;color:var(--grape)}

/* ---------- feature grid ---------- */
.ix-feat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:44px}
@media (max-width:900px){.ix-feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ix-feat-grid{grid-template-columns:minmax(0,1fr)}}
.ix-feat{position:relative;background:#fff;border-radius:var(--r-lg);padding:30px 26px 26px;box-shadow:var(--shadow-soft);overflow:hidden;transition:transform .2s,box-shadow .2s}
.ix-feat:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.ix-feat::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--c)}
.ix-feat-ico{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font-size:2rem;background:var(--s);margin-bottom:18px;transform:rotate(-4deg)}
.ix .ix-feat h3{font-size:1.35rem;font-weight:600;margin-bottom:8px}
.ix .ix-feat p{color:var(--muted)}
.ix-c1{--c:var(--pink);--s:var(--pink-soft)}
.ix-c2{--c:var(--grape);--s:var(--grape-soft)}
.ix-c3{--c:var(--blue);--s:var(--blue-soft)}
.ix-c4{--c:var(--mint);--s:var(--mint-soft)}
.ix-c5{--c:var(--lemon);--s:var(--lemon-soft)}
.ix-c6{--c:var(--orange);--s:var(--orange-soft)}

/* ---------- banners: full image, never cropped ---------- */
.ix-banner{max-width:1020px;margin:88px auto 0;padding:0 20px}
.ix-banner figure{border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow);cursor:zoom-in;background:#fff}

/* ---------- how it works ---------- */
.ix .ix-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px;counter-reset:ixstep}
@media (max-width:760px){.ix .ix-steps{grid-template-columns:minmax(0,1fr)}}
.ix .ix-steps li{counter-increment:ixstep;background:#fff;border-radius:var(--r-lg);padding:30px 26px 26px;box-shadow:var(--shadow-soft)}
.ix .ix-steps li::before{content:counter(ixstep);font-family:var(--display);font-weight:700;font-size:1.4rem;color:#fff;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--pink),var(--grape));margin-bottom:16px;box-shadow:0 8px 18px -8px rgba(139,92,246,.8)}
.ix .ix-steps h3{font-size:1.25rem;font-weight:600;margin-bottom:6px}
.ix .ix-steps p{color:var(--muted)}

/* ---------- spotlights ---------- */
.ix-spot{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:60px;align-items:center;margin-top:72px}
.ix-spot.ix-flip{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.ix-spot.ix-flip .ix-spot-pic{order:2}
@media (max-width:860px){.ix-spot,.ix-spot.ix-flip{grid-template-columns:minmax(0,1fr);gap:28px}.ix-spot.ix-flip .ix-spot-pic{order:0}}
.ix-spot-pic{position:relative;cursor:zoom-in;isolation:isolate}
.ix .ix-spot-pic img{border-radius:var(--r-lg);box-shadow:var(--shadow)}
.ix-spot-pic::before{content:"";position:absolute;top:16px;left:16px;right:-16px;bottom:-16px;border-radius:var(--r-lg);background:var(--s);z-index:-1}
.ix-flip .ix-spot-pic::before{left:-16px;right:16px}
@media (max-width:860px){.ix-spot-pic::before,.ix-flip .ix-spot-pic::before{left:10px;right:-10px;top:10px;bottom:-10px}}
.ix .ix-spot-copy h3{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:700;margin-bottom:14px}
.ix .ix-spot-copy p{font-size:1.08rem;color:#4b3a59;margin-bottom:16px}
.ix-tag{display:inline-flex;gap:8px;align-items:center;font-weight:900;font-size:.85rem;background:var(--s);color:var(--ink);padding:7px 14px;border-radius:999px;margin-bottom:16px}
.ix .ix-ticks{display:grid;gap:9px}
.ix .ix-ticks li{position:relative;padding-left:30px;font-weight:700}
.ix .ix-ticks li::before{content:"✓";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--c);color:#fff;font-size:.72rem;display:grid;place-items:center;font-weight:900}

/* ---------- dark band ---------- */
.ix .ix-band{margin-top:96px;background:linear-gradient(160deg,var(--plum-900),var(--plum-700));color:#fff;padding:88px 0;position:relative;overflow:hidden}
.ix-band::before{content:"🍩";position:absolute;right:-40px;top:-60px;font-size:260px;line-height:1;opacity:.06;transform:rotate(18deg)}
.ix .ix-band .ix-kicker{color:#ffb3d6}
.ix .ix-band .ix-sec-title{color:#fff}
.ix .ix-band .ix-sec-sub{color:#d6c6e6}
.ix-cards2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px}
@media (max-width:860px){.ix-cards2{grid-template-columns:minmax(0,1fr)}}
.ix-glass{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--r-lg);padding:32px 30px}
.ix .ix-glass h3{font-size:1.5rem;font-weight:600;margin-bottom:20px;color:#fff}
.ix .ix-checks{display:grid;gap:14px}
.ix .ix-checks li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;color:#eee3f7;font-size:1.02rem}
.ix-checks li span{width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:1.1rem}
.ix .ix-pull{margin:48px auto 0;max-width:820px;text-align:center;font-family:var(--display);font-weight:500;font-size:clamp(1.4rem,2.8vw,2rem);line-height:1.3;color:#fff}
.ix .ix-pull b{color:var(--lemon);font-weight:600}

/* ---------- included ---------- */
.ix-included{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:32px}
@media (max-width:640px){.ix-included{grid-template-columns:minmax(0,1fr)}}
.ix-inc{display:flex;gap:18px;align-items:center;background:#fff;border-radius:var(--r-lg);padding:24px;box-shadow:var(--shadow-soft);border:2px dashed var(--line)}
.ix-inc-ico{font-size:2rem;width:64px;height:64px;flex:none;border-radius:20px;display:grid;place-items:center;background:var(--grape-soft)}
.ix-inc + .ix-inc .ix-inc-ico{background:var(--mint-soft)}
.ix-inc b{font-family:var(--display);font-weight:600;font-size:1.25rem;display:block}
.ix-inc span{color:var(--muted)}
.ix-inc code{background:var(--cream);padding:2px 7px;border-radius:6px;font-size:.9em;color:var(--ink)}

/* ---------- gallery ---------- */
.ix-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:32px}
.ix .ix-gallery button{display:block;width:100%;height:auto;padding:0;border:0;background:#fff;border-radius:var(--r-md);overflow:hidden;cursor:zoom-in;box-shadow:var(--shadow-soft);transition:transform .2s}
.ix .ix-gallery button:hover{transform:scale(1.03)}
@media (max-width:900px){.ix-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- faq ---------- */
.ix-faq-wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start}
@media (max-width:860px){.ix-faq-wrap{grid-template-columns:minmax(0,1fr);gap:22px}}
.ix-faq{background:#fff;border-radius:var(--r-md);box-shadow:var(--shadow-soft);margin:0 0 12px;overflow:hidden;border:0}
.ix-faq summary{list-style:none;cursor:pointer;padding:20px 64px 20px 24px;font-weight:900;font-size:1.06rem;position:relative}
.ix-faq summary::-webkit-details-marker{display:none}
.ix-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;background:var(--pink-soft);color:var(--pink-deep);display:grid;place-items:center;font-size:1.3rem;line-height:1;transition:transform .25s}
.ix-faq[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.ix .ix-faq p{padding:0 24px 22px;color:var(--muted)}
.ix .ix-faq-more{color:var(--muted);margin-top:18px}

/* ---------- license + final ---------- */
.ix-license{margin-top:36px;background:var(--lemon-soft);border-radius:var(--r-lg);padding:24px 28px;display:flex;gap:16px;align-items:center}
.ix-license > span{font-size:2rem;flex:none}
.ix .ix-license p{font-weight:700}
.ix .ix-final{margin:96px auto 0;max-width:1140px;border-radius:36px;text-align:center;color:#fff;padding:72px 24px;
  background:radial-gradient(600px 300px at 20% 0%,rgba(255,79,163,.5),transparent 70%),radial-gradient(600px 300px at 80% 100%,rgba(47,196,255,.35),transparent 70%),var(--plum-900)}
.ix-final-wrap{padding:0 20px 96px}
.ix .ix-final img{width:96px;height:96px;object-fit:contain;margin:0 auto 18px;filter:drop-shadow(0 10px 20px rgba(255,79,163,.5))}
.ix .ix-final h2{font-size:clamp(2rem,4.5vw,3.2rem);font-weight:700;margin-bottom:12px;color:#fff;text-align:center}
.ix .ix-final p{color:#ddd0ea;font-size:1.1rem;margin-bottom:28px;text-align:center}

/* ---------- sticky cta + lightbox ---------- */
.ix-sticky{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;transform:translateY(160%);transition:transform .3s}
.ix-sticky.is-on{transform:none}
.ix .ix-sticky .ix-btn{width:100%}
@media (min-width:861px){.ix-sticky{display:none}}
.ix-lb{position:fixed;inset:0;z-index:1000;background:rgba(20,6,31,.94);display:flex;align-items:center;justify-content:center;padding:70px 20px}
.ix-lb[hidden]{display:none}
.ix .ix-lb img{width:auto;max-width:min(1200px,100%);max-height:100%;border-radius:var(--r-md);box-shadow:0 30px 80px rgba(0,0,0,.6)}
.ix .ix-lb-btn{position:absolute;border:0;padding:0;background:#fff;color:var(--plum-900);width:48px;height:48px;border-radius:50%;font-size:1.7rem;font-weight:900;cursor:pointer;display:grid;place-items:center}
.ix .ix-lb-close{top:14px;right:14px}
.ix .ix-lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.ix .ix-lb-next{right:14px;top:50%;transform:translateY(-50%)}
.ix-lb-cap{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#e9dcf6;font-weight:800}
.ix .ix-lede-emoji { white-space: nowrap; margin-left: 0.15em; }

/* Product pages: neutral dark header instead of brand cyan (less busy w/ product colors) */
.page-product .site-head { background: var(--night); }
.page-product .site-head.is-solid { background: rgba(31, 11, 51, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.14), 0 6px 18px rgba(31,11,51,.28); }
.page-product body, body.page-product { background: var(--night); }
