:root {
  color-scheme: light;
  --ink: #10212c;
  --muted: #52646b;
  --teal: #00796c;
  --dark-teal: #00594f;
  --line: #dfebe8;
  --paper: #fff;
  --font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #008676; outline-offset: 4px; }
.wrap { width: min(100% - 112px, 1220px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-150%); padding: 12px 18px; color: #fff; background: var(--dark-teal); border-radius: 8px; }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid #e7efed; position: relative; z-index: 2; background: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 750; letter-spacing: -.065em; line-height: 1.1; min-width: 0; }
.brand img { flex: none; object-fit: contain; }
.primary-nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 54px); }
.primary-nav a { padding-block: 12px; font-size: 15px; font-weight: 650; color: #344851; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current], .footer-inner nav a:hover { color: var(--teal); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #e0efeb;
  background: radial-gradient(ellipse at 76% 41%, #d9f5ef 0%, #ecf9f5 39%, #f6fbfa 73%);
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: linear-gradient(#0b7f7010 1px, transparent 1px), linear-gradient(90deg, #0b7f7010 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(105deg, transparent 25%, #000 74%, #0005);
}
.hero-inner { min-height: 460px; position: relative; display: flex; align-items: center; }
.hero-art { pointer-events: none; position: absolute; z-index: -1; width: clamp(640px, 68vw, 990px); right: max(-207px, -14vw); top: 50%; transform: translateY(-54%); }
.hero-art img { width: 100%; }
.hero-copy { max-width: 59%; padding-block: 64px 69px; }
.hero h1 { font-size: clamp(45px, 5.15vw, 76px); line-height: 1.14; font-weight: 800; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero h1 span { color: var(--teal); }
.hero-english { margin-top: 18px; font-size: clamp(18px, 2.1vw, 29px); font-weight: 580; letter-spacing: -.025em; color: #293e48; line-height: 1.3; }
.hero-intro { color: var(--muted); margin-top: 10px; font-size: 15px; line-height: 1.8; max-width: 478px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; transition: color .18s, background-color .18s, border-color .18s; }
.primary { background: var(--teal); color: #fff; }
.primary:hover { background: var(--dark-teal); }
.secondary { color: var(--ink); background: #fff; border-color: #ceded9; }
.secondary:hover { color: var(--teal); border-color: var(--teal); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.text-link:hover { color: var(--dark-teal); text-decoration: underline; text-underline-offset: 4px; }
.arrow { display: inline-block; position: relative; width: 15px; height: 14px; flex: none; }
.arrow::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; border-top: 1.7px solid currentColor; }
.arrow::after, .chevron { display: inline-block; content: ""; width: 7px; height: 7px; border-top: 1.7px solid currentColor; border-right: 1.7px solid currentColor; transform: rotate(45deg); }
.arrow::after { position: absolute; right: 2px; top: 3.4px; }

.catalog { padding-block: 55px 64px; scroll-margin-top: 22px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-title h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.045em; }
.app-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.app-card { position: relative; display: grid; align-items: center; grid-template-columns: auto minmax(0,1fr); gap: 24px; min-height: 165px; padding: 24px 34px 24px 24px; border: 1px solid #dceae6; border-radius: 15px; background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px #0a534310; border-color: #95cfc3; }
.app-icon, .detail-icon { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 16px; background: linear-gradient(145deg,#e1f8f0,#f1fbf8); color: var(--teal); }
.gox .app-icon, .detail-icon.gox { background: linear-gradient(145deg,#e5f0ff,#f2f7ff); }
.app-icon img { object-fit: contain; width: 65px; height: 65px; }
.app-info { overflow-wrap: anywhere; }
.app-info h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.04; letter-spacing: -.053em; }
.app-info p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-link { margin-top: 13px; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 13px; font-weight: 750; }
.card-arrow { position: absolute; right: 21px; top: 17px; font-size: 21px; color: #628279; }
.guide-section { padding-block: 38px 67px; border-top: 1px solid var(--line); }
.guide-list { display: grid; gap: 10px; }
.guide-card { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f6faf9; border: 1px solid #edf4f1; border-radius: 12px; }
.guide-card:hover { border-color: #95cfc3; }
.guide-card h3 { font-size: 17px; line-height: 1.35; }
.guide-card p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.guide-card > i { color: var(--teal); }
.empty { padding: 24px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }

.subhero { padding-block: 38px 58px; background: radial-gradient(ellipse at 90% 12%, #dbf5ef, #f3faf8 68%); border-bottom: 1px solid var(--line); }
.subhero h1 { font-size: clamp(39px,6vw,68px); letter-spacing: -.052em; line-height: 1.15; overflow-wrap: anywhere; }
.subhero p { margin-top: 13px; font-size: clamp(16px,2vw,19px); line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 28px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.crumbs a { color: var(--teal); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .chevron { width: 5px; height: 5px; color: #80938f; }
.detail-icon { margin-bottom: 20px; width: 83px; height: 83px; }
.detail-cta, .missing .button { margin-top: 24px; }
.article-date { color: var(--muted); margin-top: 18px; font-size: 13px; }
.listing { padding-block: 42px 78px; }
.reading { max-width: 790px; }
.prose { padding-block: 43px 80px; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { line-height: 1.4; margin: 1.7em 0 .53em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-block: 0 1em; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: .16em; }
.prose blockquote { border-left: 3px solid #78d2c0; padding-inline: 18px; margin-inline: 0; color: var(--muted); }
.prose pre { overflow: auto; padding: 15px; background: #f1f7f5; border-radius: 8px; }
.preview-banner { background: #fff3d4; color: #5a460c; display: flex; justify-content: center; gap: 20px; padding: 9px 14px; font-size: 13px; }
.preview-banner a { text-decoration: underline; }
.site-footer { background: #f6faf9; border-top: 1px solid var(--line); }
.footer-inner { min-height: 89px; }
.footer-inner .brand { font-size: 21px; }
.footer-inner nav { color: var(--muted); font-size: 13px; }

@media (min-width: 1500px) {
  .hero-inner { min-height: 510px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero-art { right: -137px; }
  .app-card { gap: 16px; padding-left: 18px; }
  .app-icon { width: 78px; height: 78px; }
  .app-icon img { width: 53px; height: 53px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 23px; gap: 6px; }
  .site-header .brand img { width: 26px; }
  .primary-nav, .footer-inner nav { gap: clamp(12px,3vw,24px); }
  .primary-nav a { font-size: 13px; }
  .hero-inner { min-height: 390px; }
  .hero-copy { max-width: 78%; padding-block: 54px 62px; }
  .hero-art { width: 590px; right: -248px; opacity: .69; transform: translateY(-50%); }
  .hero h1 { font-size: clamp(42px,8vw,61px); }
  .hero-intro { max-width: 300px; }
  .app-grid { grid-template-columns: 1fr; gap: 13px; }
  .catalog { padding-block: 35px 43px; }
  .section-title { margin-bottom: 17px; }
  .guide-section { padding-block: 29px 48px; }
  .app-card { min-height: 136px; padding-block: 17px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .hero-copy { max-width: 100%; }
  .hero-intro { max-width: 260px; }
  .hero-art { right: -271px; opacity: .43; }
  .hero-actions { margin-top: 21px; }
  .header-inner, .footer-inner { gap: 10px; }
  .brand { font-size: 20px; }
  .primary-nav, .footer-inner nav { gap: 11px; }
  .primary-nav a { font-size: 12px; }
  .footer-inner .brand { font-size: 19px; }
  .footer-inner nav { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
