:root {
  color-scheme: light;
  --ink: #17162a;
  --muted: #68667a;
  --line: rgba(35, 31, 66, 0.12);
  --surface: #ffffff;
  --surface-soft: #f6f5fb;
  --brand: #5146e8;
  --brand-deep: #352bb7;
  --brand-soft: #eeeefe;
  --warm: #ff8b35;
  --page: #fbfaf8;
  --shadow: 0 22px 60px rgba(51, 43, 117, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(81, 70, 232, 0.08), transparent 26rem),
    var(--page);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand-deep);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(35, 31, 66, 0.08);
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(81, 70, 232, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(81, 70, 232, 0.08);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

main {
  min-height: 66vh;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: clamp(64px, 9vw, 124px) 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
  content: "";
  box-shadow: 0 0 0 5px rgba(255, 139, 53, 0.13);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.6vw, 78px);
  font-weight: 800;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 0.64em;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 40, 104, 0.12);
  outline: none;
}

.button-primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-deep);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  width: 390px;
  height: 390px;
  background: linear-gradient(145deg, rgba(81, 70, 232, 0.19), rgba(255, 139, 53, 0.16));
  filter: blur(1px);
}

.hero-visual::after {
  right: 5%;
  bottom: 8%;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(81, 70, 232, 0.16);
}

.product-card {
  position: relative;
  z-index: 2;
  width: min(100%, 356px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.product-card > img {
  width: 86px;
  height: 86px;
  margin-bottom: 42px;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 16px 30px rgba(81, 70, 232, 0.25);
}

.product-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.connection-row {
  display: flex;
  margin-top: 24px;
  gap: 9px;
}

.connection-row span {
  width: 34px;
  height: 7px;
  border-radius: 99px;
  background: var(--brand);
}

.connection-row span:nth-child(2) {
  width: 62px;
  background: var(--warm);
}

.connection-row span:nth-child(3) {
  background: #d8d5ed;
}

.identity-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 96px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
}

.identity-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-weight: 850;
}

.identity-strip p {
  margin: 0;
}

.identity-strip .label {
  color: var(--muted);
  font-size: 13px;
}

.identity-strip .company {
  font-weight: 760;
}

.identity-strip .relation {
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 750;
}

.section {
  padding: 88px 0;
}

.section-soft {
  border-top: 1px solid rgba(35, 31, 66, 0.06);
  border-bottom: 1px solid rgba(35, 31, 66, 0.06);
  background: rgba(245, 244, 250, 0.72);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.detail-card {
  min-height: 214px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-card .number {
  width: 36px;
  height: 36px;
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 850;
}

.feature-card:nth-child(2) .number {
  color: #a84c11;
  background: #fff0e4;
}

.feature-card h3,
.detail-card h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.feature-card p,
.detail-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(64px, 9vw, 112px) 0 54px;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 66px);
}

.page-hero .lead {
  margin-bottom: 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(40px, 8vw, 100px);
  padding-bottom: 112px;
}

.content-aside {
  color: var(--muted);
  font-size: 14px;
}

.content-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 54px 0 15px;
  font-size: clamp(25px, 3vw, 34px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  margin: 12px 0 24px;
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 8px;
}

.company-panel,
.contact-panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(51, 43, 117, 0.07);
}

.company-panel h2,
.contact-panel h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(27px, 4vw, 42px);
}

.company-panel p,
.contact-panel p {
  max-width: 760px;
  color: var(--muted);
}

.company-panel .product-line {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.contact-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
}

.contact-list a {
  color: var(--brand-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 54px 0 34px;
  color: #dedced;
  background: #1e1c33;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: start;
  padding-bottom: 42px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 14px;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-company {
  margin: 0;
  color: #aaa7c0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 24px;
}

.footer-links a {
  color: #dedced;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #89869f;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .feature-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-aside {
    max-width: 580px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(calc(100% - 28px), var(--max));
    min-height: auto;
    padding: 13px 0 10px;
    display: block;
  }

  .brand {
    margin-bottom: 10px;
  }

  .site-nav {
    width: calc(100vw - 14px);
    margin-left: -7px;
    padding: 0 7px 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 7px 12px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .hero-visual {
    min-height: 335px;
  }

  .hero-visual::before {
    width: 295px;
    height: 295px;
  }

  .product-card {
    width: min(92%, 330px);
    padding: 25px;
  }

  .product-card > img {
    width: 74px;
    height: 74px;
    margin-bottom: 34px;
  }

  .identity-strip {
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin-bottom: 70px;
    padding: 21px;
  }

  .identity-strip .relation {
    grid-column: 2;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .detail-card {
    min-height: auto;
  }

  .feature-card .number {
    margin-bottom: 28px;
  }

  .page-hero {
    padding-top: 54px;
  }

  .content-layout {
    gap: 36px;
    padding-bottom: 82px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

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