:root {
  --amber: #f5ad17;
  --amber-deep: #d98508;
  --amber-pale: #fff6d8;
  --cream: #fffdf1;
  --ink: #20232a;
  --muted: #68707c;
  --line: #f0e6c7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 9% 7%, rgba(255, 213, 78, .18), transparent 25rem),
    var(--cream);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  border-bottom: 1px solid rgba(222, 190, 92, .28);
  background: rgba(255, 253, 241, .95);
}

.header-inner,
.footer-inner,
.section,
.hero {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--amber-deep);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.site-type {
  color: #7d7562;
  font-size: 14px;
  letter-spacing: .12em;
}

.hero {
  padding: 100px 20px 96px;
  text-align: center;
}

.eyebrow,
.section-heading > p {
  display: inline-block;
  margin: 0 0 20px;
  color: #9a6204;
  background: #fff0b8;
  border: 1px solid #f5d673;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(46px, 7.5vw, 88px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 span {
  color: var(--amber);
}

.hero-copy {
  max-width: 690px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.tags span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #776f5e;
  font-size: 14px;
}

.tags span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--amber-deep);
  font-weight: 900;
}

.section {
  padding: 88px 0;
}

.section-heading {
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading > p {
  margin-bottom: 15px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.025em;
}

.section-heading > span {
  display: block;
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.comparison-card {
  margin-bottom: 34px;
  padding: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(224, 207, 157, .6);
  border-radius: 26px;
  box-shadow: 0 24px 70px -48px rgba(88, 61, 5, .5);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-title span {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--amber-pale);
  color: #986108;
  font-size: 12px;
  font-weight: 700;
}

.card-title h3 {
  margin: 0;
  font-size: 18px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

figure {
  margin: 0;
}

figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #7c8490;
  font-size: 13px;
  font-weight: 700;
}

figcaption i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5abb4;
}

.result-label {
  justify-content: flex-end;
  color: #ae7108;
}

.result-label i {
  background: var(--amber);
}

.image-frame {
  height: 335px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #ece9df;
  border-radius: 17px;
  background: #f7f7f4;
}

.image-frame.result {
  border-color: #f1d98d;
  background: #fffaf0;
}

.image-frame img {
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 35px -23px rgba(0,0,0,.55);
}

.arrow {
  color: #d59518;
  text-align: center;
  font-size: 26px;
}

.features {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: rgba(255,255,255,.52);
  border-block: 1px solid rgba(237, 224, 184, .5);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article,
.process-grid article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 14px;
  background: #ffedab;
  color: #9b6205;
  font-weight: 900;
  font-size: 19px;
}

.feature-grid h3,
.process-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.feature-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-grid article {
  position: relative;
  padding: 34px 28px 30px;
  text-align: center;
  background: rgba(255,255,255,.78);
}

.process-grid article > span {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #f2d98b;
  font-size: 34px;
  font-weight: 900;
}

.process-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 5px solid white;
  border-radius: 50%;
  background: var(--amber-pale);
  color: #a36805;
  box-shadow: 0 8px 24px -16px #8b610f;
  font-size: 24px;
  font-weight: 900;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  color: var(--ink);
  font-size: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.copyright,
.records {
  color: #858990;
  font-size: 12px;
}

.record-link {
  color: inherit;
  text-decoration: none;
}

.record-link:hover,
.record-link:focus-visible {
  color: #704500;
  text-decoration: underline;
}

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

.public-security-record img {
  width: 18px;
  height: 20px;
  object-fit: contain;
}

.footer-center {
  text-align: center;
}

.source-link {
  display: inline-block;
  margin-top: 7px;
  color: #9a6204;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid #e5c364;
}

.source-link:hover,
.source-link:focus-visible {
  color: #704500;
  border-bottom-color: #9a6204;
}

.records {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  min-height: 18px;
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .result-label {
    justify-content: flex-start;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .records {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .section,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .site-type {
    font-size: 12px;
    letter-spacing: .05em;
  }

  .hero {
    padding-block: 74px 68px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .comparison-card {
    padding: 16px;
    border-radius: 20px;
  }

  .image-frame {
    height: 235px;
    padding: 10px;
  }

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

  .records {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}
