:root {
  --bg: #070708;
  --bg2: #0c0c0e;
  --card: #111114;
  --line: #ffffff14;
  --line2: #ffffff24;
  --text: #ededee;
  --dim: #a3a3aa;
  --label: #76767e;
  --accent: #86b7ff;
  --accent2: #c9a8ff;
  --warn: #ffb4a8;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; }
kbd { font: 500 .85em var(--mono); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line2); background: #ffffff08; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(38px, 6vw, 72px)/1.02 var(--serif); letter-spacing: -.02em; }
h2 em, h1 em { color: var(--accent); }
h3 { font: 600 18px/1.3 var(--sans); letter-spacing: -.01em; }
.eyebrow { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--label); margin: 0 0 18px; }

/* film grain for depth */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-3%, 2%); } 60% { transform: translate(2%, -3%); } 90% { transform: translate(-1%, 3%); } }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  width: min(1120px, calc(100% - 2 * var(--pad)));
  display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 18px;
  border-radius: 999px; background: #0d0d10cc; border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.mark { color: var(--text); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--dim); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.nav-account { color: var(--dim); text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-account:hover { color: var(--text); }
.nav-account .avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--accent); color: #0b0b0c; font: 650 12px var(--sans); }
.nav-account .avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-cta { text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: var(--text); color: #0b0b0c; }
.nav-cta:hover { background: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--text); color: #0b0b0c; box-shadow: 0 10px 40px -10px #86b7ff88; }
.btn.primary:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line2); color: var(--text); }
.btn.ghost:hover { border-color: #ffffff4a; background: #ffffff06; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; text-align: center;
  padding: clamp(140px, 18vh, 190px) var(--pad) 40px;
  background: radial-gradient(900px 520px at 50% 18%, #1a2233 0%, transparent 70%);
  overflow-x: clip; /* the orbit is wider than a phone screen */
}
.orbit {
  position: absolute; left: 50%; top: 40px; width: min(980px, 130vw); transform: translateX(-50%);
  pointer-events: none; opacity: .75;
}
.orbit svg { width: 100%; height: auto; overflow: visible; }
.orbit-dot { filter: drop-shadow(0 0 18px #86b7ff) drop-shadow(0 0 40px #86b7ff88); animation: pulse 3.2s ease-in-out infinite; transform-origin: 449px 157px; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .85; } }
.hero h1 {
  position: relative; font: 400 clamp(52px, 10vw, 132px)/.95 var(--serif); letter-spacing: -.035em;
  max-width: 12ch; margin: 0 auto 26px;
}
.hero h1 em { color: var(--text); font-style: italic; background: linear-gradient(95deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.lede { position: relative; max-width: 590px; margin: 0 auto 34px; color: var(--dim); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--label); font-size: 13.5px; margin: 18px 0 0; }

/* app window frame */
.window {
  position: relative; margin: 0; border-radius: 14px; background: #0b0b0c; overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: 0 40px 120px -30px #000, 0 0 0 1px #00000080;
}
.hero-shot { width: min(1180px, 100%); margin: clamp(56px, 9vh, 90px) auto 0; overflow: visible; }
.hero-shot .glow {
  position: absolute; inset: -2px; z-index: -1; border-radius: 16px;
  background: conic-gradient(from var(--a, 0deg), #86b7ff, #c9a8ff, #86b7ff00 40%, #86b7ff00 60%, #86b7ff);
  filter: blur(22px); opacity: .55; animation: spin 7s linear infinite;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }

/* ---------------------------------------------------------------- marquee */
.asks { overflow: hidden; padding: 70px 0 30px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.track span { white-space: nowrap; font: italic 400 26px var(--serif); color: var(--dim); padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; }
.asks:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.section-head { width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto 56px; }
.section-head.narrow { text-align: center; }
.section-head .sub { color: var(--dim); margin: 14px 0 0; }

/* a small label (account.html's plan status) */
.pill { display: inline-block; font: 600 12.5px var(--sans); padding: 5px 12px; border-radius: 999px; background: #86b7ff1f; color: var(--accent); margin-bottom: 22px; }
.pill.warn { background: #ff7a7a1f; color: var(--warn); }

/* pricing */
.power { padding: 110px 0; }
.card { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.card p { color: var(--dim); margin: 8px 0 0; }
.card a { color: var(--accent); text-decoration: none; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px var(--sans); color: var(--label); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details ol { margin: 0 0 22px; padding-left: 22px; color: var(--dim); }
details ol li { padding: 4px 0; }
details b { color: var(--text); }
details p { color: var(--dim); margin: 0 0 22px; }

/* faq */
.faq { padding: 40px 0 120px; }
.faq-list { width: min(760px, calc(100% - 2 * var(--pad))); margin: 0 auto; }

/* footer */
.footer { width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; padding: 30px 0 50px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--label); }
.footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer a { color: var(--label); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--text); }

/* reveal on load / scroll */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.hero .reveal:nth-child(2) { animation-delay: .05s; }
.hero .reveal:nth-child(3) { animation-delay: .15s; }
.hero .reveal:nth-child(4) { animation-delay: .28s; }
.hero .reveal:nth-child(5) { animation-delay: .4s; }
.hero .reveal:nth-child(6) { animation-delay: .5s; }
.hero .reveal:nth-child(7) { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.fade { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .footer nav { margin-left: 0; }
}
@media (max-width: 520px) {
  .btn { width: 100%; justify-content: center; }
  .track span { font-size: 21px; }
}

/* Pricing */
.section-lede { color: var(--dim); max-width: 560px; margin: 18px auto 0; font-size: 17px; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(1180px, calc(100% - 2 * var(--pad))); margin: 48px auto 0; }
.price { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.price.featured { border-color: #86b7ff66; background: radial-gradient(320px 180px at 50% 0%, #86b7ff1a, transparent 70%), var(--card); }
.price .amount { font: 400 44px/1 var(--serif); margin: 6px 0 0; }
.price .amount small { font: 400 14px var(--sans); color: var(--label); }
/* What the plan includes: a short list with checks (the account page's cards too, app.css .p-feats). */
.price .what { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.price .what li { position: relative; padding-left: 20px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.price .what li::before { content: ''; position: absolute; left: 1px; top: 6px; width: 9px; height: 5px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.price .btn { justify-content: center; margin-top: 8px; }
/* A line of its own above the button: Work in Chrome, on Pro and Max. */
.price .perk { position: relative; margin: 0; padding-left: 20px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.price .perk::before { content: ''; position: absolute; left: 2.5px; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.price .perk b { color: var(--text); font-weight: 600; }
.price-fine { width: min(760px, calc(100% - 2 * var(--pad))); margin: 22px auto 0; text-align: center; color: var(--label); font-size: 13px; }
.price-fine + .price-fine { margin-top: 8px; }
/* Max in two sizes, 6× and 11× Pro's use (the plans pro and max), here and on the account page: a switch in
   the card's head (like ChatGPT's tiers) that's two radios, so keys and taps work without a script, and the
   card shows the picked size's price, list and button. */
.sized:has(.size-pick input[value="max"]:checked) [data-size="pro"],
.sized:has(.size-pick input[value="pro"]:checked) [data-size="max"] { display: none; }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-head > * { margin: 0; }
.size-pick { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: -7px -6px -7px 0; padding: 3px; border-radius: 999px; background: #ffffff14; }
.size-pick::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #09090b; box-shadow: inset 0 0 0 1px #ffffff1a, 0 1px 6px #0008; transition: transform .3s var(--ease); }
.size-pick:has(input[value="max"]:checked)::before { transform: translateX(100%); }
.size-pick:has(input:focus-visible)::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-pick input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.size-pick label { position: relative; padding: 6px 13px; color: var(--label); font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: color .2s; font-variant-numeric: tabular-nums; }
.size-pick label:hover, .size-pick input:checked + label { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Lumio AI (Chat and Create) */
/* The pictures the mock-ups use (<symbol>s): out of sight, but rendered, so their gradients work. */
.art-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero h1.wide { max-width: none; }
.footer-co { color: var(--label); font-size: 13.5px; }

/* Mock-ups of Lumio AI's pages, drawn with the design system's dark tokens
   (docs/design-system.md §3, §5.2, §6.3). Decorative: each figure has a role="img" label. */
.mk {
  --mk-sidebar: #0a0a0b; --mk-panel: #0c0c0e; --mk-card: #111114; --mk-card2: #0e0e11;
  --mk-box: #18181b; --mk-box-line: #36363b; --mk-bubble: #202024; --mk-overlay: #ffffff10; --mk-label: #7c7c84;
  position: relative; text-align: left; border-radius: 14px; overflow: hidden; background: var(--bg);
  color: var(--text); font: 400 13px/1.45 var(--sans); letter-spacing: 0;
}
.mk svg { display: block; flex: none; }
.mk-bar { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--mk-panel); border-bottom: 1px solid var(--line); }
.mk-dots { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 7px; }
.mk-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mk-dots i:nth-child(2) { background: #febc2e; }
.mk-dots i:nth-child(3) { background: #28c840; }
.mk-url { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 14px; border-radius: 8px; background: #ffffff0a; color: var(--mk-label); font-size: 12px; }
.mk-app { display: grid; grid-template-columns: 244px minmax(0, 1fr); height: clamp(460px, 50vw, 620px); }

/* sidebar: brand, the Chat | Create switch, New creation, Recent, the account row */
.mk-side { min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding: 0 8px 8px; background: var(--mk-sidebar); border-right: 1px solid var(--line); }
.mk-brand { height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 8px; font-weight: 600; font-size: 14px; }
.mk-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; margin-bottom: 8px; border-radius: 10px; background: var(--mk-overlay); }
.mk-switch span { height: 28px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; color: var(--dim); font: 500 12.5px var(--sans); }
.mk-switch .on { background: var(--mk-card); color: var(--text); box-shadow: 0 2px 10px #000a; }
.mk-nav { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; color: var(--dim); font-size: 13.5px; }
.mk-nav svg { color: var(--mk-label); }
.mk-label { padding: 12px 10px 4px; color: var(--mk-label); font: 500 12px var(--sans); }
.mk-row { min-height: 32px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; color: var(--dim); font-size: 13px; }
.mk-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row small { flex: none; color: var(--mk-label); font-size: 11.5px; }
.mk-thumb { width: 20px; height: 20px; clip-path: inset(0 round 6px); }
.mk-dot { flex: none; width: 7px; height: 7px; margin: 0 6.5px; border-radius: 50%; background: var(--accent); animation: mk-blink 1s ease-in-out infinite; }
@keyframes mk-blink { 50% { opacity: .3; } }
.mk-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--line); }
.mk-foot b { display: block; font: 500 13px var(--sans); }
.mk-foot small { display: block; color: var(--mk-label); font-size: 11.5px; }
.mk-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #86b7ff; color: #0b0b0c; font: 650 12px var(--sans); }

/* main column: header with the filter, the gallery, the composer pinned at the bottom */
.mk-main { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.mk-head { flex: none; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; }
.mk-head b { font: 600 15px var(--sans); }
.mk-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--mk-overlay); }
.mk-seg span { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; color: var(--dim); font: 500 12.5px var(--sans); }
.mk-seg .on { background: var(--mk-card); color: var(--text); box-shadow: 0 2px 10px #000a; }
.mk-gallery { flex: 1; min-height: 0; padding: 0 20px; }
.mk-day { padding: 2px 2px 8px; color: var(--mk-label); font: 500 12px var(--sans); }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--mk-card2); border: 1px solid var(--line); }
.mk-tile > svg { width: 100%; height: 100%; }
.mk-tile.busy { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px; background: var(--mk-card); }
.mk-tile.busy b { position: relative; font: 500 12.5px var(--sans); }
.mk-tile.busy small { position: relative; color: var(--mk-label); font-size: 11.5px; }
.mk-shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff10 50%, transparent 70%) 0 0 / 250% 100%; animation: mk-shimmer 1.8s linear infinite; }
@keyframes mk-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.mk-play { position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #0009; color: #fff; }
.mk-play svg { margin-left: 1px; }
.mk-len { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 6px; background: #0009; color: #fff; font: 500 11.5px var(--mono); }
.mk-dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 16px; background: linear-gradient(180deg, transparent, var(--bg) 40%); }

/* the composer (§6.3): input, the row of controls, the cost line */
.mk-composer { max-width: 780px; margin: 0 auto; padding: 10px 10px 8px 14px; border-radius: 22px; background: var(--mk-box); border: 1px solid var(--mk-box-line); box-shadow: 0 6px 16px -4px #000a, 0 1px 3px #0006; }
.mk-input { margin: 0; padding: 6px 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; line-height: 1.5; color: var(--text); }
.mk-placeholder { color: var(--mk-label); }
.mk-ctl { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 6px; }
.mk-round { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mk-card); border: 1px solid var(--line); color: var(--dim); }
.mk-chip { flex: none; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 11px; border-radius: 999px; background: var(--mk-card); border: 1px solid var(--line); color: var(--text); font: 500 13px var(--sans); white-space: nowrap; }
.mk-chip > svg { color: var(--dim); }
.mk-chip::after { content: ''; width: 5px; height: 5px; margin: -3px 1px 0 2px; border-right: 1.5px solid var(--mk-label); border-bottom: 1.5px solid var(--mk-label); transform: rotate(45deg); }
.mk-chip > span { overflow: hidden; text-overflow: ellipsis; }
.mk-ratio { width: 15px; height: 9px; border: 1.6px solid var(--dim); border-radius: 2.5px; }
.mk-bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 12px; }
.mk-bars b { width: 3px; border-radius: 1px; background: var(--accent); }
.mk-bars b:nth-child(1) { height: 5px; }
.mk-bars b:nth-child(2) { height: 8px; }
.mk-bars b:nth-child(3) { height: 11px; }
.mk-bars b.off { background: #ffffff24; }
.mk-space { flex: 1; min-width: 4px; }
.mk-ring { margin: 0 6px; }
.mk-mic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: var(--dim); }
.mk-send { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: #0b0b0c; }
.mk-cost { margin: 6px 0 0; color: var(--mk-label); font-size: 12px; }

/* the hero's window */
.app-shot .glow { opacity: .4; }

/* Chat: a chat mock-up and what Chat does */
.ai-chat { padding: 100px 0 40px; }
.chat-grid { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.chat-shot { display: flex; }
.chat-shot .mk { flex: 1; display: flex; flex-direction: column; min-height: 500px; }
.mk-thread { flex: 1; width: 100%; max-width: 780px; margin: 0 auto; padding: 24px clamp(16px, 5%, 32px) 150px; display: flex; flex-direction: column; gap: 14px; }
.mk-you { align-self: flex-end; max-width: 84%; margin: 0; padding: 10px 16px; border-radius: 20px; background: var(--mk-bubble); font-size: 14.5px; line-height: 1.55; }
.mk-step { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 12px; background: var(--mk-card); border: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.mk-src { padding: 1px 7px; border-radius: 6px; background: var(--mk-overlay); color: var(--mk-label); font-size: 11.5px; }
.mk-ai p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.mk-ai b { font-weight: 600; }
.mk-ai i { color: var(--dim); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feats .card { padding: 20px; border-radius: 18px; }
.feats svg { color: var(--accent); margin-bottom: 14px; }
.feats h3 { font-size: 16px; }
.feats .card p { font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
/* Deep research and Super AI: their own row under the grid, as wide as the section */
.feats-more { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 12px auto 0; }
.ai-more { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 24px auto 0; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; color: var(--label); font-size: 14px; }

/* Code (docs/code-mode-contract.md §1): a Code task's mock-up (the request, the files Lumio read, its proposal
   with a file's diff and Create pull request, the composer with the repository and the branch) and what Code does.
   The diff's colors are the design system's dark --diff-* tokens. */
.ai-code { padding: 100px 0 40px; }
.mk-code .mk-thread { gap: 12px; }
.mk-prop { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; border-radius: 16px; background: var(--mk-card); border: 1px solid var(--line2); min-width: 0; }
.mk-prop-head { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.mk-prop-tile { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #86b7ff1f; color: var(--accent); }
.mk-prop-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-prop-title b { font: 600 14px/1.35 var(--sans); }
.mk-prop-title small { color: var(--mk-label); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-add, .mk-del { font: normal 500 11.5px var(--mono); }
.mk-add { color: #8be0a8; }
.mk-del { color: #ff9d90; }
.mk-file { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 4px 2px; border-top: 1px solid var(--line); color: var(--dim); font: 12px/1.4 var(--mono); }
.mk-file > span:not(.mk-file-stat) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-file b { font-weight: 500; color: var(--text); }
.mk-file svg { flex: none; color: var(--mk-label); }
.mk-file-stat { flex: none; }
.mk-diff { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--mk-card2); font: 11.5px/1.65 var(--mono); }
.mk-dl { display: flex; min-width: 0; white-space: nowrap; }
.mk-dl i { flex: none; width: 26px; padding-right: 6px; text-align: right; font-style: normal; color: var(--mk-label); }
.mk-dl code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 0 10px 0 4px; font: inherit; color: var(--text); white-space: pre; }
.mk-dl.add { background: #0f2a1a; }
.mk-dl.add i { color: #8be0a8; }
.mk-dl.del { background: #2e1212; }
.mk-dl.del i { color: #ff9d90; }
.mk-dl.hunk { background: #ffffff0a; }
.mk-dl.hunk code { padding-left: 10px; color: var(--mk-label); }
.mk-prop-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.mk-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--text); color: #0b0b0c; font: 600 12.5px var(--sans); }
.mk-btn.mk-btn-ghost { background: none; color: var(--dim); font-weight: 500; }
.mk-code .mk-chip > svg { color: var(--dim); }
@media (max-width: 560px) {
  .mk-dl i { width: 20px; }
  .mk-code .mk-branch, .mk-code .mk-model { display: none; }
}

/* Create: picture, edit, video; then what a video costs */
.ai-create { padding: 100px 0 40px; }
.ai-create .section-head { margin-bottom: 48px; }
.flow { list-style: none; width: min(1180px, calc(100% - 2 * var(--pad))); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flow .card { padding: 12px 12px 22px; }
.flow .card h3, .flow .card p { padding: 0 10px; }
.flow-art { position: relative; aspect-ratio: 4 / 3; margin: 0 0 18px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); }
.flow-art > svg { display: block; width: 100%; height: 100%; }
.flow-art figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(180deg, transparent, #000000b8); color: #fff; font: italic 400 18px/1.25 var(--serif); }
.flow-tag { display: block; margin-bottom: 4px; color: #ffffffbf; font: normal 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.flow-video .mk-len { bottom: auto; top: 8px; }
.flow-video .beam { transform-box: view-box; transform-origin: 78px 37px; animation: beam 5s ease-in-out infinite; }
.flow-video .waves { animation: waves 3.2s linear infinite; }
@keyframes beam { 0%, 100% { transform: rotate(-7deg); opacity: .2; } 50% { transform: rotate(9deg); opacity: .55; } }
@keyframes waves { to { transform: translateX(32px); } }
.cost-band { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 16px auto 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px; }
.cost-band h3 { font: 400 30px/1.1 var(--serif); letter-spacing: -.01em; }
.cost-demo { --mk-card: #111114; --mk-label: #7c7c84; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 18px; background: #18181b; border: 1px solid #36363b; }
.cost-demo .mk-cost { flex-basis: 100%; margin: 4px 0 0; color: var(--mk-label); font-size: 12.5px; }

@media (max-width: 1060px) {
  .chat-grid { grid-template-columns: minmax(0, 1fr); }
  .chat-shot .mk { min-height: 470px; }
}
@media (max-width: 900px) {
  .mk-app { grid-template-columns: minmax(0, 1fr); height: 470px; }
  .mk-side { display: none; }
  .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .cost-band { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 18px; }
  .cost-band .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .mk-app { height: 400px; }
  .mk-head { padding: 0 12px; }
  .mk-gallery { padding: 0 12px; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mk-dock { padding: 36px 10px 10px; }
  .mk-composer { padding: 8px 8px 7px 12px; }
  .mk-input { font-size: 14px; padding: 4px 0; }
  .mk-ctl { gap: 4px; }
  .mk-round, .mk-mic { width: 28px; height: 28px; }
  .mk-chip { height: 28px; padding: 0 8px 0 9px; gap: 4px; font-size: 12px; }
  .mk-send { width: 32px; height: 32px; }
  .mk-ring { margin: 0 2px; width: 18px; height: 18px; }
  .mk-opt, .mk-mic, .mk-effort > span { display: none; }
  .mk-model > span { max-width: 96px; }
  .mk-thread { padding-top: 18px; }
  .mk-you, .mk-ai p { font-size: 13.5px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .cost-band { padding: 22px 20px; }
}
@media (max-width: 360px) {
  .mk-seg span { padding: 0 7px; }
  .mk-model > span { max-width: 72px; }
}

/* ---------------------------------------------------------------- bands
   A card that leads somewhere else (/extension's plans). */
.band-card {
  width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap; padding: 34px 36px; border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(500px 220px at 0% 0%, #86b7ff14, transparent 70%), var(--card);
}
.band-card .eyebrow { margin-bottom: 12px; }
.band-card h3 { font: 400 clamp(28px, 3.2vw, 40px)/1.08 var(--serif); letter-spacing: -.015em; max-width: 24ch; }
.band-card p:not(.eyebrow) { color: var(--dim); margin: 12px 0 0; max-width: 60ch; }
.band-ai { background: radial-gradient(520px 240px at 100% 0%, #c9a8ff17, transparent 70%), radial-gradient(500px 220px at 0% 100%, #86b7ff14, transparent 70%), var(--card); }
.band-ai h3 em { color: var(--accent); font-style: italic; }
@media (max-width: 900px) { .band-card { padding: 28px 24px; } }

/* ---------------------------------------------------------------- motion (motion.js, 2026-10-20)
   .motion is on <html> unless Reduce Motion (each page's early script). Without it nothing
   here moves, and everything is simply there. */
/* Words in a mask: a headline's words rise out of their line. */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .07em .17em; margin: -.02em -.07em -.17em; }
.wi { display: inline-block; }
.hero h1.words em { background: none; }
.hero h1.words em .wi {
  padding-right: .04em; background: linear-gradient(95deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes word-up { from { transform: translateY(112%) rotate(5deg); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shot-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.motion .hero h1.words .wi { animation: word-up 1.15s var(--ease) both; animation-delay: calc(.14s + var(--i) * .075s); will-change: transform; }
.motion .hero .reveal { animation: rise-in 1.1s var(--ease) both; }
.motion .hero .eyebrow { animation-delay: .06s; }
.motion .hero .lede { animation-delay: .5s; }
.motion .hero .cta { animation-delay: .64s; }
.motion .hero .fine { animation-delay: .76s; }
.motion .hero .hero-shot.reveal { animation: shot-in 1.4s var(--ease) .7s both; }
.motion .orbit { transform: translate(calc(-50% + var(--ox, 0px)), var(--oy, 0px)); transition: transform 1.2s var(--ease); }
.motion .orbit path { stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: draw 2.6s .15s var(--ease) forwards; }
.motion .orbit-dot { animation: dot-in .7s 1.6s var(--ease) both, pulse 3.2s 2.3s ease-in-out infinite; }
/* The orbit turned so its dot sits clear of each hero's words (measured from 320 to 1920px
   wide): beside the lede, not on the headline's words. */
.hero .orbit svg { rotate: 40deg; }
@media (max-width: 699px) { .hero .orbit svg { rotate: 15deg; } }
@media (max-width: 359px) { .hero .orbit svg { rotate: -15deg; } }
/* On a phone the ring crossed the lede's words in five places: it frames the headline, then fades out
   before the paragraph (outside its box the mask hides it too: no-repeat). */
@media (max-width: 699px) {
  .hero .orbit {
    -webkit-mask-image: linear-gradient(#000 0 42%, transparent 55%); mask-image: linear-gradient(#000 0 42%, transparent 55%);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}

/* Rising in as it scrolls into view (data-reveal: motion.js), one after another (--d). */
.motion [data-reveal="up"] {
  opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(8px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms);
}
.motion [data-reveal="up"].in { opacity: 1; transform: none; filter: none; }
.motion [data-reveal="words"] .wi { transform: translateY(112%) rotate(4deg); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.motion [data-reveal="words"].in .wi { transform: none; }

/* Product windows tilt up into place as you scroll to them (--p: 0 → 1). */
.motion [data-tilt] {
  transform-origin: 50% 0%; will-change: transform;
  transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 14deg)) translateY(calc((1 - var(--p, 1)) * 36px)) scale(calc(.95 + var(--p, 1) * .05));
}

/* Cards light up where the pointer is (behind their text). */
.motion .spot { position: relative; isolation: isolate; }
.motion .spot::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  transition: opacity .35s var(--ease); background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), #86b7ff1f, transparent 62%);
}
.motion .spot:hover::before { opacity: 1; }
/* The main buttons lean toward the pointer. */
.motion .btn.primary, .motion .nav-cta { translate: var(--bx, 0px) var(--by, 0px); transition: transform .25s var(--ease), background .2s, border-color .2s, translate .45s var(--ease); }

/* The nav: a touch more solid once you scroll; out of the way going down. */
.nav { transition: transform .55s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
.nav.scrolled { background: #0d0d10e8; box-shadow: 0 14px 40px -24px #000; border-color: var(--line2); }
.motion .nav.away { transform: translate(-50%, calc(-100% - 22px)); }

/* Questions open smoothly (where the browser can animate to "auto"). */
@supports (interpolate-size: allow-keywords) {
  .motion details { interpolate-size: allow-keywords; }
  .motion details::details-content { block-size: 0; overflow-y: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .motion details[open]::details-content { block-size: auto; }
}

/* ---------------------------------------------------------------- Lumio for Chrome (2026-10-21)
   The home page's section (#chrome) and its own page (/extension: extension.html, extension.js).
   The mock-up (.cm): Chrome with Lumio's side panel next to a page, Lumio working in its Lumio tab
   group (the glow, the cursor, the Stop pill) and asking before it clicks (docs/work-extension-contract.md
   §4.4, §6.2), with the design system's dark tokens like the other mock-ups. Decorative: each figure has
   a role="img" label. */
.cm { display: flex; flex-direction: column; height: clamp(450px, 46vw, 560px); }
.cm-strip { position: relative; flex: none; height: 40px; display: flex; align-items: flex-end; gap: 4px; padding: 0 12px 0 74px; background: var(--mk-sidebar); }
.cm-group { align-self: center; flex: none; height: 20px; display: grid; place-items: center; margin: 0 4px 0 2px; padding: 0 8px; border-radius: 6px; background: var(--accent); color: #0b0b0c; font: 600 11.5px var(--sans); }
.cm-tab { min-width: 0; flex: 0 1 190px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px 10px 0 0; color: var(--dim); font-size: 12px; white-space: nowrap; }
.cm-tab > span { overflow: hidden; text-overflow: ellipsis; }
.cm-tab.on { background: var(--mk-panel); color: var(--text); }
.cm-tab.cm-in { box-shadow: inset 0 -2px 0 var(--accent); }
.cm-fav { flex: none; width: 14px; height: 14px; border-radius: 4px; background: #3d73c9; }
.cm-fav-b { background: #d9993a; }
.cm-fav-c { background: #d0564c; }
.cm-bar { flex: none; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--mk-panel); border-bottom: 1px solid var(--line); }
.cm-url { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; gap: 7px; padding: 0 12px; overflow: hidden; border-radius: 999px; background: #ffffff0a; color: var(--mk-label); font-size: 12px; white-space: nowrap; }
.cm-ext { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #86b7ff26; color: var(--text); }
.cm-split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); }
/* the page: a light shop page inside the glow Lumio draws around a tab it works in */
.cm-page { position: relative; min-width: 0; overflow: hidden; background: #f5f6f8; color: #18181b; }
.cm-page::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 28px 4px #86b7ff70, inset 0 0 70px 10px #c9a8ff33; }
.cm-shop { padding: 18px 22px; }
.cm-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #00000014; }
.cm-shop-head b { font: 400 20px/1 var(--serif); }
.cm-shop-head span { color: #52525b; font-size: 12px; white-space: nowrap; }
.cm-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: center; padding-top: 18px; }
.cm-mug { width: 100%; max-width: 300px; height: auto; justify-self: end; border-radius: 12px; }
.cm-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.cm-info b { font: 600 17px/1.3 var(--sans); }
.cm-info small { color: #52525b; font-size: 12.5px; }
.cm-info p { max-width: 30ch; margin: 6px 0 0; color: #3f3f46; font-size: 12.5px; line-height: 1.5; }
.cm-qty { margin-top: 10px; padding: 5px 10px; border-radius: 8px; border: 1px solid #00000024; color: #3f3f46; font-size: 12px; }
/* the button Lumio asks about: the approval's highlight box, and the cursor gliding onto it */
.cm-buy { position: relative; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: #18181b; color: #fff; font: 600 12.5px var(--sans); white-space: nowrap; box-shadow: 0 0 0 2px #f5f6f8, 0 0 0 4px #2563eb; }
.cm-cursor { position: absolute; right: -14px; bottom: -18px; filter: drop-shadow(0 2px 3px #0005); }
.motion .cm-cursor { animation: cm-glide 3.6s var(--ease) infinite; }
@keyframes cm-glide { 0% { transform: translate(-70px, 48px); opacity: 0; } 18% { opacity: 1; } 45%, 100% { transform: none; opacity: 1; } }
.cm-pill { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 5px 0 12px; border-radius: 999px; background: #161619f5; color: var(--text); font: 500 12.5px var(--sans); white-space: nowrap; box-shadow: 0 10px 30px -8px #0009; }
.cm-pill svg { flex: none; }
.cm-stop { height: 24px; display: grid; place-items: center; padding: 0 11px; border-radius: 999px; background: var(--text); color: #0b0b0c; font-weight: 600; }
/* the side panel: Chat | Work, the task's steps, the approval, the composer */
.cm-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--mk-panel); border-left: 1px solid var(--line); }
.cm-head { flex: none; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.cm-modes { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--mk-overlay); }
.cm-modes span { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; color: var(--dim); font: 500 12px var(--sans); }
.cm-modes .on { background: var(--mk-card); color: var(--text); box-shadow: 0 2px 10px #000a; }
.cm-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.cm-thread .mk-you { max-width: 92%; padding: 8px 13px; font-size: 13px; line-height: 1.5; }
.cm-step { align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: var(--mk-card); border: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.cm-step span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cm-step svg { color: #7ee2a8; }
.cm-ask { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 16px; background: var(--mk-card); border: 1px solid #86b7ff54; box-shadow: 0 0 0 4px #86b7ff0f; }
.cm-ask b { display: flex; align-items: center; gap: 7px; font: 600 13px var(--sans); }
.cm-ask b svg { color: var(--accent); }
.cm-ask small { color: var(--mk-label); font-size: 11.5px; }
.cm-ask-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.cm-ask-row span { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: #ffffff08; border: 1px solid var(--line2); color: var(--text); font: 500 11.5px var(--sans); white-space: nowrap; }
.cm-ask-row .cm-ok { background: var(--text); border-color: transparent; color: #0b0b0c; font-weight: 600; }
.cm-ask-row .cm-no { background: none; border-color: #ff8a7a40; color: var(--warn); }
.cm-composer { flex: none; margin: 0 10px 10px; padding: 8px 8px 7px 12px; border-radius: 22px; background: var(--mk-box); border: 1px solid var(--mk-box-line); }
.cm-composer .mk-input { padding: 4px 0; font-size: 13.5px; }
.cm-composer .mk-chip { height: 28px; padding: 0 9px 0 10px; font-size: 12px; }
.cm-composer .mk-send { width: 30px; height: 30px; }
.chrome-shot .glow { opacity: .4; }

/* the home page's section */
.chrome-band { padding: 110px 0 40px; }
.chrome-band .section-head { margin-bottom: 48px; }
.chrome-band .cta { margin-top: 30px; }
.chrome-band .fine { text-align: center; }
.chrome-shot { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 0 auto; }
.chrome-feats { width: min(1180px, calc(100% - 2 * var(--pad))); margin: 16px auto 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* /extension */
.hero-ext { padding-bottom: 50px; }
.hero-ext h1 { max-width: 10.5ch; }
.hero-ext .chrome-shot { width: min(1180px, 100%); margin-top: clamp(56px, 9vh, 90px); }
.soon-pill { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px dashed var(--line2); color: var(--dim); font: 600 15.5px var(--sans); white-space: nowrap; }
.soon-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.ext-notice { position: relative; z-index: 1; width: min(640px, 100%); margin: 0 auto 34px; display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: 16px; border: 1px solid #86b7ff55; background: linear-gradient(#86b7ff14, #86b7ff14), #0a0c10; text-align: left; color: var(--dim); font-size: 15px; line-height: 1.5; }
/* extension.js shows one of these: the store link or "Coming soon", and the message for what brought someone here */
.ext-notice[hidden], [data-ext-store][hidden], [data-ext-soon][hidden] { display: none; }
.ext-notice > svg { flex: none; margin-top: 1px; color: var(--accent); }
.ext-notice b { color: var(--text); font-weight: 600; }
.ext-notice a { color: var(--accent); white-space: nowrap; }
.ext-notice-browser { border-color: #f0b36b55; background: linear-gradient(#f0b36b14, #f0b36b14), #0d0b0a; }
.ext-notice-browser > svg { color: #f0b36b; }
.ext-what, .ext-perms { padding: 90px 0 30px; }
.ext-feats { width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ext-rules { list-style: none; width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; counter-reset: r; }
.ext-rules li { position: relative; padding: 22px 0 22px 52px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15.5px; line-height: 1.6; }
.ext-rules li::before { counter-increment: r; content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 25px; font: 500 13px var(--mono); color: var(--accent); }
.ext-rules b { display: block; margin-bottom: 4px; color: var(--text); font-size: 17px; }
.ext-more { margin: 26px 0 0; text-align: center; color: var(--label); font-size: 14px; }
.ext-more a { color: var(--accent); text-decoration: none; }
.ext-end { padding: 60px 0 110px; }
.ext-end .cta { justify-content: flex-start; }

@media (max-width: 1060px) {
  .cm-split { grid-template-columns: minmax(0, 1fr) 290px; }
  /* A narrower panel: one step fewer, and the ask offers Allow once and Deny, so the thread fits above the composer. */
  .cm-step + .cm-step, .cm-ask-row span:not(.cm-ok):not(.cm-no) { display: none; }
}
@media (max-width: 900px) {
  .chrome-feats, .ext-feats { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .ext-rules { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cm-tab:not(.cm-in) { display: none; }
  .cm-product { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 12px; }
  .cm-mug { max-width: 170px; justify-self: start; }
  .cm-info p, .cm-qty { display: none; }
}
@media (max-width: 640px) {
  .cm { height: 470px; }
  .cm-strip { padding-left: 64px; }
  .cm-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .cm-shop { padding: 12px 12px; }
  .cm-shop-head b { font-size: 16px; }
  .cm-shop-head span { display: none; }
  .cm-info b { font-size: 14px; }
  .cm-info small { font-size: 11px; }
  .cm-buy { padding: 7px 12px; font-size: 11.5px; }
  .cm-pill { gap: 6px; padding-left: 9px; }
  .cm-pill > span:not(.cm-stop) { display: none; }
  .cm-head { padding: 0 10px; }
  .cm-thread { padding: 10px 8px; gap: 6px; }
  .cm-thread .mk-you { font-size: 12px; padding: 7px 11px; }
  .cm-step { font-size: 11px; padding: 5px 8px; }
  .cm-ask { padding: 10px; }
  .cm-ask b { font-size: 12px; }
  .cm-composer { margin: 0 6px 6px; }
  .cm-composer .mk-input { font-size: 12.5px; }
  .ext-notice { font-size: 14px; padding: 12px 14px; }
  .ext-rules li { padding-left: 44px; }
}
@media (max-width: 520px) { .soon-pill { width: 100%; justify-content: center; } }
