/* try.innexai.ai creator landing page. Tokens come from the pinned _ds build
   (see .claude/skills/innex-design/ui_kits/marketing/landing-pinned.css for how it
   differs from the current system); no tokens are redefined here. */
:root { --try-max: 1180px; --gutter: 20px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface-canvas); color: var(--text-primary); font-family: var(--font-sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.is-loading main, body.is-loading .bar .via { visibility: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-serif); font-weight: 400; }
a { color: inherit; }
.wrap { max-width: var(--try-max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface-canvas) 90%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 22px; height: 22px; }
.brand span { font-family: var(--font-serif); font-size: 21px; letter-spacing: -0.02em; }
.via { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--text-secondary);
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 999px; padding: 4px 12px 4px 4px; }
.via > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.via b { color: var(--text-primary); font-weight: 500; }

/* Names, handles and bios come from the platforms and can be one endless word */
.sent p, .hook, .who, .network, .final h2, .m-title, .m-brief b, .m-bio { overflow-wrap: anywhere; }

/* Faces: initials sit under the photo, so a missing image never leaves an empty circle */
.face { position: relative; flex: none; display: inline-grid; place-items: center; overflow: hidden; border-radius: 999px;
  background: var(--iris-100); color: var(--iris-700); font: 500 13px/1 var(--font-sans); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn { min-height: 54px; border: 0; border-radius: 14px; padding: 12px 24px; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; font: 500 16px/1.3 var(--font-sans); text-align: center; text-decoration: none;
  transition: transform var(--duration-instant) var(--ease-standard), background var(--duration-base) var(--ease-standard); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn-primary { background: var(--action-primary); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--action-primary-hover); }
.btn-primary img { flex: none; width: 16px; height: 16px; filter: brightness(0) invert(1); }
.fine { font-size: 13px; color: var(--text-tertiary); }

/* Hero */
.hero { padding: 36px 0 44px; }
.hero-grid { display: grid; gap: 36px; }
.sent { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.sent .face { box-shadow: 0 0 0 3px var(--surface-canvas), 0 0 0 4px var(--iris-300); }
.sent p { font-size: 15px; line-height: 1.35; color: var(--text-secondary); }
.sent p b { color: var(--text-primary); font-weight: 500; }
.hook { font-size: clamp(42px, 10vw, 80px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.hook .soft { color: var(--text-secondary); }
.lede { margin-top: 20px; max-width: 34em; font-size: 18px; line-height: 1.5; color: var(--text-secondary); }
.lede b { color: var(--text-primary); font-weight: 500; }
.alike { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.alike-faces { display: flex; align-items: center; }
.alike-faces .face { width: 52px; height: 52px; margin-right: -10px; box-shadow: 0 0 0 3px var(--surface-canvas); }
.alike-faces .face.seed { width: 64px; height: 64px; margin-right: 6px; z-index: 1; box-shadow: 0 0 0 3px var(--surface-canvas), 0 0 0 5px var(--iris-300); }
.alike-faces .face.blur { color: transparent; background: var(--slate-200); }
.alike-faces .face.blur img { filter: blur(5px) saturate(0.8); transform: scale(1.3); }
.alike-faces .more { margin-left: 20px; font: 500 14px var(--font-sans); color: var(--text-secondary); }
.alike .btn { width: 100%; max-width: 420px; }

/* Portrait */
.portrait { background: var(--surface-card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-ai-panel); }
.who { display: flex; align-items: center; gap: 14px; }
.who > div { min-width: 0; }
.who h2 { font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; }
.who .meta { margin-top: 4px; font-size: 14px; color: var(--text-secondary); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.stat { background: var(--surface-sunken); border-radius: 12px; padding: 10px 12px; }
.stat strong { display: block; font: 400 24px/1.1 var(--font-serif); letter-spacing: -0.01em; font-weight: 400; }
.stat span { font-size: 12px; color: var(--text-tertiary); }
.network { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--text-secondary); }
.network b { color: var(--text-primary); font-weight: 500; }

/* Live band */
.live { background: var(--surface-inverse); color: var(--text-inverse); padding: 56px 0 44px; overflow: hidden; }
.live h2 { color: var(--text-inverse); font-size: clamp(32px, 7vw, 56px); line-height: 1.02; letter-spacing: -0.025em; max-width: 14em; text-wrap: balance; }
.pulse { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; color: #b9b6d9; }
.pulse i { width: 8px; height: 8px; border-radius: 99px; background: #4ade80; animation: try-ping 1.8s infinite; }
@keyframes try-ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
.counters { display: grid; grid-template-columns: 1fr; gap: 26px 18px; margin-top: 36px; }
.counter strong { display: block; font: 400 clamp(40px, 9vw, 64px)/1 var(--font-serif); letter-spacing: -0.03em; color: #fff; }
.counter span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: #b9b6d9; max-width: 22em; }
.marquee-viewport { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; gap: 12px; width: max-content; padding: 6px 0; animation: try-drift 110s linear infinite; }
.marquee-viewport:hover .marquee, .marquee:focus-within { animation-play-state: paused; }
@keyframes try-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-face { position: relative; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 999px; overflow: hidden; cursor: default;
  display: grid; place-items: center; background: #2c2945; color: #c7c7e6; font: 500 14px var(--font-sans);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base); }
.mq-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mq-face:hover, .mq-face:focus-visible { outline: none; transform: scale(1.12); box-shadow: 0 0 0 2px #fff; }
.marquee-note { margin-top: 14px; font-size: 13px; color: #8f8cb3; }

/* Face tooltip: one floating element, positioned in JS so the marquee's overflow never clips it */
.tip { position: fixed; z-index: 60; min-width: 168px; max-width: 220px; padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: #fff; color: var(--text-primary); box-shadow: 0 12px 32px rgba(8, 6, 24, 0.35), 0 0 0 1px rgba(22, 20, 43, 0.06);
  transform: translate(-50%, calc(-100% - 12px)); animation: try-tip var(--duration-fast, 140ms) var(--ease-out) both; }
.tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fff;
  transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
@keyframes try-tip { from { opacity: 0; transform: translate(-50%, calc(-100% - 6px)); } to { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); } }
.tip-top { display: flex; align-items: center; gap: 7px; font: 600 13px/1.2 var(--font-sans); }
.tip-top img { width: 14px; height: 14px; flex: none; }
.tip-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tip-meta { margin-top: 5px; display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.tip-meta strong { font: 400 17px/1 var(--font-serif); color: var(--text-primary); letter-spacing: -0.01em; }
.tip-niche { margin-top: 6px; display: inline-block; padding: 3px 7px; border-radius: 999px; font: 500 11px/1.2 var(--font-sans);
  color: var(--text-accent); background: var(--interactive-subtle); }

/* Reasons */
.reason { padding: 64px 0 8px; }
.reason h2 { font-size: clamp(36px, 8.5vw, 64px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.reason h2 .soft { color: var(--text-tertiary); }
.reason .sub { margin-top: 16px; max-width: 34em; font-size: 18px; color: var(--text-secondary); }
.reason .sub b { color: var(--text-primary); font-weight: 500; }
.reason-split { display: grid; gap: 28px; }
.film { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--surface-inverse); box-shadow: var(--shadow-modal); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thread { display: grid; gap: 12px; max-width: 640px; padding: 18px; border-radius: 20px; background: var(--surface-card); box-shadow: var(--shadow-card); }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg small { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; color: var(--text-tertiary); }
.msg.them { background: var(--surface-sunken); }
.msg.us { margin-left: auto; background: var(--interactive-subtle); }
.msg.us small { color: var(--text-accent); }
.msg.us small img { width: 12px; height: 12px; }
.deal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; padding: 6px 4px 2px; }
.deal .was { font: 400 28px var(--font-serif); color: var(--text-tertiary); text-decoration: line-through; }
.deal .now { font: 400 44px var(--font-serif); letter-spacing: -0.02em; }
.deal .off { padding: 5px 10px; border-radius: 999px; font: 600 14px var(--font-sans); color: var(--gold-accent); background: var(--gold-accent-bg); }
.vs { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 20px; background: var(--surface-card); box-shadow: var(--shadow-card); }
.vs > div { padding: 18px; }
.vs .them { background: var(--surface-sunken); }
.vs h3 { margin-bottom: 6px; font: 500 14px var(--font-sans); color: var(--text-secondary); }
.vs .price { font: 400 clamp(28px, 7vw, 40px)/1 var(--font-serif); letter-spacing: -0.02em; white-space: nowrap; }
.vs .them .price { color: var(--text-tertiary); }
.vs .price small { font: 400 14px var(--font-sans); color: var(--text-tertiary); }
.vs ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.4; }
.vs .them li { color: var(--text-tertiary); }

/* Final + footer */
.final { padding: 72px 0 96px; }
.final h2 { margin-bottom: 26px; max-width: 12em; font-size: clamp(38px, 9.5vw, 72px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.final .btn { width: 100%; max-width: 420px; }
footer { padding: 24px 0 48px; border-top: 1px solid var(--border-subtle); font-size: 13px; color: var(--text-tertiary); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
footer a { color: inherit; text-decoration: none; }
.foot-end { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- Match sheet ---------- */
body.m-open { overflow: hidden; }
.m-sheet { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 24px;
  background: var(--surface-canvas); color: var(--text-primary); box-shadow: var(--shadow-modal); overflow: auto; overscroll-behavior: contain; }
.m-sheet::backdrop { background: rgba(22, 20, 43, 0.52); }
.m-sheet[open] { animation: m-rise var(--duration-slow) var(--ease-out) both; }
@keyframes m-rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
.m-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: color-mix(in srgb, var(--surface-canvas) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.m-brand { display: inline-flex; align-items: center; gap: 8px; font: 400 19px var(--font-serif); letter-spacing: -0.02em; }
.m-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 13px;
  color: var(--text-secondary); background: var(--surface-card); border: 1px solid var(--border-subtle); }
.m-x { margin-left: auto; flex: none; width: 34px; height: 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface-sunken); color: var(--text-secondary); font: 400 22px/1 var(--font-sans); }
.m-x:hover { background: var(--surface-active); color: var(--text-primary); }
.m-x:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.m-body { padding: 28px 28px 0; }
.m-flower { width: 18px; height: 18px; flex: none; }
.m-title { max-width: 16em; font-size: clamp(30px, 5vw, 44px); line-height: 1.04; letter-spacing: -0.022em; outline: none; text-wrap: balance; }
.m-sub { margin-top: 12px; max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.m-sub b { color: var(--text-primary); font-weight: 500; }
.m-brief { margin-top: 22px; display: grid; gap: 1px; overflow: hidden; border-radius: 16px; background: var(--border-subtle); }
.m-brief > div { display: grid; gap: 2px; padding: 12px 16px; background: var(--surface-card); }
.m-brief span { font-size: 12px; color: var(--text-tertiary); }
.m-brief b { font-size: 14px; line-height: 1.4; font-weight: 500; }
.m-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.m-row { position: relative; display: grid; grid-template-columns: 22px 52px minmax(0, 1fr); gap: 4px 14px; align-items: center;
  padding: 14px 44px 14px 14px; border-radius: 16px; background: var(--surface-card); box-shadow: var(--shadow-card); }
.m-row.is-open { padding-right: 14px; }
.m-rank { font: 400 20px/1 var(--font-serif); color: var(--text-tertiary); text-align: center; }
.m-face { width: 52px; height: 52px; font-size: 15px; }
.m-face.is-masked { color: transparent; background: radial-gradient(circle at 50% 36%, var(--slate-300) 0 26%, var(--slate-200) 27% 100%); }
.m-who { min-width: 0; display: grid; gap: 2px; }
.m-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.m-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--text-tertiary); }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.m-tag { padding: 5px 8px; border-radius: 999px; font: 500 11.5px/1 var(--font-sans); color: var(--text-accent); background: var(--interactive-subtle); }
.m-tag.is-free { color: var(--gold-accent); background: var(--gold-accent-bg); }
.m-why { grid-column: 3; display: grid; gap: 6px; margin-top: 6px; font-size: 13.5px; line-height: 1.45; }
.m-bio { color: var(--text-secondary); }
.m-bar { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--slate-150), var(--slate-200)); }
.m-nums { grid-column: 3; margin-top: 10px; }
.m-nums b { display: block; font: 400 17px/1.15 var(--font-serif); letter-spacing: -0.01em; white-space: nowrap; }
.m-row:not(.is-open) .m-nums b { font-size: 15.5px; }
.m-nums span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-tertiary); }
.m-lock { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-sunken); }
.m-lock svg { width: 14px; height: 14px; fill: none; stroke: var(--text-tertiary); stroke-width: 1.6; stroke-linecap: round; }
.m-stickybar { display: none; position: sticky; bottom: 0; z-index: 2; margin: 12px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface-card) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--border-subtle); }
.m-stickybar .btn { width: 100%; }
.m-gate { position: sticky; bottom: 0; z-index: 2; margin: 20px -28px 0; padding: 20px 28px 24px; display: grid; gap: 16px;
  background: var(--surface-card); border-top: 1px solid var(--border-subtle); box-shadow: 0 -18px 40px -24px rgba(22, 20, 43, 0.35); }
.m-gate h3 { font: 400 26px/1.1 var(--font-serif); letter-spacing: -0.015em; }
.m-gate p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.m-gate-actions { display: grid; gap: 10px; align-content: start; }
.m-gate-actions .btn { width: 100%; min-height: 50px; }
.m-gate-actions .fine { text-align: center; }
.m-gate-actions .fine a { color: var(--text-secondary); }

/* One page, two versions: a creator with a prepared page, or none */
body:not(.is-general) [data-only="general"], body.is-general [data-only="creator"] { display: none; }
.sample h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.sample-list { list-style: none; margin: 14px 0 0; padding: 0; }
.sample-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; }
.sample-list li + li { border-top: 1px solid var(--border-subtle); }
.sample-list li div { display: grid; min-width: 0; }
.sample-list li div b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sample-list li div span { font-size: 13px; color: var(--text-tertiary); }
.sample-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); }
.sample-meta img { width: 16px; height: 16px; }
.final [data-only="general"] h2 { max-width: 16em; }

/* Chinese: no Latin tightening, looser leading */
html[lang^="zh"] .hook, html[lang^="zh"] .live h2, html[lang^="zh"] .reason h2, html[lang^="zh"] .final h2, html[lang^="zh"] .m-title { letter-spacing: 0; line-height: 1.18; }
html[lang^="zh"] .lede, html[lang^="zh"] .reason .sub, html[lang^="zh"] .m-sub { line-height: 1.75; }
/* Chinese headings break between phrases, at the punctuation, not inside a word;
   a phrase wider than the line still breaks instead of overflowing. */
html[lang^="zh"] .hook, html[lang^="zh"] .live h2, html[lang^="zh"] .reason h2, html[lang^="zh"] .final h2, html[lang^="zh"] .m-title { word-break: keep-all; overflow-wrap: anywhere; }
html[lang^="zh"] .live h2 { font-size: clamp(28px, 7vw, 56px); }
/* Sized to their column, so the longest phrase (ten characters in the hook, nine in a
   section title) fits on one line. */
.hero-copy, .reason .wrap, .reason-split > div { container-type: inline-size; }
html[lang^="zh"] .hook { font-size: min(80px, 9.4cqi); }
html[lang^="zh"] .reason h2 { font-size: min(64px, 10.5cqi); }

/* Breakpoints */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .counters { grid-template-columns: repeat(3, 1fr); }
  .m-brief { grid-template-columns: 0.9fr 1.1fr 1.1fr; }
  .m-row, .m-row.is-open { grid-template-columns: 24px 52px minmax(0, 1fr) minmax(0, 1.3fr) 110px; padding-right: 50px; }
  .m-why, .m-nums { grid-column: auto; margin-top: 0; }
  .m-gate { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 76px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 56px; }
  .live { padding: 88px 0 64px; }
  .reason { padding: 104px 0 8px; }
  .reason-split { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
}
@media (max-width: 719px) {
  .m-sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .m-body { padding: 22px 16px 0; }
  .m-gate { position: static; margin: 18px -16px 0; padding: 20px 16px; box-shadow: none; }
  .m-gate h3 { font-size: 22px; }
  .m-stickybar { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee, .pulse i, .m-sheet[open], .tip { animation: none; }
}
