/* ---------- SELF-HOSTED FONTS ----------
   Inter (SIL OFL), served from this origin instead of fonts.googleapis.com,
   loading from Google cost two extra DNS+TLS handshakes before any text
   could paint. Variable font: one file covers the whole weight axis.
   latin-ext only downloads if the page actually uses those codepoints. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- TOKENS ----------
   Monochrome on purpose: ink, greys, white. The only colour on the page is
   the small green "available" dot and the form's error/success text. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --ink: #0a0a0b;
  --ink-2: #3f3f46;
  --muted: #5b5b66;          /* 6.3:1 on white */
  --line: #e6e6ea;
  --line-strong: #d4d4da;
  --ok: #15803d;
  --err: #b91c1c;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 8px 24px rgba(10, 10, 11, 0.06);
}

html[lang^="zh"] {
  --font: 'Inter', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', 'Heiti TC', system-ui, sans-serif;
}
/* CJK has no ascenders/descenders to breathe against, so give it more room. */
html[lang^="zh"] body { line-height: 1.8; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang^="zh"] .hero h1 { max-width: none; font-size: clamp(27px, 7.2vw, 58px); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 600; color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; gap: 16px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 30px; }
.brand-name { font-weight: 700; letter-spacing: -0.01em; font-size: 16px; line-height: 1.1; display: block; }
.brand-by { font-size: 12px; color: var(--muted); line-height: 1.1; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }

.lang-switch { display: flex; gap: 2px; font-size: 13px; margin-left: 4px; }
.lang-switch a { padding: 6px 8px; color: var(--muted); text-decoration: none; border-radius: 6px; }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-switch a:hover { background: var(--bg-soft); }

