/* Dore v3.1 (Oct 31, 2026): the homepage. A warm, quiet palette taken from the butterfly mascot:
   ivory paper, espresso ink from the wordmark, butter from the body and a deep wing violet as the
   accent, used sparingly. Fraunces for display, Hanken Grotesk for reading. Interactions (card
   deck, step tabs, format rail, channel tabs, reveal on scroll) are driven by assets/home.js; with
   no script every card and panel stays readable. No inline styles: dynamic values come in as
   custom properties via CSSOM. */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('/assets/fonts/hanken-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; src: url('/assets/fonts/hanken-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FAF6EF;
  --paper: #FFFDF8;
  --ink: #2A1A15;
  --ink-2: #4A3830;
  --sub: #786860;
  --surface: #F3ECE1;
  --surface-2: #EBE1D3;
  --line: #E8DED1;
  --line-2: #D8CBBB;
  --accent: #5E3F8F;
  --accent-deep: #452C6C;
  --accent-soft: #EEE8F5;
  --on-accent: #FFFDF8;
  --butter: #F4DC7A;
  --butter-soft: #FBF1C9;
  --blush: #F2D3CB;
  --noir: #1D1519;
  --noir-2: #2A2025;
  --noir-line: #3D3238;
  --noir-ink: #F6F0E6;
  --noir-sub: #B5A9A6;
  --lilac: #C8B5EC;
  --ok: #3E7A5C;
  --display: 'Fraunces', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --text: 'Hanken Grotesk', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -36px rgba(42, 26, 21, .45), 0 2px 6px -2px rgba(42, 26, 21, .08);
  --shadow-sm: 0 10px 24px -18px rgba(42, 26, 21, .45);
}

html[data-lang="en"] [lang="zh"], html[data-lang="zh"] [lang="en"] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.v3 { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.small { font-size: 14px; color: var(--sub); }
.fine { font-size: 14px; color: var(--sub); margin: 18px 0 0; }
.note { font-size: 14px; color: var(--sub); margin: 22px 0 0; }
.link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--accent-deep); }

