/* R63 合作洽谈资料展示页 · Bento + 商务风 P0 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Inter', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  transition: background .35s, color .35s;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

body[data-theme='biz-blue'] { --primary:#2563EB; --primary-dim:#2563EB22; --accent:#3B82F6; --bg:#0B1220; --bg-card:#111827; --bg-elevated:#1F2937; --text:#F1F5F9; --text-light:#94A3B8; --border:#334155; }
body[data-theme='tech-purple'] { --primary:#7C3AED; --primary-dim:#7C3AED22; --accent:#A78BFA; --bg:#0F0A1A; --bg-card:#1A1225; --bg-elevated:#251B35; --text:#F5F3FF; --text-light:#C4B5FD; --border:#4C1D95; }
body[data-theme='trust-teal'] { --primary:#0D9488; --primary-dim:#0D948822; --accent:#2DD4BF; --bg:#0A1412; --bg-card:#0F1F1C; --bg-elevated:#16332E; --text:#ECFDF5; --text-light:#5EEAD4; --border:#115E59; }
body[data-theme='growth-green'] { --primary:#16A34A; --primary-dim:#16A34A22; --accent:#4ADE80; --bg:#0A140E; --bg-card:#0F1A14; --bg-elevated:#16261C; --text:#ECFDF5; --text-light:#86EFAC; --border:#166534; }
body[data-theme='premium-gold'] { --primary:#CA8A04; --primary-dim:#CA8A0422; --accent:#FACC15; --bg:#141008; --bg-card:#1F1810; --bg-elevated:#2A2218; --text:#FFFBEB; --text-light:#FDE68A; --border:#854D0E; }
body[data-theme='slate-pro'] { --primary:#475569; --primary-dim:#47556944; --accent:#94A3B8; --bg:#0F1115; --bg-card:#181B21; --bg-elevated:#22262E; --text:#E2E8F0; --text-light:#64748B; --border:#334155; }

.page { max-width: 1100px; margin: 0 auto; }
.section { padding: 2rem 1rem; animation: fadeUp .55s ease both; }
.section__title { font-size: 1.15rem; font-weight: 800; margin-bottom: .25rem; }
.section__sub { font-size: .82rem; color: var(--text-light); margin-bottom: 1.25rem; }
.subsection__title { font-size: .95rem; font-weight: 700; margin: 1.5rem 0 .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: .88rem;
  border: none; cursor: pointer; background: var(--primary); color: #fff; min-height: 44px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline-light { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-sm { padding: .45rem .85rem; font-size: .78rem; min-height: 36px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.empty { text-align: center; color: var(--text-light); padding: 2rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Hero */
.hero { position: relative; min-height: 72vh; color: #fff; overflow: hidden; border-radius: 0 0 1.25rem 1.25rem; }
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1e1b4b 100%);
  animation: heroKen 18s ease-in-out infinite alternate;
}
@keyframes heroKen { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.6) 0%, rgba(11,18,32,.92) 100%); }
.hero__content { position: relative; z-index: 1; padding: 2.5rem 1.25rem 2rem; }
.hero__brand { font-size: .78rem; letter-spacing: .1em; color: var(--primary); font-weight: 700; margin-bottom: .35rem; }
.hero__title { font-size: clamp(1.3rem, 5vw, 1.85rem); font-weight: 900; line-height: 1.25; margin-bottom: .5rem; }
.hero__sub { font-size: .88rem; opacity: .88; max-width: 26rem; margin-bottom: 1.25rem; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { text-align: center; padding: .7rem .4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.hero-stat__val { font-size: 1.35rem; font-weight: 900; color: var(--primary); font-variant-numeric: tabular-nums; }
.hero-stat__lbl { font-size: .68rem; opacity: .85; margin-top: .15rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.hero-tag { padding: .3rem .65rem; border-radius: 999px; font-size: .72rem; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.2); color: #fff; cursor: pointer; min-height: 36px; }
.hero-tag.active { border-color: var(--primary); background: var(--primary-dim); font-weight: 700; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .65rem; }

/* Bento */
.bento-grid { display: grid; gap: .75rem; }
.bento-trust { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .bento-trust { grid-template-columns: repeat(4, 1fr); }
  .bento-trust .bento-large { grid-column: span 2; grid-row: span 1; }
}
.bento-cases { grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento-cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bento-cases { grid-template-columns: repeat(3, 1fr); } }
.bento-cases .bento-large { grid-column: span 1; }
@media (min-width: 640px) { .bento-cases .bento-large { grid-column: span 2; } }
.bento-modes { grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento-modes { grid-template-columns: repeat(2, 1fr); } }

.bento-card {
  padding: 1.1rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3); border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.bento-large { padding: 1.35rem; background: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--primary) 8%, var(--bg-card))); }
