:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f7f5;
  --ink: #111111;
  --muted: #666d69;
  --line: rgba(17, 17, 17, 0.1);
  --brand: #016257;
  --brand-soft: #e8f3f0;
  --shadow: 0 28px 80px rgba(20, 28, 24, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-user-select: none;
  user-select: none;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 52%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

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

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  margin-top: 14px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(20, 28, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 108px;
}

.brand img {
  width: 108px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: #3d423f;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 94px);
  padding: 58px 0 64px;
  text-align: center;
}

.hero-icon {
  display: inline-flex;
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(20, 28, 24, 0.12);
}

.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kicker {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1080px;
  margin: 0 auto 18px;
  font-size: clamp(46px, 7.1vw, 78px);
  font-weight: 860;
  line-height: 1.05;
}

.hero-slogan {
  margin-bottom: 24px;
  font-size: clamp(23px, 3.4vw, 38px);
  font-weight: 760;
  line-height: 1.25;
}

.hero-intro {
  max-width: 860px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  background: #111111;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  font-weight: 780;
}

.app-store-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.app-store-icon rect,
.app-store-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-store-icon rect {
  stroke-width: 1.8px;
}

.app-store-icon path {
  stroke-width: 1.9px;
}

.preview-section,
.features-section,
.pricing-section,
.template-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 820px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  line-height: 1.08;
}

.section-copy {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--muted);
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
}

.device-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafbf9, #ffffff);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone {
  position: relative;
  flex: 0 0 auto;
  width: 236px;
  min-height: 470px;
  padding: 16px;
  background: #111111;
  border-radius: 40px;
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.18);
}

.phone-main {
  z-index: 2;
  width: 296px;
  min-height: 560px;
}

.phone-left {
  margin-right: -22px;
  transform: rotate(-5deg) translateY(40px);
}

.phone-right {
  margin-left: -22px;
  transform: rotate(5deg) translateY(42px);
}

.phone-bar {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 23px;
  background: #111111;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 438px;
  padding: 44px 16px 18px;
  background: #fbfcfb;
  border-radius: 30px;
}

.phone-main .phone-screen {
  min-height: 528px;
  padding: 52px 18px 20px;
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.screen-head span,
.progress-card span,
.chart-card span,
.asset-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.screen-head strong {
  font-size: 18px;
}

.progress-card,
.chart-card,
.asset-card,
.dashboard-grid article {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20, 28, 24, 0.05);
}

.progress-card {
  padding: 16px;
  margin-bottom: 14px;
}

.progress-card strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 30px;
}

.progress-card i {
  display: block;
  height: 7px;
  overflow: hidden;
  background: var(--brand-soft);
  border-radius: 999px;
}

.progress-card i::before {
  display: block;
  width: var(--p);
  height: 100%;
  background: var(--brand);
  content: "";
}

.list-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 13px;
}

.list-row b {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(1, 98, 87, 0.3);
  border-radius: 4px;
}

.list-row em {
  color: var(--brand);
  font-style: normal;
  font-weight: 760;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-grid article {
  padding: 14px;
}

.dashboard-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.dashboard-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.1;
}

.chart-card {
  padding: 18px;
  margin-bottom: 14px;
}

.chart-card strong {
  display: block;
  margin-top: 6px;
  font-size: 44px;
  line-height: 1;
}

.chart-card svg {
  width: 100%;
  height: 90px;
}

.chart-card path {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-width: 6;
}

.asset-card {
  padding: 18px;
}

.asset-card strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.asset-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.donut {
  width: 130px;
  height: 130px;
  margin: 28px auto 22px;
  background: conic-gradient(var(--brand) 0 60%, #caa65a 60% 85%, #7fc9bd 85% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px #ffffff;
}

.money-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.money-list strong {
  color: var(--ink);
}

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

.feature-card,
.price-card,
.pro-benefits,
.template-section,
.template-preview-card,
.download-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(20, 28, 24, 0.06);
}

