/* v4.4 — visual fidelity to the Muse main-chat version (screenshots 27/28/32/53).
   CSS ONLY: no copy, scoring or behaviour changes.
   Muse language: white page, near-black type, flat surfaces, square corners,
   no shadows, thin borders; green strip, red kicker, salmon CTA, gold scores. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.75;
}
a { color: #0e7c6b; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: #111; line-height: 1.35; letter-spacing: -0.01em; }
h1 { font-size: 32px; font-weight: 800; margin: 12px 0 16px; }
h2 { font-size: 21px; font-weight: 800; margin: 4px 0 10px; }
h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; }
h4 { font-size: 16px; font-weight: 800; margin: 14px 0 6px; }
p { margin: 10px 0; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.sub { color: #555; }
.muted { color: #666; font-size: 14px; line-height: 1.7; }

/* ---------- top strip + layout (strip scrolls away, like Muse) ---------- */
.strip {
  background: #0e6b3a;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 28px 20px 130px; }
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 26px 26px;
  margin: 24px 0;
}
.card:has(.sec-num) { border: 1.5px solid #111; }

/* ---------- buttons + forms ---------- */
button {
  background: #17803a;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 10px 18px;
  cursor: pointer;
  margin: 4px 2px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}
button:hover { opacity: 0.9; }
input, textarea, select {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  margin: 4px 0;
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #222;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #0e7c6b; }
input::placeholder, textarea::placeholder { color: #999; }

/* ---------- home hero ---------- */
.kicker { color: #d92d20; font-weight: 700; font-size: 15px; margin: 14px 0 4px; }
.hero-title { font-size: 50px; line-height: 1.2; letter-spacing: -0.015em; margin: 8px 0 16px; font-weight: 900; color: #111; }
.hero-intro { color: #555; font-size: 16px; line-height: 1.85; max-width: 740px; }
.hero-form label { font-weight: 700; display: block; margin: 20px 0 8px; color: #111; }
.hero-form input { border: 1.5px solid #333; padding: 14px; font-size: 15px; }
.form-row { display: flex; gap: 12px; align-items: stretch; }
.form-row input { flex: 1; margin: 0; }
.cta {
  background: #e8907c !important;
  color: #fff !important;
  font-weight: 800;
  white-space: nowrap;
  padding: 14px 28px !important;
  font-size: 16px;
}
.cta:hover { background: #e07a62 !important; }
.form-note { color: #666; font-size: 14px; line-height: 1.75; }

/* ---------- example card ---------- */
.example-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 28px;
  margin: 32px 0;
}
.example-kicker { color: #b7791f; font-weight: 700; margin: 0 0 8px; font-size: 14px; }
.example-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.example-top h2 { font-size: 26px; margin: 0 0 8px; }
.ring-svg {
  width: 126px; height: 126px; min-width: 126px; border-radius: 50%;
  background: conic-gradient(#bf9316 0 58%, #f0ede6 58% 100%);
  display: flex; align-items: center; justify-content: center;
}
.ring-inner {
  background: #fff; border-radius: 50%; width: 100px; height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-inner strong { font-size: 34px; line-height: 1; color: #111; }
.ring-inner span { font-size: 13px; color: #666; }
.example-dims { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; }
.dim-row { display: grid; grid-template-columns: 130px 1fr 50px; gap: 10px; align-items: center; margin: 9px 0; font-size: 14px; }
.dim-bar { height: 8px; background: #f0ede6; overflow: hidden; }
.dim-bar > div { height: 100%; background: #bf9316; }
.dim-bar.teal > div { background: #0e7c6b; }
.dim-bar.red > div { background: #d92d20; }

/* ---------- report ring + cap ---------- */
.report-ring { position: relative; width: 132px; height: 132px; margin: 8px 0; flex-shrink: 0; }
.report-ring svg { transform: rotate(-90deg); width: 132px; height: 132px; }
.ring-bg { fill: none; stroke: #f0ede6; stroke-width: 10; }
.ring-fg { fill: none; stroke: #bf9316; stroke-width: 10; stroke-linecap: round; }
.ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.ring-center strong { font-size: 40px; line-height: 1; color: #111; }
.ring-center span { font-size: 13px; color: #666; }
.ring { font-size: 56px; font-weight: 900; color: #0e7c6b; }
.ring span { font-size: 18px; color: #333; }
.capbox {
  border: 1.5px solid #d92d20;
  background: #fff;
  border-radius: 4px;
  padding: 16px 18px;
  margin: 12px 0;
}
.capbox strong { color: #d92d20; }
.capbox.ok { border-color: #17803a; }
.capbox.ok strong { color: #17803a; }

/* ---------- tables + bars ---------- */
table { width: 100%; border-collapse: collapse; }
td, th { border-bottom: 1px solid #eee; padding: 10px 8px; text-align: left; }
.bar2 { height: 8px; background: #f0ede6; overflow: hidden; }
.bar2 > div { height: 100%; background: #0e7c6b; }

/* ---------- packages + services (flat rows, outlined buttons) ---------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pkg { border: 1px solid #e5e5e5; border-radius: 4px; padding: 20px; background: #fff; }
.pkg h3 { margin-top: 0; }
.price { font-size: 24px; font-weight: 800; color: #111; }
.pkg button, .svc button {
  background: #fff; color: #111; border: 1px solid #111;
  border-radius: 2px; padding: 6px 14px; font-weight: 400; font-size: 14px;
}
.pkg button:hover, .svc button:hover { background: #f5f5f5; opacity: 1; }
.svc { border-bottom: 1px solid #eee; padding: 14px 0; }
.svc-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.svc-price { font-weight: 800; white-space: nowrap; color: #111; }
.svc-desc { color: #555; line-height: 1.7; margin: 6px 0; }
.strip-green {
  border: 1px solid #17803a; border-radius: 4px; padding: 10px 12px; margin: 16px 0;
  font-weight: 700; color: #14532d; background: #fff;
}
.quote-line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eee; padding: 12px 0; }

/* ---------- home sections ---------- */
.how-step { border-left: 4px solid #111; padding: 2px 0 2px 16px; margin: 18px 0; }
.how-step strong { font-size: 17px; }
.honest {
  border: 1px solid #e3ddc8; border-radius: 4px; padding: 16px 18px; margin: 18px 0;
  background: #faf6ec; line-height: 1.75;
}
.qtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.qtab { background: #fff; color: #222; border: 1px solid #111; border-radius: 2px; padding: 9px 18px; cursor: pointer; font-weight: 400; }
.qtab:hover { background: #f5f5f5; opacity: 1; }
.qtab.active { background: #111; color: #fff; border-color: #111; }
.btn-teal { background: #0e7c6b !important; color: #fff !important; font-weight: 700; white-space: nowrap; padding: 13px 24px !important; }
.btn-teal:hover { background: #0a5e52 !important; opacity: 1; }
.recent-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  border-bottom: 1px solid #eee; padding: 12px 0;
}
.recent-row a { font-weight: 700; color: #111; text-decoration: none; }
.recent-row a:hover { color: #0e7c6b; text-decoration: none; }
.recent-score { font-weight: 900; font-size: 18px; white-space: nowrap; color: #111; }

/* ---------- FAQ + contact ---------- */
.faq details { border-bottom: 1px solid #eee; padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: #111; }
.contact-box {
  border: 1px solid #17803a; border-radius: 4px; padding: 22px; margin: 18px 0;
  background: #fff; display: flex; gap: 22px; align-items: center;
}
.contact-box h3 { margin-top: 0; }

/* ---------- checking page ---------- */
.progress { height: 12px; background: #f0ede6; overflow: hidden; }
.progress > div { height: 100%; background: #0e7c6b; transition: width 0.3s; }
.check-kicker { color: #0e7c6b; font-weight: 700; margin: 0 0 8px; font-size: 14px; }
.check-card h1 { font-size: 32px; margin: 0 0 12px; }
.check-steps { list-style: none; padding: 0; margin: 24px 0; }
.check-steps li { display: flex; gap: 14px; margin: 18px 0; align-items: flex-start; }
.step-num {
  width: 30px; height: 30px; min-width: 30px; border: 1.5px solid #ccc; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
  background: #fff; color: #666;
}
.step-num.spin { border-color: #0e7c6b; border-top-color: transparent; animation: spin 1s linear infinite; }
.step-num.done { background: #0e7c6b; color: #fff; border-color: #0e7c6b; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-steps strong { font-size: 16px; color: #111; }
.check-steps p { color: #555; margin: 4px 0 0; line-height: 1.7; }
.tipbox { background: #faf6ec; border: 1px solid #e8dfc8; border-radius: 4px; padding: 16px 18px; margin: 22px 0; }
.tipbox p { margin: 0 0 12px; line-height: 1.75; }
.tip-segs { display: flex; gap: 6px; }
.tip-segs span { flex: 1; height: 6px; background: #e5ddc5; }
.tip-segs span.on { background: #0e7c6b; }
.back-link { margin: 4px 0 14px; }
.back-link a { color: #222; font-weight: 600; }

/* ---------- report sections ---------- */
.sec-num {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  background: #111; color: #fff; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin-right: 8px;
}
.sec-sub { color: #555; margin: 4px 0 14px; }
.report-brand { font-size: 30px; margin: 10px 0; font-weight: 900; }
.report-brand a { color: #0e7c6b; margin-left: 12px; font-size: 16px; font-weight: 400; text-decoration: underline; }
.s1-flex { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.grade-badge {
  display: inline-block; background: #c9a227; color: #fff;
  font-weight: 700; padding: 4px 16px; border-radius: 2px; margin: 8px 0; font-size: 14px;
}
.tags { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid #ddd; border-radius: 4px; padding: 4px 10px; font-size: 14px; background: #fff; color: #333; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact-card { border: 1px solid #eee; border-radius: 4px; padding: 14px; background: #fff; }
.fact-label { color: #666; font-size: 13px; margin-bottom: 6px; }
.ad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ad-card { border: 1px solid #eee; border-radius: 4px; padding: 12px; }
.ad-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 2px; }
.ad-rank { font-weight: 700; margin: 10px 0 4px; color: #111; }
.ad-title { font-weight: 700; }
.ad-price { color: #8a6d00; margin: 6px 0; font-weight: 700; }
.good-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.good-card { border: 1px solid #eee; border-radius: 4px; padding: 14px; display: flex; gap: 12px; }
.good-check { color: #0e7c6b; font-weight: 900; font-size: 20px; line-height: 1.4; }
.dimr-list { border-top: 1px solid #eee; }
.dimr-row {
  display: grid; grid-template-columns: 120px 1fr 56px 76px 1fr 24px; gap: 10px;
  align-items: center; padding: 12px 0; border-bottom: 1px solid #eee;
}
.dimr-bar { height: 8px; background: #f0ede6; overflow: hidden; }
.dimr-fill { display: block; height: 100%; }
.dimr-fill.good { background: #0e7c6b; }
.dimr-fill.mid { background: #bf9316; }
.dimr-fill.bad { background: #d92d20; }
.dimr-score { font-weight: 700; color: #111; }
.dimr-verdict { font-weight: 700; font-size: 14px; }
.dimr-verdict.good { color: #0e7c6b; }
.dimr-verdict.mid { color: #8a6d00; }
.dimr-verdict.bad { color: #d92d20; }
.dimr-reason { color: #333; font-size: 14px; line-height: 1.7; }
.dimr-detail summary { cursor: pointer; font-weight: 700; color: #0e7c6b; }
.dimr-detail p { color: #666; font-size: 14px; margin: 6px 0 0; }
.fix-list { display: grid; gap: 14px; }
.fix-card { border: 1px solid #eee; border-radius: 4px; padding: 18px; }
.fix-no { color: #d92d20; font-weight: 900; }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.chip {
  display: inline-block; border: 1px solid #ddd; border-radius: 4px;
  padding: 3px 12px; margin: 2px; background: #fafafa; font-size: 14px;
}
.phase { border-left: 4px solid #111; padding-left: 14px; margin: 18px 0; }
.qr-end { display: flex; gap: 22px; align-items: flex-start; }

/* ---------- prototypes ---------- */
.proto {
  border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin: 16px 0;
  background: #fff;
}
.proto .hero { background: #0f172a; color: #fff; padding: 32px 16px; border-radius: 2px; font-size: 22px; }
.proto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.proto.mobile .proto-grid { grid-template-columns: 1fr; }
.proto.mobile .proto-nav, .proto.mobile .proto-foot { font-size: 13px; }
.proto-nav, .proto-foot { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.proto-nav button, .proto-foot button {
  background: #fff; color: #111; border: 1px solid #ccc; border-radius: 2px;
  padding: 6px 12px; font-size: 14px; font-weight: 400; margin: 0;
}
.proto-nav button:hover, .proto-foot button:hover { background: #f5f5f5; opacity: 1; }
.prod { border: 1px solid #eee; border-radius: 4px; padding: 10px; background: #fff; }
.prod img { width: 100%; height: 180px; object-fit: cover; border-radius: 2px; }
.prod a { color: #111; }
.prod a:hover { text-decoration: none; }
.noimg {
  background: #f0ede6; height: 180px; display: flex; align-items: center;
  justify-content: center; color: #888; border-radius: 2px;
}
.peer { border: 1px solid #eee; border-radius: 4px; padding: 14px; margin: 14px 0; }
.peer-img { position: relative; }
.peer-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.peer-img .src {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, 0.65);
  color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 2px;
}
.proto-ann { background: #111; color: #fff; text-align: center; padding: 9px; border-radius: 2px 2px 0 0; font-size: 14px; }
.proto-head {
  display: flex; justify-content: space-between; gap: 8px; padding: 14px 4px;
  border-bottom: 1px solid #eee; flex-wrap: wrap; align-items: baseline;
}
.proto-head strong { font-size: 18px; }
.proto-head span { color: #666; font-size: 14px; }
.proto-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 18px 0; }
.proto-hero h3 { font-size: 24px; margin: 0 0 8px; }
.scheme-b .proto-hero { background: #14352f; color: #fff; padding: 18px; border-radius: 2px; }
.scheme-b .proto-hero h3 { color: #fff; }
.scheme-b .proto-hero p { color: #d1d5db; }
.proto-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 14px 0; text-align: center;
}
.proto-story { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 18px 0; }
.proto-sub { border: 1px solid #eee; border-radius: 4px; padding: 18px; margin: 18px 0; text-align: center; background: #fafafa; }
.proto-footbar { border-top: 1px solid #eee; padding: 18px 0 4px; color: #444; }
.proto.mobile .proto-hero, .proto.mobile .proto-story, .proto.mobile .proto-trust { grid-template-columns: 1fr; }
.proto.mobile .ad-grid, .proto.mobile .good-grid, .proto.mobile .fact-grid { grid-template-columns: 1fr; }
.proto details { border: 1px solid #eee; border-radius: 4px; padding: 12px 16px; margin: 12px 0; }
.proto summary { cursor: pointer; font-weight: 700; }

/* ---------- bottom bar + footer ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  color: #111; padding: 12px 16px; text-align: center;
  font-weight: 700;
}
.bottombar span { margin: 0 12px; font-weight: 400; color: #555; }
.bottombar a { margin: 0 6px; text-decoration: none; }
.bottombar a:first-of-type {
  display: inline-block; background: #111; color: #fff; border-radius: 2px;
  padding: 9px 20px; font-weight: 700;
}
.bottombar a:first-of-type:hover { background: #000; text-decoration: none; }
.bottombar a:last-of-type {
  display: inline-block; background: #fff; color: #111; border: 1px solid #111;
  border-radius: 2px; padding: 8px 20px; font-weight: 700;
}
.bottombar a:last-of-type:hover { background: #f5f5f5; text-decoration: none; }
.btn-outline {
  border: 1px solid #111; border-radius: 2px; padding: 8px 16px;
  color: #111; text-decoration: none; font-weight: 400; background: #fff;
}
.btn-outline:hover { background: #f5f5f5; text-decoration: none; }
.footer {
  background: #111827; color: #c9ced6; padding: 36px 24px 110px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px;
}
.footer h4 { color: #fff; }
.footer a { color: #c9ced6; }
.footer a:hover { color: #fff; }
.foot-note { grid-column: 1/-1; color: #8a8f98; }
.qr { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 20px 14px 130px; }
  .card { padding: 20px 16px; }
  .hero-title { font-size: 34px; }
  .form-row { flex-direction: column; }
  .example-top { flex-direction: column; }
  .example-dims { grid-template-columns: 1fr; }
  .dim-row { grid-template-columns: 100px 1fr 44px; }
  .recent-row { flex-direction: column; }
  .quote-line { flex-direction: column; }
  .contact-box { flex-direction: column; align-items: flex-start; }
  .fact-grid, .ad-grid, .good-grid, .deep-grid { grid-template-columns: 1fr; }
  .dimr-row { grid-template-columns: 96px 1fr 52px 52px; }
  .dimr-reason, .dimr-detail { grid-column: 1/-1; }
  .s1-flex { flex-direction: column; }
  .qr-end { flex-direction: column; }
  .bottombar { font-size: 14px; }
  .bottombar span { display: block; margin: 4px 0; }
  .ring { font-size: 44px; }
}

/* ---------- print ---------- */
@media print {
  .strip, .bottombar, .footer { display: none; }
  .wrap { padding-bottom: 20px; }
  .card { break-inside: avoid; }
  button { display: none; }
}

/* v4.5.1: section 8 deep-grid fix (from v4.4.1) — visual only, flat style colours untouched */
.deep-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.deep-grid > div { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.deep-grid p, .deep-grid li, .deep-grid h3 { overflow-wrap: anywhere; word-break: break-word; }
.deep-grid ul { padding-left: 20px; }
@media (max-width: 640px) { .deep-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* v4.5.2: homepage back to v4.4 gradient design, scoped to .hero-dark so report pages stay flat white */
.hero-dark { background: linear-gradient(100deg, #0b2233, #0f4a44); color: #fff; padding: 72px 0 72px; }
.hero-dark .wrap { padding: 0 20px; max-width: 980px; margin: 0 auto; }
.hero-dark .kicker { display: inline-block; color: #d4a93b; border: 1px solid rgba(212,169,59,.6); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 20px; }
.hero-dark .hero-title { color: #fff; font-size: 52px; line-height: 1.15; letter-spacing: 0; margin: 8px 0 16px; }
.hero-dark .hero-gold { color: #d4a93b; font-style: normal; }
.hero-dark .hero-intro { color: #dbe7e4; font-size: 18px; line-height: 1.7; max-width: 760px; }
.hero-dark .hero-form label { color: #fff; }
.hero-dark .hero-form input, .hero-dark .hero-form textarea { background: #fff; color: #111; border-color: #fff; }
.hero-dark .form-note { color: #cbd5e1; }
.hero-dark .cta { background: #102a43 !important; color: #fff !important; }
/* homepage-only design touch, below the hero: example card gets the v4.4 rounded + soft shadow look */
.example-card { border-radius: 18px; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
@media (max-width: 640px) { .hero-dark { padding: 56px 0 64px; } .hero-dark .hero-title { font-size: 36px; } }
