:root {
  --ink: #111111;
  --muted: #666666;
  --soft: #f4f4f2;
  --line: #dededb;
  --paper: #ffffff;
  --container: 1180px;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(222, 222, 219, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 9px 17px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: flex;
  min-height: calc(100vh - 77px);
  align-items: center;
  padding-block: 80px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.hero-description {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-width: 138px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--paper);
}

.button-secondary:hover {
  color: var(--paper);
  background: var(--ink);
}

.hero-points {
  display: flex;
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-points li::before {
  margin-right: 8px;
  color: var(--ink);
  content: "●";
  font-size: 7px;
  vertical-align: 2px;
}

.section {
  padding-block: 116px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.section-heading h2,
.after-sales h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 380px;
  margin: 0 0 7px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.service-card {
  min-width: 0;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.service-card:hover {
  z-index: 1;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.card-number {
  color: #999;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.price {
  font-size: 13px;
}

.price strong {
  font-size: 25px;
  letter-spacing: -0.03em;
}

.service-card h3 {
  margin: 50px 0 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.service-card > p {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 24px 0 32px;
  padding: 0;
  color: #444;
  font-size: 14px;
  list-style: none;
}

.service-card li::before {
  margin-right: 10px;
  content: "—";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.pricing-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.process {
  color: var(--paper);
  background: var(--ink);
}

.process .eyebrow,
.process .section-heading > p {
  color: #aaa;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #444;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #333;
}

.process-list li > span {
  color: #777;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.process-list h3 {
  margin: 0 0 3px;
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: #aaa;
}

.after-sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: 9vw;
}

.lead {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.policy-panel {
  border-top: 1px solid var(--ink);
}

.policy-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-panel li {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.policy-panel strong {
  font-size: 14px;
}

.policy-panel span {
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 72px;
  color: var(--paper);
  background: var(--ink);
}

.contact-copy > p:last-child {
  max-width: 460px;
  margin: 24px 0 0;
  color: #aaa;
}

.contact .eyebrow {
  color: #999;
}

.contact-list {
  align-self: center;
  font-style: normal;
}

.contact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid #444;
}

.contact-list > div:first-child {
  border-top: 1px solid #444;
}

.contact-list span {
  color: #888;
  font-size: 13px;
}

.contact-list strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 28px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.back-to-top:hover {
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-3px);
}

.back-to-top[hidden] {
  display: none;
}

.footer-meta {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-meta p {
  margin: 0;
}

.filings {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.filings a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-grid {
    min-height: auto;
    padding-block: 88px 64px;
  }

  .after-sales-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-panel {
    padding: 56px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    position: relative;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: static;
    display: flex;
    width: 100%;
    max-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    order: 3;
    overflow: hidden;
    padding: 0 8px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: max-height 220ms ease, padding 220ms ease, opacity 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    max-height: 360px;
    padding-top: 10px;
    padding-bottom: 24px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a {
    padding: 17px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .site-nav a:not(.nav-cta)::after {
    content: none;
  }

  .site-nav .nav-cta {
    margin-top: 20px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero-grid {
    padding-block: 64px 48px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

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

  .hero-points {
    gap: 14px;
    justify-content: space-between;
  }

  .section {
    padding-block: 80px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }

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

  .service-card {
    padding: 28px 24px;
  }

  .service-card h3 {
    margin-top: 38px;
  }

  .service-card > p {
    min-height: auto;
  }

  .after-sales-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .policy-panel li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact {
    padding-top: 0;
  }

  .contact-panel {
    width: 100%;
    padding: 60px 24px;
  }

  .contact-list > div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-list strong {
    text-align: left;
  }

  .footer-main,
  .footer-meta {
    align-items: start;
    flex-direction: column;
  }

  .filings {
    justify-content: flex-start;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .back-to-top span:first-child {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