h1, h2, h3 { font-family: var(--display); font-weight: 460; font-variation-settings: "SOFT" 100, "opsz" 96; letter-spacing: -0.02em; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
html[data-lang="zh"] h1, html[data-lang="zh"] h2 { letter-spacing: 0; font-weight: 600; }
html[data-lang="zh"] h1 em, html[data-lang="zh"] h2 em { font-style: normal; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.eyebrow::before, .kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
html[data-lang="zh"] .eyebrow, html[data-lang="zh"] .kicker { letter-spacing: .08em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 600 16px/1.1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-line { background: transparent; color: inherit; border-color: var(--line-2); }
.btn-line:hover { border-color: currentColor; }
.btn:active { transform: translateY(1px); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin: 0; }
.mark-ava { width: 40px; height: 40px; border-radius: 50%; display: block; }
.mark-word { width: auto; height: 26px; display: block; }
.nav { display: flex; gap: 26px; margin-left: 14px; }
.nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top-invite { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.top-invite:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: transparent; font: 600 13px/1 var(--text); padding: 7px 10px; border-radius: 999px; cursor: pointer; color: var(--sub); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 1040px) { .nav { display: none; } }
@media (max-width: 460px) { .top-r .btn { display: none; } .mark-word { height: 22px; } }

/* hero */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, var(--butter-soft), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -12vw; bottom: -18vw; width: 44vw; height: 44vw; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: .98; }
html[data-lang="zh"] .hero h1 { line-height: 1.14; font-size: clamp(40px, 5vw, 66px); }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 24px 0 0; max-width: 56ch; }
.lede-sm { font-size: 16px; margin-top: 14px; color: var(--sub); }
.nos { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nos li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.nos li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--butter) center / 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.5 8.5 2.5' fill='none' stroke='%232A1A15' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 14px; color: var(--sub); margin: 18px 0 0; max-width: 54ch; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 36px 0 64px; } }

/* the hero card deck: three cards stacked; the front one is pos-0, swipe or tap the dots */
.hero-side { display: grid; justify-items: center; gap: 22px; }
.deck { position: relative; width: min(360px, 82vw); aspect-ratio: 9 / 13; touch-action: pan-y; }
.deck-card { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s ease; transform-origin: 50% 100%; }
.deck-card.pos-0 { z-index: 3; transform: none; }
.deck-card.pos-1 { z-index: 2; transform: translate(12%, -3%) rotate(6deg) scale(.94); filter: saturate(.85) brightness(.97); }
.deck-card.pos-2 { z-index: 1; transform: translate(-12%, -2%) rotate(-6deg) scale(.9); filter: saturate(.7) brightness(.94); }
.deck-card:not(.pos-0) { cursor: pointer; }
.deck-card:not(.pos-0) > * { pointer-events: none; }
.deck-card:first-child { z-index: 3; }
.deck-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 11px; border-radius: 999px; background: var(--surface); color: var(--ink-2); position: relative; z-index: 1; }
.deck-shop { background: linear-gradient(180deg, var(--paper), var(--surface)); text-align: center; align-items: center; justify-content: space-between; }
.mini-tray { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 46%; margin-top: 18px; }
.mini-tray .nail { width: 17%; }
.deck-name { font: 460 34px/1.05 var(--display); font-variation-settings: "SOFT" 100, "opsz" 96; overflow-wrap: anywhere; }
.deck-code { font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.deck-code b { color: var(--accent); }
.deck-post { padding: 0; background: var(--noir); justify-content: space-between; }
.deck-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck-post .deck-tag { margin: 16px; background: rgba(29, 21, 25, .62); color: #fff; backdrop-filter: blur(8px); }
.deck-bonus { position: relative; z-index: 1; align-self: flex-start; margin: 16px; padding: 9px 14px; border-radius: 999px; background: var(--butter); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.deck-dash { background: var(--noir); color: var(--noir-ink); border-color: var(--noir-line); gap: 18px; }
.deck-dash .deck-tag { background: var(--noir-2); color: var(--noir-sub); }
.deck-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deck-kpis > span { background: var(--noir-2); border-radius: 16px; padding: 14px; display: grid; gap: 4px; }
.deck-kpis .wide { grid-column: 1 / -1; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.deck-kpis small { font-size: 12px; color: var(--noir-sub); }
.deck-kpis .wide small { color: rgba(255, 253, 248, .8); }
.deck-kpis b { font: 460 30px/1 var(--display); }
.deck-kpis .wide b { font-size: 44px; }
.deck-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 10px; height: 26%; }
.deck-bars i { flex: 1; border-radius: 10px 10px 4px 4px; background: var(--noir-2); }
.deck-bars .b1 { height: 100%; background: var(--butter); } .deck-bars .b2 { height: 46%; background: var(--lilac); } .deck-bars .b3 { height: 18%; }
.deck-dots { display: flex; gap: 8px; }
.deck-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease), background-color .3s ease; }
.deck-dots button[aria-current="true"] { width: 28px; background: var(--ink); }

/* nails (the tray motif, in the deck and the sample shop) */
.tray { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 168px; }
.tray::before { content: ""; position: absolute; left: 50%; bottom: -12px; width: 86%; height: 48px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--d-surface, var(--surface)), transparent); }
.nail { position: relative; display: block; width: 56px; overflow: hidden; border-radius: 50% 50% 44% 44% / 64% 64% 36% 36%; background: var(--surface); box-shadow: 0 10px 18px -10px rgba(42, 26, 21, .5); transform: rotate(var(--r)); transform-origin: 50% 100%; }
.nail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nail::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.12) 20%, rgba(255,255,255,0) 38%); pointer-events: none; }
.nail:nth-child(1) { height: 70%; --r: -10deg; } .nail:nth-child(2) { height: 88%; --r: -4deg; } .nail:nth-child(3) { height: 100%; --r: 0deg; } .nail:nth-child(4) { height: 91%; --r: 4deg; } .nail:nth-child(5) { height: 74%; --r: 10deg; }
@media (prefers-reduced-motion: no-preference) {
  .nail { animation: fan .9s var(--ease) both; }
  .nail:nth-child(2) { animation-delay: 70ms; } .nail:nth-child(3) { animation-delay: 140ms; } .nail:nth-child(4) { animation-delay: 210ms; } .nail:nth-child(5) { animation-delay: 280ms; }
  @keyframes fan { from { opacity: 0; transform: translateY(22px) rotate(0deg); } to { opacity: 1; transform: rotate(var(--r)); } }
}

