/* Mantel site. One stylesheet, no build step. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #000000;
  --text: #1d1d1f;
  --muted: #5f6168;
  --card: #f3f3f5;
  --line: #e4e4e8;
  --blue: #2350e8;
  --blue-press: #1b3fc0;
  --eink: #e7e6e1;
  --eink-ink: #161616;
  --radius-card: 32px;
  --radius-tile: 20px;
  --gutter: 16px;
  --max: 1200px;
  --shadow-soft: 0 1px 2px rgba(20, 22, 30, .04), 0 12px 40px -12px rgba(20, 22, 30, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { color: var(--ink); font-weight: 650; margin: 0; }
.display { font-size: clamp(46px, 10.4vw, 132px); line-height: .94; letter-spacing: -.055em; font-weight: 680; }
h1.page { font-size: clamp(40px, 7.2vw, 88px); line-height: .98; letter-spacing: -.05em; }
h2 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1; letter-spacing: -.045em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.lead { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.45; color: var(--muted); letter-spacing: -.012em; max-width: 34em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.blue { color: var(--blue); }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px 0 20px;
  border-radius: 999px; border: 0;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 560; letter-spacing: -.01em; text-decoration: none;
  cursor: pointer; transition: transform .15s var(--ease), background-color .15s;
}
.pill:hover { background: #262629; }
.pill:active { transform: scale(.98); }
.pill svg { width: 20px; height: 20px; flex: none; }
.pill.blue-pill { background: var(--blue); }
.pill.blue-pill:hover { background: var(--blue-press); }
.pill.light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pill.light:hover { background: #fafafa; }
.pill.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.quiet { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 16px; text-decoration: none; }
.quiet:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cta-stack { display: flex; flex-direction: column; align-items: center; }
.note-soon { margin-top: 10px; font-size: 14px; color: var(--muted); }
.hero-note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
/* "Preorders open now" */
.badge-open {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: #e8f6ed; color: #13652f; font-size: 14px; font-weight: 600; letter-spacing: -.005em;
}
.badge-open .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .45); } 70% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
@media (prefers-reduced-motion: reduce) { .badge-open .dot { animation: none; } }

/* ---------- Announcement bar (partials/header.html, js/announce.js) ---------- */
/* Fixed height, and a dismissed bar is hidden before first paint, so nothing below it moves. */
.announce { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 48px; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: -.005em; }
.announce p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; text-decoration: none; }
.announce a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.announce b { font-weight: 600; }
.announce-short { display: none; }
@media (max-width: 479px) { .announce-long { display: none; } .announce-short { display: inline; } }
.announce-close { display: none; position: absolute; right: 2px; top: 0; width: 44px; height: 44px; border: 0; background: none; color: #fff; opacity: .75; cursor: pointer; place-items: center; }
.announce-close:hover { opacity: 1; }
.announce-close svg { width: 14px; height: 14px; }
.announce-js .announce-close { display: grid; }
.announce-off .announce { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: none; gap: 4px; margin-left: 24px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--card); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-end .login { display: none; padding: 8px 12px; font-size: 15px; text-decoration: none; color: var(--text); }
.header-end .login:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--card); display: inline-grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 20px; font-weight: 560; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-end .login { display: inline-block; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 64px 0; }
.section-tight { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } .section-tight { padding: 56px 0; } }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin-top: 18px; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

