:root {
  color-scheme: light;
  --paper: #fffaf4;
  --ink: #493d34;
  --muted: #978b7e;
  --line: #eae1d5;
  --orange: #d89059;
  --white: #fffefa;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-weight: 400;
}
* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; touch-action: manipulation; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
button:disabled { cursor: default; opacity: .7; }
button:active:not(:disabled) { transform: translateY(1px); }
button:focus-visible, input:focus-visible { outline: 3px solid #699aa7; outline-offset: 5px; }
button:focus:not(:focus-visible) { outline: none; }
svg, img { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.page-shell { max-width: 1184px; margin: 0 auto; padding: 0 46px; }
.site-header { height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 21px; font-weight: 750; letter-spacing: 1px; }
#site-name { overflow-wrap: anywhere; }
.brand-icon { width: 39px; height: 39px; transform: rotate(-6deg); flex: none; }
.brand-icon svg { width: 100%; height: 100%; fill: #edbd94; stroke: var(--ink); stroke-width: 1.65; stroke-linejoin: round; }
.brand-icon .brand-face { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.brand-dot { font-size: 32px; color: var(--orange); line-height: 1; margin-left: -6px; margin-top: -7px; }
.header-caption { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #a29480; letter-spacing: 1px; flex: none; }
.header-caption-dot { width: 5px; height: 5px; border-radius: 50%; background: #9bb49c; }
.demo-banner { margin-top: 20px; padding: 11px 16px; border: 1px solid #d1dfe4; border-radius: 12px; background: #eef4f5; color: #5c7d86; font-size: 12px; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; gap: 56px; padding: 47px 0 27px; align-items: start; }
.hero-story { padding-top: 9px; min-width: 0; }
.eyebrow { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #a17c5b; letter-spacing: 1.8px; font-weight: 600; }
.tiny-spark { font-size: 18px; color: #d3a879; line-height: 1; flex: none; }
h1 { font-size: 43px; line-height: 1.5; font-weight: 750; letter-spacing: 1px; margin: 19px 0 18px; overflow-wrap: anywhere; }
.highlight-word { position: relative; white-space: nowrap; display: inline-block; color: #b97a49; }
.highlight-word svg { position: absolute; bottom: -3px; left: -4px; width: calc(100% + 4px); height: 12px; fill: none; stroke: #efcba5; stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.headline-dot { color: #d09a6d; }
.hero-copy { color: #8f8172; font-size: 13px; line-height: 1.95; margin: 0; letter-spacing: .5px; overflow-wrap: anywhere; }
.cat-scene { position: relative; margin: -1px -26px -11px -9px; }
.cat-illustration { width: 100%; max-width: 498px; height: auto; }
.cat-caption { position: absolute; left: 50%; bottom: 1px; white-space: nowrap; transform: translateX(-50%) rotate(-3deg); border-radius: 7px; border: 1px solid #e5d8c6; background: #fffcf6; padding: 5px 14px; font-size: 10px; letter-spacing: 1.2px; color: #a38b70; box-shadow: 0 4px 14px #a1886610; }
.cat-caption > span:first-child { font-size: 18px; line-height: 10px; vertical-align: middle; margin-right: 5px; }
.connection-panel { position: relative; padding: 25px 29px 24px; background: var(--white); border: 1px solid #e8dfd3; border-radius: 24px; box-shadow: 0 7px 0 -1px #f3eadf, 0 8px 0 #e8ded0, 0 14px 38px #75573508; text-align: center; min-width: 0; }
.panel-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; }
.panel-eyebrow { font-size: 9px; color: #a29586; letter-spacing: 1.6px; font-weight: 600; white-space: nowrap; }
.stage-pill { display: inline-flex; align-items: center; gap: 6px; background: #edf3ed; color: #718779; border: 1px solid #e0e8dd; border-radius: 6px; padding: 3px 7px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.stage-pill::before { content: ""; height: 5px; width: 5px; border-radius: 50%; background: #7a9b8c; flex: none; }
.status-illustration { width: 79px; height: 79px; margin: 23px auto 14px; }
.status-illustration svg { width: 100%; height: 100%; overflow: visible; }
.signal-ring { fill: #f5efe4; stroke: #e9deca; stroke-width: 1; stroke-dasharray: 3 4; }
.signal-arc { fill: none; stroke: #ac956c; stroke-width: 3.8; stroke-linecap: round; }
.signal-dot { fill: #ac956c; }
.signal-spark { fill: #d5b87f; }
.is-running .arc-one, body[data-status="testing"] .arc-one { animation: signal-blink 1.8s infinite; }
.is-running .arc-two, body[data-status="testing"] .arc-two { animation: signal-blink 1.8s .22s infinite; }
.connection-panel h2 { font-size: 23px; line-height: 1.4; font-weight: 700; letter-spacing: .3px; margin: 0 0 8px; overflow-wrap: anywhere; }
.status-copy { font-size: 13px; line-height: 1.8; color: #94836f; min-height: 44px; margin: 0 auto 19px; max-width: 340px; overflow-wrap: anywhere; }
.progress-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #9b896f; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.progress-meta > span:last-child { white-space: nowrap; }
.progress-track { height: 6px; background: #f2ebe0; border-radius: 9px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: #c6b28a; border-radius: 9px; transition: width .25s ease; }
.result-note { min-height: 20px; margin: 10px 0 19px; font-size: 11px; color: #a1917c; letter-spacing: .25px; overflow-wrap: anywhere; }
.primary-button { width: 100%; min-height: 47px; padding: 11px 15px; border: 1px solid #e6b68f; border-radius: 11px; background: #f1c5a1; color: #704a30; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 650; letter-spacing: .5px; box-shadow: 0 3px 0 #e7b58e; overflow-wrap: anywhere; }
.primary-button:not(:disabled):hover { background: #eebb96; box-shadow: 0 3px 0 #d9a781, 0 7px 18px #d9ad8126; }
.primary-button:disabled { background: #f2d5bb; border-color: #ead0b8; box-shadow: 0 3px 0 #e8cdb5; }
.panel-separator { border-bottom: 1px dashed #e9e0d3; margin: 22px 0 15px; }
.bookmark-reminder { font-size: 11px; color: #a29480; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; line-height: 1.8; text-align: left; }
.bookmark-reminder svg { width: 15px; height: 15px; stroke: #b6a88e; fill: none; stroke-width: 1.2; flex: none; }
.bookmark-button { width: 100%; min-height: 43px; margin-top: 13px; background: #f7f0e6; border: 1px solid #e7dac8; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px; font-size: 12px; font-weight: 600; color: #967452; }
.bookmark-button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; fill: none; flex: none; }
.bookmark-button:hover, .bookmark-button[aria-expanded="true"] { background: #efe3d2; border-color: #dbc6ac; }
.bookmark-panel { margin-top: 15px; padding: 15px; border: 1px solid #e8dccb; border-radius: 11px; background: #fbf6ec; text-align: left; }
#bookmark-instructions { font-size: 12px; color: #927e63; line-height: 1.9; margin: 0 0 13px; overflow-wrap: anywhere; }
.bookmark-url-label { display: block; margin-bottom: 5px; font-size: 11px; color: #a28e73; }
#bookmark-url { width: 100%; min-width: 0; min-height: 40px; padding: 9px 10px; border: 1px solid #e3d6c2; border-radius: 7px; background: #fffdf8; color: #8c785e; font-size: 12px; outline-offset: 2px; }
.bookmark-footnote { font-size: 11px; line-height: 1.75; color: #aa9b85; margin: 10px 0 0; }
.little-note { margin: 15px 0 0; padding: 17px 20px; display: flex; align-items: center; gap: 15px; background: #f3f0e6; border: 1px solid #e9e4d6; border-radius: 13px; }
.note-flower { font-size: 30px; line-height: 1; color: #b5ba9d; flex: none; }
.little-note p { margin: 0; font-size: 11px; color: #908a71; line-height: 1.8; }
.little-note .note-body { color: #a6a08b; margin-left: 11px; }
.note-decoration { font-size: 22px; color: #c6c5aa; margin-left: auto; line-height: 1; transform: rotate(-12deg); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; padding: 18px 0 24px; border-top: 1px solid var(--line); color: #ac9e89; font-size: 11px; letter-spacing: .3px; }
.site-footer p { margin: 0; }
.footer-paw { color: #cab18a; margin-left: 10px; font-size: 12px; }
.footer-caption { color: #a18c72; }
@keyframes signal-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (min-width: 1350px) {
  .hero { gap: 73px; padding-top: 53px; }
  .hero-story { padding-top: 10px; }
  h1 { font-size: 46px; }
  .cat-scene { margin-top: -3px; }
  .connection-panel { padding-top: 27px; }
  .status-illustration { margin-top: 27px; margin-bottom: 18px; }
  .status-copy { margin-bottom: 22px; }
  .result-note { margin-bottom: 21px; }
}
@media (max-width: 980px) {
  .page-shell { padding: 0 30px; }
  .hero { gap: 29px; grid-template-columns: 1fr 1fr; }
  .connection-panel { padding-left: 22px; padding-right: 22px; }
  h1 { font-size: 35px; letter-spacing: .5px; }
  .hero-copy { font-size: 12px; }
  .cat-scene { margin-top: 19px; margin-left: -24px; margin-right: -11px; }
  .cat-caption { font-size: 9px; padding: 4px 10px; }
  .panel-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .stage-pill { font-size: 9px; padding: 3px 5px; }
  .connection-panel h2 { font-size: 21px; }
  .little-note .note-body { display: block; margin-left: 0; }
}
@media (max-width: 720px) {
  .page-shell { max-width: 540px; padding: 0 23px; }
  .site-header { height: 76px; gap: 14px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-icon { width: 33px; height: 33px; }
  .brand-dot { font-size: 29px; }
  .header-caption { font-size: 9px; letter-spacing: .3px; gap: 5px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 18px 0 24px; }
  .hero-story { position: relative; width: 100%; height: 175px; min-height: 175px; text-align: left; padding: 0 0 14px; isolation: isolate; }
  .eyebrow, h1, .hero-copy { position: relative; z-index: 1; }
  .eyebrow { justify-content: flex-start; font-size: 10px; letter-spacing: .9px; gap: 6px; }
  .tiny-spark { font-size: 15px; }
  h1 { font-size: 26px; line-height: 1.42; letter-spacing: .2px; margin: 9px 0 8px; }
  .hero-copy { max-width: none; width: calc(100% - 124px); min-width: 176px; margin: 0; font-size: 11px; line-height: 1.75; letter-spacing: 0; }
  .highlight-word svg { bottom: -4px; height: 10px; }
  .cat-scene { position: absolute; right: -10px; bottom: 10px; width: 136px; max-width: none; margin: 0; z-index: 0; }
  .cat-illustration { width: 136px; }
  .cat-caption { display: none; }
  .connection-panel { width: 100%; padding: 18px 22px 19px; border-radius: 20px; box-shadow: 0 5px 0 -1px #f3eadf, 0 6px 0 #e8ded0, 0 14px 38px #75573508; }
  .panel-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .stage-pill { font-size: 9px; padding: 3px 7px; }
  .status-illustration { width: 44px; height: 44px; margin: 10px auto 8px; }
  .connection-panel h2 { font-size: 21px; margin-bottom: 5px; }
  .status-copy { font-size: 12px; min-height: 42px; line-height: 1.75; margin-bottom: 10px; max-width: 320px; }
  .progress-meta { font-size: 11px; margin-bottom: 7px; }
  .progress-track { height: 5px; }
  .result-note { font-size: 11px; line-height: 1.65; margin: 8px 0 12px; }
  .primary-button { min-height: 45px; font-size: 13px; }
  .panel-separator { margin: 18px 0 12px; }
  .bookmark-reminder { font-size: 11px; line-height: 1.7; gap: 6px; }
  .bookmark-button { min-height: 44px; font-size: 12px; margin-top: 12px; }
  .bookmark-panel { padding: 13px; }
  #bookmark-instructions { font-size: 12px; }
  #bookmark-url { font-size: 12px; min-height: 40px; }
  .little-note { margin-top: 13px; padding: 14px; gap: 12px; border-radius: 11px; }
  .little-note p { font-size: 11px; line-height: 1.9; }
  .note-flower { font-size: 27px; }
  .note-decoration { display: none; }
  .site-footer { margin-top: 21px; padding: 17px 0 22px; font-size: 10px; gap: 10px; }
  .footer-paw { margin-left: 6px; }
  .demo-banner { font-size: 11px; margin-top: 15px; padding: 9px 12px; }
}
@media (max-width: 374px) {
  .page-shell { padding: 0 17px; }
  .site-header { height: 73px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand-icon { height: 30px; width: 30px; }
  .header-caption { font-size: 8px; letter-spacing: 0; gap: 4px; }
  .header-caption-dot { width: 4px; height: 4px; }
  .eyebrow { font-size: 9px; letter-spacing: .6px; }
  h1 { font-size: 23px; }
  .hero-copy { width: 166px; min-width: 0; }
  .cat-scene { right: -8px; bottom: 11px; width: 118px; }
  .cat-illustration { width: 118px; }
  .connection-panel { padding: 16px 17px 18px; }
  .panel-topline { gap: 6px; }
  .panel-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .stage-pill { font-size: 8px; }
  .status-illustration { width: 40px; height: 40px; margin: 9px auto 7px; }
  .connection-panel h2 { font-size: 20px; }
  .bookmark-reminder { align-items: flex-start; }
  .bookmark-reminder svg { margin-top: 2px; }
  .note-flower { font-size: 23px; }
  .little-note p { font-size: 10px; }
  .site-footer { font-size: 9px; letter-spacing: 0; }
  .footer-paw { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