/* sections */
.sec { padding: 112px 0; }
.sec-tint { background: var(--surface); }
.sec-noir { background: var(--noir); color: var(--noir-ink); }
.sec-noir .lede { color: var(--noir-ink); opacity: .86; }
.sec-noir .note, .sec-noir .fine, .sec-noir .small { color: var(--noir-sub); }
.sec-noir h2 em, .sec-noir .eyebrow { color: var(--lilac); }
.sec-noir .link { color: var(--lilac); }
.sec-noir .btn-line { border-color: var(--noir-line); }
.sec h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; max-width: 17ch; }
html[data-lang="zh"] .sec h2 { line-height: 1.2; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .lede { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-top { align-items: start; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); }
@media (max-width: 920px) { .sec { padding: 76px 0; } .sec-head, .split { grid-template-columns: 1fr; gap: 28px; } }

/* reveal on scroll (only once home.js marks the page; without it everything shows) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none; } }

/* the sample shop (the shop theme's look, in four styles) */
.device { --d-bg: #FFFDF8; --d-ink: #2A1A15; --d-sub: #786860; --d-surface: #F3ECE1; --d-line: #E8DED1; --d-accent: #5E3F8F;
  width: min(390px, 100%); margin: 0 auto; background: var(--d-bg); color: var(--d-ink); border: 1px solid var(--d-line); border-radius: 40px; padding: 16px 20px 24px; box-shadow: var(--shadow), 0 0 0 10px var(--paper), 0 0 0 11px var(--line); text-align: center; transition: background-color .4s ease, color .4s ease; }
.device[data-style="noir"] { --d-bg: #1D1519; --d-ink: #F6F0E6; --d-sub: #B5A9A6; --d-surface: #2A2025; --d-line: #3D3238; --d-accent: #C8B5EC; }
.device[data-style="candy"] { --d-bg: #FFF7F7; --d-ink: #3B2130; --d-sub: #7C6171; --d-surface: #FCE6EA; --d-line: #F5D3DA; --d-accent: #C2457A; }
.device[data-style="clean"] { --d-bg: #FFFFFF; --d-ink: #1D1D1F; --d-sub: #6E6E73; --d-surface: #F3F3F5; --d-line: #E5E5EA; --d-accent: #1D1D1F; }
.device .nail { background: var(--d-surface); }
.device-bar { display: flex; justify-content: center; margin-bottom: 14px; }
.device-url { font: 12px/1 var(--mono); color: var(--d-sub); background: var(--d-surface); padding: 7px 12px; border-radius: 999px; }
.device-url b { color: var(--d-ink); font-weight: 600; }
.device-name { font: 460 34px/1.05 var(--display); font-variation-settings: "SOFT" 100, "opsz" 96; margin: 28px 0 6px; overflow-wrap: anywhere; }
.device-bio { margin: 0 0 12px; font-size: 14px; color: var(--d-sub); }
.device-code { display: inline-block; font-size: 13px; background: var(--d-surface); border-radius: 999px; padding: 8px 14px; margin: 0; }
.device-code b { color: var(--d-accent); }
.device-kind { font-size: 12px; color: var(--d-accent); margin: 20px 0 10px; text-align: left; font-weight: 600; letter-spacing: .04em; }
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shelf-card { display: block; text-align: left; }
.shelf-card img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 14px; display: block; background: var(--d-surface); }
.shelf-card small { display: block; font-size: 12px; color: var(--d-sub); margin-top: 6px; line-height: 1.3; }
.shelf-card b { display: block; font-size: 13px; }
.style-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.style-pick button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 8px 14px 8px 9px; font: 600 14px/1 var(--text); cursor: pointer; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.style-pick i { width: 16px; height: 16px; border-radius: 50%; border: 4px solid #5E3F8F; background: #FFFDF8; }
.style-pick [data-style-set="noir"] i { border-color: #C8B5EC; background: #1D1519; }
.style-pick [data-style-set="candy"] i { border-color: #C2457A; background: #FFF7F7; }
.style-pick [data-style-set="clean"] i { border-color: #1D1D1F; background: #FFFFFF; }
.style-pick button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.namer { display: grid; gap: 6px; width: min(380px, 100%); margin: 20px 0 24px; font-size: 14px; color: var(--sub); }
.namer input { font: 16px var(--text); padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); }

/* how it works: step tabs */
.steps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: stretch; }
.steps-tabs { display: grid; gap: 6px; align-content: start; }
.steps-tabs button { display: flex; align-items: center; gap: 18px; text-align: left; border: 0; border-radius: var(--r); background: transparent; padding: 18px 20px; font: 500 20px/1.25 var(--display); color: var(--sub); cursor: pointer; position: relative; overflow: hidden; transition: background-color .3s ease, color .3s ease; }
.steps-tabs button b { font: 600 13px/1 var(--text); letter-spacing: .08em; color: inherit; }
.steps-tabs button:hover { color: var(--ink); }
.steps-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.steps-tabs button[aria-selected="true"] b { color: var(--accent); }
.steps-tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.steps.auto .steps-tabs button[aria-selected="true"]::after { animation: tick var(--step-ms, 5200ms) linear both; }
@keyframes tick { to { transform: scaleX(1); } }
.steps-panels { position: relative; min-height: 380px; }
.step-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 28px; align-items: center; height: 100%; background: var(--paper); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); }
.step-panel[hidden] { display: none; }
.step-panel h3 { font-size: 32px; line-height: 1.1; margin-bottom: 14px; }
.step-panel p { margin: 0; color: var(--ink-2); font-size: 18px; }
.step-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); display: block; }
@media (prefers-reduced-motion: no-preference) { .step-panel:not([hidden]) { animation: rise .5s var(--ease) both; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px; margin: 0 -16px; padding: 0 16px 6px; }
  .steps-tabs::-webkit-scrollbar { display: none; }
  .steps-tabs button { flex: none; scroll-snap-align: start; font-size: 16px; padding: 12px 16px; }
  .step-panel { grid-template-columns: 1fr; padding: 24px; }
  .step-panel img { aspect-ratio: 16 / 10; }
  .steps-panels { min-height: 0; }
}

/* gift concierge */
.concierge { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.concierge .eyebrow { margin: 0; }
.concierge .fine { margin: 0; }
.bubble { margin: 0; padding: 14px 18px; border-radius: 22px; max-width: 92%; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.bubble.dore { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.dore p { margin: 0 0 12px; }
.pick-cards { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.pick-cards li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--paper); border-radius: 14px; padding: 6px 12px 6px 6px; }
.pick-cards img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; display: block; }
.pick-cards b { display: block; font-size: 15px; font-weight: 600; }
.pick-cards small { color: var(--sub); font-size: 13px; }
.pick-cards em { font-style: normal; font-weight: 600; }
.chip-btn { display: inline-block; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .concierge .bubble { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js-reveal .in .concierge .bubble { opacity: 1; transform: none; }
  .js-reveal .in .concierge .bubble.dore { transition-delay: .5s; }
}

/* catalog */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cats figure { margin: 0; }
.cats img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--r); display: block; background: var(--surface-2); transition: transform .5s var(--ease); }
.cats figure:hover img { transform: translateY(-4px) rotate(-1deg); }
.cats figcaption { font-size: 15px; margin-top: 10px; font-weight: 600; }
.zero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.zero > div { background: var(--paper); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.zero b { font: 460 26px/1.1 var(--display); }
.zero > div > span { color: var(--ink-2); font-size: 15px; }
.zero > div:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.zero > div:last-child > span { color: rgba(255, 253, 248, .78); }
.zero > div:last-child b { color: var(--butter); }
@media (max-width: 920px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cats figure:last-child { display: none; } .zero { grid-template-columns: 1fr; } }

/* content studio: the format rail */
.formats-rail { position: relative; margin-bottom: 18px; }
.rail-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 16px; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; display: grid; gap: 10px; align-content: start; min-height: 220px; padding: 26px; border-radius: var(--r-lg); background: var(--noir-2); border: 1px solid var(--noir-line); transition: transform .4s var(--ease), border-color .3s ease, background-color .3s ease; }
.fcard b { font: 460 26px/1.1 var(--display); }
.fcard > span { font: italic 400 18px/1.35 var(--display); color: var(--lilac); }
.fcard-new { border-color: color-mix(in srgb, var(--lilac) 55%, var(--noir-line)); }
.fnew { justify-self: start; font: 600 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 6px 9px; border-radius: 999px; background: var(--lilac); color: var(--noir, #111); }
.fcard small { color: var(--noir-sub); font-size: 14px; margin-top: auto; }
.fcard:hover, .fcard.on { border-color: var(--lilac); transform: translateY(-4px); }
.fcard:nth-child(3n+1) b::before, .fcard:nth-child(3n+2) b::before, .fcard:nth-child(3n) b::before { content: ""; display: block; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px; background: var(--butter); }
.fcard:nth-child(3n+2) b::before { background: var(--lilac); }
.fcard:nth-child(3n) b::before { background: var(--blush); }
.rail-nav { display: flex; gap: 8px; justify-content: flex-end; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--noir-line); background: transparent; color: var(--noir-ink); font-size: 22px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.rail-nav button:hover:not(:disabled) { background: var(--noir-ink); color: var(--noir); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.more-formats { color: var(--noir-sub); font-size: 15px; margin: 0 0 40px; max-width: 80ch; }

/* example posts */
.examples-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ex { display: flex; flex-direction: column; gap: 12px; }
.ex[hidden] { display: none; }
.ex-media { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--noir-2); }
.ex-media img, .ex-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-kind { position: absolute; left: 10px; top: 10px; font-size: 12px; background: rgba(29,21,25,.66); color: #fff; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.ex-nav { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ex-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,253,248,.92); color: var(--ink); font-size: 18px; cursor: pointer; }
.ex-nav button:disabled { opacity: .35; cursor: default; }
.ex-count { font-size: 12px; color: #fff; background: rgba(29,21,25,.6); padding: 4px 9px; border-radius: 999px; }
.ex-body { display: grid; gap: 4px; }
.ex-body b { font-family: var(--display); font-weight: 460; font-size: 19px; }
.ex-cat { font-size: 12px; color: var(--lilac); text-transform: uppercase; letter-spacing: .08em; }
.ex-hook { font-size: 14px; font-style: italic; color: var(--noir-ink); }
.ex-why { font-size: 14px; color: var(--noir-sub); }
.ex-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ex-filter button { border: 1px solid var(--noir-line); background: transparent; color: var(--noir-ink); border-radius: 999px; padding: 8px 14px; font: 14px var(--text); cursor: pointer; }
.ex-filter button[aria-pressed="true"] { background: var(--noir-ink); color: var(--noir); border-color: var(--noir-ink); }
.ex-foot { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 1000px) { .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* sharing: channel tabs and sponsored credits */
.channels { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.ch-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; justify-self: start; }
.ch-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 15px; font: 600 14px/1 var(--text); color: var(--sub); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ch-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ch-panel { display: grid; gap: 12px; min-height: 96px; }
.ch-panel[hidden] { display: none; }
.ch-panel p { margin: 0; font-size: 17px; }
.ch-panel code { font: 13px var(--mono); background: var(--bg); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) { .ch-panel:not([hidden]) { animation: rise .4s var(--ease) both; } }
.sponsor { background: linear-gradient(135deg, var(--butter-soft), var(--paper)); border: 1px solid #EBD99A; border-radius: var(--r); padding: 20px; display: grid; gap: 8px; }
.sponsor b { font: 460 22px/1.1 var(--display); }
.sponsor p { margin: 0; font-size: 15px; color: var(--ink-2); }
.sponsor code { font: 600 13px var(--mono); justify-self: start; background: var(--ink); color: var(--butter); padding: 7px 12px; border-radius: 999px; }

/* dashboard sample */
.dash { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; }
.tile small { font-size: 13px; color: var(--sub); }
.tile b { font: 460 40px/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; }
.tile:nth-child(3) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile:nth-child(3) small { color: rgba(255, 253, 248, .7); }
.tile:nth-child(4) b { color: var(--accent); }
.tile-wide { grid-column: 1 / -1; }
.bars { display: grid; gap: 12px; margin-top: 6px; }
.bar { display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 14px; }
.bar i { display: block; height: 10px; border-radius: 6px; background: var(--ink); transform-origin: left; }
.bar-tt i { width: 100%; } .bar-ig i { width: 42%; background: var(--accent); } .bar-ot i { width: 15%; background: var(--butter); }
@media (prefers-reduced-motion: no-preference) { .js-reveal .reveal .bar i { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; } .js-reveal .reveal.in .bar i { transform: none; } }
.dash .fine { grid-column: 1 / -1; margin: 0; }
@media (max-width: 760px) { .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile b { font-size: 32px; } }

/* creator stories */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; gap: 10px; }
.case-media { position: relative; aspect-ratio: 9 / 13; border-radius: 22px; background: var(--noir); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s ease; }
.case:hover .case-media { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.case-play span { position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,253,248,.94); display: grid; place-items: center; }
.case-play span::before { content: ''; border-left: 14px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.case-len { position: absolute; right: 12px; bottom: 14px; background: rgba(29,21,25,.7); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.case-body { display: grid; gap: 2px; font-size: 14px; }
.case-body b { font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan, .tier-free { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tier-free { background: var(--butter-soft); border-color: #EBD99A; }
.plan.popular { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow); }
.plan.popular .plan-price span { color: rgba(255, 253, 248, .7); }
.plan.popular li::before { background: var(--butter); }
.plan.popular .btn-ink { background: var(--butter); color: var(--ink); }
.plan.popular .btn-ink:hover { background: var(--paper); }
.plan h3, .tier-free h3 { font-size: 26px; }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--butter); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan-price b { font: 460 48px/1 var(--display); }
.plan-price span { color: var(--sub); }
.plan ul, .tier-free ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; }
.plan li, .tier-free li { padding-left: 20px; position: relative; font-size: 15px; }
.plan li::before, .tier-free li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; font-size: 15px; }
.plan-extras p { margin: 0; background: var(--paper); border-radius: var(--r); padding: 18px 20px; }
@media (max-width: 1040px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers, .plan-extras { grid-template-columns: 1fr; } }

/* agents */
.agent-box { background: var(--noir-2); border: 1px solid var(--noir-line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; }
.code { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: var(--noir); border-radius: 14px; padding: 10px 10px 10px 16px; font: 14px var(--mono); overflow-wrap: anywhere; }
.code button { border: 0; background: var(--butter); color: var(--ink); border-radius: 999px; padding: 8px 15px; font: 700 13px var(--text); cursor: pointer; }
.say { margin: 0; font-size: 15px; color: var(--noir-sub); }
.pill { justify-self: start; font-size: 13px; border: 1px solid var(--noir-line); border-radius: 999px; padding: 6px 12px; }
.way-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }

/* faq */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* closing and footer */
.closing { padding: 128px 0; text-align: center; background: radial-gradient(50% 70% at 50% 100%, var(--butter-soft), transparent), radial-gradient(40% 60% at 85% 10%, var(--accent-soft), transparent), var(--bg); }
.closing-in { display: grid; justify-items: center; }
.closing-ava { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 24px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .closing-ava { animation: float 5s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } } }
.closing h2 { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.02; max-width: 15ch; margin: 0 auto; }
.closing .lede { margin-inline: auto; }
.closing .cta-row { justify-content: center; }
.foot { background: var(--noir); color: var(--noir-ink); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 600 12px var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--noir-sub); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--butter); }
.foot .small { color: var(--noir-sub); max-width: 40ch; }
.mark-foot { margin-bottom: 12px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid var(--noir-line); margin-top: 40px; padding-top: 18px; font-size: 13px; color: var(--noir-sub); }
.foot-links { display: flex; gap: 16px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* lightbox and toast */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(29,21,25,.84); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox-inner { position: relative; width: min(420px, 100%); }
.lightbox video { width: 100%; max-height: 80vh; border-radius: 18px; background: #000; display: block; }
.lightbox-close { position: absolute; right: -6px; top: -46px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; cursor: pointer; }
.lightbox-meta { color: var(--noir-ink); font-size: 14px; display: flex; gap: 12px; justify-content: space-between; margin: 10px 0 0; }
.lightbox-meta .link { color: var(--lilac); }
body.has-lightbox { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); }
.toast[hidden] { display: none; }

/* --- community page (/community) and AI UGC template cards ------------------------------------ */
.c-h1 { font: 460 clamp(38px, 6vw, 68px)/1.04 var(--display); letter-spacing: -.02em; margin: 6px 0 0; }
.c-h1 em { font-style: italic; color: var(--accent); }
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 22px; margin-top: 36px; }
.c-tpl { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--noir-2); border: 1px solid var(--noir-line); }
.c-media { position: relative; aspect-ratio: 9 / 16; background: #120c0f; }
.c-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-prod { position: absolute; left: 10px; bottom: 10px; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.c-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--noir-sub); font-size: 14px; }
.c-body { display: grid; gap: 8px; align-content: start; padding: 18px 18px 20px; }
.c-body b { font: 460 22px/1.15 var(--display); }
.c-why { color: var(--noir-sub); font-size: 14px; line-height: 1.5; }
.c-meta { color: var(--lilac); font-size: 13px; }
.c-programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.c-prog { display: grid; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.c-prog b { font: 460 22px/1.2 var(--display); }
.c-prog small { color: var(--sub); }
.c-empty { color: var(--sub); }
.c-steps { margin: 24px 0 18px; padding-left: 22px; display: grid; gap: 14px; }
.c-steps code { font-size: 13px; padding: 2px 8px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); overflow-wrap: anywhere; }
.c-steps .btn { margin-left: 6px; vertical-align: middle; }
.c-card { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.c-code { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.c-say { font: italic 400 20px/1.45 var(--display); margin-top: 10px; }
@media (max-width: 920px) { #share .split, #brands .split { grid-template-columns: 1fr; gap: 32px; } }
.ex-new { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* --- sponsored credits per sale (homepage share section) ------------------------------------- */
.sponsor-cards { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.sp-lede { color: var(--sub); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.sp-card { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 18px; background: var(--bg, #FAF7F2); border: 1px solid var(--line); }
.sp-card b { font-size: 14px; line-height: 1.35; }
.sp-price { color: var(--sub); font-size: 13px; }
.sp-card strong { font: 500 30px/1.05 var(--display); color: var(--accent); margin-top: 6px; }
.sp-card small { color: var(--sub); font-size: 12px; }
.sponsor-cards code { font-size: 12.5px; color: var(--sub); overflow-wrap: anywhere; }

/* hero deck: every card is an AI UGC video */
.deck-video { padding: 0; background: #120c0f; color: #fff; justify-content: space-between; border-color: rgba(255, 255, 255, .08); }
.deck-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .58) 100%); }
.deck-video .deck-tag { margin: 16px; background: rgba(29, 21, 25, .62); color: #fff; backdrop-filter: blur(8px); }
.deck-foot { position: relative; z-index: 1; margin: 16px; display: grid; gap: 10px; justify-items: start; }
.deck-video .deck-name { color: #fff; font-size: 30px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.deck-video .deck-code { background: rgba(255, 253, 248, .92); color: var(--ink); border: 0; }
.deck-video .deck-bonus { margin: 0; }
.deck-strip { position: relative; z-index: 1; margin: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.deck-strip > span { display: grid; gap: 3px; padding: 10px 12px; border-radius: 14px; background: rgba(29, 21, 25, .62); backdrop-filter: blur(8px); }
.deck-strip small { font-size: 11px; color: rgba(255, 253, 248, .75); }
.deck-strip b { font: 460 20px/1 var(--display); color: #fff; }

/* --- creator storefront mock: header, tabs, shoppable videos ---------------------------------- */
.sf-ticks { margin-top: 20px; }
.sf-ticks b { font-weight: 700; }
.sf-head { display: flex; align-items: center; gap: 14px; text-align: left; margin: 6px 0 12px; }
.sf-ava { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--d-surface); border: 2px solid var(--d-line); flex: none; }
.sf-head .device-name { margin: 0 0 4px; font-size: 28px; }
.sf-head .device-bio { margin: 0; }
.sf-tabs { display: flex; gap: 18px; margin: 18px 0 12px; font-size: 13px; color: var(--d-sub); border-bottom: 1px solid var(--d-line); }
.sf-tabs > * { padding-bottom: 8px; }
.sf-tabs b { color: var(--d-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--d-accent); }
.sf-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sf-vid { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #120c0f; aspect-ratio: 9 / 14; }
.sf-vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-vid::before { content: "▶"; position: absolute; top: 8px; right: 8px; font-size: 10px; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); }
.sf-vid i { position: absolute; left: 6px; right: 6px; bottom: 6px; font: 600 10.5px/1.2 var(--text); font-style: normal; color: #fff; text-align: center; padding: 6px 4px; border-radius: 999px; background: rgba(29, 21, 25, .66); backdrop-filter: blur(6px); }

/* --- AI product discovery: a chat with the picking agent --------------------------------------- */
.agent-demo { display: grid; gap: 16px; margin-top: 40px; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-chips button { font: 600 14px/1 var(--text); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.ad-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ad-card { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ad-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ad-head img { width: 36px; height: 36px; border-radius: 50%; }
.ad-head small { margin-left: auto; color: var(--sub); font-size: 12px; }
.ad-log { display: grid; gap: 14px; padding: 20px; min-height: 340px; align-content: start; }
.ad-msg { max-width: min(760px, 100%); }
.ad-msg p { margin: 0; font-size: 15px; line-height: 1.5; }
.ad-msg.me { justify-self: end; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 20px 20px 6px 20px; max-width: min(520px, 92%); }
.ad-msg.dore { justify-self: start; display: grid; gap: 12px; }
.ad-msg.dore > p { background: var(--surface, #F3ECE1); padding: 12px 16px; border-radius: 20px 20px 20px 6px; justify-self: start; }
.ad-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ad-pick { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg, #FAF7F2); align-items: start; }
.ad-pick img { width: 84px; height: 112px; object-fit: cover; border-radius: 12px; background: var(--surface, #F3ECE1); }
.ad-pick > div { display: grid; gap: 4px; min-width: 0; }
.ad-pick b { font-size: 14px; line-height: 1.3; }
.ad-price { font-weight: 700; font-size: 14px; }
.ad-credit { justify-self: start; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--butter, #F6E7A9); color: var(--ink); }
.ad-pick small { color: var(--sub); font-size: 12.5px; line-height: 1.4; }
.ad-video { justify-self: start; font-size: 11.5px; font-weight: 600; color: var(--accent); }
.ad-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-btn { font: 600 13px/1 var(--text); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.ad-btn.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ad-msg.typing { display: flex; gap: 5px; padding: 14px 16px; background: var(--surface, #F3ECE1); border-radius: 20px 20px 20px 6px; }
.ad-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sub); animation: ad-dot 1s infinite ease-in-out; }
.ad-msg.typing i:nth-child(2) { animation-delay: .15s; } .ad-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ad-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ad-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px 20px; padding: 12px 14px 12px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--sub); font-size: 14px; }
.ad-input i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); flex: none; }
@media (max-width: 900px) { .ad-picks { grid-template-columns: 1fr; } .ad-log { min-height: 0; } }

/* --- share a template, earn credits (AI UGC studio section) ------------------------------------ */
.share-earn { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 40px; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--noir-2), #352a31); border: 1px solid var(--lilac); }
.share-earn h3 { font: 460 clamp(24px, 3vw, 32px)/1.15 var(--display); margin: 8px 0 10px; }
.share-earn h3 em { color: var(--butter); font-style: italic; }
.share-earn p { margin: 0; color: var(--noir-sub); }
.se-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.se-steps li { display: flex; gap: 12px; align-items: center; }
.se-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--noir); font-size: 13px; flex: none; }
.btn-butter { background: var(--butter); color: var(--ink); border-color: var(--butter); white-space: nowrap; }
@media (max-width: 920px) { .share-earn { grid-template-columns: 1fr; } }

/* --- MCP servers (agents section) ------------------------------------------------------------- */
.mcp-cards { display: grid; gap: 18px; }
.mcp-card { background: var(--noir-2); border: 1px solid var(--noir-line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.mcp-who { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); }
.mcp-card h3 { margin: 0; font: 460 24px/1.15 var(--display); }
.mcp-tools { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--noir-ink); font-size: 14.5px; }
.mcp-tools li::marker { color: var(--butter); }
.mcp-brand { border-color: color-mix(in srgb, var(--butter) 45%, var(--noir-line)); }
.mcp-brand .mcp-who { color: var(--butter); }

/* Waitlist (/waitlist): ask for an invite. */
.wl-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.wl-perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.wl-perks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.wl-perks i { font: 600 15px/1 var(--text); font-style: normal; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--noir); color: var(--butter); }
.wl-perks b { display: block; font-size: 17px; line-height: 1.35; }
.wl-perks small { display: block; color: var(--sub); font-size: 14px; margin-top: 4px; }
.wl-form { display: grid; gap: 16px; }
.wl-form[hidden], .wl-done[hidden] { display: none; }
.wl-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.wl-form label small { font-weight: 400; color: var(--sub); }
.wl-form input, .wl-form select, .wl-form textarea { font: 16px/1.4 var(--text); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.wl-form textarea { min-height: 88px; resize: vertical; }
.wl-form .btn { justify-self: start; }
.wl-form .btn[disabled] { opacity: .6; cursor: progress; }
.wl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.wl-chips legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.wl-form .wl-chip { display: inline-flex; position: relative; gap: 0; font-weight: 500; }
.wl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; }
.wl-chip > span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.wl-chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wl-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-form .wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-status:empty { display: none; }
.wl-status { margin: 0; color: var(--accent-deep); }
.wl-done .wl-done-h { font: 460 clamp(28px, 4vw, 40px)/1.1 var(--display); margin: 8px 0 12px; max-width: none; }
.wl-done:focus { outline: none; }
.wl-side { min-width: 0; }
@media (max-width: 920px) { .wl-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .wl-row { grid-template-columns: 1fr; } .wl-form .btn { justify-self: stretch; } }
@media (max-width: 560px) { .top-invite + .btn { display: none; } }