/* ---------- Hero film ---------- */
[hidden] { display: none !important; }
.hero { padding-top: 12px; }
@media (min-width: 900px) { .hero { padding-top: 20px; } }
.film { position: relative; overflow: hidden; border-radius: 28px; background: #e9e6e0; aspect-ratio: 4 / 5; isolation: isolate; }
@media (min-width: 640px) { .film { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .film { aspect-ratio: 16 / 10; border-radius: 36px; } }
.film > video, .film > img, .film > picture, .film > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film.tall { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .film.wide { aspect-ratio: 16 / 10; } .film.tall { aspect-ratio: 4 / 3.4; } }

/* A screen layer fitted onto the screen in a photo or film; ink multiplies into the real light. */
.quad { position: absolute; left: 0; top: 0; transform-origin: 0 0; mix-blend-mode: multiply; pointer-events: none; visibility: hidden; z-index: 1; }
.quad.ready { visibility: visible; }
.quad > div, .glass > div { position: absolute; inset: 0; }
.quad svg, .glass svg { width: 100%; height: 100%; }
.ghost { opacity: 0; }
.ghost.fading { animation: ghost 1100ms ease-out forwards; }
@keyframes ghost { from { opacity: .12; } to { opacity: 0; } }
.flash.k { background: #141414; }
.flash.w { background: #f4f3ee; }
.quad .flash.w { background: #fff; }
.ink.inv { filter: invert(1); }
.ink.fade-in { animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Chat bubble over the film */
.chat { position: absolute; z-index: 3; left: 12px; bottom: 12px; width: fit-content; min-width: 200px; max-width: min(360px, calc(100% - 24px)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); border-radius: 22px; padding: 12px 12px 10px; box-shadow: 0 10px 40px -12px rgba(20,22,30,.28); }
@media (min-width: 640px) { .chat { left: 24px; bottom: 24px; } }
.bubble-me { margin: 0; width: fit-content; max-width: 100%; background: var(--card); color: var(--ink); border-radius: 18px 18px 6px 18px; padding: 9px 13px; font-size: 15px; line-height: 1.4; min-height: 40px; }
.reply { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 24px; padding-left: 2px; }
.reply img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.reply .typing { display: inline-flex; gap: 4px; padding-left: 4px; }
.reply .typing i { width: 6px; height: 6px; border-radius: 50%; background: #a9a9b1; animation: blink 1s infinite; }
.reply .typing i:nth-child(2) { animation-delay: .15s; } .reply .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* Hero chat keeps one size while the ask types, so nothing around it moves. */
[data-hero] .chat { width: min(340px, calc(100% - 24px)); }
@media (prefers-reduced-motion: reduce) { .reply .typing i, .caret { animation: none; } }
.film-ctrl { position: absolute; z-index: 3; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
@media (min-width: 640px) { .film-ctrl { right: 24px; top: auto; bottom: 24px; } }
.film-ctrl svg { width: 14px; height: 14px; }

.name-block { text-align: center; padding: 28px 0 0; }
.name-block .display { font-size: clamp(96px, 27vw, 380px); line-height: .8; letter-spacing: -.075em; font-weight: 720; margin: 0 0 32px; }
@media (min-width: 900px) { .name-block { padding-top: 36px; } .name-block .display { margin-bottom: 40px; } }

/* Product on mist */
.stage { position: relative; margin: 0 auto; max-width: 1280px; aspect-ratio: 4 / 3.3; }
@media (min-width: 640px) { .stage { aspect-ratio: 16 / 10; } }
.stage .mist { position: absolute; inset: 0; overflow: hidden; }
.stage .mist img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  -webkit-mask-image: radial-gradient(ellipse 70% 66% at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 66% at 50% 50%, #000 52%, transparent 100%); }
.device { position: absolute; left: 50%; top: 50%; width: min(90%, 720px); transform: translate(-50%, -50%); }
@media (min-width: 640px) { .device { width: min(60%, 720px); } }
.device > picture img { width: 100%; height: auto; }
/* Glass of the cutout: TL(96,90) BR(911,583) in a 1000x720 image */
.glass { position: absolute; left: 9.6%; top: 12.5%; width: 81.5%; height: 68.4%; overflow: hidden; background: var(--eink); border-radius: 1px; }
.glass::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .18), inset 1px 0 2px rgba(0, 0, 0, .10);
  background: linear-gradient(115deg, rgba(255,255,255,.2), rgba(255,255,255,0) 40%, rgba(0,0,0,.035)); }

/* ---------- Product lineup ---------- */
.lineup { text-align: center; overflow: hidden; }
.lineup .shot { position: relative; width: min(84%, 620px); margin: 0 auto; z-index: 1; }
.lineup .name { font-size: clamp(110px, 31vw, 420px); line-height: .78; letter-spacing: -.075em; font-weight: 720; color: var(--ink); margin: -1.5% 0 0; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; max-width: 960px; margin: 56px auto 0; text-align: left; }
@media (min-width: 900px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs div { border-top: 1px solid var(--line); padding-top: 14px; }
.specs b { display: block; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.specs span { color: var(--muted); font-size: 15px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius-card); padding: 28px; position: relative; }
@media (min-width: 900px) { .card { padding: 36px; } }
.icon-line { width: 32px; height: 32px; color: var(--blue); margin-bottom: 22px; }
.card .say { font-size: 21px; line-height: 1.32; letter-spacing: -.02em; color: var(--ink); font-weight: 560; margin: 0; }
.card .say .blue { font-weight: 560; }
.steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 650; font-size: 16px; margin-bottom: 22px; }
.step p.small { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.step .art { margin: -4px -4px 24px; border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.step .art svg { width: 100%; height: 100%; }

/* ---------- Reel ---------- */
.reel { display: grid; gap: 16px; }
.reel .film.wide { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .reel .film.wide { aspect-ratio: 3 / 2; } }
@media (min-width: 900px) { .reel { grid-template-columns: 1fr 1fr; gap: 20px; } .reel .span { grid-column: 1 / -1; } }
.scene { margin: 0; }
.tag { position: absolute; z-index: 2; left: 12px; top: 12px; margin: 0; max-width: calc(100% - 24px); width: fit-content; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6); color: var(--ink); border-radius: 16px 16px 16px 6px; padding: 8px 12px; font-size: 14px; line-height: 1.35; box-shadow: 0 6px 24px -10px rgba(20,22,30,.3); transition: opacity .3s; }
@media (min-width: 640px) { .tag { left: 20px; top: 20px; font-size: 15px; } }
.tag:empty { display: none; }
.tag.swap { opacity: 0; }

/* ---------- Made with Mantel ---------- */
/* The real-photo wall is one sideways swipe row at every width (scroll-snap, no JS needed). */
.photos { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; }
.photos::-webkit-scrollbar { display: none; }
.photos .photo { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 640px) { .photos .photo { flex-basis: 47%; } }
@media (min-width: 1000px) { .photos { gap: 20px; } .photos .photo { flex-basis: 31.5%; } }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: #e9e6e0; }
.photo figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.strip-title { margin: 64px 0 20px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.strip { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 4px var(--gutter) 12px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 min(78%, 320px); scroll-snap-align: start; font-size: 15px; color: var(--muted); }
/* White bezel around e-ink paper; the render's white multiplies down to the paper tone. */
.strip .paper { background: var(--eink); border: 10px solid #fff; border-radius: 16px; box-shadow: var(--shadow-soft); margin-bottom: 12px; isolation: isolate; }
.strip .paper img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

/* What people say (rendered from data/quotes.json; absent when the list is empty) */
.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote .avatar { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #d9d9de; margin-bottom: 22px; flex: none; }
.quote blockquote { margin: 0; flex: 1; }
.quote .say { margin: 0; }
.quote figcaption { margin-top: 22px; font-size: 15px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }

/* ---------- Carousel ---------- */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.carousel-head .ctrls { display: none; gap: 10px; flex: none; }
@media (min-width: 640px) { .carousel-head .ctrls { display: flex; } }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card); display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); transition: background-color .15s, opacity .15s; }
.round:hover { background: #e7e7eb; }
.round:disabled { opacity: .35; cursor: default; }
.round svg { width: 20px; height: 20px; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > .card { flex: 0 0 min(84%, 360px); scroll-snap-align: start; display: flex; flex-direction: column; min-height: 340px; }
@media (min-width: 900px) { .track { gap: 20px; } .track > .card { flex-basis: 380px; min-height: 400px; } }
.track .card .say { flex: 1; }
.expand { margin-top: 24px; align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; transition: transform .25s var(--ease), background-color .15s; }
.expand:hover { background: #fafafa; }
.expand svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.expand[aria-expanded="true"] svg { transform: rotate(45deg); }
.more { font-size: 16px; color: var(--muted); margin-top: 18px; }
.more[hidden] { display: none; }
.more p:last-child { margin-bottom: 0; }

/* ---------- Works with ---------- */
.duo { display: grid; gap: 16px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 20px; } }
.duo .card h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 14px; }
.duo .card p { color: var(--muted); }
.duo .card .pill { margin-top: 8px; }
.prompt-list { list-style: none; padding: 0; margin: 22px 0 6px; display: grid; gap: 8px; }
.prompt-list li { background: #fff; border-radius: 16px 16px 16px 6px; padding: 10px 14px; font-size: 15.5px; color: var(--ink); width: fit-content; max-width: 100%; }

/* ---------- Works with (logo marquee) ---------- */
.works-with { margin: 0 0 40px; }
@media (min-width: 900px) { .works-with { margin-bottom: 56px; } }
.ww-label { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.marquee { display: flex; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 12px; flex: none; margin: 0; padding: 0 12px 0 0; list-style: none; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: 17px; font-weight: 580; letter-spacing: -.015em; white-space: nowrap; }
.ww-logo { width: 22px; height: 22px; flex: none; }
.ww-note { margin: 16px 0 0; color: var(--muted); font-size: 16px; max-width: 40em; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; flex: 1 1 auto; gap: 10px; padding: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: clamp(18px, 2vw, 21px); font-weight: 560; letter-spacing: -.02em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--card); display: inline-grid; place-items: center; transition: transform .25s var(--ease); }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 52px 26px 0; color: var(--muted); font-size: 17px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .frame-row { width: min(80%, 460px); margin: 0 auto 40px; }
.final .lead { margin: 14px auto 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-card { background: #fff; border-radius: 36px; box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(20,22,30,.03), 0 24px 70px -24px rgba(20,22,30,.18); padding: 32px 24px; display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-card { grid-template-columns: 1.3fr 1fr 1fr; padding: 48px 52px; gap: 48px; } }
.foot-brand img.wm { height: 28px; width: auto; }
.foot-brand p { color: var(--muted); margin: 16px 0 22px; max-width: 22em; }
.tiles { display: flex; gap: 10px; margin-top: 22px; }
.tile { width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: inline-grid; place-items: center; color: var(--ink); }
.tile:hover { background: #e9e9ed; }
.tile svg { width: 20px; height: 20px; }
.foot-col h2 { font-size: 15px; letter-spacing: -.01em; font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--muted); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 22px 8px 0; font-size: 14px; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding: 48px 0 24px; }
@media (min-width: 900px) { .page-hero { padding: 88px 0 32px; } }
.page-hero .lead { margin-top: 20px; }
.guide { display: grid; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.guide .card { display: grid; gap: 20px; }
@media (min-width: 900px) { .guide .card { grid-template-columns: 64px 1fr minmax(0, 340px); align-items: start; gap: 28px; } }
.guide .card .num { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-weight: 650; font-size: 18px; }
.guide h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
.guide p, .guide li { color: var(--muted); }
.guide ol, .guide ul { padding-left: 1.2em; margin: 0 0 1em; }
.guide li { margin: 6px 0; }
.guide strong { color: var(--ink); font-weight: 600; }
.guide .media { border-radius: 20px; overflow: hidden; background: #fff; }
.guide .media img { width: 100%; height: auto; }
.callout { background: #fff; border-radius: 18px; padding: 14px 16px; font-size: 15.5px; color: var(--text); display: flex; gap: 12px; align-items: flex-start; }
.callout svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
.url-box { display: flex; align-items: center; gap: 8px; background: var(--card); margin-top: 28px !important; border-radius: 16px; padding: 6px 6px 6px 16px; margin: 6px 0 4px; max-width: 520px; }
.url-box code { flex: 1; min-width: 0; align-self: center; overflow-wrap: anywhere; color: var(--ink); font-size: 15px; }
.url-box button { flex: none; }

.tabs { display: inline-flex; background: var(--card); border-radius: 999px; padding: 5px; gap: 4px; margin-top: 36px; }
.tabs [role="tab"] { border: 0; background: transparent; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 560; cursor: pointer; color: var(--muted); }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
[role="tabpanel"][hidden] { display: none; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.03em; line-height: 1.15; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3a3b40; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 20px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.updated { color: var(--muted); font-size: 15px; margin-top: 16px; }
.toc { background: var(--card); border-radius: 24px; padding: 22px 26px; margin: 32px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* DIY installer */
.installer { background: var(--card); border-radius: var(--radius-card); padding: 28px; margin-top: 32px; }
@media (min-width: 900px) { .installer { padding: 40px; } }
.installer label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.select { width: 100%; max-width: 520px; min-height: 52px; padding: 0 44px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.installer esp-web-install-button { display: block; margin-top: 20px; }
.installer [slot="unsupported"], .installer [slot="not-allowed"] { display: block; color: var(--muted); }
.boards { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .boards { grid-template-columns: repeat(3, 1fr); } }
.boards .card h3 { margin-bottom: 8px; }
.boards .card p { color: var(--muted); font-size: 16px; margin: 0; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .mini-frame { width: min(80%, 360px); margin: 0 auto 36px; }
.shot { position: relative; }
.shot img { width: 100%; height: auto; }
.callout-wide { margin-top: 16px; background: var(--card); max-width: 760px; }
h2.h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.small-print { font-size: 15px; margin: 18px 0 0; }
.guide .card > div > .pill { margin-top: 6px; }
.plain-steps { margin: 0 0 28px; padding-left: 1.3em; color: var(--text); max-width: 680px; }
.plain-steps li { margin: 8px 0; }
.installer .select { margin-bottom: 4px; }
.link-card { display: block; text-decoration: none; transition: background-color .15s; }
.link-card:hover { background: #ececf0; }
.link-card p { margin: 0; }
.duo + .duo { margin-top: 16px; }

.page-hero + .section-tight { padding-top: 8px; }
@media (max-width: 480px) { .url-box code { font-size: 13.5px; } }
.quad .ink.inv svg { background: #e7e6e1; }

/* Connect page */
.ready-banner { background: var(--blue); color: #fff; }
.ready-banner p { margin: 0; padding: 14px 0; display: flex; gap: 10px; align-items: center; font-weight: 560; font-size: 17px; }
.ready-banner svg { width: 20px; height: 20px; flex: none; }
.connect-hero { padding-bottom: 8px; }
.choices { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; } }
.choice { min-height: 64px; border-radius: 20px; border: 2px solid var(--line); background: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); cursor: pointer; text-align: left; padding: 0 22px; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: #c9c9d0; }
.choice[aria-expanded="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.flows .wrap { max-width: calc(900px + 2 * var(--gutter)); margin-left: 0; margin-right: auto; }
@media (min-width: 1024px) { .flows .wrap { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gutter))); } }
.flow h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.045em; line-height: 1; margin-bottom: 22px; }
.pill.big { min-height: 60px; padding: 0 30px; font-size: 19px; }
.flow-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.flow-steps > li { counter-increment: s; position: relative; padding-left: 54px; min-height: 40px; font-size: 18px; line-height: 1.4; color: var(--muted); }
.flow-steps > li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.flow-steps b { color: var(--ink); font-weight: 600; }
.flow-steps.illustrated > li { background: #fff; border-radius: 20px; padding: 16px 16px 16px 66px; display: grid; gap: 12px; }
.flow-steps.illustrated > li::before { left: 14px; top: 14px; }
.mock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; background: var(--card); font-size: 14px; color: var(--ink); width: fit-content; max-width: 100%; }
.mock img { border-radius: 6px; }
.m-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.m-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-menu { display: inline-grid; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.m-menu span { padding: 5px 10px; border-radius: 8px; color: var(--muted); }
.m-menu .m-hi { background: var(--card); color: var(--ink); font-weight: 600; outline: 2px solid var(--blue); outline-offset: -2px; }
.m-form { display: grid; gap: 6px; }
.m-row { display: flex; align-items: center; gap: 10px; }
.m-label { width: 110px; color: var(--muted); font-size: 13px; }
.m-field { display: inline-flex; align-items: center; min-width: 120px; height: 30px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.m-paste { color: var(--blue); font-weight: 600; border-style: dashed; border-color: var(--blue); }
.m-form .m-btn { justify-self: end; margin-top: 4px; }
.link-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 8px 16px 8px 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; color: var(--ink); font-size: 16px; font-weight: 560; cursor: pointer; text-align: left; transition: box-shadow .15s, background-color .15s; }
.link-chip:hover { box-shadow: 0 0 0 1.5px #c9c9d0 inset; }
.link-chip .chip-text { overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.link-chip svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.link-chip .chip-status { font-size: 14px; color: var(--blue); white-space: nowrap; }
.link-chip .chip-status:empty { display: none; }
.link-chip.copied { box-shadow: 0 0 0 2px var(--blue) inset; }
.card .link-chip { background: #fff; }
.flow .fallback { margin: 26px 0 10px; font-size: 15px; color: var(--muted); }
.flow .after { margin: 26px 0 0; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.toast { margin: 12px 0 0; min-height: 0; font-size: 15px; color: var(--blue); font-weight: 560; opacity: 0; transition: opacity .2s; }
.toast.on { opacity: 1; }
.needs-computer { margin: 4px 0 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.needs-computer p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.needs-computer .toast { margin: 10px 0 0; }
.first-time { margin: 0 0 18px; }
.mini-faq { margin-top: 18px; }
.mini-faq summary { cursor: pointer; color: var(--ink); font-weight: 560; }
.mini-faq p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.flow + .flow { margin-top: 0; }
.coming { margin: 28px 0 0; font-size: 16px; text-align: left; }
.coming.tight { margin-top: 6px; }
.skill .pill { margin-top: 4px; }
.skill-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
.skill-steps strong { color: var(--ink); font-weight: 600; }
.prompt-list li { background: var(--card); }
.card .prompt-list li { background: #fff; }
.flow-steps > li, .flow-steps > li > * { min-width: 0; }
.mock { max-width: 100%; overflow: hidden; }
@media (max-width: 639px) {
  .flow.card { padding: 22px 16px; }
  .flow-steps.illustrated > li { padding: 14px 12px 14px 58px; }
  .flow-steps.illustrated > li::before { left: 10px; }
  .m-label { width: 84px; }
  .m-field { min-width: 0; flex: 1; }
  .m-row { width: 100%; }
  .m-form { width: 100%; }
}
.flow-steps, .flow-steps.illustrated > li { grid-template-columns: minmax(0, 1fr); }
.flows-wrap { max-width: calc(900px + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1024px) { .flows-wrap { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--gutter))); } }

/* Claude / ChatGPT marks next to their names */
.ai-logo { flex: none; display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; margin-right: 0.45em; }
.choice .ai-logo { width: 22px; height: 22px; vertical-align: -5px; }

/* Labeled placeholder reviews */
.say-note { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.quote .sample-tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: #f1e7c8; color: #5a4a12; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.quote figcaption .sample-tag { display: block; width: max-content; }

/* ---------- Home: What people say (carousel) + Made with Mantel ---------- */
.say-track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain; }
.say-track::-webkit-scrollbar { display: none; }
.say-track:focus-visible { outline-offset: -3px; border-radius: var(--radius-card); }
.say-track > .quote { flex: 0 0 min(86%, 420px); scroll-snap-align: start; }
@media (min-width: 900px) { .say-track { gap: 20px; } .say-track > .quote { flex-basis: calc((100% - 20px) / 2); } }
.say-track .quote .say { font-size: clamp(19px, 2vw, 22px); }
.say-ctrls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; }
.say-ctrls .round { width: 44px; height: 44px; }
.say-ctrls .round svg { width: 18px; height: 18px; }
.say-ctrls [data-say-pause] svg { width: 14px; height: 14px; }
.dots { display: flex; }
.dot { width: 28px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c9c9d0; transition: background-color .2s, transform .2s; }
.dot[aria-current="true"]::before { background: var(--ink); transform: scale(1.25); }
.dot:focus-visible { outline-offset: -6px; }
.made-head { margin: 72px 0 28px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .made-head { margin-top: 88px; } }
.made-head h3 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.035em; line-height: 1.1; }
.made-head p { margin: 10px 0 0; color: var(--muted); }
.photo figcaption { font-size: 16px; }
.strip li { font-size: 16px; }

/* ---------- Home: Things to ask ---------- */
.idea-filter { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 2px var(--gutter) 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.idea-filter::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .idea-filter { flex-wrap: wrap; overflow: visible; margin: 0 0 32px; padding: 0; } }
.filter-btn { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--card); color: var(--text); font-size: 16px; font-weight: 520; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.filter-btn:hover { background: #e9e9ed; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.idea-group + .idea-group { margin-top: 28px; }
.idea-cat { font-size: 19px; margin: 0 0 12px; }
.idea-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .idea-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .idea-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* "Popular": the featured chips from every group in one grid. */
.ideas.flat .idea-groups { display: grid; gap: 10px; }
@media (min-width: 640px) { .ideas.flat .idea-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ideas.flat .idea-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ideas.flat .idea-group, .ideas.flat .idea-list { display: contents; }
.ideas.flat .idea-group + .idea-group { margin: 0; }
.idea { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; height: 100%; min-height: 56px; padding: 14px 14px 14px 18px; border: 0; border-radius: 20px 20px 20px 6px; background: var(--card); color: var(--ink); font-size: 16px; line-height: 1.4; text-align: left; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.idea:hover { background: #ebebef; }
.idea.copied { box-shadow: 0 0 0 2px var(--blue) inset; }
.idea-text { flex: 1; min-width: 0; }
.idea-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 1px; }
.idea-copy svg { width: 18px; height: 18px; }
.idea.copied .idea-copy { color: var(--blue); }
.idea-ok { font-size: 14px; font-weight: 600; }
.idea-ok:empty { display: none; }
.idea-more { margin: 24px 0 0; text-align: center; }
.idea-more .pill { background: var(--card); box-shadow: none; min-height: 44px; }
.idea-more .pill:hover { background: #e9e9ed; }

/* ---------- Mobile comfort: tap targets and type ---------- */
.menu-btn { width: 44px; height: 44px; }
.brand { min-height: 44px; }
.pill.small { min-height: 44px; font-size: 16px; }
.quote figcaption { font-size: 16px; }
.dot { width: 32px; }
.film-ctrl { width: 44px; height: 44px; }
.quiet { min-height: 44px; display: inline-flex; align-items: center; margin-top: 6px; }
.cta-stack .note-soon { margin: 14px 0 0; max-width: 36em; font-size: 16px; text-wrap: balance; }
.final .cta-stack .pill { margin-top: 4px; }
.specs span { font-size: 16px; }
.foot-col ul { gap: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal { font-size: 15px; }

/* The same "Works with" logos, compact, right under the hero */
.works-with.ww-top { margin-top: 36px; }
.works-with.ww-top .ww-label { font-size: 13px; }

/* Things to ask: 8 prompts. Phones: one sideways swipe row. Wider: a 2-row grid. */
.ideas-short .idea-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .ideas-short .idea-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
  .ideas-short .idea-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .ideas-short .idea-row::-webkit-scrollbar { display: none; }
  .ideas-short .idea-row li { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Optional analytics: local consent UI; no overlay or blocked navigation. */
.analytics-settings { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; min-height: 44px; text-align: left; }
.analytics-settings:hover { text-decoration: underline; }
.analytics-choices { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 900px; margin-inline: auto; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 8px 40px #0002; display: flex; align-items: center; gap: 24px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.analytics-choices[hidden] { display: none; }
.analytics-copy { flex: 1; }
.analytics-copy p { margin: 8px 0; font-size: 16px; line-height: 1.5; }
.analytics-copy a { font-size: 15px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 280px; }
.analytics-actions .quiet { border: 0; background: none; font: inherit; cursor: pointer; margin: 0; padding: 0 12px; }
@media (max-width: 639px) { .analytics-choices { padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; } .analytics-actions { flex-basis: auto; } }
