:root {
  --ink: #142033;
  --muted: #5c6b80;
  --body: #243246;
  --blue: #2f6bff;
  --navy: #16325c;
  --line: #d9e2ef;
  --paper: #f4f7fb;
  --white: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
}

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

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

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

h1 {
  margin-top: 16px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin-top: 48px;
  font-size: 18px;
}

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

.kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.lead {
  margin-top: 20px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.intro {
  max-width: 40rem;
  margin-top: 12px;
  color: #3d4d63;
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand img,
.section-logo,
.logo-card img {
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  color: #3d4d63;
  font-size: 14px;
}

.desktop-nav a:hover,
.footer-bar a:hover,
.email:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.menu-icon::before,
.menu-icon::after {
  position: relative;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 3.5px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  top: -1.5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 8px 20px 12px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
}

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

.hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 88px 0;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
}

.button-ghost {
  background: var(--white);
  border-color: #c9d6ee;
  color: var(--navy);
}

.logo-card,
.contact-card,
.feature-grid article,
.pain-list li,
.guarantee-list li {
  border: 1px solid var(--line);
  background: var(--white);
}

.logo-card {
  justify-self: end;
  width: min(100%, 360px);
  padding: 32px;
  border-radius: 18px;
  background: var(--paper);
  text-align: center;
}

.logo-card img {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 14px;
}

.logo-card-title {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 650;
}

.logo-card p:last-child,
.guarantee-list span,
.label,
footer {
  color: var(--muted);
}

section {
  scroll-margin-top: 80px;
}

section .wrap {
  padding: 72px 0;
}

.panel {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.prose {
  max-width: 46rem;
  margin-top: 32px;
  color: var(--body);
  font-size: 18px;
}

.prose p + p {
  margin-top: 20px;
}

.pain-list,
.feature-grid,
.guarantee-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

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

.pain-list li,
.guarantee-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
}

.pain-list span,
.feature-grid li::before {
  color: var(--blue);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-logo {
  width: 64px;
  height: 64px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature-grid article {
  padding: 24px;
  border-radius: 18px;
  background: #f7f9fc;
}

.feature-grid h3 {
  margin-top: 0;
  font-size: 20px;
}

.feature-grid ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.feature-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.guarantee-list {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guarantee-list li {
  display: block;
  padding: 20px;
  border-radius: 14px;
}

.guarantee-list p {
  color: var(--navy);
  font-weight: 650;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  padding: 32px;
  border-radius: 18px;
}

.label {
  font-size: 14px;
}

.email {
  display: block;
  margin: 4px 0 24px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.address {
  margin: 4px 0 24px;
}

footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
}

.footer-name {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .feature-grid,
  .guarantee-list,
  .pain-list {
    grid-template-columns: 1fr;
  }

  .logo-card {
    justify-self: stretch;
  }

  .hero-grid,
  section .wrap,
  .contact-grid {
    padding: 56px 0;
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .menu-button,
  .mobile-nav {
    display: block;
  }

  .actions,
  .footer-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

.mobile-nav[hidden] {
  display: none !important;
}

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