.menu-btn {
  display: none;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  border-radius: 10px; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-btn:hover { background: var(--bg-soft); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.nav.open .menu-btn .i-open { display: none; }
.nav.open .menu-btn .i-close { display: block; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #26262b; }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav .btn-sm { color: #fff; }
.nav .btn-sm:hover { background: #26262b; color: #fff; }

/* ---------- HERO ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px 6px 10px; margin-bottom: 24px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15); }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  max-width: 15ch;
}
.hero h1 .soft { color: #85858e; } /* 3.66:1 on white, passes AA for large text */
.lede {
  margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2);
  max-width: 56ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Faint graph paper behind the hero, fading out toward the edges. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 28%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 75% 65% at 72% 28%, #000 20%, transparent 72%);
}

/* The "live" signal: the one colour on the page. */
.live-dot {
  display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.12em;
  border-radius: 50%; background: var(--ok); vertical-align: 0.08em;
  animation: live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.45); }
  70%, 100% { box-shadow: 0 0 0 0.35em rgba(21, 128, 61, 0); }
}

/* Deploy-log card */
.deploy {
  background: var(--ink); color: #e4e4e7; border-radius: 18px; overflow: hidden;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 2px 4px rgba(10, 10, 11, 0.06), 0 24px 48px -12px rgba(10, 10, 11, 0.35);
  transform: rotate(0.6deg);
}
.deploy-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid #232327; color: #71717a; font-size: 12px;
}
.deploy-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.deploy-bar span { margin-left: 8px; }
.deploy-log { list-style: none; padding: 18px 18px 6px; }
.deploy-log li {
  display: grid; grid-template-columns: 16px 68px minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding: 7px 0;
  animation: log-in 0.35s ease-out both;
}
.deploy-log li:nth-child(1) { animation-delay: 0.25s; }
.deploy-log li:nth-child(2) { animation-delay: 0.65s; }
.deploy-log li:nth-child(3) { animation-delay: 1.05s; }
.deploy-log li:nth-child(4) { animation-delay: 1.45s; }
.deploy-log li:nth-child(5) { animation-delay: 1.95s; }
@keyframes log-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.deploy-log .tick { color: #a1a1aa; }
.deploy-log b { color: #fff; font-weight: 600; }
.deploy-log em { font-style: normal; color: #a1a1aa; }
.deploy-log .is-live { margin-top: 6px; padding-top: 13px; border-top: 1px dashed #2e2e33; }
.deploy-log .is-live b { color: #4ade80; }
.deploy-log .is-live em { color: #e4e4e7; }
.deploy-log .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #22c55e; align-self: center;
  animation: live-pulse 2.4s ease-out infinite;
}
.deploy-foot { padding: 10px 18px 18px; color: #71717a; display: flex; align-items: center; gap: 4px; }
.deploy-foot .cursor { width: 8px; height: 16px; background: #a1a1aa; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Credentials row under the hero */
.trust {
  list-style: none; margin-top: clamp(48px, 7vw, 80px);
  display: flex; flex-wrap: wrap; gap: 12px 36px; padding-bottom: 28px;
}
.trust li { display: flex; flex-direction: column; }
.trust span { font-size: 12.5px; color: var(--muted); }
.trust b { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }

/* ---------- STATS ---------- */
.stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats li { padding: 28px 24px 28px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 700; }
.stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
html[lang^="zh"] .kicker { letter-spacing: 0.12em; }
.section h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700;
}
.section-head p.sub { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }

/* ---------- SERVICES ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.svc {
  background: #fff; padding: 28px; display: flex; flex-direction: column; position: relative;
  transition: background-color 0.2s ease;
}
.svc:hover { background: #fcfcfc; }
.svc:hover .svc-ico { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-ico {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; font-weight: 650; }
.svc p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.svc .chips { margin-top: auto; padding-top: 18px; }
.svc-wide { grid-column: span 2; }
.svc-proof { padding-top: 14px; border-top: 1px dashed var(--line); margin-top: 16px !important; }
.svc-proof strong { color: var(--ink); }
.svc-proof .link { white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.3;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: #fff;
}

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
}

.step { position: relative; }
/* Connector between steps on wide screens */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 44px; right: -17px; width: 18px; height: 1px; background: var(--line-strong);
}
.step-when { display: block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.step h3 { margin-top: 4px; font-size: 19px; letter-spacing: -0.015em; font-weight: 650; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }


/* ---------- DARK BAND ---------- */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .kicker { color: #a1a1aa; }
.section-dark .section-head .kicker::before { color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .step { background: #141416; border-color: #26262b; }
.section-dark .step:not(:last-child)::after { background: #3f3f46; }
.section-dark .step-n { background: #fff; color: var(--ink); }
.section-dark .step-when { color: #a1a1aa; }
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: #c4c4cc; }
.section-dark .step:last-child .step-n { background: #22c55e; color: #052e16; }
.section-dark .step:last-child .step-when { color: #4ade80; }

/* ---------- WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.work:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.work-shot { display: block; aspect-ratio: 1200 / 630; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work:hover .work-shot img { transform: scale(1.03); }
.work-shot.text { padding: 20px;
  display: grid; place-items: center; text-decoration: none;
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-align: center;
}
.work-shot.text small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.work-shot.text {
  background-color: var(--bg-soft);
  background-image: radial-gradient(circle, #d4d4da 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.work-shot.text span { background: var(--bg-soft); padding: 6px 14px; border-radius: 10px; }
.work-shot.dark { background-color: var(--ink); color: #fff; background-image: radial-gradient(circle, #2e2e33 1px, transparent 1.2px); }
.work-shot.dark span { background: var(--ink); }
.work-shot.dark small { color: #a1a1aa; }
.work-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.work h3 { margin-top: 4px; font-size: 20px; letter-spacing: -0.02em; font-weight: 650; }
.work p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.work .chips { margin-top: 16px; }
.work-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; }

.link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.link:hover { border-bottom-color: var(--ink); }
.link svg { width: 14px; height: 14px; }

.sites { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sites-head { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.sites-head h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.sites-head p { font-size: 14.5px; color: var(--muted); }
/* One row. script.js duplicates the items and adds .is-marquee so it loops;
   without JS, or with reduced motion, the row scrolls sideways by hand. */
.sites-track { overflow-x: auto; scrollbar-width: none; }
.sites-track::-webkit-scrollbar { display: none; }
.sites ul { list-style: none; display: flex; width: max-content; }
.sites li { flex: 0 0 280px; border-right: 1px solid var(--line); }
.sites.is-marquee .sites-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.sites.is-marquee ul { animation: sites-scroll 40s linear infinite; }
.sites.is-marquee:hover ul, .sites.is-marquee:focus-within ul { animation-play-state: paused; }
@keyframes sites-scroll { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .sites li { flex-basis: 240px; } }
.sites a {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 24px; min-height: 76px;
  text-decoration: none; transition: background-color 0.15s ease;
}
.sites a:hover { background: var(--bg-soft); }
.sites b { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.sites b svg { width: 13px; height: 13px; color: var(--muted); }
.sites span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---------- EXPERIENCE ---------- */
.exp-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); }
.timeline { list-style: none; border-left: 1px solid var(--line-strong); }
.timeline > li { position: relative; padding: 0 0 36px 28px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ''; position: absolute; left: -5px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
}
.timeline > li:first-child::before { background: var(--ink); }
.t-when { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.timeline h3 { font-size: 18.5px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.35; margin-top: 2px; }
.t-role { font-size: 15px; color: var(--ink-2); }
.timeline ul { margin-top: 10px; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.timeline ul li + li { margin-top: 6px; }
.timeline ul li::marker { color: #a1a1aa; }

.side-block + .side-block { margin-top: 36px; }
.side-block h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cred { list-style: none; }
.cred li { padding: 14px 0; border-top: 1px solid var(--line); }
.cred li:last-child { border-bottom: 1px solid var(--line); }
.cred b { display: block; font-weight: 600; font-size: 15.5px; }
.cred span { display: block; font-size: 14px; color: var(--muted); }
.skills { list-style: none; }
.skills li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.skills li:last-child { border-bottom: 1px solid var(--line); }
.skills b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 2px; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 72px); align-items: start; }
.about-copy p { color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.about-copy p + p { margin-top: 14px; }
.about-copy .work-links { padding-top: 22px; }

/* Founder block on the home page: a photo and a short "who you'll work with". */
.founder { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.founder-photo { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.founder-copy h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.founder-copy > p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.founder-facts { list-style: none; margin-top: 20px; max-width: 62ch; }
.founder-facts li { padding: 10px 0 10px 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); position: relative; }
.founder-facts li:last-child { border-bottom: 1px solid var(--line); }
.founder-facts li::before { content: ''; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.founder-copy .founder-legal { font-size: 14.5px; color: var(--muted); }
.founder-copy .btn { margin-top: 24px; }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 160px; } }
.founder:not(:has(.founder-photo)) { grid-template-columns: 1fr; } /* no photo yet */

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; min-height: 44px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-a { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 70ch; }
.faq-a p + p { margin-top: 10px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--ink); color: #fff; }
.contact .kicker { color: #a1a1aa; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); }
.contact-copy p.sub { margin-top: 16px; color: #d4d4d8; font-size: 17px; }
.contact-copy a { color: #fff; }
.contact-points { list-style: none; margin-top: 28px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: #e4e4e7; font-size: 15px; }
.contact-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

.contact-form {
  background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 32px);
  display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230a0a0b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 11, 0.1);
}
.field input::placeholder, .field textarea::placeholder { color: #8a8a94; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.send-row .btn { flex: 0 0 auto; }
.send-note { font-size: 13.5px; color: var(--muted); }
.form-status { font-size: 14.5px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { text-decoration: none; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- REVEAL ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-wide { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(10, 10, 11, 0.06);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { background: none; }
  .lang-switch { margin: 12px 0 0; }
  .lang-switch a { border-bottom: 0; padding: 8px 12px; font-size: 15px; border: 1px solid var(--line); border-radius: 8px; }

  .hero-grid, .exp-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li, .stats li + li { padding: 22px 16px 22px 0; border-left: 0; }
  .stats li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 44px; width: 1px; height: 18px; }
  .deploy { transform: none; }
  .trust { gap: 14px 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand-by { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-wide { grid-column: auto; }
  .svc { padding: 24px 20px; }
  .sites a { padding: 16px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .send-row .btn { flex: 1 1 100%; }
  .profile { padding: 20px; }
  .work-body, .step { padding: 22px 20px; }
  .faq-item summary { font-size: 16px; padding: 18px 0; }
}

/* ---------- PROJECTS ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700;
  max-width: 20ch;
}
.page-hero .lede { max-width: 62ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 10px; color: var(--ink-2); background: #fff;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #a1a1aa; }
.badge.building .dot { background: var(--ok); animation: live-pulse 2.4s ease-out infinite; }
.badge.live .dot { background: var(--ok); }

.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.proj {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.proj:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.proj-n { font-family: var(--mono); font-size: 13px; color: #8b8b94; }
.proj h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.025em; line-height: 1.2; font-weight: 700; }
.proj p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.proj .chips { margin-top: 18px; }
.proj-more { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.proj-more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
a.proj:hover .proj-more svg { transform: translateX(3px); }
.proj.featured {
  grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 56px); align-items: center;
}
.proj.featured:hover { border-color: var(--ink); }
.proj.featured p { color: #c4c4cc; }
.proj.featured .proj-n { color: #a1a1aa; }
.proj.featured .badge { background: transparent; color: #e4e4e7; border-color: #3f3f46; }
.proj.featured .chips li { background: transparent; color: #d4d4d8; border-color: #3f3f46; }
.proj.featured .proj-copy { display: flex; flex-direction: column; height: 100%; }

/* Illustrative report mock */
.mock {
  background: #fff; color: var(--ink); border-radius: 14px; border: 1px solid var(--line);
  font-size: 14px; overflow: hidden;
}
.proj.featured .mock { border-color: #fff; }
.mock-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mock-head b { font-weight: 650; }
.mock-head span { color: var(--muted); font-size: 12.5px; }
.mock-q { padding: 12px 18px 4px; color: var(--ink-2); font-size: 13px; font-family: var(--mono); }
.mock ul { list-style: none; padding: 6px 18px 12px; }
.mock li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock li:last-child { border-bottom: 0; }
.mock .yes { font-weight: 600; color: var(--ok); }
.mock .no { font-weight: 600; color: #8b8b94; }
.mock-foot { padding: 12px 18px; background: var(--bg-soft); display: flex; justify-content: space-between; font-size: 13px; }
.mock-foot b { font-size: 15px; }
.mock-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.proj.featured .mock-note { color: #8b8b94; }

/* Detail page */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.prose p { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 6px; }
.benefit p { color: var(--ink-2); font-size: 15px; }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ink); }
.checklist b { color: var(--ink); font-weight: 600; }
.roadmap { list-style: none; counter-reset: rm; }
.roadmap li {
  counter-increment: rm; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}
.roadmap li::before { content: counter(rm); font-family: var(--mono); color: #8b8b94; }
.roadmap li.done { color: var(--ink); }
.roadmap li.done::before { content: '✓'; color: var(--ok); }
.roadmap small { font-size: 12.5px; color: var(--muted); }
.cta-band { text-align: left; }
.cta-band .cta-row { margin-top: 28px; }
.section-dark .btn-ghost { background: transparent; color: #fff; border-color: #52525b; }
.section-dark .btn-ghost:hover { border-color: #fff; }
.section-dark .btn-primary { background: #fff; color: var(--ink); }
.section-dark .btn-primary:hover { background: #e4e4e7; }
.section-dark p.sub { color: #c4c4cc; }

@media (max-width: 880px) {
  .proj-grid, .split, .benefits { grid-template-columns: 1fr; }
  .proj.featured { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .proj { padding: 22px 20px; }
}
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps.four .step::after { display: none; } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- PROMO BAND (homepage → AI Visibility Checker) ---------- */
.promo-wrap { padding: clamp(40px, 6vw, 72px) 0 0; }
.promo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  border: 1px solid var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle, #e4e4e7 1px, transparent 1.2px) 0 0 / 18px 18px,
    #fff;
}
.promo h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; margin-top: 14px; }
.promo p { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.promo .cta-row { margin-top: 0; flex-wrap: nowrap; }
@media (max-width: 880px) {
  .promo { grid-template-columns: 1fr; }
  .promo .cta-row { flex-wrap: wrap; }
}

/* "Asking AI yourself" vs checker comparison */
.compare-wrap { margin-top: 32px; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.compare thead td { width: 18%; }
.compare thead th { width: 41%; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 13px 20px 13px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 0; }
.compare thead th:last-child { color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare td.us { color: var(--ink); }
@media (max-width: 600px) {
  .compare thead { display: none; }
  .compare { table-layout: auto; }
  .compare tbody, .compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 1px solid var(--line); }
  .compare th, .compare td { display: block; width: auto; border: 0; padding: 0; }
  .compare tbody th { margin-bottom: 6px; }
  .compare td + td { margin-top: 6px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
}

/* Service page: package prices */
.svc .price { margin-top: 12px; font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); }
.svc .price small { font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.incl { list-style: none; margin: 14px 0 16px; font-size: 14.5px; color: var(--ink-2); }
.incl li { position: relative; padding-left: 22px; margin-top: 7px; }
.incl li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 600; }
.svc-note { margin-top: auto !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
@media (min-width: 881px) { .stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* Homepage: one offer, proof strip, pricing as a path (2026-10-27) */
.brand-by { white-space: nowrap; }
.cta-row .cta-alt { align-self: center; min-height: 48px; }
.proof-k { margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
html[lang^="zh"] .proof-k { letter-spacing: 0.1em; }
.proof { margin-top: 12px; }
.proof span { color: var(--ink-2); }
.offer { max-width: 760px; }
.offer .cta-note { margin-top: 18px; }
.also { max-width: 760px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.also strong { color: var(--ink); font-weight: 600; }
.also-note { max-width: 760px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.svc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path .price { margin-top: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.path .price small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.path .step h3 { font-size: 17.5px; }
.path .step p { font-size: 14.5px; }
.path .svc-note { margin-top: 14px !important; }
.path-or { display: block; margin: 18px 0 2px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.path-note { max-width: 760px; margin-top: 24px; font-size: 14.5px; color: var(--ink-2); }
.path-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .svc-grid-2 { grid-template-columns: 1fr; } }

/* What you get: the monthly report preview */
.rpt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .rpt-grid { grid-template-columns: 1fr; } }
.rpt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(10,10,11,.04); }
.rpt h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; font-weight: 650; }
.rpt p { font-size: 15px; color: var(--ink-2); }
.rpt-tag { align-self: flex-start; font-size: 12px !important; font-weight: 600; color: var(--ok) !important; background: #ecfdf3; border-radius: 999px; padding: 3px 10px; }
.rpt-tag-muted { color: var(--muted) !important; background: var(--bg-soft); }
.rpt-q { font-size: 13.5px !important; color: var(--muted) !important; font-style: italic; }
.rpt-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 14px; }
.rpt-table th { text-align: left; font-weight: 600; padding: 6px 12px 6px 0; width: 90px; white-space: nowrap; }
.rpt-table td { padding: 6px 0; }
.rpt-table td:last-child { text-align: right; white-space: nowrap; color: var(--ink-2); padding-left: 12px; width: 1%; }
.rpt-bar { display: block; height: 8px; border-radius: 4px; background: var(--bg-soft); position: relative; overflow: hidden; }
.rpt-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--ink); border-radius: 4px; }
.rpt-note { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px !important; color: var(--muted) !important; }
.rpt-rank { list-style: none; margin: 4px 0 0; padding: 0; }
.rpt-rank li { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; }
.rpt-rank li + li { border-top: 1px solid var(--line); border-radius: 0; }
.rpt-rank .rpt-you { background: var(--bg-soft); font-weight: 650; }
.rpt-big { font-size: 15px !important; }
.rpt-big b { display: block; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin-bottom: 4px; }
.rpt-todo { margin: 0; padding-left: 18px; font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
.rpt-foot { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.rpt-foot .link { margin-left: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Services v2 (2026-10-30): outcomes, monthly loop, review mock, dashboard preview ---------- */
.out-grid .svc h3 { font-size: 17.5px; }
.out-grid .svc p { font-size: 14.5px; }
.out-grid .svc-ico { margin-bottom: 16px; }
@media (min-width: 601px) and (max-width: 1000px) {
  .svc-grid-3 > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.loop-note { max-width: 760px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.loop-note strong { color: var(--ink); }

/* "You approve": an illustrative private review page */
.ctl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.ctl h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.ctl p { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.ctl .incl { font-size: 15px; }
.rv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; color: var(--ink-2); }
.rv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 12.5px; }
.rv-bar b { color: var(--ink); font-weight: 600; }
.rv-pill { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 9px; background: #fff; white-space: nowrap; }
.rv-body { padding: 16px 16px 4px; }
.rv-body .rv-k { font-size: 12px; font-weight: 600; color: var(--muted); }
.rv-body .rv-t { margin-top: 2px; font-size: 16px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.rv-line { display: block; height: 8px; border-radius: 4px; background: var(--bg-soft); margin-top: 10px; }
.rv-act { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
.rv-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); border: 1px solid var(--line-strong); background: #fff; }
.rv-btn.is-ok { background: var(--ink); color: #fff; border-color: var(--ink); }
.rv-btn svg { width: 16px; height: 16px; }
@media (max-width: 880px) { .ctl { grid-template-columns: 1fr; } }

/* "What you see": a simplified client results page */
.dash { border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-soft); overflow: hidden; }
.dash-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.dash-bar b { color: var(--ink); font-weight: 650; font-size: 15px; }
.dash .rpt-grid { padding: clamp(12px, 2vw, 18px); }
@media (min-width: 1001px) { .dash .rpt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rpt-kw { padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 15px !important; font-weight: 600; color: var(--ink) !important; line-height: 1.45; }
.rpt-kw small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.rpt-cite { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px !important; color: var(--ink) !important; }
.rpt-cite svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.rpt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rpt-split p { font-size: 13.5px !important; }
.rpt-split b { display: block; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.section-dark .loop-note { color: #c4c4cc; }
.section-dark .loop-note strong { color: #fff; }
.section-dark code { color: #fff; }
.out-grid + .also { margin-top: 28px; }