.bento-card__icon { font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.bento-card__val { font-size: 1.6rem; font-weight: 900; color: var(--primary); font-variant-numeric: tabular-nums; }
.bento-large .bento-card__val { font-size: 2rem; }
.bento-card__lbl { font-size: .72rem; color: var(--text-light); margin-top: .2rem; }

/* Logo marquee */
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 28s linear infinite; }
.logo-marquee__item { white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--text-light); padding: .5rem 1rem; background: var(--bg-elevated); border-radius: 999px; border: 1px solid var(--border); }

/* Documents */
.doc-tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .25rem; }
.doc-tab { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: .8rem; cursor: pointer; white-space: nowrap; min-height: 44px; }
.doc-tab.active { background: var(--primary-dim); border-color: var(--primary); color: var(--primary); font-weight: 700; }
.doc-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
.doc-card { text-align: left; cursor: pointer; border: none; color: inherit; width: 100%; display: flex; flex-direction: column; background: var(--bg-card); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: transform .2s, border-color .2s; position: relative; }
.doc-card__read {
  position: absolute; top: .5rem; right: .5rem; z-index: 2;
  font-size: .62rem; font-weight: 700; padding: .2rem .45rem; border-radius: 6px;
  background: var(--primary); color: #fff;
}
.doc-card:hover { transform: translateY(-2px); border-color: var(--doc-color, var(--primary)); }
.doc-card__cover { height: 100px; background: linear-gradient(135deg, var(--doc-color, var(--primary)), color-mix(in srgb, var(--doc-color, var(--primary)) 60%, #000)); display: flex; align-items: flex-end; padding: .75rem; }
.doc-card__pages { font-size: .72rem; font-weight: 700; background: rgba(0,0,0,.35); padding: .25rem .55rem; border-radius: 6px; color: #fff; }
.doc-card__body { padding: 1rem; }
.doc-card__body h3 { font-size: .92rem; font-weight: 800; margin-bottom: .35rem; }
.doc-card__body p { font-size: .72rem; color: var(--text-light); }

/* Case bento */
.case-industry { font-size: .65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.bento-case h3 { font-size: 1rem; font-weight: 800; margin: .35rem 0; }
.case-kpis { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .75rem; color: var(--text-light); margin: .5rem 0; }
.case-kpis strong { color: var(--primary); font-size: .85rem; }
.case-sum { font-size: .78rem; color: var(--text-light); line-height: 1.5; }
.bento-case--click { text-align: left; cursor: pointer; width: 100%; color: inherit; }
.bento-case--click .case-more { display: block; margin-top: .5rem; font-size: .72rem; color: var(--primary); font-weight: 700; }

/* Modes */
.bento-mode__icon { font-size: 1.75rem; display: block; margin-bottom: .35rem; }
.bento-mode h3 { font-size: .95rem; font-weight: 800; margin-bottom: .35rem; }
.bento-mode p { font-size: .78rem; color: var(--text-light); margin-bottom: .75rem; min-height: 2.5em; }

/* Process */
.process-track { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.process-step { flex: 0 0 75%; max-width: 240px; scroll-snap-align: start; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
@media (min-width: 768px) { .process-track { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; } .process-step { max-width: none; } }
.process-step__num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; margin-bottom: .5rem; }
.process-step h3 { font-size: .88rem; font-weight: 800; margin-bottom: .35rem; }
.process-step p { font-size: .75rem; color: var(--text-light); margin-bottom: .5rem; }
.process-step__dur { font-size: .68rem; color: var(--primary); font-weight: 600; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.team-card__avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary-dim); color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto .65rem; font-size: .9rem; transition: transform .2s; }
.team-card:hover .team-card__avatar { transform: scale(1.08); }
.team-card h3 { font-size: .92rem; font-weight: 800; }
.team-card__role { font-size: .72rem; color: var(--primary); margin: .2rem 0 .45rem; font-weight: 600; }
.team-card__bio { font-size: .72rem; color: var(--text-light); line-height: 1.45; }
.cert-scroll { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.cert-badge { flex: 0 0 auto; scroll-snap-align: start; padding: .65rem .85rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; text-align: center; min-width: 110px; }
.cert-badge span { font-size: 1.25rem; display: block; }
.cert-badge strong { display: block; font-size: .72rem; margin-top: .25rem; }
.cert-badge em { font-size: .65rem; color: var(--text-light); font-style: normal; }

/* Doc modal */
.doc-modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.doc-modal.is-open { pointer-events: auto; opacity: 1; }
.doc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.doc-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 520px; max-height: 85vh;
  background: var(--bg-card); border-radius: 1.25rem 1.25rem 0 0; padding: 1.25rem;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.34,1.2,.64,1);
  overflow-y: auto;
}
.doc-modal.is-open .doc-modal__panel { transform: translateY(0); }
@media (min-width: 640px) {
  .doc-modal { align-items: center; }
  .doc-modal__panel { border-radius: 1rem; max-height: 80vh; transform: translateY(20px) scale(.96); }
  .doc-modal.is-open .doc-modal__panel { transform: none; }
}
.doc-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.doc-modal__head h3 { font-size: 1rem; font-weight: 800; }
.doc-modal__close { background: none; border: none; font-size: 1.5rem; color: var(--text-light); cursor: pointer; line-height: 1; padding: .25rem; }
.doc-modal__page { min-height: 180px; padding: 1rem; background: var(--bg-elevated); border-radius: 10px; border: 1px solid var(--border); margin-bottom: 1rem; }
.doc-modal__page h4 { font-size: .95rem; font-weight: 800; margin-bottom: .65rem; color: var(--primary); }
.doc-modal__page p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }
.doc-modal__dots { display: flex; justify-content: center; gap: .4rem; margin-bottom: .75rem; }
.doc-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
.doc-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }
.doc-modal__nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

/* Lead modal */
.modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__box { position: relative; z-index: 1; width: 100%; max-width: 400px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.modal__box h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .35rem; }
.modal__hint { font-size: .78rem; color: var(--text-light); margin-bottom: 1rem; }
.modal__box label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: .65rem; }
.modal__box input, .modal__box textarea { width: 100%; margin-top: .3rem; padding: .55rem .7rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); min-height: 44px; }
.modal__box .btn { margin-top: .35rem; }

