/* MockMock marketing pages — same 影棚 tokens as the editor, zero third-party
   requests (system font stack + local Poppins wordmark + inline SVG icons). */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --panel: #151516;
  --well: #202022;
  --hair: rgba(255, 255, 255, 0.07);
  --hair-strong: rgba(255, 255, 255, 0.12);
  --text: #f2f2f3;
  --dim: #929297;
  --faint: #57575c;
  --key: #f5f5f5;
  --key-ink: #111112;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--text);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: #ffffff; }
.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.brand b { font-family: Poppins, Inter, system-ui, sans-serif; font-size: 15px; font-weight: 700; font-style: italic; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
.site-nav > a:not(.btn) { color: var(--dim); }
.site-nav > a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .site-nav > a:not(.btn) { display: none; } }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 11px;
  font-weight: 600; font-size: 14.5px;
  transition: background 140ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-key { background: var(--key); color: var(--key-ink); }
.btn-key:hover { background: #ffffff; color: var(--key-ink); }
.btn-ghost { border: 1px solid var(--hair-strong); background: var(--panel); color: var(--text); font-weight: 400; font-size: 14px; }
.btn-ghost:hover { background: var(--well); color: var(--text); }
.btn-sm { height: 36px; padding: 0 15px; border-radius: 9px; font-size: 13px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; padding-top: clamp(56px, 9vh, 96px); padding-bottom: 72px; }
.hero-copy { flex: 1 1 420px; min-width: 300px; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 52px);
  /* Locked 2-line box: same used clamp so height tracks font-size across locales. */
  line-height: 1.25;
  height: calc(clamp(34px, 4.4vw, 52px) * 1.25 * 2);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.hero .sub {
  margin: 18px 0 0;
  max-width: 46ch;
  /* Locked 4-line box so EN / 中文 / 日本語 body length cannot shift CTAs. */
  font-size: 16.5px;
  line-height: 1.55;
  height: calc(16.5px * 1.55 * 4);
  overflow: hidden;
  color: var(--dim);
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.trust { margin: 22px 0 0; font-size: 12.5px; color: var(--faint); letter-spacing: 0.01em; }

/* Hero visual: real editor capture. */
.hero-visual { flex: 1 1 460px; min-width: 300px; display: flex; justify-content: center; }
.hero-shot {
  display: block; width: 100%; max-width: 640px; height: auto;
  border-radius: 14px; border: 1px solid var(--hair-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); background: var(--panel);
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding-top: 64px; padding-bottom: 64px; }
.section h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-head .hint { font-size: 12.5px; color: var(--faint); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 26px; }
.step { padding: 22px; border: 1px solid var(--hair); border-radius: 12px; background: var(--panel); }
.step-num {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--faint);
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.step h3 { margin: 10px 0 6px; font-size: 15.5px; font-weight: 600; }
.step p { margin: 0; font-size: 13.5px; color: var(--dim); }

.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 26px; }
.example { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: var(--panel); }
.example img { display: block; width: 100%; height: 100%; object-fit: cover; }

.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 40px; margin-top: 20px; }
.cap { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cap .icon { font-size: 19px; color: var(--dim); margin-top: 3px; }
.cap p { margin: 0; font-size: 14px; color: var(--dim); }
.cap b { color: var(--text); font-weight: 600; }

.devices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.device { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--hair); border-radius: 12px; background: var(--panel); font-size: 14px; font-weight: 500; }
.device i { width: 15px; height: 26px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.device-soon { border-style: dashed; border-color: var(--hair-strong); color: var(--faint); font-size: 13.5px; font-weight: 400; }
.devices-note { margin: 20px 0 0; max-width: 70ch; font-size: 13.5px; color: var(--faint); }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 32px 36px; border: 1px solid var(--hair-strong); border-radius: 14px;
  background: var(--panel);
}
.cta-band h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cta-band p { margin: 6px 0 0; font-size: 14px; color: var(--dim); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--hair); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 36px 64px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand p { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col span { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; color: var(--faint); }
.footer-col a { font-size: 13px; color: var(--dim); }
.footer-col a:hover { color: var(--text); }
.footer-col a[aria-current] { color: var(--text); }
.footer-meta { padding-bottom: 28px; font-size: 12px; color: var(--faint); }

/* ── Legal / utility pages ──────────────────────────────────────────── */
.doc { width: 100%; max-width: 720px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 48px) 88px; line-height: 1.7; }
.doc .kicker-date { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.doc h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.doc h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.doc section { margin-top: 36px; }
.doc section p { margin: 12px 0 0; color: #b8b8bd; }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.doc a:hover { text-decoration-color: rgba(255, 255, 255, 0.6); }
.notice {
  margin-top: 22px; padding: 13px 16px; border: 1px solid rgba(224, 180, 110, 0.25);
  border-radius: 11px; background: rgba(224, 180, 110, 0.07); font-size: 13px; color: #e0c79d;
}
.legal-nav { display: flex; gap: 22px; font-size: 13px; }
.legal-nav a { color: var(--dim); }
.legal-nav a:hover, .legal-nav a[aria-current] { color: var(--text); }

.simple-footer {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center;
  padding: 22px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--faint);
}
.simple-footer a { color: var(--dim); }
.simple-footer a:hover { color: var(--text); }

/* ── 404 ────────────────────────────────────────────────────────────── */
.lost { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; text-align: center; }
.lost-mark { position: relative; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.lost-mark i {
  position: absolute; width: 96px; height: 96px; transform: rotate(-8deg); border-radius: 26px;
  background: linear-gradient(145deg, #2a2a2e, #151517); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}
.lost-mark .icon { position: relative; font-size: 38px; color: var(--dim); }
.lost h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); font-weight: 600; letter-spacing: -0.02em; }
.lost p { margin: 12px 0 0; max-width: 44ch; font-size: 15px; color: var(--dim); text-wrap: pretty; }
.lost-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.lost .code { margin: 26px 0 0; font-size: 12.5px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Locale font stacks ─────────────────────────────────────────────── */
html[lang="ja"] body {
  font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
html[lang="zh-Hant"] body {
  font-family: Inter, "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", system-ui, sans-serif;
}

/* ── Related / use-case blocks on intent landings ───────────────────── */
.related {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin-top: 26px;
}
.related a {
  display: block; padding: 18px 20px; border: 1px solid var(--hair);
  border-radius: 14px; background: var(--panel); color: var(--text);
}
.related a:hover { border-color: var(--hair-strong); background: var(--well); color: #fff; }
.related a strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.related a span { font-size: 13px; color: var(--dim); line-height: 1.5; }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
.use {
  padding: 22px; border: 1px solid var(--hair); border-radius: 14px; background: var(--panel);
}
.use h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; }
.use p { margin: 0; font-size: 13.5px; color: var(--dim); }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 18px; font-size: 12.5px; color: var(--faint);
}
.breadcrumb a { color: var(--dim); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-hidden] { color: var(--faint); }
