:root {
  --paper: #fff7e8;
  --paper-strong: #ffe8b8;
  --ink: #17130f;
  --muted: #6b6257;
  --line: rgba(23, 19, 15, 0.14);
  --green: #2f7f5f;
  --blue: #315f9f;
  --coral: #ff6b4a;
  --shadow: 0 26px 70px rgba(42, 31, 20, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(47, 127, 95, 0.12), transparent 36%),
    linear-gradient(240deg, rgba(255, 107, 74, 0.12), transparent 42%),
    var(--paper);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 0 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(23, 19, 15, 0.12));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  min-height: calc(100vh - 188px);
  padding: 42px 0 54px;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero-slogan {
  margin-bottom: 12px;
  max-width: 760px;
  font-size: 78px;
  line-height: 1.08;
  letter-spacing: 0;
}

.mobile-break {
  display: none;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  outline: none;
}

.button-primary {
  color: #fffdf7;
  background: var(--green);
  box-shadow: 6px 6px 0 rgba(255, 107, 74, 0.86);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 9px 9px 0 rgba(255, 107, 74, 0.86);
}

.button-secondary {
  background: #fffdf7;
  box-shadow: 6px 6px 0 var(--green);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: 9px 9px 0 var(--green);
}

.button-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.external-icon::before {
  position: absolute;
  right: 2px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.external-icon::after {
  position: absolute;
  right: 3px;
  top: 4px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right center;
}

.button-platform-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.download-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.phone-stage {
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(330px, 82vw);
  aspect-ratio: 9 / 18.2;
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: #221b16;
  box-shadow: var(--shadow), 16px 16px 0 rgba(49, 95, 159, 0.16);
  transform: rotate(2deg);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 34px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 107, 74, 0.24), transparent 24%),
    linear-gradient(160deg, #fffdf7, var(--paper-strong));
  overflow: hidden;
}

.phone-kicker {
  margin-bottom: 8px;
  color: var(--green);
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.phone-title {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 900;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  border: 10px solid rgba(47, 127, 95, 0.18);
  border-top-color: var(--green);
  border-right-color: var(--blue);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.74);
  box-shadow: 6px 6px 0 rgba(23, 19, 15, 0.08);
  animation: logoRise 800ms ease both;
}

.score-ring span {
  color: var(--ink);
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.staff-card {
  position: relative;
  width: 100%;
  max-width: 230px;
  padding: 34px 0;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 7px 7px 0 rgba(47, 127, 95, 0.24);
}

.staff-card span {
  display: block;
  height: 2px;
  margin: 8px 18px;
  background: rgba(23, 19, 15, 0.72);
}

.note {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.note::after {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 2px;
  height: 36px;
  background: var(--ink);
  content: "";
}

.note-a {
  left: 48px;
  top: 38px;
}

.note-b {
  right: 72px;
  top: 66px;
  background: var(--green);
}

.note-c {
  left: 112px;
  bottom: 42px;
  background: var(--blue);
}

.feedback-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 230px;
  margin-top: 18px;
}

.feedback-list span {
  padding: 10px 8px;
  border: 2px solid rgba(23, 19, 15, 0.16);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.62);
  font-size: 13px;
  text-align: center;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.feature-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 2px solid rgba(23, 19, 15, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.7);
  box-shadow: 8px 8px 0 rgba(23, 19, 15, 0.06);
  overflow: hidden;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  content: "";
}

.feature-practice::before {
  background: linear-gradient(135deg, var(--green), transparent 58%);
}

.feature-evaluate::before {
  background: linear-gradient(135deg, var(--blue), transparent 58%);
}

.feature-challenge::before {
  background: linear-gradient(135deg, var(--coral), transparent 58%);
}

.feature-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.feature-index {
  display: block;
  color: var(--blue);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.feature-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fffdf7;
  background: var(--ink);
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(47, 127, 95, 0.22);
}

.feature-band h2 {
  position: relative;
  margin-bottom: 10px;
  font-size: 24px;
}

.feature-band p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-line {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 19, 15, 0.1);
}

.feature-line::after {
  display: block;
  width: 52%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  content: "";
}

.feature-evaluate .feature-line::after {
  width: 68%;
  background: var(--blue);
}

.feature-challenge .feature-line::after {
  width: 84%;
  background: var(--coral);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.records-row {
  color: rgba(107, 98, 87, 0.86);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

.police-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: #fffdf7;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--coral);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes logoRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(620px, calc(100% - 28px));
  }

  .topbar {
    padding-top: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
    text-align: left;
  }

  .hero-slogan {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .phone {
    width: min(292px, 78vw);
    transform: rotate(0);
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 168px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(620px, calc(100% - 56px));
  }

  .brand-mark {
    gap: 9px;
    font-size: 20px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-bottom: 36px;
  }

  h1 {
    font-size: 76px;
  }

  .hero-slogan {
    font-size: 46px;
  }

  .button-primary {
    box-shadow: 5px 5px 0 rgba(255, 107, 74, 0.86);
  }

  .button-primary:hover,
  .button-primary:focus-visible {
    box-shadow: 6px 6px 0 rgba(255, 107, 74, 0.86);
  }

  .button-secondary {
    box-shadow: 5px 5px 0 var(--green);
  }

  .button-secondary:hover,
  .button-secondary:focus-visible {
    box-shadow: 6px 6px 0 var(--green);
  }

  .mobile-break {
    display: block;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: min(620px, calc(100% - 44px));
  }

  .hero-slogan {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
