:root {
  --bg: #f7f7f5;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #5c5c5c;
  --line: #e6e6e3;
  --accent: #ef8b1a;
  --accent-hover: #d97712;
  --radius: 16px;
  --shadow: 0 18px 40px rgb(23 23 23 / 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgb(247 247 245 / 0.94);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: block;
  background: var(--paper);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand-name span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

nav a {
  color: var(--ink);
}

.hero {
  padding: 56px 0 48px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 10ch;
  font-size: clamp(36px, 5.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-self: center;
  padding: 28px 28px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-mark img {
  width: min(240px, 68vw);
  height: auto;
  display: block;
}

.hero-mark p {
  margin: 0;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fffdf8;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
}

.split {
  padding: 8px 0 64px;
}

.split .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.split h2,
.products h2,
.legal h1 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.split p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 62ch;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 8px 24px;
}

.facts li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.facts li:first-child {
  border-top: 0;
}

.facts span {
  color: var(--muted);
}

.products {
  padding: 0 0 88px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.product {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
}

.product:first-child {
  background: #171717;
  color: #f4f4f2;
}

.product:first-child p {
  color: #c8c8c4;
}

.product h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product p {
  margin: 0;
  color: var(--muted);
}

.legal {
  padding: 48px 0 80px;
}

.legal .meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.legal p,
.legal li {
  color: #3a3a3a;
}

.legal ul {
  padding-left: 1.2em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer .brand-name strong {
  font-size: 13px;
}

.site-footer nav {
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    height: auto;
    padding: 12px 0;
  }

  .site-header .wrap,
  .hero .wrap,
  .hero-actions,
  .split .wrap,
  .product-grid,
  .site-footer .wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 28px 0 36px;
  }

  .hero-mark {
    order: -1;
    padding: 20px 20px 14px;
  }

  .hero-mark img {
    width: 180px;
  }

  .facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active {
    transform: none;
  }
}
