:root {
  color-scheme: light;
  --ink: #171a22;
  --ink-soft: #3d4048;
  --muted: #676971;
  --paper: #fffdf8;
  --paper-deep: #f6efe4;
  --paper-warm: #fbf7f0;
  --line: #e7dccd;
  --line-strong: #d9c9b4;
  --brand: #b91f26;
  --brand-bright: #d12b32;
  --brand-deep: #86151a;
  --shadow: 0 22px 70px rgba(67, 45, 27, 0.11);
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(185, 31, 38, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(209, 192, 169, 0.72);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-seal {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--brand);
  border: 1.8px solid currentColor;
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.08em;
  transform: rotate(-1.5deg);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 26px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--brand-deep);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-download {
  padding: 10px 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-download:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(rgba(180, 145, 104, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 145, 104, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 52% 22%, #fff 0, transparent 44%),
    var(--paper-deep);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero::after {
  position: absolute;
  right: -5%;
  bottom: -140px;
  width: 66%;
  height: 310px;
  content: "";
  border: 1px solid rgba(163, 118, 76, 0.14);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 80px;
  right: 6%;
  width: 280px;
  height: 280px;
  background: rgba(199, 55, 61, 0.08);
}

.hero-glow-two {
  bottom: 80px;
  left: 4%;
  width: 220px;
  height: 220px;
  background: rgba(171, 126, 79, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 750;
  line-height: 1.24;
}

.hero h1 {
  font-size: clamp(44px, 5.7vw, 72px);
  letter-spacing: 0.04em;
}

.hero h1 span {
  color: var(--brand-deep);
}

.hero-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(185, 31, 38, 0.2);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  color: var(--brand-deep);
  background: #fff;
  border-color: rgba(185, 31, 38, 0.35);
}

.hero-points {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-points li::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--brand);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.board-lines {
  position: absolute;
  inset: 50px 0 70px;
  border: 1px solid rgba(150, 105, 66, 0.14);
  background:
    linear-gradient(rgba(150, 105, 66, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 105, 66, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: rotate(4deg);
}

.phone {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 8px solid #17181b;
  border-radius: 34px;
  box-shadow: 0 25px 60px rgba(52, 35, 24, 0.22);
}

.phone::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  pointer-events: none;
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 58px;
  height: 5px;
  background: rgba(18, 18, 20, 0.9);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-hero {
  z-index: 2;
  width: 330px;
  transform: rotate(1.5deg);
}

.hero-note {
  position: absolute;
  z-index: 3;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(60, 42, 27, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.hero-note-top {
  top: 88px;
  right: -24px;
}

.hero-note-bottom {
  bottom: 96px;
  left: -34px;
}

.note-dot {
  width: 10px;
  height: 10px;
  background: #3b9f68;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(59, 159, 104, 0.13);
}

.note-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 12px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section h2 {
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: 0.035em;
}

.section-heading > p:last-child,
.process-intro > p:last-of-type,
.about-grid > div > p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -40px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(185, 31, 38, 0.15);
  border-radius: 50%;
}

.service-card:hover {
  border-color: rgba(185, 31, 38, 0.3);
  box-shadow: 0 16px 38px rgba(67, 45, 27, 0.08);
}

.service-index {
  color: var(--brand);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 44px 0 12px;
  font-family: var(--serif);
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.process {
  background: var(--paper-deep);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 130px;
}

.process-intro > p:last-of-type {
  margin: 20px 0 0;
}

.process-seal {
  width: 92px;
  height: 92px;
  margin-top: 42px;
  display: grid;
  place-items: center;
  color: var(--brand);
  border: 2px solid currentColor;
  border-radius: 20px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  transform: rotate(-3deg);
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.process-list li {
  min-height: 168px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.process-list li:first-child {
  border-top: 1px solid var(--line-strong);
}

.process-list > li > span {
  color: var(--brand);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product {
  overflow: hidden;
  background: var(--paper);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.screen-card {
  margin: 46px 0 0;
}

.screen-card-high {
  margin-top: 0;
}

.screen-card .phone {
  width: 100%;
  border-width: 6px;
  border-radius: 30px;
}

.screen-card figcaption {
  padding: 20px 8px 0;
  display: grid;
  gap: 4px;
}

.screen-card figcaption strong {
  font-family: var(--serif);
  font-size: 18px;
}

.screen-card figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.download {
  padding: 56px 0;
  background: var(--paper);
}

.download-card {
  min-height: 500px;
  padding: clamp(42px, 7vw, 82px);
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #8a151a, #bf252c 56%, #8b151b);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(123, 19, 24, 0.24);
}

.eyebrow-light {
  color: #f7d9c8;
}

.download-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.button-light {
  color: var(--brand-deep);
  background: #fffaf2;
}

.button-light:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 8, 10, 0.22);
}

.download-copy small {
  margin-top: 18px;
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.qr-card {
  padding: 20px 20px 22px;
  display: grid;
  justify-items: center;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(56, 8, 11, 0.25);
}

.qr-card img {
  width: 220px;
  height: 220px;
}

.qr-card strong {
  margin-top: 10px;
  font-size: 17px;
}

.qr-card span {
  color: var(--muted);
  font-size: 13px;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 90px;
  align-items: start;
}

.about-grid > div > p {
  max-width: 680px;
  margin: 20px 0 0;
}

.contact-card {
  padding: 10px 34px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-label {
  margin: 0;
  padding: 24px 0 18px;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
}

.contact-card a,
.contact-card > div {
  padding: 19px 0;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-card > div:last-child {
  border-bottom: 0;
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
}

.contact-card strong {
  color: var(--ink-soft);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.contact-card a strong {
  transition: color 180ms ease;
}

.contact-card a:hover strong {
  color: var(--brand);
}

.site-footer {
  color: #d9d2c8;
  background: #18191c;
}

.footer-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
}

.footer-inner > div {
  display: grid;
  gap: 4px;
}

.footer-inner strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.1em;
}

.footer-inner span,
.footer-inner p,
.footer-inner a {
  margin: 0;
  color: #aaa59d;
  font-size: 13px;
}

.footer-inner a {
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.filing-link {
  grid-column: 1 / -1;
  justify-self: center;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 1020px) {
  .site-nav {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }

  .hero-note-top {
    right: -6px;
  }

  .hero-note-bottom {
    left: -10px;
  }

  .service-grid,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-card,
  .screen-card-high {
    margin-top: 0;
  }

  .about-grid {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .shell {
    width: min(100% - 32px, 620px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

  .header-download {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-hero {
    width: min(290px, 76vw);
  }

  .hero-note {
    font-size: 12px;
  }

  .hero-note-top {
    top: 56px;
    right: 0;
  }

  .hero-note-bottom {
    bottom: 48px;
    left: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section h2 {
    font-size: 34px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .service-card h3 {
    margin-top: 30px;
  }

  .process-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-intro {
    position: static;
  }

  .process-seal {
    display: none;
  }

  .process-list li {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .screen-card .phone {
    border-width: 4px;
    border-radius: 22px;
  }

  .screen-card figcaption {
    padding: 14px 2px 0;
  }

  .screen-card figcaption strong {
    font-size: 15px;
  }

  .screen-card figcaption span {
    display: none;
  }

  .download {
    padding: 24px 0;
  }

  .download-card {
    width: min(100% - 24px, 620px);
    padding: 42px 24px;
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
    border-radius: 24px;
  }

  .download-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .qr-card {
    width: min(100%, 280px);
    margin: 0 auto;
  }

  .about-grid {
    gap: 38px;
  }

  .contact-card {
    padding-right: 24px;
    padding-left: 24px;
  }

  .footer-inner {
    padding: 36px 0;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 17px;
  }

  .brand-seal {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .header-download {
    padding: 8px 11px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    justify-content: start;
    max-width: 220px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .hero-note-top {
    right: -8px;
  }

  .hero-note-bottom {
    left: -8px;
  }

  .screen-grid {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
