/* kurzworld.com: one stylesheet for every page. A light page in one typeface (Inter, tabular figures where they line
   up), the apps' dark screens as its photographs and a dark stage where the products play (#hear, the demos); each
   page's colour in --accent, darker as text (--accent-ink). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/InterVariable.woff2") format("woff2"); }
:root {
  --bg: #f6f5f2;
  --bg2: #eeece7;
  --panel: #ffffff;
  --panel2: #f4f2ee;
  --line: #e4e1da;
  --line2: #d2cec5;
  --ink: #15171b;
  --ink-dim: #4b5059;
  --ink-faint: #868b94;
  --blue: #2463eb;
  --accent: var(--blue);
  --wood: linear-gradient(90deg, #3a2414 0%, #6b4426 35%, #7e5230 55%, #4d2f1a 100%);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(20, 22, 28, .05), 0 14px 34px -16px rgba(20, 22, 28, .18);
  --radius: 10px;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

/* the accent as text, darker to read on the light page: worked out on every element, from the --accent it has there
   (a page's, a card's, a section's) */
* { --accent-ink: color-mix(in oklab, var(--accent) 80%, #000); }
.hear, .hear *, .dark, .dark * { --accent-ink: var(--accent); }

/* the dark stage: where the products play, as on the instrument (and a dark band, .dark: KOACH's top) */
.hear, .dark {
  --bg: #0e1013; --bg2: #111418; --panel: #181c22; --panel2: #1e232a; --line: #2a3039; --line2: #39404b;
  --ink: #f1f3f6; --ink-dim: #b4bcc7; --ink-faint: #7b8592;
  color-scheme: dark; background: #0e1013; color: var(--ink); border: 0;
}

.dark .phero::before, .phero.dark::before { background: radial-gradient(55% 60% at 30% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%); }
.phero.dark { padding-bottom: 28px; }
.khero.dark::before { -webkit-mask-image: linear-gradient(#000 50%, transparent 92%); mask-image: linear-gradient(#000 50%, transparent 92%); }  /* (a pack's glow fades before its stats, no edge between them) */
.hero.dark::before { background: radial-gradient(55% 60% at 70% 20%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%); }
.tight.dark { padding-top: 24px; }
.dark + .dark { margin-top: -1px; }  /* (two dark bands meeting at a fraction of a pixel: no seam of the page between) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "cv11", "ss01";
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.022em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
section[id], .buybox[id], .addcart[id] { scroll-margin-top: 76px; }  /* (a section reached by a link, under the sticky header) */

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 245, 242, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
/* the logo: the globe of keys (assets/kurzworld.svg) and the name, KURZ in ink and WORLD in blue */
.word { font-weight: 800; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.word b { font-weight: 800; color: var(--blue); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.brand .emblem { width: 36px; height: 36px; flex: none; }
.brand .txt { display: flex; flex-direction: column; }
.brand .word { font-size: 20px; line-height: 1; }
.brand .sub { margin-top: 5px; font: 600 9px/1.25 var(--sans); letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink-dim); font: 500 15px/1 var(--sans); padding: 10px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: rgba(20, 22, 28, .06); }
.nav .short { display: none; }
/* PayPal's View cart button (PayPal draws it in .cart): the site's pill */
.top .cart { margin-left: -12px; }
.top .cart .viewCartButtonContainer { height: 40px !important; border-radius: 999px !important; padding: 0 16px; font: 600 15px/1 var(--sans) !important; }

/* ---------- buttons, pills, labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: color-mix(in oklab, var(--accent) 86%, #000); color: #fff; box-shadow: 0 8px 20px -10px var(--accent); }
.btn.primary:hover { filter: brightness(1.12); }
.btn.ghost { border-color: var(--line2); color: var(--ink); background: var(--panel); }
.btn.ghost:hover { background: var(--panel2); }
.btn small { font-weight: 500; font-size: 13px; opacity: .78; }  /* (a download's format and size, in its button) */
/* a product's hero: one primary, one secondary, the rest as links */
.phero .row .btn.ghost ~ .btn.ghost { border: 0; background: none; padding: 0 6px; min-height: 0; color: var(--ink-dim);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line2); }
.phero .row .btn.ghost ~ .btn.ghost:hover { color: var(--ink); text-decoration-color: currentColor; }
.btn.paypal { background: #ffc439; color: #111; }
.btn.paypal:hover { filter: brightness(1.05); }
.btn.paypal b { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.btn.paypal b span { color: #0070e0; }
/* PayPal's Add to cart button (PayPal draws its price and button in .addcart): the name is already beside it */
.addcart { margin-top: 16px; position: relative; z-index: 2; }
/* a card that holds the button is not one link: its name's link stretches over the whole card, under the button */
.card, .pack { position: relative; }
.stretch { color: inherit; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.addcart [id$="-wrapper"] { margin: 0 !important; }
.addcart .item-title { display: none !important; }
.addcart .item-header { margin-bottom: 10px !important; }
/* on a detail page: under the hero's text, the price large */
.addcart.hbuy { margin-top: 26px; max-width: 360px; }
.addcart.hbuy .item-header { font-size: 26px; }
.addcart .addToCartButtonContainer { height: 46px !important; border-radius: 999px !important; font: 600 15px/1 var(--sans) !important; }

.kicker { display: inline-block; font: 600 14px/1 var(--sans); letter-spacing: .01em; color: var(--accent-ink); margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; font: 600 12.5px/1 var(--sans);
  border: 1px solid var(--line2); color: var(--ink-dim); background: var(--panel); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); }
.pill.soon::before { background: #f0a33a; box-shadow: 0 0 8px #f0a33a; }
.pill.buy { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.pill.buy::before { background: #3ec98a; box-shadow: 0 0 8px #3ec98a; }

/* the apps' names: first word in ink, second in the product's colour */
.pname { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pname b { color: var(--accent-ink); font-weight: 800; }
.pname.grad { background: linear-gradient(90deg, var(--accent2, var(--accent)), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- framed screenshots: the apps' wooden cheeks ---------- */
.frame { position: relative; padding: 0 12px; border-radius: 12px; background: var(--wood);
  box-shadow: 0 50px 90px -40px rgba(20, 22, 28, .55), 0 18px 36px -18px rgba(20, 22, 28, .35); }
.frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.frame img, .frame video { border-radius: 3px; background: #000; width: 100%; }
.frame button.zoom { all: unset; display: block; cursor: zoom-in; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 750; }
.sec-head p { margin-top: 16px; color: var(--ink-dim); font-size: 19px; }
.alt { background: var(--bg2); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.hero .wrap { position: relative; }
.hlogo { display: flex; align-items: center; gap: 22px; margin-bottom: 44px; }
.hlogo .emblem { width: 112px; height: 112px; flex: none; filter: drop-shadow(0 14px 22px rgba(36, 99, 235, .22)); }
.hlogo .hword, .hlogo .hsub { display: block; }
.hlogo .word { font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.hlogo .hsub { margin-top: 12px; font: 600 13px/1.35 var(--sans); letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; max-width: 15ch; }
.hero .lead { margin-top: 24px; max-width: 760px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-dim); }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .shot { margin-top: 64px; }
/* the free web apps: a section of their own at the top of the home page, a chip on the apps' cards */
.freeweb { padding: 56px 0 64px; background: linear-gradient(#eaf7f0, var(--bg)); }
/* the home page: the logo and its words first, then the free web apps at once */
.hero.home { padding: 56px 0 40px; }
.hero.home .hlogo { margin-bottom: 30px; }
.hero.home + .freeweb { padding-top: 44px; }
.hero.apps { padding: 64px 0 36px; }
.hero.apps + .freeweb { padding-top: 44px; }
/* the Apps/Editors page: its platforms at a glance, under its words */
.platforms { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platforms li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; font: 600 14.5px/1.2 var(--sans);
  color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); }
.platforms li i { width: 8px; height: 8px; border-radius: 50%; background: #5ee6a0; box-shadow: 0 0 8px #5ee6a0; }
.platforms li:nth-child(2) i { background: #1f9d63; box-shadow: 0 0 8px #1f9d63; }
.platforms li:last-child i { background: #f0a33a; box-shadow: 0 0 8px #f0a33a; }
.wcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--panel);
  box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.wcard .wshot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0c0f; }
.wcard .wshot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.wcard:hover .wshot img { transform: scale(1.03); }
.wcard .wfree { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; font: 800 11.5px/1 var(--sans);
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #1f9d63; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.wcard .wbody { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.wcard .pname { font-size: 18px; letter-spacing: .06em; }
.wcard p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.45; }
.wcard .wneeds { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--ink-faint); }
.wcard .wrow { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 76px; margin-top: 6px; }  /* (the buttons in line) */
.wcard .wrow .btn { min-height: 42px; padding: 0 20px; }
.wcard .more { font: 600 14px/1.2 var(--sans); color: var(--accent-ink); text-decoration: none; }
.wchip { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font: 700 12px/1 var(--sans); color: #136b43; background: #dff5ea; }

/* product hero */
.phero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(55% 45% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%); }
.phero .wrap { position: relative; }
.phero .pname { display: block; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; }
.phero .tagline { margin-top: 18px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; max-width: 26ch; line-height: 1.25; letter-spacing: -.02em; }
.phero .lead { margin-top: 16px; max-width: 720px; font-size: 19px; color: var(--ink-dim); }
.phero .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.phero .shot { margin-top: 52px; }
/* a product's one message in large (site.json "callout"), and the packs a bundled product comes with */
.callout { display: flex; flex-direction: column; gap: 6px; max-width: 680px; margin-top: 24px; padding: 18px 22px 18px 20px; border-radius: 14px;
  text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--accent) 9%, var(--panel)); border-left: 5px solid var(--accent);
  box-shadow: var(--shadow); }
.callout b { font-size: clamp(19px, 2.2vw, 23px); font-weight: 780; letter-spacing: -.015em; line-height: 1.25; }
.callout span { color: var(--ink-dim); font-size: 15.5px; line-height: 1.45; }
a.callout:hover { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); }
.phero .bundled { margin: 18px 0 0; color: var(--ink-dim); font-size: 15.5px; }
.phero .bundled a { color: var(--accent-ink); font-weight: 650; }
.bpacks { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; }
.bpacks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bpacks a, .bpacks span:not(.pill) { font-weight: 700; letter-spacing: .04em; color: var(--ink); }

/* ---------- steps strip ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 14px;
  font: 700 13px/1 var(--sans); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 16px; }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { --accent: var(--blue);
  display: flex; flex-direction: column; text-decoration: none; border-radius: 16px; overflow: hidden;
  background: var(--panel); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 22, 28, .05), 0 28px 50px -22px rgba(20, 22, 28, .32); }
.card .img { aspect-ratio: 16 / 9.4; overflow: hidden; background: #000; }
.card .img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.card:hover .img img { transform: scale(1.025); }
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .pname { font-size: 22px; }
.card .kind { font: 600 13px/1 var(--sans); color: var(--ink-faint); }
.card .tag { color: var(--ink-dim); font-size: 16.5px; margin: 0; }
.card .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .more { font: 600 14.5px/1 var(--sans); color: var(--accent-ink); }
.card.wide { grid-column: 1 / -1; flex-direction: row; }
.card.wide .img { flex: 1.35; aspect-ratio: auto; min-height: 340px; }
.card.wide .body { flex: 1; padding: 34px 34px 30px; justify-content: center; }
.card.wide .pname { font-size: 32px; }
.card.wide .tag { font-size: 19px; }

/* ---------- feature panels: the apps' section headers ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); border-top: 3px solid var(--accent); overflow: hidden; }
.feat h3 { padding: 18px 18px 0; color: var(--ink); font: 700 17px/1.25 var(--sans); }
.feat p { padding: 8px 18px 20px; margin: 0; color: var(--ink-dim); font-size: 16px; line-height: 1.5; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; font-size: 19px; color: var(--ink-dim); }
.intro p { margin: 0; }

.highlights { display: grid; gap: 18px; margin-top: 56px; }
.hl { display: grid; grid-template-columns: 8px 1fr auto; gap: 0 22px; align-items: center;
  padding: 26px 28px 26px 0; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow);
  overflow: hidden; }
.hl::before { content: ""; align-self: stretch; margin: -26px 0; background: var(--accent); }
.hl h3 { font-size: 22px; margin-bottom: 8px; }
.hl p { margin: 0; color: var(--ink-dim); }

/* ---------- gallery, video ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.gallery figure { margin: 0; }
.gallery figcaption, .vid figcaption { margin-top: 14px; color: var(--ink-faint); font-size: 15px; }
.vid { margin: 0; }

/* ---------- specs and the buy box ---------- */
.specbuy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 600 14px/1.6 var(--sans); color: var(--ink); }
.specs dd { margin: 0; color: var(--ink-dim); }
.buybox { padding: 30px; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow);
  border-top: 4px solid var(--accent); }
.buybox h3 { font-size: 24px; margin: 14px 0 8px; }
.buybox .price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 18px; }
.buybox .price small { font-size: 15px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; margin-left: 6px; }
.buybox .note { margin: 16px 0 0; font-size: 14px; color: var(--ink-faint); }
.buybox p { color: var(--ink-dim); }


/* ---------- Claude: asks and flow ---------- */
.asks { display: flex; flex-wrap: wrap; gap: 12px; }
.ask { padding: 13px 18px; border-radius: 16px 16px 16px 4px; background: var(--panel); border: 1px solid var(--line);
  font-size: 16.5px; color: var(--ink); }
.ask::before { content: "“"; color: var(--accent-ink); font-weight: 800; margin-right: 2px; }
.ask::after { content: "”"; color: var(--accent-ink); font-weight: 800; margin-left: 2px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; counter-reset: f; }
.flow li { position: relative; padding: 22px 18px 20px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.flow li::before {
  counter-increment: f; content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 50%; background: color-mix(in oklab, var(--accent) 86%, #000); color: #fff; font: 800 14px/1 var(--sans);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; right: -15px; width: 16px; height: 2px; background: var(--line2);
}
.flow h3 { font-size: 18px; margin-bottom: 6px; }
.flow p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); }
.split p.lead { margin-top: 16px; color: var(--ink-dim); font-size: 19px; }
.split .actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- KOACH: the FUN map, animated ---------- */
.koachviz { border-radius: 14px; background: #0a0c0f; padding: 20px; box-shadow: var(--shadow); }
.koachviz svg { width: 100%; height: auto; display: block; }
.koachviz .lbl { font: 700 11px var(--sans); letter-spacing: .01em; fill: var(--ink-faint); }

/* ---------- more products ---------- */
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini a { --accent: var(--blue);
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); border-left: 3px solid var(--accent); text-decoration: none; }
.mini a:hover { background: var(--panel2); }
.mini .pname { font-size: 17px; }
.mini span.t { color: var(--ink-faint); font-size: 14.5px; line-height: 1.4; }

/* ---------- plain pages ---------- */
.prose { max-width: 760px; padding: 72px 0 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 26px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-dim); }
.prose a { color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-foot { background: var(--bg2); padding: 48px 0 56px; color: var(--ink-faint); font-size: 14px; }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot .links a { text-decoration: none; color: var(--ink-dim); }
.site-foot .links a:hover { color: var(--ink); }
.site-foot .tm { max-width: 860px; line-height: 1.55; }

/* ---------- lightbox ---------- */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
dialog.lightbox img { max-width: 96vw; max-height: 94vh; width: auto; border-radius: 6px; }
dialog.lightbox button { position: fixed; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font-size: 22px; cursor: pointer; }

/* ---------- audio demos ---------- */
.demos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px;
  border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.demo.playing { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.demo .play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; }
.demo .play span { display: block; width: 0; height: 0; border-left: 14px solid #0b0d10; border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translateX(2px); }
.demo .play.on span { width: 12px; height: 16px; border: 0; border-left: 4px solid #0b0d10; border-right: 4px solid #0b0d10; transform: none; }
.demo .what b { font-size: 17px; font-weight: 700; }
.demo .slot { font-variant-numeric: tabular-nums; color: var(--accent); margin-right: 4px; }
.demo .cat { margin-left: 10px; font: 600 12px/1 var(--sans); color: var(--ink-faint); white-space: nowrap; }
.demo p { margin: 4px 0 8px; color: var(--ink-dim); font-size: 15px; line-height: 1.45; }
.demo .bar { height: 4px; border-radius: 2px; background: var(--line2); overflow: hidden; }
.demo .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.demo .len { font: 600 13px/1 var(--sans); color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ---------- the Sound Library: a fan of covers, the packs by category ---------- */
.shero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.shero h1 { max-width: 11ch; }
.fan { list-style: none; margin: 0; padding: 0; position: relative; height: 400px; }
.fan li { position: absolute; left: 50%; top: 40px; width: 230px; margin-left: -115px; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  transform-origin: 50% 190%; transform: rotate(calc(var(--i) * var(--step, 9deg)));
  box-shadow: 0 30px 50px -24px rgba(20, 22, 28, .55), 0 6px 14px -6px rgba(20, 22, 28, .3); }
.fan li img { width: 100%; height: 100%; object-fit: cover; }

.sfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.sfilter button { font: 600 14px/1 var(--sans); padding: 11px 15px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--panel); color: var(--ink-dim); cursor: pointer; }
.sfilter button:hover { color: var(--ink); border-color: var(--ink-faint); }
.sfilter button i { font-style: normal; color: var(--ink-faint); margin-left: 4px; font-variant-numeric: tabular-nums; }
.sfilter button.on { background: color-mix(in oklab, var(--accent) 86%, #000); border-color: transparent; color: #fff; }
.sfilter button.on i { color: rgba(255, 255, 255, .75); }

.pcat { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding: 44px 0; }
.pcat + .pcat { border-top: 1px solid var(--line); }
.sfilter + .pcat { padding-top: 0; }
.pcat[hidden] { display: none; }
.pcat-head { position: sticky; top: 96px; align-self: start; }
.pcat-head h2 { font-size: 27px; font-weight: 750; display: flex; align-items: center; gap: 12px; }
.pcat-head h2::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); }
.pcat-head p { margin: 12px 0; color: var(--ink-dim); font-size: 16px; line-height: 1.5; }
.pcat-head .count { font: 600 13px/1 var(--sans); color: var(--accent-ink); }

.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pack { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.pack:hover, .pack:has(.stretch):hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 22, 28, .05), 0 30px 50px -22px rgba(20, 22, 28, .35); }
.pack .cover { aspect-ratio: 1; overflow: hidden; background: #111; }
.pack .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pack:hover .cover img { transform: scale(1.04); }
.pack .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 3px solid var(--accent); }
.pack .kind { font: 600 12.5px/1 var(--sans); color: var(--accent-ink); }
.pack .pname { font-size: 17px; line-height: 1.25; letter-spacing: .06em; }
.pack .pname b { white-space: nowrap; }
.pack .tag { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.45; }
.pack .foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pack .more { font: 600 14px/1 var(--sans); color: var(--accent-ink); }

@media (max-width: 980px) {
  .wcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shero .wrap { grid-template-columns: 1fr; }
  .fan { height: 360px; width: 100%; max-width: 560px; margin: 0 auto; }
  .pcat { grid-template-columns: 1fr; gap: 22px; }
  .pcat-head { position: static; }
}
/* on a phone each category is a row to swipe */
@media (max-width: 760px) {
  .fan { height: 220px; }
  .fan li { width: 150px; margin-left: -75px; top: 24px; border-radius: 10px; --step: 6.5deg; }
  .packs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 20px; scroll-padding: 0 var(--gutter); }
  .pack { scroll-snap-align: start; }
  .pack .pname { font-size: 15px; }
  .pack .tag { font-size: 14px; }
  .pcat { padding: 32px 0; }
}
@media (max-width: 480px) { .packs { grid-auto-columns: 76%; } }

/* ---------- a sound pack's page: cover, numbers, contents, the K2700's panel, the app that comes with it ---------- */
.kgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.khero .crumb { display: block; width: fit-content; text-decoration: none; margin-bottom: 24px; }
.khero .crumb:hover { text-decoration: underline; text-underline-offset: 4px; }
.khero .kind { display: block; font: 600 14px/1.3 var(--sans); color: var(--ink-faint); margin-bottom: 14px; }
.khero .pname { display: block; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; }
.kcover { position: relative; }
.kcover::before { content: ""; position: absolute; inset: 6% 6% -6%; border-radius: 50%; filter: blur(40px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 60%, transparent), transparent); }
.kcover img { position: relative; width: 100%; border-radius: 18px; transform: rotate(2deg);
  box-shadow: 0 50px 90px -40px rgba(20, 22, 28, .6), 0 18px 36px -18px rgba(20, 22, 28, .35); }
.gift { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px;
  text-decoration: none; font: 600 14.5px/1.3 var(--sans); color: var(--ink); background: var(--panel); box-shadow: var(--shadow); }
.gift b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 17px;
  background: linear-gradient(135deg, var(--g1), var(--g2)); }
.gift:hover { box-shadow: 0 2px 4px rgba(20, 22, 28, .05), 0 18px 34px -16px rgba(20, 22, 28, .3); }

.kstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kstats div { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.kstats b { display: block; font: 800 42px/1 var(--sans); letter-spacing: -.03em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.kstats span { display: block; margin-top: 10px; color: var(--ink-dim); font-size: 15px; line-height: 1.35; }
.kquote { margin: 72px 0 36px; max-width: 24ch; font: 750 clamp(28px, 3.6vw, 44px)/1.15 var(--sans); letter-spacing: -.025em; }
.kquote::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; margin-bottom: 22px;
  background: linear-gradient(90deg, var(--accent), #35c6d0); }
.kintro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; color: var(--ink-dim); font-size: 17px; }
.kintro p { margin: 0; }

.ktiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ktiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }  /* (six tiles: two rows of three) */
.ktile { padding: 22px 20px; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.ktile h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; letter-spacing: .05em; color: var(--accent-ink); }
.ktile h3 i { font: 600 13px/1 var(--sans); font-style: normal; letter-spacing: 0; color: var(--ink-faint); }
.ktile p { margin: 10px 0 14px; color: var(--ink-dim); font-size: 15px; line-height: 1.45; }
.ktile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ktile li { padding: 6px 8px; border-radius: 6px; font: 500 12.5px/1 var(--sans); color: var(--ink-dim); background: var(--panel2); }
/* on the dark stage: each tile lit by its category's colour, its names in that colour too */
.dark .ktile { background: linear-gradient(color-mix(in srgb, var(--accent) 13%, var(--panel)), var(--panel) 70%); border-top-color: var(--accent);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.dark .ktile h3 { color: color-mix(in oklab, var(--accent) 70%, #fff); }
.dark .ktile li { color: var(--ink); background: color-mix(in srgb, var(--accent) 22%, var(--panel2)); }

/* ---------- a pack's control plan, drawn as the K2700's CONTROL section: knobs over sliders over buttons ---------- */
.kscroll { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
.kpanel { --lit: #c3ccff; --glow: rgba(150, 168, 255, .55); min-width: 720px; padding: 14px 24px 24px; border-radius: 14px; color: #eef1f5;
  background: linear-gradient(#26282d, #16171a); box-shadow: 0 30px 60px -30px rgba(20, 22, 28, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.k27bar { margin-bottom: 26px; padding: 6px 0 5px; border-radius: 3px; text-align: center; font: 700 11px/1 var(--sans); letter-spacing: .16em;
  color: #fff; background: linear-gradient(#3f8bff, #1d5fd9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px #0c0d0f; }
.k27row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0 8px; }
.k27row li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }  /* (relative: its .sr text stays inside the scroller) */
.k27row .lbl { min-height: 2.5em; font: 600 10.5px/1.25 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #eef1f5; }
.k27row li.off .lbl { color: #555b65; }
.k27row li.via .lbl { color: #f5c27a; }
.faders27 { margin-top: 16px; }
.buttons27 { margin-top: 12px; }
/* knobs: black and knurled, a white line, the ring of lights around them */
.knob27 { position: relative; width: 62px; height: 62px; }
.knob27 svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #3a3e45; }
.knob27 svg .on { fill: #f4f6f9; filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .8)); }
li.via .knob27 svg .on { fill: #f5b860; filter: drop-shadow(0 0 1.5px rgba(245, 184, 96, .8)); }
li.off .knob27 svg .on { fill: #3a3e45; filter: none; }
.knob27 i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  transform: rotate(calc(var(--v) * 270deg - 135deg));
  background: radial-gradient(circle, #2b2e33 0 58%, transparent 60%), repeating-conic-gradient(#383b41 0 7.5deg, #0e0f11 7.5deg 15deg);
  box-shadow: 0 4px 9px rgba(0, 0, 0, .65), 0 0 0 1px #070708; }
.knob27 i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 11px; margin-left: -1px; border-radius: 1px; background: #f4f6f9; }
li.off .knob27 i::after { background: #5a606a; }
/* sliders: a long slot, its scale on the right, a black cap */
.fader27 { position: relative; width: 46px; height: 132px; }
.fader27::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 6px; margin-left: -3px; border-radius: 3px;
  background: #050506; box-shadow: inset 0 0 0 1px #2d3036; }
.fader27::after { content: ""; position: absolute; right: -2px; top: 7px; width: 8px; height: 118px;
  background: repeating-linear-gradient(to bottom, #7d838c 0 1.5px, transparent 1.5px 14.5px); }
.fader27 i { position: absolute; left: 50%; top: calc((1 - var(--v)) * 106px); width: 28px; height: 26px; margin-left: -14px; border-radius: 3px;
  background: linear-gradient(#45484e, #1d1e21 44%, #070708 50%, #2a2c30 56%, #111214);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px #050506; }
li.off .fader27 i { opacity: .5; }
/* buttons: the number inside, the edge lit when the programs use it */
.btn27 { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 7px; font: 700 12px/1 var(--sans); color: #fff;
  background: #101114; border: 2px solid var(--lit); box-shadow: 0 0 10px var(--glow), inset 0 0 6px var(--glow); }
li.off .btn27 { color: #6b717b; border-color: #3a3e45; box-shadow: none; }
li.via .btn27 { border-color: #f0a33a; box-shadow: 0 0 10px rgba(240, 163, 58, .5), inset 0 0 6px rgba(240, 163, 58, .4); }
.klegend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #2a2f38; font: 600 13px/1.3 var(--sans); color: #b9c0ca; }
.klegend span { display: inline-flex; align-items: center; gap: 8px; }
.klegend i { width: 10px; height: 10px; border-radius: 50%; background: var(--lit); box-shadow: 0 0 6px var(--glow); }
.klegend .via i { background: #f0a33a; box-shadow: 0 0 6px rgba(240, 163, 58, .6); }
.knote { margin: 18px 0 0; color: var(--ink-dim); font-size: 15.5px; }

.kspecs { margin-top: 64px; }

.koffer .offer { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px;
  align-items: center; padding: 48px; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.koffer .offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.koffer .offer::after { content: ""; position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent2) 16%, transparent), transparent); }
.koffer .offer-shot { align-self: start; margin-top: 60px; }
.koffer .badge { display: inline-block; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; font: 700 12.5px/1 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 86%, #000), color-mix(in oklab, var(--accent2) 72%, #000)); }
.koffer .pname { display: block; font-size: 22px; margin-bottom: 10px; }
.koffer h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 750; }
.koffer .lead { margin: 14px 0 0; color: var(--ink-dim); font-size: 17.5px; }
.opoints { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.opoints li { position: relative; padding-left: 34px; }
.opoints li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 700 12px/1 var(--sans); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 14%, #fff); }
.opoints b { display: block; color: var(--ink); }
.opoints span { color: var(--ink-dim); font-size: 15.5px; }
.koffer .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.koffer .note { margin: 14px 0 0; font-size: 14px; color: var(--ink-faint); }
.koffer .ocall { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 750; color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border-left: 4px solid var(--accent); }
/* the offered app's screenshots, under its offer */
.oshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; margin-top: 26px; }
.oshots .frame { padding: 0 6px; border-radius: 8px; }
.oshots figure { margin: 0; }
.oshots figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-dim); line-height: 1.4; }

@media (max-width: 980px) {
  .kgrid { grid-template-columns: 1fr; gap: 44px; }
  .kcover { max-width: 460px; }
  .kstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kintro { grid-template-columns: 1fr; }
  .ktiles, .ktiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .koffer .offer { grid-template-columns: 1fr; padding: 36px; }
  .koffer .offer-shot { margin-top: 0; }
}
@media (max-width: 760px) {
  .kstats b { font-size: 34px; }
  .kquote { margin-top: 52px; }
  .ktiles, .ktiles.three { grid-template-columns: 1fr; }
  .koffer .offer { padding: 26px 20px; gap: 28px; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .mini { grid-template-columns: 1fr 1fr; }
  .card.wide { flex-direction: column; }
  .card.wide .img { flex: none; min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 3px solid var(--accent); }
  .card.wide .body { flex: none; padding: 22px 24px 24px; }
  .card.wide .pname { font-size: 24px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .top .wrap { min-height: 56px; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; width: 100%; justify-content: space-between; gap: 2px; order: 3; }
  .nav a { padding: 9px 8px; font-size: 14px; }
  .top .cart { margin-left: auto; }
  .brand { gap: 9px; }
  .brand .emblem { width: 32px; height: 32px; }
  .brand .word { font-size: 18px; }
  .brand .sub { max-width: 156px; font-size: 8.5px; }
  .hero { padding: 56px 0 48px; }
  .hlogo { gap: 16px; margin-bottom: 36px; }
  .hlogo .emblem { width: 76px; height: 76px; }
  .hlogo .word { font-size: clamp(28px, 10vw, 40px); }
  .hlogo .hsub { margin-top: 9px; font-size: 11px; }
  .hero .shot, .phero .shot { margin-top: 40px; }
  .frame { padding: 0 6px; border-radius: 8px; }
  .steps, .cards, .features, .gallery, .intro, .split, .specbuy, .mini, .flow { grid-template-columns: 1fr; }
  .wcards { grid-template-columns: 1fr; }
  .freeweb { padding: 40px 0 48px; }
  .hero.home, .hero.apps { padding: 40px 0 28px; }
  .intro, .sec-head p, .split p.lead, .phero .lead { font-size: 17px; }
  .split { gap: 32px; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .hl { grid-template-columns: 6px 1fr; padding-right: 20px; }
  .hl .btn { grid-column: 2; justify-self: start; margin-top: 16px; }
  .demo { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
  .demo .len { display: none; }
  .demo .cat { display: block; margin: 6px 0 0; }
  .buybox { padding: 24px 20px; }
}

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


/* ---------- a user manual: the sections and their index ---------- */
.mhero { padding-bottom: 24px; }
.mhero .kicker { text-decoration: none; }
.mhero .lead { margin-top: 14px; color: var(--ink-dim); font-size: 19px; max-width: 60ch; }
.manual { padding: 24px 0 96px; }
.mgrid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.mtoc { position: sticky; top: 84px; padding: 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.mtoc b { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink-faint); margin-bottom: 10px; }
.mtoc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.mtoc a { color: var(--ink-dim); text-decoration: none; }
.mtoc a:hover { color: var(--accent-ink); }
.mtext { max-width: 820px; min-width: 0; }
.mtext section { scroll-margin-top: 84px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.mtext section:last-child { border-bottom: 0; }
.mtext h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 750; margin-bottom: 16px; }
.mtext h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.mtext p, .mtext li { color: var(--ink-dim); font-size: 17px; line-height: 1.6; }
.mtext p + p { margin-top: 12px; }
.mtext ul, .mtext ol { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.mtext b { color: var(--ink); }
.mtext a { color: var(--accent-ink); }
.mtext img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); margin: 8px 0 18px; }
.mtext code, .mtext kbd { font-family: var(--mono); font-size: 14px; padding: 1px 6px; border-radius: 5px; background: var(--panel2); border: 1px solid var(--line); color: var(--ink); }
.mtext table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; display: block; overflow-x: auto; }
.mtext th { text-align: left; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-faint); padding: 8px 12px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.mtext td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink-dim); vertical-align: top; line-height: 1.5; }
.mtext td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.mtext table.prose td:first-child { white-space: normal; width: 34%; }   /* (a first column of sentences: symptoms) */
@media (max-width: 900px) {
  .mgrid { grid-template-columns: 1fr; gap: 24px; }
  .mtoc { position: static; }
  .mtoc ol { grid-template-columns: 1fr 1fr; }
  .mtext td:first-child { white-space: normal; }
}


/* many demos: compact cards in columns, filtered by category */
.dfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 22px; }
.dfilter button { font: 600 13px/1 var(--sans); padding: 9px 12px; border-radius: 999px;
  border: 1px solid var(--line2); background: transparent; color: var(--ink-dim); cursor: pointer; }
.dfilter button i { font-style: normal; color: var(--ink-faint); margin-left: 4px; }
.dfilter button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.dfilter button.on i { color: #fff; }
.demos.cols { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 10px; }
.demos.cols .demo { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 11px 14px; align-items: start; }
.demos.cols .demo .play { width: 38px; height: 38px; }
.demos.cols .demo .what b { font-size: 15px; }
.demos.cols .demo .cat { display: block; margin: 4px 0 0; }
.demos.cols .demo p { font-size: 13.5px; margin: 4px 0 6px; }
.demos.cols .demo .len { display: block; padding-top: 3px; }
.demo[hidden] { display: none !important; }
@media (max-width: 420px) { .nav .long { display: none; } .nav .short { display: inline; } }
@media (max-width: 360px) { .top .wrap { column-gap: 8px; } .top .cart .viewCartButtonContainer { padding: 0 12px; } }

/* ---------- a product in detail: its numbers, a tour of the app, tables (the editors' pages) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 52px; }
.facts div { padding: 18px 16px 16px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.facts b { display: block; font: 800 clamp(26px, 3vw, 34px)/1.05 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--ink-dim); }
.tour { display: grid; gap: 96px; }
.trow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 52px; align-items: center; scroll-margin-top: 84px; }
.trow.flip .tshot { order: 2; }
.tshot { margin: 0; }
/* what sets a part of the app apart (a tour row's "versus"): the usual way, dimmed, beside ours, lit */
.tvs { scroll-margin-top: 84px; padding: clamp(26px, 4vw, 48px); border-radius: 22px; color: #f1f3f6;
       background: radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), #0e1013;
       box-shadow: 0 0 0 1px #262b33, 0 30px 60px -34px color-mix(in srgb, var(--accent) 60%, rgba(10, 12, 16, .7)); }
.tvs .vhead { max-width: 820px; }
.tvs .kicker { color: var(--accent); margin-bottom: 12px; }
.tvs h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; color: #fff; }
.tvs .vhead p { color: #b4bcc7; font-size: 17.5px; margin: 0; }
.tvs .vgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; margin-top: 30px; }
.vside { border-radius: 16px; padding: 22px 24px; }
.vside h4 { margin: 0 0 4px; font: 750 17px/1.3 var(--sans); }
.vside .vlead { margin: 0 0 14px; font-size: 15px; }
.vside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.vside li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.vside li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.vside .vfoot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid; font-weight: 700; font-size: 15.5px; }
.vside.them { background: #15181d; box-shadow: inset 0 0 0 1px #262b33; color: #8a93a0; }
.vside.them h4 { color: #b4bcc7; }
.vside.them li::before { content: "✕"; color: #6d7480; }
.vside.them .vfoot { border-color: #2a3039; color: #c98a8a; }
.vside.us { background: linear-gradient(color-mix(in srgb, var(--accent) 20%, #181c22), #14171c 85%);
            box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, #262b33); color: #dfe4ea; }
.vside.us h4 { color: #fff; }
.vside.us .vlead { color: var(--accent); font-weight: 650; }
.vside.us li::before { content: "✓"; color: var(--accent); }
.vside.us .vfoot { border-color: color-mix(in srgb, var(--accent) 40%, #2a3039); color: #fff; }
.tshot figcaption { margin-top: 14px; color: var(--ink-faint); font-size: 14.5px; }
.ttext .kicker { margin-bottom: 12px; }
.ttext h3 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 750; margin-bottom: 14px; }
.ttext p { color: var(--ink-dim); }
.ttext p b, .ttext li b { color: var(--ink); font-weight: 650; }
.ttext ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ttext li { position: relative; padding-left: 20px; color: var(--ink-dim); font-size: 16px; line-height: 1.5; }
.ttext li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.tmore { display: inline-block; margin-top: 20px; font: 600 15px/1.3 var(--sans); color: var(--accent-ink); text-decoration: none; }
.tmore::after { content: " →"; }
.tmore:hover { text-decoration: underline; text-underline-offset: 4px; }
.tscroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.dtable { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--panel); font-size: 15.5px; }
.dtable th { text-align: left; font: 600 13px/1.3 var(--sans); color: var(--ink-faint); padding: 13px 16px; border-bottom: 1px solid var(--line2); background: var(--panel2); white-space: nowrap; }
.dtable td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-dim); vertical-align: top; line-height: 1.45; }
.dtable td:first-child { color: var(--ink); font-weight: 650; white-space: nowrap; }
.dtable td b { color: var(--ink); font-weight: 650; }
.dtable tr:last-child td { border-bottom: 0; }
.tnote { margin: 16px 0 0; color: var(--ink-faint); font-size: 15px; max-width: 900px; }
.mtext figure { margin: 8px 0 22px; }
.mtext figure img { margin: 0; }
.mtext figcaption { margin-top: 8px; color: var(--ink-faint); font-size: 14.5px; line-height: 1.45; }
.mtext button.zoom { all: unset; display: block; cursor: zoom-in; }
.mtext .tip { padding: 14px 18px; border-radius: var(--radius); background: var(--panel); border-left: 4px solid var(--accent); box-shadow: var(--shadow); margin: 16px 0; }
.mtext .tip p { margin: 0; }
.mtext pre { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; padding: 14px 16px; border-radius: var(--radius); background: #12151a; color: #e6e9ee; overflow-x: auto; }
@media (max-width: 980px) {
  .trow { grid-template-columns: 1fr; gap: 26px; }
  .tvs .vgrid { grid-template-columns: 1fr; }
  .vside { padding: 18px 18px; }
  .trow.flip .tshot { order: 0; }
  .tour { gap: 72px; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
  .facts div { padding: 14px 12px; }
  .flow { grid-template-columns: 1fr; }
}

/* ---------- AI Sound Design: how it connects, a conversation, the skills, REPLICATE, the connector's tools ---------- */
.aiflow { margin: 8px 0 0; padding: clamp(14px, 2.4vw, 30px); border-radius: 22px; background: #0b0d10; box-shadow: 0 0 0 1px #232831; }
.aiflow svg { display: block; width: 100%; height: auto; }
.aiflow .v { display: none; max-width: 440px; margin: 0 auto; }
.aiflow text { font-family: var(--sans); text-anchor: middle; }
.aiflow .fk { font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.aiflow .fl { font-size: 13.5px; fill: #c9d0d9; }
.aiflow .fp { font-size: 12.5px; font-weight: 750; letter-spacing: .06em; fill: #f1f3f6; text-anchor: start; }
.aiflow .fs { font-size: 12px; fill: #98a1ad; text-anchor: start; }
.aiflow .fa { font-size: 13px; fill: #b4bcc7; }
.aiflow text[text-anchor="end"] { text-anchor: end; }
.aiflow text[text-anchor="start"] { text-anchor: start; }
.aiflow .v .fa, .aiflow .v .fl { font-size: 14px; }
.aiflow .v .fs { font-size: 12.5px; }
.ainotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.ainotes div { padding: 20px 20px 18px; border-radius: 14px; background: linear-gradient(color-mix(in srgb, var(--accent) 12%, #181c22), #14171c 80%);
                box-shadow: inset 0 0 0 1px #262b33; border-top: 3px solid var(--accent); }
.ainotes h3 { margin: 0 0 6px; font: 700 17px/1.3 var(--sans); color: #f6f8fb; }
.ainotes p { margin: 0; color: #b4bcc7; font-size: 15.5px; line-height: 1.5; }

.chatgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.chat { list-style: none; margin: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 14px; border-radius: 22px;
        background: #0e1013; box-shadow: 0 0 0 1px #232831, 0 30px 60px -36px rgba(10, 12, 16, .6); }
.msg { max-width: 92%; padding: 13px 16px 14px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; }
.msg p { margin: 0; }
.msg .who { display: block; margin-bottom: 6px; font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.msg.you { justify-self: end; background: #2a303a; color: #f1f3f6; border-bottom-right-radius: 4px; }
.msg.you .who { color: #b4bcc7; }
.msg.claude { justify-self: start; background: linear-gradient(color-mix(in srgb, var(--accent) 14%, #181c22), #15181d 85%); color: #dfe4ea;
              box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, #262b33); border-bottom-left-radius: 4px; }
.msg.claude .who { color: var(--accent); }
.ctools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 9px; }
.ctools code, .cfile { font: 500 12px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: #0e1013; color: #98a1ad; box-shadow: inset 0 0 0 1px #2a3039; }
.ctools code::before { content: "⚙ "; color: #6d7480; }
.cfile { display: inline-block; margin: 0 0 9px; color: #f1f3f6; }
.cfile::before { content: "♪ "; color: var(--accent); }
.chatshots { display: grid; gap: 22px; }
.chatshots figure { margin: 0; }
.chatshots figcaption { margin-top: 10px; color: var(--ink-faint); font-size: 14.5px; }

.sgroup { margin: 8px 0 16px; font: 700 15px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sgroup i { font-style: normal; color: #7b8592; margin-left: 6px; }
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 40px; }
.skills:last-child { margin-bottom: 0; }
.skill { padding: 18px 18px 18px; border-radius: 14px; background: linear-gradient(color-mix(in srgb, var(--accent) 10%, #181c22), #14171c 80%);
         box-shadow: 0 0 0 1px #262b33; border-top: 3px solid var(--accent); }
.skill code { font: 500 12px/1 var(--mono); color: color-mix(in oklab, var(--accent) 75%, #fff); }
.skill h3 { margin: 10px 0 6px; font: 700 17px/1.25 var(--sans); color: #f6f8fb; }
.skill p { margin: 0; color: #b4bcc7; font-size: 15px; line-height: 1.5; }

.rsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: r; }
.rsteps li { position: relative; padding: 52px 20px 20px; border-radius: var(--radius); counter-increment: r; }
.rsteps li::before { content: counter(r); position: absolute; left: 20px; top: 18px; width: 26px; height: 26px; border-radius: 50%;
                     display: grid; place-items: center; font: 800 13px/1 var(--sans); color: #0e1013; background: var(--accent); }
.rsteps h3 { font-size: 18px; margin-bottom: 6px; }
.rsteps p { margin: 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.5; }

.tgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.tgroup { padding: 20px 20px 18px; border-radius: 14px; background: linear-gradient(color-mix(in srgb, var(--accent) 12%, #181c22), #14171c 80%);
          box-shadow: inset 0 0 0 1px #262b33; border-top: 3px solid var(--accent); }
.tgroup h3 { margin: 0 0 4px; font: 700 17px/1.3 var(--sans); color: #f6f8fb; }
.tgroup h3 i { font-style: normal; color: var(--accent); margin-left: 6px; }
.tgroup p { margin: 0 0 12px; color: #98a1ad; font-size: 14.5px; }
.tnames { display: flex; flex-wrap: wrap; gap: 6px; }
.tnames code { font: 500 12.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: #0e1013; color: #dfe4ea; box-shadow: inset 0 0 0 1px #2a3039; }

@media (max-width: 980px) {
  .chatgrid { grid-template-columns: 1fr; }
  .ainotes { grid-template-columns: 1fr; }
  .rsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .aiflow .h { display: none; }
  .aiflow .v { display: block; }
  .rsteps { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .tgroups { grid-template-columns: 1fr; }
}

/* ---------- text cards are dark panels everywhere: white cards on the light page read as a kanban board ----------
   (the steps, the apps' features, numbers and highlights, the family, the AI page's asks and flow, the packs' stats;
   each lit by its own colour; the cards with a picture keep the light page) */
.step, .feat, .flow li, .facts div, .kstats div, .hl, .mini a, .ask, .rsteps li, .buybox {
  --ink: #f1f3f6; --ink-dim: #b4bcc7; --ink-faint: #8a93a0; --panel2: #232831; --line: #2a3039; --line2: #39404b;
  color: var(--ink); background: linear-gradient(color-mix(in srgb, var(--accent) 12%, #181c22), #14171c 78%);
  box-shadow: 0 0 0 1px #262b33, 0 18px 36px -22px color-mix(in srgb, var(--accent) 45%, rgba(10, 12, 16, .6));
}
.step, .feat, .flow li, .facts div, .kstats div, .hl, .mini a, .ask, .rsteps li, .buybox,
.buybox *, .rsteps li *, .step *, .feat *, .flow li *, .facts div *, .kstats div *, .hl *, .mini a *, .ask * { --accent-ink: color-mix(in oklab, var(--accent) 68%, #fff); }
.step h3, .feat h3, .flow h3, .hl h3, .rsteps h3, .buybox h3, .facts b { color: #f6f8fb; }
.buybox { --panel: #1e232a; }  /* (its pills and lists on the dark card) */
.mini a:hover { background: linear-gradient(color-mix(in srgb, var(--accent) 20%, #1c2027), #171a20 78%); }
.flow li:not(:last-child)::after { background: color-mix(in srgb, var(--accent) 40%, #39404b); }

/* the dark cards of a grid lit one hue each, in turn, as the packs' Inside tiles first were (KPAL in build.py);
   a card with a colour of its own (the family's, a pack's tiles) keeps it */
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+1) { --accent: #e0409a; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+2) { --accent: #b5179e; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+3) { --accent: #f72585; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+4) { --accent: #7b2ff7; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+5) { --accent: #4361ee; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+6) { --accent: #3a86ff; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+7) { --accent: #35c6d0; }
:is(.features, .facts, .highlights, .steps, .flow, .kstats, .rsteps, .ainotes, .skills, .tgroups) > :nth-child(8n+8) { --accent: #06c39a; }