/* FAB */
.fab-cta {
  position: fixed; right: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 300; padding: .75rem 1.1rem; border-radius: 999px; border: none;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .82rem;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--primary) 45%, transparent);
  cursor: pointer; animation: pulse 2.5s ease-in-out infinite;
  min-height: 44px;
}

/* Theme panel */
.theme-panel { position: fixed; top: 5rem; right: .75rem; z-index: 250; }
.theme-panel__toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; font-size: 1.1rem; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.theme-panel__list { position: absolute; right: 0; top: 100%; margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .35rem; padding: .5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; max-width: 160px; }
.theme-dot { width: auto; min-width: 28px; height: 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; padding: 0 .45rem; display: inline-flex; align-items: center; justify-content: center; }
.theme-dot span { font-size: .58rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); white-space: nowrap; }
.theme-dot.is-active { border-color: #fff; box-shadow: 0 0 0 2px var(--primary); }
.theme-dot:hover { border-color: #fff; }

/* P1 · Persona bar */
.persona-bar {
  display: flex; gap: .35rem; overflow-x: auto; padding: .65rem 1rem;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 150;
}
.persona-btn {
  flex: 0 0 auto; padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  color: var(--text); font-size: .75rem; cursor: pointer; min-height: 40px; white-space: nowrap;
}
.persona-btn.active { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); font-weight: 700; }

.read-stats {
  display: flex; flex-wrap: wrap; gap: .35rem .65rem; align-items: center;
  padding: .5rem 1rem; font-size: .68rem; color: var(--text-light);
  background: color-mix(in srgb, var(--primary) 8%, var(--bg));
  border-bottom: 1px solid var(--border);
}
.read-stats__label { font-weight: 700; color: var(--primary); }
.read-stats__item strong { color: var(--accent); }
.read-stats--empty { font-style: italic; }

/* P1 · Case drawer */
.case-drawer { position: fixed; inset: 0; z-index: 550; pointer-events: none; opacity: 0; transition: opacity .3s; }
.case-drawer.is-open { pointer-events: auto; opacity: 1; }
.case-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.case-drawer__panel {
  position: absolute; top: 0; right: 0; width: min(100%, 420px); height: 100%;
  background: var(--bg-card); border-left: 1px solid var(--border);
  overflow-y: auto; padding: 1.25rem 1rem calc(6rem + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .35s cubic-bezier(.34,1.1,.64,1);
}
.case-drawer.is-open .case-drawer__panel { transform: none; }
.case-drawer__head { margin-bottom: 1rem; padding-right: 2rem; position: relative; }
.case-drawer__head h3 { font-size: 1.1rem; font-weight: 900; margin-top: .25rem; }
.case-drawer__close { position: absolute; top: 0; right: 0; background: none; border: none; font-size: 1.5rem; color: var(--text-light); cursor: pointer; }
.case-drawer__kpis { display: flex; gap: .65rem; margin-bottom: 1rem; }
.case-drawer__kpi { flex: 1; text-align: center; padding: .65rem; background: var(--bg-elevated); border-radius: 10px; border: 1px solid var(--border); }
.case-drawer__kpi strong { display: block; font-size: 1rem; color: var(--primary); }
.case-drawer__kpi span { font-size: .65rem; color: var(--text-light); }
.case-drawer__block { margin-bottom: 1rem; }
.case-drawer__block h4 { font-size: .82rem; font-weight: 800; color: var(--primary); margin-bottom: .35rem; }
.case-drawer__block p, .case-drawer__block li { font-size: .78rem; color: var(--text-light); line-height: 1.55; }
.case-drawer__block ul { padding-left: 1.1rem; }
.case-drawer__quote { margin: 1rem 0; padding: .85rem; border-left: 3px solid var(--primary); background: var(--primary-dim); border-radius: 0 8px 8px 0; font-size: .78rem; color: var(--text); }
.case-drawer__quote cite { display: block; margin-top: .45rem; font-size: .68rem; color: var(--text-light); font-style: normal; }

.poster-modal__box { max-width: 420px; }
#poster-canvas-wrap canvas { max-width: 100%; border-radius: 10px; margin: .75rem 0; border: 1px solid var(--border); }

/* P2 · 小程序横幅 */
.mp-banner {
  padding: .45rem 1rem; font-size: .68rem; text-align: center;
  background: color-mix(in srgb, var(--primary) 15%, var(--bg-card));
  color: var(--primary); border-bottom: 1px solid var(--border);
}

/* P2 · Calendly 预约 */
.booking-durations { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.booking-dur {
  padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: .78rem; cursor: pointer; min-height: 44px;
}
.booking-dur.active { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); font-weight: 700; }
.booking-fallback { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .78rem; color: var(--text-light); text-align: center; }
.booking-phone { display: inline-block; margin-top: .35rem; color: var(--primary); font-weight: 600; }

.calendly-modal .modal__box--wide { max-width: 520px; width: 100%; }
.calendly-iframe-wrap { position: relative; width: 100%; min-height: 520px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.calendly-iframe-wrap iframe { width: 100%; height: 520px; border: 0; }
.modal__close { position: absolute; top: .75rem; right: .75rem; background: none; border: none; font-size: 1.35rem; color: var(--text-light); cursor: pointer; z-index: 2; }
.modal__box--wide { position: relative; padding-top: 2.5rem; }

.page-footer { text-align: center; padding: 1.5rem 1rem 1rem; font-size: .72rem; color: var(--text-light); }

/* Contact footer (H5 标准) */
.contact-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(15,17,23,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border, #30363D);
}
.contact-footer__btns { display: flex; gap: .5rem; max-width: 480px; margin: 0 auto .35rem; }
.contact-footer__cta, .contact-footer__btn {
  flex: 1; text-align: center; padding: .55rem .4rem; border-radius: 8px;
  font-size: .78rem; font-weight: 600; min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.contact-footer__cta { background: #c41e1e !important; color: #fff !important; }
.contact-footer__btn { background: var(--bg-elevated, #21262D); color: var(--text, #E6EDF3); border: 1px solid var(--border, #30363D); cursor: pointer; }
.contact-footer__brand { text-align: center; font-size: .62rem; color: #8B949E; }

/* Share page */
.share-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
}
.share-card {
  max-width: 400px; width: 100%; padding: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.share-card__eyebrow { font-size: .72rem; letter-spacing: .08em; color: var(--primary); font-weight: 700; margin-bottom: .5rem; }
.share-card h1 { font-size: 1.35rem; font-weight: 900; margin-bottom: .45rem; line-height: 1.25; }
.share-card__desc { font-size: .85rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.5; }
.share-card__stats {
  display: flex; justify-content: space-around; gap: .5rem;
  margin: 1rem 0 1.25rem; padding: .85rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.share-card__stats div { font-size: .72rem; color: var(--text-light); }
.share-card__stats strong { display: block; font-size: 1.1rem; color: var(--primary); margin-bottom: .15rem; }
.share-theme-bar, .share-scene-bar {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-bottom: 1rem;
}
.share-chip {
  padding: .35rem .65rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--text); font-size: .72rem; cursor: pointer; min-height: 36px;
}
.share-chip.active { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); font-weight: 700; }
#share-canvas-wrap canvas { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.share-card__hint { font-size: .68rem; color: var(--text-light); margin-top: .65rem; }
