/* ============================================================
   南瓜测试 · 设计系统
   ============================================================ */

:root {
  --brand: #f2621b;
  --brand-2: #ff8e3c;
  --brand-deep: #c9480d;
  --brand-soft: #ffe9d9;
  --brand-tint: #fff4ec;

  --ink: #23150f;
  --ink-2: #4d372e;
  --ink-3: #6f574d;
  --muted: #97827a;
  --cream: #fffaf5;
  --card: #ffffff;
  --line: rgba(74, 43, 24, 0.09);
  --line-strong: rgba(74, 43, 24, 0.16);

  --dark: #241713;
  --dark-2: #31201a;

  --ok: #1f9d63;
  --warn: #d98324;
  --danger: #d94a3d;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(46, 25, 12, 0.05), 0 4px 14px rgba(46, 25, 12, 0.05);
  --shadow-md: 0 10px 30px rgba(66, 34, 14, 0.08), 0 2px 8px rgba(66, 34, 14, 0.04);
  --shadow-lg: 0 30px 70px rgba(58, 28, 10, 0.14), 0 8px 24px rgba(58, 28, 10, 0.07);

  --container: 1140px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 760px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(255, 250, 245, 0.94); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 19px; font-weight: 800; letter-spacing: 0.01em; }
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
}
.nav { display: flex; gap: 30px; font-size: 14.5px; color: var(--ink-3); flex: 1; }
.nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a:hover { color: var(--brand-deep); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-mobile-only { display: none; }
.nav-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.16s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d 0%, #f2621b 45%, #d94d0e 100%);
  box-shadow: 0 10px 24px rgba(226, 96, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(226, 96, 24, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #3a241c; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2); font-weight: 600; font-size: 14.5px;
}
.btn-text:hover { color: var(--brand-deep); }
.btn-text .arw { transition: transform 0.2s ease; }
.btn-text:hover .arw { transform: translate(2px, -2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16.5px; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(60% 55% at 50% 12%, rgba(255, 172, 112, 0.34), transparent 62%),
    radial-gradient(38% 42% at 12% 30%, rgba(255, 214, 186, 0.5), transparent 70%),
    radial-gradient(40% 40% at 88% 26%, rgba(255, 189, 152, 0.45), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--brand-deep);
  text-transform: uppercase;
}
.hero h1 {
  margin: 20px auto 0;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.hero h1 .grad {
  display: block;
  background: linear-gradient(96deg, #e8501a 6%, #f2621b 34%, #c0273f 78%, #a8203c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 590px;
  color: var(--ink-3);
  font-size: 16.5px;
  line-height: 1.85;
}
.hero-cta { margin-top: 30px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 18px;
  display: flex; gap: 22px; justify-content: center;
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* floating cards */
.float-card {
  position: absolute;
  width: 132px;
  border-radius: 16px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(90, 45, 18, 0.16);
  transform: rotate(var(--rot, -6deg));
  animation: floaty 7s ease-in-out infinite;
  z-index: 2;
}
.float-card .fc-art {
  height: 100px; border-radius: 11px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.float-card .fc-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 70% 20%, rgba(255, 255, 255, 0.32), transparent 65%);
}
.float-card .fc-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 7px 4px 5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center;
}
.float-card .fc-label em { font-style: normal; color: var(--brand); font-weight: 700; }
.fc-1 { left: 2%; top: 58px; --rot: -7deg; animation-delay: 0.2s; }
.fc-2 { left: 9%; top: 210px; --rot: 5deg; width: 118px; animation-delay: 1.4s; }
.fc-3 { right: 2.5%; top: 70px; --rot: 6deg; animation-delay: 0.8s; }
.fc-4 { right: 9.5%; top: 222px; --rot: -5deg; width: 112px; animation-delay: 2s; }
@keyframes floaty {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50% { transform: rotate(var(--rot)) translateY(-11px); }
}
@media (max-width: 1180px) { .fc-1, .fc-4 { display: none; } .fc-2 { left: -1%; } .fc-3 { right: -1%; } }
@media (max-width: 900px) { .float-card { display: none; } }

/* ---------------- showcase (dark) ---------------- */
.showcase {
  position: relative;
  margin: 46px auto 0;
  max-width: var(--container);
  padding: 0 24px;
}
.showcase-inner {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(255, 138, 61, 0.16), transparent 60%),
    linear-gradient(180deg, #2b1b15, #1e1310);
  padding: 40px 40px 26px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.showcase-head { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.showcase-title { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.showcase-tabs { display: flex; gap: 18px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.showcase-tabs b { color: #ffb27a; font-weight: 600; }
.showcase-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 330px 1fr;
  gap: 22px;
  align-items: start;
}
.sc-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  padding: 18px;
}
.sc-card + .sc-card { margin-top: 18px; }
.sc-card h3 { font-size: 15px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.sc-card p { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); margin-top: 7px; line-height: 1.7; }
.sc-card .link { display: inline-flex; gap: 6px; margin-top: 12px; font-size: 12.5px; color: #ffb27a; font-weight: 600; }
.sc-card .mini-art { display: flex; gap: 8px; margin-bottom: 14px; }
.sc-card .mini-art i {
  flex: 1; height: 62px; border-radius: 9px; display: block;
}
.sc-foot {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255, 255, 255, 0.42);
}
.sc-foot a { color: #ffb27a; font-weight: 600; }

/* phone */
.phone {
  position: relative;
  width: 330px;
  height: 640px;
  margin: 0 auto;
  border-radius: 42px;
  background: #0f0a08;
  padding: 9px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  background: #fffaf6;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 14px; background: #0f0a08; z-index: 3;
}
.phone-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px 8px; font-size: 11px; font-weight: 700; color: var(--ink);
}
.phone-scroll {
  position: absolute; inset: 58px 0 0 0;
  overflow: hidden;
  padding: 0 18px 26px;
}
.phone-scroll .p-eyebrow { font-size: 8.5px; letter-spacing: 0.24em; color: #b98b6f; font-weight: 700; }
.phone-scroll h4 { font-size: 19px; line-height: 1.32; margin-top: 5px; font-weight: 800; }
.phone-scroll .p-sub { font-size: 9.5px; color: var(--muted); margin-top: 4px; }
.phone-ring { display: grid; place-items: center; padding: 14px 0 6px; }
.phone-body { font-size: 10.5px; color: var(--ink-3); line-height: 1.75; }

/* ---------------- section base ---------------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.sec-head { max-width: 700px; }
.sec-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--brand); text-transform: uppercase;
}
.sec-title {
  margin-top: 12px;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sec-desc { margin-top: 12px; color: var(--ink-3); font-size: 15.5px; line-height: 1.85; }

/* ---------------- flow steps ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.flow-step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.flow-step .idx {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.flow-step .arw { margin-left: auto; color: #d8c3b5; }

/* ---------------- catalog ---------------- */
.catalog-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 10px 14px;
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  display: flex; flex-direction: column;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(242, 98, 27, 0.28); }
.tcard-art {
  position: relative;
  height: 132px;
  border-radius: 11px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.tcard-art .glyph {
  font-size: 44px; font-weight: 800; color: rgba(255, 255, 255, 0.94);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  z-index: 1;
  line-height: 1;
}
.tcard-art .ring {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 0;
}
.tcard-art .ring.r2 { width: 96px; height: 96px; border-style: dashed; opacity: 0.7; }
.tcard-art::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
}
.tcard-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
  backdrop-filter: blur(4px);
}
.tcard-badge {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 12px rgba(242, 98, 27, 0.4);
}
.tcard h3 { margin-top: 12px; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.tcard p {
  margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tcard .tmeta {
  margin-top: 10px; display: flex; gap: 10px; font-size: 11px; color: #b7a49b;
  padding-top: 10px; border-top: 1px dashed var(--line);
}
.catalog-more {
  margin-top: 30px; display: flex; justify-content: center;
}

/* ---------------- filters ---------------- */
.filters { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  height: 36px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 13.5px; color: var(--ink-3); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: 11px; opacity: 0.6; }

/* ---------------- delivery / feature cards ---------------- */
.feat-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: box-shadow 0.24s, transform 0.24s;
}
.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat-ico {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-deep);
  border: 1px solid rgba(242, 98, 27, 0.14);
}
.feat h3 { margin-top: 16px; font-size: 17px; font-weight: 700; }
.feat p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }
.feat .steps-line { margin-top: 16px; display: flex; gap: 6px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.feat .steps-line i { font-style: normal; }
.feat .steps-line i::after { content: "›"; margin-left: 6px; color: #d6c1b3; }
.feat .steps-line i:last-child::after { content: ""; }

/* ---------------- testimonials / sample ---------------- */
.sample-wrap {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 420px; gap: 46px; align-items: center;
}
.sample-list { display: grid; gap: 16px; }
.sample-item { display: flex; gap: 14px; }
.sample-item .n {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: var(--brand-tint); color: var(--brand-deep);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.sample-item h4 { font-size: 15px; font-weight: 700; }
.sample-item p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------------- faq ---------------- */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px; display: flex; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--brand); font-size: 12px; font-weight: 800; flex: none; width: 20px; }
.faq summary .pm { margin-left: auto; color: var(--muted); transition: transform 0.22s; font-size: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .a { padding: 0 40px 24px 40px; color: var(--ink-3); font-size: 14.5px; line-height: 1.9; }

/* ---------------- cta band ---------------- */
.band {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px 84px;
}
.band-inner {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(255, 168, 108, 0.28), transparent 60%),
    linear-gradient(120deg, #2a1a14, #45200f 60%, #6b2a0c);
  color: #fff;
  padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow-lg);
}
.band-inner h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.01em; }
.band-inner p { margin-top: 8px; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }

/* ---------------- footer ---------------- */
.site-footer {
  background: #1c110d;
  color: rgba(255, 255, 255, 0.62);
  padding: 56px 0 30px;
  font-size: 13.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgba(255, 255, 255, 0.4); }
.footer-about { margin-top: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.45); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, 0.55); }
.footer-col a:hover { color: #ffb27a; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
}

/* ============================================================
   landing (single test)
   ============================================================ */
.landing-hero { padding: 60px 0 70px; position: relative; overflow: hidden; }
.landing-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px;
  background: radial-gradient(46% 50% at 62% 18%, var(--lp-glow, rgba(255, 176, 120, 0.36)), transparent 68%);
  pointer-events: none;
}
.landing-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center;
}
.landing-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(242, 98, 27, 0.09); color: var(--brand-deep);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.landing-hero h1 {
  margin-top: 20px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.24; font-weight: 850; letter-spacing: -0.02em;
}
.landing-hero h1 em { font-style: normal; color: var(--brand-deep); }
.landing-desc { margin-top: 18px; font-size: 15.5px; color: var(--ink-3); line-height: 1.95; max-width: 560px; }
.landing-stats { margin-top: 24px; display: flex; gap: 26px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.landing-stats b { display: block; color: var(--ink); font-size: 17px; font-weight: 800; }
.landing-cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.landing-art {
  position: relative; border-radius: 26px; overflow: hidden; height: 340px;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.landing-art .bigglyph { font-size: 108px; font-weight: 850; color: rgba(255, 255, 255, 0.95); letter-spacing: -0.04em; }
.landing-art .caption {
  position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8); text-transform: uppercase; font-weight: 700;
}
.dim-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dim-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 24px; border-left: 3px solid var(--dim-color, var(--brand));
}
.dim-card .dcode { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--dim-color, var(--brand)); }
.dim-card h4 { margin-top: 6px; font-size: 16px; font-weight: 700; }
.dim-card p { margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.dim-card .poles { margin-top: 12px; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.dim-card .poles b { color: var(--ink-2); font-weight: 600; }
.report-points { margin-top: 32px; display: grid; gap: 4px; }
.report-point { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.report-point .idx { font-size: 12px; font-weight: 800; color: var(--brand); width: 26px; flex: none; letter-spacing: 0.05em; }
.report-point h4 { font-size: 15.5px; font-weight: 700; }
.report-point p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.landing-end { text-align: center; padding: 70px 0 90px; }
.landing-end h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.landing-end p { margin-top: 12px; color: var(--ink-3); }
.landing-foot { text-align: center; font-size: 12px; color: #b7a49b; padding-bottom: 40px; }

/* ============================================================
   quiz
   ============================================================ */
.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.quiz-top {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.9); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}
.quiz-top .qtitle { font-size: 14px; font-weight: 700; }
.quiz-top .qcount { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-track { height: 4px; background: rgba(74, 43, 24, 0.08); }
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #ffb066, var(--brand));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0 3px 3px 0;
}
.quiz-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 36px 24px 70px; }
.quiz-card { width: 100%; max-width: 740px; }
.quiz-step-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--brand); text-transform: uppercase; }
.quiz-q {
  margin-top: 14px;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 750; line-height: 1.45; letter-spacing: -0.01em;
}
.quiz-hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.quiz-options { margin-top: 28px; display: grid; gap: 12px; }
.qopt {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left;
  padding: 18px 20px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 15px; cursor: pointer;
  font-size: 15.5px; color: var(--ink); line-height: 1.6;
  transition: border-color 0.16s, background 0.16s, transform 0.16s, box-shadow 0.2s;
}
.qopt:hover { border-color: rgba(242, 98, 27, 0.5); background: #fffdfb; transform: translateX(2px); }
.qopt .key {
  width: 26px; height: 26px; flex: none; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fffaf5;
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  display: grid; place-items: center;
}
.qopt.is-picked {
  border-color: var(--brand);
  background: linear-gradient(100deg, #fff7f1, #fff);
  box-shadow: 0 8px 22px rgba(242, 98, 27, 0.13);
}
.qopt.is-picked .key { background: var(--brand); border-color: var(--brand); color: #fff; }
.quiz-nav { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-nav .tip { font-size: 12px; color: var(--muted); }
.scale-row { margin-top: 30px; display: grid; gap: 10px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ============================================================
   report
   ============================================================ */
.report-shell { background: #fdf7f2; min-height: 100vh; padding-bottom: 80px; }
.report-top {
  padding: 16px 24px; display: flex; align-items: center; gap: 14px;
  max-width: 880px; margin: 0 auto;
}
.report-top .rt-label { font-size: 12px; letter-spacing: 0.18em; color: var(--brand); font-weight: 700; text-transform: uppercase; }
.report-doc {
  max-width: 880px; margin: 0 auto;
  background: #fff; border-radius: 26px;
  box-shadow: 0 20px 60px rgba(80, 40, 15, 0.09);
  overflow: hidden;
  border: 1px solid rgba(74, 43, 24, 0.06);
}
.report-cover {
  position: relative; padding: 52px 48px 46px; color: #fff; overflow: hidden;
}
.report-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 88% -10%, rgba(255, 255, 255, 0.3), transparent 60%);
}
.report-cover .rc-inner { position: relative; z-index: 1; }
.report-cover .rc-brand { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.8; font-weight: 700; }
.report-cover h1 { margin-top: 26px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 850; line-height: 1.28; letter-spacing: -0.02em; }
.report-cover .rc-tag { margin-top: 12px; font-size: 15px; opacity: 0.85; line-height: 1.7; }
.report-cover .rc-type {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: 28px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.report-cover .rc-type b { font-size: 22px; font-weight: 850; letter-spacing: 0.02em; }
.report-cover .rc-type span { font-size: 13px; opacity: 0.9; }
.report-body { padding: 44px 48px 30px; }
.rb-section + .rb-section { margin-top: 44px; }
.rb-title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--brand); text-transform: uppercase; }
.rb-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rb-h2 { margin-top: 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.rb-p { margin-top: 14px; font-size: 15px; line-height: 2; color: var(--ink-2); }
.rb-p + .rb-p { margin-top: 12px; }
.dim-bars { margin-top: 22px; display: grid; gap: 18px; }
.dim-bar .db-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.dim-bar .db-head b { font-weight: 700; }
.dim-bar .db-head span { color: var(--muted); font-variant-numeric: tabular-nums; }
.db-track { height: 8px; border-radius: 99px; background: #f3eae3; overflow: hidden; }
.db-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffb066, var(--brand)); width: 0; }
.db-note { margin-top: 9px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.kv-list { margin-top: 18px; display: grid; gap: 14px; }
.kv-item { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.kv-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 10px; flex: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.panel { background: var(--brand-tint); border: 1px solid rgba(242, 98, 27, 0.12); border-radius: 16px; padding: 22px; }
.panel h4 { font-size: 14px; font-weight: 800; color: var(--brand-deep); letter-spacing: 0.02em; }
.panel ul { margin-top: 10px; display: grid; gap: 8px; }
.panel li { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); padding-left: 14px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: rgba(242, 98, 27, 0.6); }
.quote-block {
  margin-top: 20px; padding: 24px 26px; border-radius: 16px;
  background: #fbf6f1; border-left: 3px solid var(--brand);
  font-family: var(--font-serif); font-size: 16.5px; line-height: 1.95; color: var(--ink-2);
}
.report-foot {
  padding: 26px 48px 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
}
.report-foot .rf-note { font-size: 11.5px; color: #b7a49b; line-height: 1.8; max-width: 460px; }
.share-card {
  margin: 0 auto; max-width: 880px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  padding: 20px 4px; flex-wrap: wrap;
}
.share-card .sc-t { font-size: 13.5px; color: var(--ink-3); }
.copy-field {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px;
}
.copy-field input { border: 0; outline: 0; font-size: 12.5px; color: var(--ink-3); width: 240px; background: transparent; font-family: inherit; }

/* ============================================================
   console / dashboard
   ============================================================ */
.console-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side {
  border-right: 1px solid var(--line); padding: 22px 16px; background: #fffdfb;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.side .logo { padding: 4px 8px 20px; }
.side-nav { display: grid; gap: 3px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-3);
}
.side-nav a:hover { background: #fbf3ec; color: var(--ink); }
.side-nav a.is-active { background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.side-nav .grp { margin: 16px 12px 6px; font-size: 10.5px; letter-spacing: 0.14em; color: #c0aa9e; font-weight: 700; text-transform: uppercase; }
.console-main { padding: 28px 36px 70px; max-width: 1080px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.page-head p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.stat-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
}
.stat .lbl { font-size: 12px; color: var(--muted); }
.stat .val { margin-top: 6px; font-size: 27px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .delta { margin-top: 4px; font-size: 11.5px; color: var(--ok); }
.card-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-top: 20px; }
.card-block h2 { font-size: 16px; font-weight: 750; }
.card-block .cb-desc { margin-top: 4px; font-size: 13px; color: var(--muted); }
table.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13.5px; }
table.tbl th {
  text-align: left; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted);
  font-weight: 700; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line);
}
table.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td .sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill-ok { background: #e8f7ef; color: #157a4d; }
.pill-warn { background: #fdf3e3; color: #a56a12; }
.pill-muted { background: #f4efeb; color: #86736a; }
.pill-brand { background: var(--brand-tint); color: var(--brand-deep); }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.form-row { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  height: 42px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #fffdfb; font-family: inherit; font-size: 14px; color: var(--ink); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { height: auto; padding: 11px 13px; line-height: 1.7; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242, 98, 27, 0.12); }
.field .help { font-size: 11.5px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: var(--brand-tint); border: 1px solid rgba(242, 98, 27, 0.14);
  font-size: 13px; color: var(--ink-2); line-height: 1.75;
}
.notice.info { background: #f2f7fb; border-color: #d9e6f0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 22px; }
.tabs a { padding: 10px 14px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.is-active { color: var(--brand-deep); border-bottom-color: var(--brand); font-weight: 600; }

/* toast */
.toast-host { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast {
  background: rgba(30, 18, 13, 0.94); color: #fff; font-size: 13px;
  padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: toastIn 0.24s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* reveal */
.reveal { animation: riseIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-grid { grid-template-columns: 1fr 300px 1fr; gap: 16px; }
  .landing-grid { grid-template-columns: 1fr; gap: 34px; }
  .landing-art { height: 240px; order: -1; }
  .sample-wrap { grid-template-columns: 1fr; }
  .console-shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav { display: flex; overflow: auto; gap: 6px; }
  .side-nav a { white-space: nowrap; }
  .side-nav .grp { display: none; }
  .console-main { padding: 24px 20px 60px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    gap: 0;
    padding: 4px 20px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(60, 30, 10, 0.13);
    font-size: 15.5px;
  }
  .nav.is-open a { padding: 13px 0; border-top: 1px solid var(--line); }
  .nav.is-open a:first-child { border-top: 0; }
  .nav.is-open a.is-active::after { display: none; }
  .nav.is-open a.is-active { color: var(--brand-deep); }
  .nav-mobile-only { display: block; }
  .header-inner { height: 64px; gap: 16px; }
  .section { padding: 58px 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .phone { width: 290px; height: 560px; }
  .feat-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .flow-step .arw { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tcard-art { height: 108px; }
  .tcard-art .glyph { font-size: 34px; }
  .band-inner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .report-body { padding: 30px 22px 20px; }
  .report-cover { padding: 36px 24px 32px; }
  .report-foot { padding: 20px 22px 30px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: 1fr; }
  .quiz-main { padding: 22px 16px 60px; }
  .qopt { padding: 15px 16px; font-size: 14.5px; }
  .copy-field input { width: 150px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 30px; }
  .hero-sub { font-size: 15px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tcard h3 { font-size: 14px; }
  .tcard p { font-size: 11.5px; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- misc ---------------- */
.skip-link {
  position: fixed; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 12px; z-index: 300; font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #fbf3ec; padding: 2px 6px; border-radius: 5px; font-size: 12.5px;
  color: var(--brand-deep);
}
.console-main h1 { letter-spacing: -0.02em; }
.console-main .btn-text { color: var(--ink-2); cursor: pointer; background: none; border: 0; padding: 0; }
.console-main .btn-text:hover { color: var(--brand-deep); }
.console-main table code { background: #faf6f2; color: var(--ink-3); }
.rsv { display: flex; gap: 8px; align-items: center; }

/* landing art rings */
.landing-art .ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  width: 78%; height: 78%; left: 11%; top: 11%;
}
.landing-art .ring.r2 { width: 56%; height: 56%; left: 22%; top: 22%; border-style: dashed; border-color: rgba(255,255,255,.22); }
.landing-art .ring.r3 { width: 36%; height: 36%; left: 32%; top: 32%; border-color: rgba(255,255,255,.32); }
.landing-art .art-meta {
  position: absolute; right: 18px; bottom: 16px; font-size: 11px;
  color: rgba(255,255,255,.75); letter-spacing: .04em;
}