.feature-card {
  min-height: 250px;
  padding: 28px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  background: #111111;
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 840;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-card p,
.price-card p,
.template-preview-card p,
.download-card p,
.templates-intro {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.price-card {
  padding: 30px;
}

.price-card span,
.pro-benefits span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 820;
}

.price-card h3 {
  margin: 18px 0 12px;
  font-size: 48px;
  line-height: 1;
}

.price-card del {
  color: #9b9f9c;
  font-size: 28px;
  text-decoration-thickness: 2px;
}

.price-card-highlight {
  background:
    linear-gradient(180deg, rgba(1, 98, 87, 0.1), transparent 55%),
    #ffffff;
  border-color: rgba(1, 98, 87, 0.32);
}

.pro-benefits {
  padding: 28px 30px;
}

.pro-benefits ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pro-benefits li {
  position: relative;
  padding-left: 18px;
  color: #3f4642;
  font-size: 15px;
}

.pro-benefits li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.template-section {
  margin-bottom: 90px;
  padding: 66px 30px;
  text-align: center;
}

.template-section .section-copy {
  margin-bottom: 0;
}

.site-footer a:hover {
  color: var(--brand);
}

.template-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.template-preview-card {
  min-height: 210px;
  padding: 26px;
  text-align: left;
}

.template-preview-card span,
.download-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 28px;
  padding: 0 10px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
}

.template-preview-card h3,
.download-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.secondary-button,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 780;
}

.secondary-button {
  margin-top: 34px;
  padding: 0 22px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.16);
}

.templates-main {
  padding: 84px 0 96px;
}

.templates-hero {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.templates-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 860;
  line-height: 1.05;
}

.templates-intro {
  font-size: 18px;
  line-height: 1.78;
}

.download-list {
  display: grid;
  gap: 18px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
}

.download-card > div {
  max-width: 720px;
}

.download-link {
  flex: none;
  min-width: 132px;
  padding: 0 18px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
}

.legal-main {
  padding: 78px 0 88px;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  padding: 58px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.legal-kicker {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-document h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 860;
  line-height: 1.06;
}

.legal-subtitle {
  margin-bottom: 26px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 780;
}

.legal-updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 15px;
}

.legal-document section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-document section + section {
  margin-top: 28px;
}

.legal-document h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.28;
}

.legal-document p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.legal-document ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document a {
  color: var(--brand);
  font-weight: 760;
}

.legal-table-wrap {
  width: 100%;
  margin: 22px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(20, 28, 24, 0.05);
}

.legal-document table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.55;
}

.legal-document th,
.legal-document td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-document th {
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 780;
}

.legal-document tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
}

.footer-separator {
  color: var(--muted);
}

.record-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.police-record img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 0;
    padding-top: 70px;
  }

  .device-stage {
    min-height: 760px;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
  }

  .phone,
  .phone-main {
    width: min(300px, 100%);
    min-height: 500px;
    margin: 0;
    transform: none;
  }

  .phone-main {
    order: -1;
  }

  .phone-screen,
  .phone-main .phone-screen {
    min-height: 468px;
  }

  .feature-grid,
  .pricing-grid,
  .template-preview-grid,
  .pro-benefits ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: static;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    padding: 58px 0 62px;
  }

  .hero-icon {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

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

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

  .hero-intro,
  .section-copy {
    font-size: 16px;
    line-height: 1.75;
  }

  .preview-section,
  .features-section,
  .pricing-section,
  .template-section {
    padding: 70px 0;
  }

  .section-title {
    text-align: left;
    font-size: 34px;
  }

  .section-copy {
    text-align: left;
  }

  .device-stage {
    min-height: 0;
    padding: 18px;
    border-radius: 26px;
  }

  .phone {
    width: min(286px, 100%);
    padding: 14px;
    border-radius: 34px;
  }

  .phone-screen,
  .phone-main .phone-screen {
    min-height: 430px;
    border-radius: 26px;
  }

  .feature-grid,
  .pricing-grid,
  .template-preview-grid,
  .pro-benefits ul {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 28px;
  }

  .price-card h3 {
    font-size: 42px;
  }

  .template-section {
    margin-bottom: 64px;
    padding: 42px 22px;
  }

  .templates-main {
    padding: 54px 0 72px;
  }

  .templates-hero {
    text-align: left;
  }

  .templates-hero h1 {
    font-size: 42px;
  }

  .download-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .download-link {
    width: 100%;
  }

  .legal-main {
    padding: 48px 0 64px;
  }

  .legal-document {
    padding: 34px 22px;
    border-radius: 24px;
  }

  .legal-document h1 {
    font-size: 40px;
  }

  .legal-document p {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }


  .record-links {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .record-links a {
    white-space: nowrap;
  }

  .record-links .footer-separator {
    display: none;
  }
}
