@font-face {
  font-family: "ZhiyeUI";
  src: url("/assets/font.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #151719;
  --muted: #71777d;
  --line: #dfe4e8;
  --soft-line: #edf0f2;
  --blue: #dceefe;
  --blue-strong: #377da9;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "ZhiyeUI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); }

.section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.site-nav { position: relative; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.nav-inner {
  width: min(1240px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand { width: max-content; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-size: 15px; }
.brand b { font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 34px; color: #34383b; font-size: 13px; }
.nav-links a, .nav-text-link { transition: color .18s ease; }
.nav-links a:hover, .nav-text-link:hover { color: var(--blue-strong); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.outline-button, .solid-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.outline-button { color: var(--ink); background: rgba(255,255,255,.62); border: 1px solid #bfc6cc; backdrop-filter: blur(18px); }
.outline-button:hover { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.solid-button { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.solid-button:hover { background: #33383c; transform: translateY(-1px); }
.menu-button { width: 34px; height: 34px; display: none; place-items: center; padding: 0; color: var(--ink); background: transparent; border-radius: 50%; cursor: pointer; }
.menu-button span { width: 19px; height: 1px; display: block; margin: 5px auto; background: var(--ink); }
.mobile-menu { position: fixed; inset: 72px 0 auto; z-index: 99; padding: 28px 24px 36px; background: rgba(255,255,255,.98); border-top: 1px solid var(--soft-line); backdrop-filter: blur(18px); display: grid; gap: 22px; }
.mobile-menu a { font-size: 24px; font-weight: 500; }

.hero {
  width: 100%;
  height: min(640px, calc(100svh - 72px));
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--soft-line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 8px 8px 0 0;
  isolation: isolate;
}
.hero-background { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7fbfe 100%); pointer-events: none; }
.hero-background i { position: absolute; display: block; border: 1px solid rgba(70,121,153,.18); border-radius: 50%; }
.hero-background i:nth-child(1) { width: 760px; height: 420px; left: 50%; top: -320px; transform: translateX(-50%); }
.hero-background i:nth-child(2) { width: 1040px; height: 560px; left: 50%; bottom: -510px; transform: translateX(-50%); }
.hero-background i:nth-child(3) { display: none; }
.hero-inner { width: min(1240px, calc(100% - 48px)); height: 100%; margin: 0 auto; position: relative; z-index: 1; display: grid; place-items: center; }
.hero-copy { width: min(900px, 100%); text-align: center; }
.hero h1 { margin: 0; font-size: 88px; line-height: 1.02; font-weight: 400; letter-spacing: -.045em; }
.hero-copy p { max-width: 580px; margin: 28px auto 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.catalog { padding: 132px 0 138px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 68px; }
.section-eyebrow { margin: 0 0 12px; color: var(--blue-strong); font-size: 12px; font-weight: 500; }
.section-head h2, .open-copy h2, .plans-heading h2, .open-store h2 { margin: 0; font-size: 52px; line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.section-head > div > p:last-child, .plans-heading > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-card { position: relative; min-height: 460px; overflow: hidden; background: #fafdff; border: 1px solid var(--soft-line); border-radius: 8px; transition: transform .2s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-card-copy { position: absolute; top: 26px; left: 26px; right: 24px; z-index: 2; }
.product-card-label { color: var(--blue-strong); font-size: 11px; }
.product-card h3 { margin: 10px 0 0; font-size: 24px; line-height: 1.2; font-weight: 500; }
.product-card-copy p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.product-card-visual { position: absolute; right: 18px; bottom: 0; left: 18px; height: 320px; overflow: hidden; background: #edf6fb; border: 1px solid #e0e9ef; border-bottom: 0; border-radius: 7px 7px 0 0; }
.visual-toolbar { height: 42px; display: flex; align-items: center; gap: 5px; padding: 0 13px; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--soft-line); }
.visual-toolbar > span { width: 6px; height: 6px; background: #c8d0d5; border-radius: 50%; }
.visual-toolbar b { margin-left: auto; color: #758088; font-size: 8px; font-weight: 400; }
.visual-paper { width: calc(100% - 42px); min-height: 254px; margin: 21px auto 0; padding: 36px 28px; background: #fff; }
.visual-paper small { display: block; color: var(--blue-strong); font-size: 8px; }
.visual-paper strong { display: block; margin: 18px 0 28px; font-size: 24px; line-height: 1.25; font-weight: 500; }
.visual-paper i { width: 100%; height: 1px; display: block; margin-top: 13px; background: var(--soft-line); }
.visual-paper i:last-child { width: 62%; }
.theme-visual { padding: 22px; background: #eef1ed; }
.theme-page { height: 100%; padding: 32px 26px; color: #fff; background: #23302d; }
.theme-page small { color: rgba(255,255,255,.62); font-size: 8px; }
.theme-page strong { display: block; margin: 55px 0 27px; font-size: 25px; line-height: 1.3; font-weight: 400; }
.theme-page span { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.66); font-size: 9px; }
.theme-swatches { position: absolute; right: 34px; bottom: 34px; display: flex; gap: 6px; }
.theme-swatches i { width: 13px; height: 13px; background: #d3c8b6; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; }
.theme-swatches i:nth-child(2) { background: #708780; }
.theme-swatches i:nth-child(3) { background: #273330; }
.api-visual { padding: 26px 22px; background: #1c2226; color: #dce4e8; }
.api-line { height: 54px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 9px; }
.api-line span { color: #8dbbd6; }
.api-line code { color: #dce4e8; font-family: "ZhiyeUI", sans-serif; }
.api-line b { color: #8fb89a; font-weight: 400; }
.api-cursor { margin-top: 30px; color: #88b7d1; font-size: 15px; opacity: .65; }

.feature-catalog { padding: 0 0 138px; background: #f6f8f9; }
.feature-catalog .section-shell { padding-top: 104px; border-top: 1px solid #dfe4e7; }
.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.feature-card { min-height: 260px; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #e1e5e8; }
.feature-card > span { color: #8d969c; font-size: 9px; }
.feature-card h3 { margin: 42px 0 12px; font-size: 18px; font-weight: 500; }
.feature-card p { margin: 0; color: #7b8287; font-size: 11px; line-height: 1.7; }
.feature-card strong { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--soft-line); font-size: 12px; font-weight: 500; }

.guide-section { padding: 0 4px 0px; background: #ffffff; }
.guide-panel {
  width: min(1912px, calc(100% - 8px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #d7dbde;
  border-radius: 18px;
  overflow: hidden;
}
.guide-item { min-height: 340px; padding: 68px max(56px, 12vw); }
.guide-item:nth-child(odd) { border-right: 1px solid var(--soft-line); }
.guide-item:nth-child(-n+2) { border-bottom: 1px solid var(--soft-line); }
.guide-item h2 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 400; letter-spacing: -.02em; }
.guide-item > p:not(.section-eyebrow) { max-width: 530px; margin: 22px 0 0; color: #464b4f; font-size: 15px; line-height: 1.75; }
.guide-item > a, .guide-links a { width: max-content; color: #315efb; font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.guide-item > a { display: inline-block; margin-top: 28px; }
.guide-links { display: grid; gap: 10px; margin-top: 28px; }

.open-section { padding: 0 0 140px; }
.open-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; padding: 92px 72px; background: #edf7ff; border-radius: 8px; }
.open-copy { align-self: start; position: sticky; top: 36px; }
.open-copy > p:not(.section-eyebrow) { max-width: 410px; margin: 22px 0 30px; color: #667079; font-size: 15px; line-height: 1.7; }
.benefit-list { border-top: 1px solid rgba(80,109,128,.28); }
.benefit-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 20px; align-items: center; min-height: 132px; padding: 24px 0; border-bottom: 1px solid rgba(80,109,128,.28); }
.benefit-row > span { color: #5c7483; font-size: 10px; }
.benefit-row h3 { margin: 0; font-size: 18px; font-weight: 500; }
.benefit-row p { margin: 7px 0 0; color: #68747c; font-size: 12px; line-height: 1.55; }
.benefit-row > strong { max-width: 120px; color: #2e3f4a; font-size: 18px; font-weight: 500; text-align: right; white-space: nowrap; }

.plans { padding: 0 0 140px; }
.plan-builder { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: stretch; }
.plan-options { align-self: start; position: sticky; top: 36px; }
.plans-heading { margin-bottom: 38px; }
.option-step { padding: 25px 0; border-top: 1px solid var(--line); }
.option-step-version { border-bottom: 1px solid var(--line); }
.option-label { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin-bottom: 18px; }
.option-label > span { color: var(--blue-strong); font-size: 10px; }
.option-label div { display: grid; gap: 5px; }
.option-label strong { font-size: 14px; font-weight: 500; }
.option-label small { color: var(--muted); font-size: 10px; }
.segmented-control, .version-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.segment { min-height: 42px; color: #687077; background: transparent; border: 1px solid #cbd2d7; border-radius: 8px; cursor: pointer; font-size: 12px; }
.segment.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.version-option { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--ink); background: #fff; border: 1px solid #d7dde1; border-radius: 8px; cursor: pointer; text-align: left; }
.version-option.active { border-color: var(--blue-strong); box-shadow: 0 0 0 2px rgba(55,125,169,.09); }
.version-option span { display: grid; gap: 6px; }
.version-option strong { font-size: 12px; font-weight: 500; }
.version-option small { color: var(--muted); font-size: 9px; }
.version-option i { width: 8px; height: 8px; flex: 0 0 auto; background: #d1d7db; border-radius: 50%; }
.version-option.active i { background: var(--blue-strong); }
.selection-summary { margin: 18px 0 0; color: var(--muted); font-size: 10px; }
.selection-summary strong { margin-left: 8px; color: var(--ink); font-weight: 500; }
.price-card { min-height: 660px; padding: 48px; display: flex; flex-direction: column; color: var(--ink); background: #f8fbfd; border: 1px solid var(--soft-line); border-radius: 8px; }
.price-card[data-tone="blue"] { background: #edf7ff; }
.price-card[data-tone="warm"] { background: #f7f4ef; }
.price-card-top { display: flex; justify-content: space-between; gap: 40px; }
.plan-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 0 9px; color: var(--blue-strong); border: 1px solid #bcd3e0; border-radius: 99px; font-size: 8px; letter-spacing: .1em; }
.price-card h3 { margin: 22px 0 12px; font-size: 28px; font-weight: 500; }
.price-card-top p { max-width: 370px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.plan-price { min-width: 130px; display: grid; grid-template-columns: auto 1fr; align-items: start; justify-items: end; }
.plan-price > span { margin: 10px 5px 0 0; color: var(--muted); font-size: 14px; }
.plan-price strong { font-size: 60px; line-height: 1; font-weight: 400; letter-spacing: -.05em; }
.plan-price small { grid-column: 1 / -1; margin-top: 8px; color: var(--muted); font-size: 9px; }
.feature-divider { margin: 50px 0 16px; display: flex; align-items: center; gap: 17px; color: #7c858b; font-size: 9px; }
.feature-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.plan-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.plan-features li { min-height: 58px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); color: #4f565b; font-size: 11px; }
.plan-features li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: var(--blue-strong); border-radius: 50%; }
.price-card-bottom { margin-top: auto; padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.price-card-bottom p { max-width: 270px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.license-notice { margin-top: 20px; padding: 24px 26px; display: grid; grid-template-columns: 24px 1fr; gap: 16px; background: #edf7ff; border: 1px solid #d8eaf6; border-radius: 8px; }
.license-mark { width: 23px; height: 23px; display: grid; place-items: center; color: var(--blue-strong); border: 1px solid #9cc2da; border-radius: 50%; font-size: 12px; }
.license-notice h3 { margin: 2px 0 7px; font-size: 12px; font-weight: 500; }
.license-notice p { margin: 0; color: #68757d; font-size: 11px; line-height: 1.75; }
.license-notice a { color: inherit; text-decoration: none; }
.license-notice a strong { color: var(--ink); font-weight: 700; }
.license-notice a:hover strong { color: var(--blue-strong); }

.open-store { padding: 122px 0 132px; text-align: center; border-top: 1px solid var(--soft-line); }
.open-store h2 { max-width: 820px; margin: 0 auto; font-size: 64px; }
.open-store > div > p:not(.section-eyebrow) { max-width: 610px; margin: 22px auto 32px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.site-footer { padding: 34px 0 42px; color: #767d82; border-top: 1px solid var(--soft-line); font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 22px; }
:focus-visible { outline: 2px solid var(--blue-strong); outline-offset: 3px; }

@media (max-width: 1080px) {
  .hero h1 { font-size: 76px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-item { padding: 56px 7vw; }
  .open-panel { gap: 54px; padding: 74px 50px; }
  .plan-builder { gap: 54px; }
  .price-card { padding: 40px; }
}

@media (max-width: 820px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-text-link, .nav-cta { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: 500px; }
  .hero-inner { width: calc(100% - 48px); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 64px; }
  .guide-item { min-height: 320px; padding: 48px 40px; }
  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 46px; }
  .open-panel, .plan-builder { grid-template-columns: 1fr; gap: 52px; }
  .open-copy, .plan-options { position: static; }
  .price-card { min-height: 620px; }
  .open-store h2 { font-size: 48px; }
}

@media (max-width: 560px) {
  .nav-inner, .section-shell { width: calc(100% - 32px); }
  .nav-inner { height: 64px; }
  .mobile-menu { inset-block-start: 64px; }
  .hero { height: 520px; min-height: 520px; max-height: 520px; }
  .hero-inner { width: calc(100% - 32px); }
  .hero-copy { width: 100%; }
  .hero h1 { margin: 0; font-size: 50px; line-height: 1.05; }
  .hero-copy p { max-width: 330px; margin-top: 22px; font-size: 13px; }
  .catalog { padding: 96px 0 104px; }
  .section-head h2, .open-copy h2, .plans-heading h2, .open-store h2 { font-size: 38px; }
  .section-head > div > p:last-child { font-size: 14px; }
  .product-grid, .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { min-height: 430px; }
  .feature-catalog { padding-bottom: 104px; }
  .feature-catalog .section-shell { padding-top: 88px; }
  .guide-section { padding: 0 0 104px; }
  .guide-panel { width: 100%; grid-template-columns: 1fr; border-right: 0; border-left: 0; border-radius: 0; }
  .guide-item { min-height: 0; padding: 54px 24px; }
  .guide-item:nth-child(odd) { border-right: 0; }
  .guide-item:nth-child(-n+3) { border-bottom: 1px solid var(--soft-line); }
  .guide-item h2 { font-size: 30px; }
  .open-section, .plans { padding-bottom: 104px; }
  .open-panel { padding: 58px 24px; }
  .benefit-row { grid-template-columns: 30px 1fr; gap: 15px; }
  .benefit-row > strong { grid-column: 2; justify-self: start; text-align: left; }
  .segmented-control, .version-options { grid-template-columns: 1fr 1fr; }
  .plan-builder { gap: 42px; }
  .price-card { min-height: 700px; padding: 32px 24px; }
  .price-card-top { flex-direction: column; }
  .plan-price { justify-items: start; grid-template-columns: auto auto; justify-content: start; }
  .plan-price small { justify-self: start; }
  .plan-features { grid-template-columns: 1fr; }
  .price-card-bottom { align-items: stretch; flex-direction: column; }
  .price-card-bottom .solid-button { width: 100%; }
  .license-notice { padding: 20px; }
  .open-store { padding: 94px 0 104px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
