:root {
  --ink: #10233d;
  --muted: #60718a;
  --paper: #f4f7fb;
  --paper-deep: #e9eff7;
  --white: #ffffff;
  --blue: #0d5ed7;
  --blue-deep: #073678;
  --cyan: #4ddce1;
  --yellow: #ffd76a;
  --line: rgba(16, 35, 61, 0.13);
  --display-font: "Songti SC", "STSong", "Noto Serif SC", serif;
  --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(13, 94, 215, 0.18);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.header-action {
  padding: 10px 18px;
  color: var(--blue-deep);
  border: 1px solid rgba(13, 94, 215, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  color: var(--white);
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 68px 0 94px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -140px;
  right: -34vw;
  width: 72vw;
  height: 760px;
  background:
    radial-gradient(circle at 26% 30%, rgba(77, 220, 225, 0.5), transparent 18%),
    radial-gradient(circle at 45% 58%, rgba(13, 94, 215, 0.32), transparent 45%);
  filter: blur(1px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  top: -92px;
  right: -180px;
  width: 700px;
  height: 700px;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(13, 94, 215, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 94, 215, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 0 45%, transparent 73%);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.hero h1 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.08em;
  left: -0.02em;
  height: 0.18em;
  background: var(--yellow);
  transform: rotate(-1.3deg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(7, 54, 120, 0.2);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(13, 94, 215, 0.26);
  transform: translateY(-3px);
}

.text-link {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 64px 0 0;
}

.trust-list div {
  padding-left: 15px;
  border-left: 2px solid rgba(13, 94, 215, 0.28);
}

.trust-list dt {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
}

.trust-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.qr-panel {
  position: relative;
  padding: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px 34px 34px 8px;
  box-shadow: 0 30px 80px rgba(22, 51, 91, 0.14);
  backdrop-filter: blur(20px);
}

.qr-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.13;
}

.qr-stamp {
  position: absolute;
  top: 32px;
  right: 28px;
  color: rgba(7, 54, 120, 0.28);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.qr-heading p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.qr-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.qr-frame {
  position: relative;
  margin-top: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.qr-frame::before,
.qr-frame::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--blue);
  pointer-events: none;
}

.qr-frame::before {
  top: 7px;
  left: 7px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  border-radius: 12px 0 0;
}

.qr-frame::after {
  right: 7px;
  bottom: 7px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  border-radius: 0 0 12px;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.qr-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.process-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0;
}

.process-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 265px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px 24px 24px 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.process-list li:hover {
  border-color: rgba(13, 94, 215, 0.28);
  box-shadow: 0 24px 48px rgba(16, 35, 61, 0.08);
  transform: translateY(-5px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  background: rgba(13, 94, 215, 0.08);
  border-radius: 50%;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.process-list h3 {
  margin: 46px 0 12px;
  font-family: var(--display-font);
  font-size: 25px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.disclaimer-note {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  margin-top: 44px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.disclaimer-label {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.disclaimer-copy {
  display: grid;
  gap: 8px;
}

.disclaimer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #071a33;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: min(1180px, calc(100% - 48px));
  min-height: 150px;
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--display-font);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.footer-brand span {
  font-size: 12px;
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.filing-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease;
}

.filing-links a:hover,
.filing-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.police-filing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-filing img {
  flex: 0 0 auto;
}

.reveal {
  animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

.reveal-first,
.reveal-second {
  animation-timeline: auto;
}

.reveal-first {
  animation-delay: 90ms;
}

.reveal-second {
  animation-delay: 220ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .qr-panel {
    width: min(430px, 100%);
    margin: 0 auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 36px 0;
  }

  .filing-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .process-section,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand small {
    display: none;
  }

  .header-action {
    padding: 9px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 88px;
  }

  .hero::before {
    top: -60px;
    right: -80vw;
    width: 140vw;
    height: 560px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.2;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .primary-button {
    width: 100%;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 50px;
  }

  .qr-panel {
    padding: 24px;
    border-radius: 26px 26px 26px 7px;
  }

  .qr-heading h2 {
    font-size: 24px;
  }

  .process-section {
    padding: 86px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 38px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

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

  .process-list li {
    min-height: 220px;
  }

  .process-list h3 {
    margin-top: 34px;
  }

  .disclaimer-note {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 36px;
  }

  .filing-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
