:root {
  color-scheme: light;
  --accent: #ff2a20;
  --text: #17191d;
  --muted: #59606b;
  --line: #e7e9ed;
  --soft: #f6f7f8;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--text);
}

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

a:focus-visible {
  outline: 3px solid rgba(255, 42, 32, 0.24);
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 27px;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.brand img {
  display: block;
  border-radius: 50%;
}

nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 16px;
}

nav a {
  position: relative;
  padding: 36px 0 30px;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

nav a:hover::after,
nav a.active::after {
  background: var(--accent);
}

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding: 64px 40px 42px;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 1.14;
  letter-spacing: -0.065em;
}

.hero p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.7;
}

.hero-mark {
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(100%, 360px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(255, 42, 32, 0.14);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capabilities article {
  position: relative;
  padding: 54px 56px 48px;
  text-align: center;
}

.capabilities article + article::before {
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.line-icon {
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.line-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capabilities h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.capabilities p {
  max-width: 270px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.product-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.product-status span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.product-status p {
  margin: 0;
  color: #3d4148;
}

.company-note {
  max-width: 820px;
  padding: 92px 0 110px;
}

.company-note h2 {
  margin: 0 0 20px;
  font-size: 38px;
  letter-spacing: -0.045em;
}

.company-note p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
}

.site-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid var(--line);
  color: #444a53;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-links a:hover {
  color: var(--accent);
}

.legal-page {
  min-height: calc(100vh - 190px);
  padding: 64px 0 100px;
}

.legal-page article {
  max-width: 840px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.055em;
}

.legal-page .updated {
  margin: 0 0 48px;
  color: var(--muted);
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-size: 22px;
}

.legal-page p,
.legal-page li {
  color: #464c55;
  font-size: 16px;
  line-height: 1.9;
}

.legal-page ul {
  padding-left: 1.4em;
}

@media (max-width: 840px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 720px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 22px;
  }

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

  nav a:not(.active) {
    display: none;
  }

  nav a {
    padding: 28px 0 24px;
  }

  nav a::after {
    bottom: 15px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 60px 4px 54px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1.13;
  }

  .hero p {
    margin-top: 24px;
    font-size: 18px;
  }

  .hero-mark {
    justify-content: start;
  }

  .hero-mark img {
    width: 168px;
    box-shadow: 0 18px 48px rgba(255, 42, 32, 0.12);
  }

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

  .capabilities article {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 20px;
    padding: 30px 4px;
    text-align: left;
  }

  .capabilities article + article::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .line-icon {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .line-icon svg {
    width: 30px;
    height: 30px;
  }

  .capabilities h2 {
    font-size: 22px;
  }

  .capabilities p {
    max-width: none;
    margin: 7px 0 0;
    font-size: 14px;
  }

  .product-status {
    justify-content: flex-start;
    padding: 22px 4px;
    line-height: 1.7;
  }

  .company-note {
    padding: 70px 4px 82px;
  }

  .company-note h2 {
    font-size: 32px;
  }

  .company-note p {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0 36px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

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