/* ==========================================================================
   Jem CMS official website
   A calm, green-accented product site inspired by lightweight CMS landing pages.
   ========================================================================== */

:root {
  --bg: #f7f6f1;
  --surface: #fffefb;
  --surface-2: #f0f2ec;
  --surface-3: #e7ebe3;
  --ink: #15201b;
  --ink-soft: #3f4b45;
  --muted: #6e7972;
  --faint: #9aa39d;
  --line: #e1e6dd;
  --line-strong: #cfd7cd;
  --brand: #1f6f52;
  --brand-2: #2fa373;
  --brand-deep: #15573f;
  --brand-soft: #e9f4ee;
  --brand-softer: #f2f8f4;
  --amber: #98651f;
  --amber-soft: #fbf1dc;
  --blue: #3e6686;
  --red: #ad4433;
  --red-soft: #fbece8;
  --dark: #111b16;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(20, 34, 27, .09);
  --shadow-sm: 0 8px 24px rgba(20, 34, 27, .055);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
svg { flex: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
::selection { color: #fff; background: var(--brand); }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: var(--mono); }
.is-danger { color: var(--red) !important; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 9px 16px; border-radius: 999px; color: #fff; background: var(--brand); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 24px rgba(31, 111, 82, .22); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.btn-secondary:hover { border-color: var(--ink-soft); }
.btn-ghost { color: var(--ink-soft); background: transparent; }
.btn-ghost:hover { background: rgba(31, 111, 82, .07); color: var(--brand-deep); }
.btn-light { color: var(--brand-deep); background: #f6fbf8; }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 12px; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Announcement / header --------------------------------------------------- */
.announcement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  padding: 8px 24px;
  color: #d9efe4;
  background: var(--brand-deep);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.announcement a { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; }
.announcement span { min-width: 0; overflow-wrap: anywhere; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(225, 230, 221, .8);
  background: rgba(247, 246, 241, .88);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(20, 34, 27, .07); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; max-width: min(420px, 46vw); }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fdfcf7;
  background: linear-gradient(150deg, var(--brand-2), var(--brand-deep));
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(31, 111, 82, .22);
}
.brand-word strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.brand-word em { color: var(--brand-2); font-style: normal; }
.brand-word small { display: block; margin-top: 2px; color: var(--faint); font-size: 8.5px; font-weight: 800; letter-spacing: .18em; }
.brand-logo { display: block; width: auto; max-width: 100%; object-fit: contain; }
.brand-footer .brand-logo { filter: none; }
.brand-version { margin-left: 4px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-link { position: relative; padding: 9px 14px; border-radius: 9px; color: var(--ink-soft); font-size: 13.5px; font-weight: 600; transition: color .16s ease, background .16s ease; }
.nav-link:hover { color: var(--brand-deep); background: rgba(31, 111, 82, .06); }
.nav-link.is-active { color: var(--brand-deep); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-2); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 13px; margin-left: auto; }
.header-admin { color: var(--muted); font-size: 12px; font-weight: 600; }
.header-admin:hover { color: var(--brand-deep); }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Flash ------------------------------------------------------------------- */
.flash-wrap { padding-top: 18px; }
.flash { display: flex; align-items: flex-start; gap: 9px; padding: 12px 16px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; }
.flash svg { margin-top: 3px; }
.flash.is-success { color: #1d5f47; border-color: #c6e3d6; background: var(--brand-soft); }
.flash.is-error { color: #8f372a; border-color: #f0c9c1; background: var(--red-soft); }

/* Shared section ---------------------------------------------------------- */
.section { padding: 88px 0; }
.section-tight { padding: 46px 0 72px; }
.section-soft { background: var(--surface-2); }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head.is-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head.is-split > div { max-width: 680px; }
.section-head.is-compact { margin-bottom: 24px; }
.section-kicker { color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-head h2 { margin: 8px 0 10px; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; }
.section-head h2 em { color: var(--brand); font-style: normal; }
.section-head > p:last-child, .section-head.is-split p { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-head.is-split > div > p:last-child { margin-top: 8px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 66px; }
.hero-glow {
  position: absolute;
  inset: -240px -10% auto;
  height: 640px;
  background:
    radial-gradient(circle at 22% 36%, rgba(47, 163, 115, .18), transparent 40%),
    radial-gradient(circle at 78% 24%, rgba(246, 196, 83, .13), transparent 36%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--surface); font-size: 11.5px; font-weight: 600; box-shadow: var(--shadow-sm); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(47, 163, 115, .16); }
.kicker-divider { color: var(--faint); }
.hero h1 { margin: 24px 0 20px; font-family: var(--serif); font-size: clamp(42px, 5.6vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-lede { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin: 30px 0 38px; flex-wrap: wrap; }
.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.hero-proof span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.hero-visual { position: relative; min-height: 420px; }
.mock-window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 36px 80px rgba(19, 37, 28, .16);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8ded6; }
.mock-dots i:first-child { background: #e5a698; }
.mock-dots i:nth-child(2) { background: #e9d49b; }
.mock-dots i:nth-child(3) { background: #a9cdb4; }
.mock-url { flex: 1; padding: 4px 10px; border-radius: 6px; color: var(--faint); background: var(--surface); font-size: 9px; }
.mock-live { color: var(--brand); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.mock-body { display: grid; grid-template-columns: 128px 1fr; min-height: 330px; }
.mock-side { display: flex; flex-direction: column; gap: 3px; padding: 18px 12px; background: #17231e; }
.mock-logo { width: 26px; height: 26px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 8px; color: #fff; background: var(--brand); font-family: var(--serif); font-size: 12px; }
.mock-nav { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 7px; color: #8e9e95; font-size: 9px; }
.mock-nav i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.mock-nav.is-active { color: #eaf6ef; background: rgba(47, 163, 115, .18); }
.mock-main { padding: 20px; background: #fbfcf9; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 10px; }
.mock-head b { padding: 5px 9px; border-radius: 6px; color: #fff; background: var(--brand); font-size: 8px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.mock-stats div { padding: 9px; border: 1px solid #e7ebe3; border-radius: 8px; background: #fff; }
.mock-stats small { display: block; color: var(--faint); font-size: 7px; }
.mock-stats strong { display: block; margin-top: 2px; font-size: 13px; }
.mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 12px 11px 0; border: 1px solid #e7ebe3; border-radius: 9px; background: #fff; }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--brand-2), rgba(47, 163, 115, .25)); }
.mock-rows { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.mock-rows span { height: 7px; border-radius: 4px; background: #e9ede5; }
.mock-rows span:nth-child(1) { width: 86%; }
.mock-rows span:nth-child(2) { width: 64%; }
.mock-rows span:nth-child(3) { width: 74%; }
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 254, 251, .96);
  box-shadow: var(--shadow);
  font-size: 10px;
}
.floating-card b { display: block; font-size: 11px; }
.floating-card small { display: block; color: var(--muted); font-size: 9px; }
.floating-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--amber); background: var(--amber-soft); }
.floating-icon.is-green { color: var(--brand); background: var(--brand-soft); }
.floating-store { left: -18px; bottom: 56px; }
.floating-license { right: -10px; top: 44px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0; }
.trust-inner > span { color: var(--muted); font-size: 11.5px; }
.trust-inner ul { display: flex; align-items: center; gap: 22px; list-style: none; }
.trust-inner li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.trust-inner li svg { color: var(--brand-2); }

/* Features ---------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: #cbd9ce; box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.feature-card h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.feature-card p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }

.notice-panel { padding: 30px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: rgba(255, 255, 255, .55); text-align: center; font-size: 13px; }

/* Product cards ----------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid-featured { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #c9d8cd; box-shadow: var(--shadow); }
.product-cover-link { display: block; }
.product-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.product-cover.is-large { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 16px; }
.product-cover-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #fbfdf9; background: radial-gradient(circle at 30% 20%, var(--cover-b), transparent 55%), linear-gradient(140deg, var(--cover-a), #101b16); }
.product-cover-fallback b { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; }
.product-cover-fallback i { font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .24em; opacity: .68; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 19px 17px; }
.product-card-top { display: flex; align-items: center; gap: 7px; }
.product-type { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; color: var(--ink-soft); background: var(--surface-2); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.tier-badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.tier-badge.is-free { color: var(--brand-deep); background: var(--brand-soft); }
.tier-badge.is-paid { color: #7c4a11; background: var(--amber-soft); }
.tier-badge.is-svip { color: #6a5411; background: linear-gradient(120deg, #f8eabf, #f0d69a); }
.tier-badge.is-discount { color: #6b4f77; background: #f2e9f5; }
.tier-badge.is-featured { color: #8a6420; background: #fbf0d8; }
.product-card h3 { margin: 9px 0 5px; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.product-card h3 a:hover { color: var(--brand); }
.product-card p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 41px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; color: var(--faint); font-size: 9.5px; }
.product-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.product-tag { padding: 3px 7px; border-radius: 5px; color: var(--muted); background: var(--surface-2); font-size: 9px; }
.product-price { text-align: right; }
.product-price strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; }
.product-price small { display: block; margin-top: 2px; color: var(--faint); font-size: 8.5px; }

.latest-strip { display: flex; align-items: flex-start; gap: 18px; margin-top: 28px; padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .5); }
.latest-label { flex: none; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.latest-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.latest-list a { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; }
.latest-list a:hover strong { color: var(--brand); }
.latest-list strong { font-weight: 600; }
.latest-list small { color: var(--faint); font-size: 9.5px; }
.latest-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); }

/* Plans on home ----------------------------------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.plan-card.is-featured { border-color: #d8c18e; box-shadow: 0 22px 50px rgba(152, 101, 31, .1); background: linear-gradient(180deg, #fffefb, #fdfaf1); }
.plan-ribbon { position: absolute; right: 22px; top: 22px; padding: 4px 10px; border-radius: 999px; color: #775510; background: linear-gradient(120deg, #f8e9bd, #efd49a); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.plan-overline { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.plan-card h3 { margin: 6px 0 5px; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.plan-tagline { color: var(--muted); font-size: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-family: var(--serif); font-size: 36px; font-weight: 600; letter-spacing: -.03em; }
.plan-price s { color: var(--faint); font-size: 13px; }
.plan-price span { color: var(--muted); font-size: 10px; }
.plan-perks { display: flex; flex-direction: column; gap: 8px; list-style: none; margin-bottom: 18px; }
.plan-perks li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.plan-perks li svg { margin-top: 3px; color: var(--brand-2); }
.plan-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 10px; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.pricing-note svg { color: var(--brand); }

/* Deploy / CTA ------------------------------------------------------------ */
.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deploy-card { position: relative; padding: 24px 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.deploy-step { display: block; margin-bottom: 16px; color: var(--brand-2); font-family: var(--serif); font-size: 22px; font-weight: 600; opacity: .65; }
.deploy-card h3 { margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.deploy-card p { color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.deploy-card code { padding: 1px 4px; border-radius: 3px; background: var(--surface-2); font-size: 10px; }
.cta-band { padding: 64px 0; color: #f2f8f3; background: radial-gradient(circle at 82% 0%, rgba(47, 163, 115, .28), transparent 42%), var(--dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band .section-kicker { color: #7fd0a9; }
.cta-inner h2 { margin-top: 8px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.cta-inner h2 em { color: #7fd0a9; font-style: normal; }
.cta-actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* Generic page hero ------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 58px 0 44px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 84% 18%, rgba(47, 163, 115, .12), transparent 38%),
  radial-gradient(circle at 12% 82%, rgba(246, 196, 83, .08), transparent 34%),
  var(--surface); }
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.page-hero h1 { margin: 9px 0 12px; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.16; }
.page-hero h1 em { color: var(--brand); font-style: normal; }
.page-hero p { max-width: 640px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.page-hero .register-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.register-points span { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.register-points svg { color: var(--brand-2); }

/* Download ---------------------------------------------------------------- */
.version-card { flex: none; width: 300px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.version-card-top { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.version-card-top span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.version-card-top strong { color: var(--brand); font-family: var(--serif); font-size: 27px; font-weight: 600; }
.version-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 11px; }
.version-card-meta span { color: var(--muted); }
.version-card-meta b { font-weight: 600; }
.version-card .btn { margin-top: 16px; }
.version-card-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 9px; color: var(--faint); font-size: 9px; }
.download-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.download-main { display: flex; flex-direction: column; gap: 18px; }
.panel-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-card-head h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.panel-card-head h2 svg { color: var(--brand); }
.panel-card-head span { color: var(--faint); font-size: 10px; }
.requirement-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; list-style: none; padding: 18px 20px; }
.requirement-list li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-soft); font-size: 11.5px; line-height: 1.6; }
.requirement-list svg { margin-top: 3px; color: var(--brand-2); }
.release-notes { padding: 18px 20px; }
.release-notes h2, .release-notes h3 { margin: 14px 0 6px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.release-notes h2:first-child, .release-notes h3:first-child { margin-top: 0; }
.release-notes p { margin-bottom: 8px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }
.release-notes ul { margin: 6px 0 12px; padding-left: 18px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }
.steps-list { list-style: none; padding: 8px 20px 18px; }
.steps-list li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); font-size: 10px; font-weight: 800; }
.steps-list strong { display: block; font-size: 12.5px; }
.steps-list p { margin-top: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.steps-list code { padding: 1px 4px; border-radius: 3px; background: var(--surface-2); font-size: 10px; }
.download-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-card.is-accent { border-color: #cfe3d8; background: linear-gradient(160deg, var(--brand-soft), var(--surface)); }
.side-card.is-muted { background: var(--surface-2); }
.side-card h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.side-card p { color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.side-card > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: 11.5px; }
.side-card > a:last-child { border-bottom: 0; }
.side-card > a:hover { color: var(--brand); }
.side-card > a.btn { justify-content: center; padding: 0 16px; border-bottom: 0; color: inherit; }
.side-card > a.btn-primary { color: #fff; }
.side-card > a.btn-secondary { color: var(--ink); }
.side-card .btn { margin-top: 12px; }

/* Market ------------------------------------------------------------------ */
.market-stats { display: flex; gap: 22px; margin-top: 22px; }
.market-stats span { color: var(--muted); font-size: 11px; }
.market-stats strong { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.market-hero-card { flex: none; width: 320px; padding: 24px; border: 1px solid #cfe3d8; border-radius: var(--radius); color: #eaf7ef; background: radial-gradient(circle at 90% 0%, rgba(127, 208, 169, .35), transparent 45%), var(--dark); box-shadow: var(--shadow); }
.market-hero-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; color: #fff; background: rgba(47, 163, 115, .24); }
.market-hero-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.3; }
.market-hero-card p { margin: 8px 0 15px; color: #a9bdb1; font-size: 11px; line-height: 1.7; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.market-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.market-tab { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.market-tab:hover { color: var(--ink); }
.market-tab.is-active { color: #fff; background: var(--brand); box-shadow: 0 6px 14px rgba(31, 111, 82, .18); }
.market-search { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; min-width: 210px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--faint); background: var(--surface); }
.search-box input { width: 100%; min-height: 38px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.select { min-height: 38px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-soft); background: var(--surface); font-size: 11.5px; }
.market-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 18px; color: var(--muted); font-size: 11px; }
.market-sort-note { color: var(--faint); }
.empty-state { padding: 60px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; background: rgba(255, 255, 255, .5); }
.empty-state.is-compact { padding: 30px 22px; }
.empty-state-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 16px; color: var(--brand); background: var(--brand-soft); }
.empty-state h3 { margin-bottom: 5px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.empty-state p { margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 34px 0 8px; }
.pager-btn { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); background: var(--surface); font-size: 11px; font-weight: 600; }
.pager-btn:hover { border-color: var(--brand-2); color: var(--brand); }
.pager-btn.is-current { color: #fff; border-color: var(--brand); background: var(--brand); }
.pager-btn.is-disabled { opacity: .4; pointer-events: none; }
.pager-gap { padding: 0 4px; color: var(--faint); }
.market-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.market-note > div { display: flex; align-items: flex-start; gap: 12px; }
.market-note svg { color: var(--brand); margin-top: 2px; }
.market-note strong { display: block; font-size: 12px; }
.market-note p span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.market-note > a { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--brand); font-size: 11px; font-weight: 700; }

/* Item detail ------------------------------------------------------------- */
.item-hero { padding: 26px 0 60px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; color: var(--faint); font-size: 10.5px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs em { color: var(--ink-soft); font-style: normal; }
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.item-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.item-head { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.item-cover .product-cover { border: 0; border-radius: 14px; }
.item-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.item-title h1 { margin: 9px 0 7px; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.item-summary { color: var(--muted); font-size: 13px; line-height: 1.75; }
.item-meta-row { display: flex; flex-wrap: wrap; gap: 10px 17px; margin-top: 14px; color: var(--muted); font-size: 10.5px; }
.item-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.item-meta-row svg { color: var(--faint); }
.item-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.item-tags span { padding: 3px 8px; border-radius: 5px; color: var(--ink-soft); background: var(--surface-2); font-size: 9.5px; }
.item-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.item-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.item-panel-head h2 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.item-panel-head h2 svg { color: var(--brand); }
.item-panel-head span { color: var(--faint); font-size: 10px; }
.rich-text { padding: 20px; }
.rich-text h2, .rich-text h3 { margin: 20px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text p { margin-bottom: 11px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.rich-text ul { margin: 8px 0 14px; padding-left: 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.rich-text code { padding: 1px 5px; border-radius: 4px; background: var(--surface-2); font-size: 11px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px 20px 22px; }
.screenshot-grid a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.screenshot-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s ease; }
.screenshot-grid a:hover img { transform: scale(1.03); }
.version-empty { padding: 24px 20px; color: var(--muted); font-size: 11.5px; }
.version-list { padding: 0 20px; }
.version-row { padding: 15px 0; border-bottom: 1px dashed var(--line); }
.version-row:last-child { border-bottom: 0; }
.version-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.version-main strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.version-main span { color: var(--faint); font-size: 9.5px; }
.version-meta { display: flex; align-items: center; gap: 12px; margin-top: 3px; color: var(--muted); font-size: 9.5px; }
.version-meta code { color: var(--faint); font-size: 9px; }
.version-note { margin-top: 6px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.item-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.buy-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.buy-overline { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.buy-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; }
.buy-price strong { font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: -.04em; }
.buy-price s { color: var(--faint); font-size: 13px; }
.buy-note { margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.buy-hint { margin-top: 8px; color: var(--faint); font-size: 9.5px; line-height: 1.6; text-align: center; }
.purchase-form, .download-form { display: flex; flex-direction: column; gap: 11px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > label { color: var(--ink-soft); font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field > label span { color: var(--faint); font-weight: 500; letter-spacing: 0; text-transform: none; }
.input { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 12px; }
.input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.buy-detected { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 7px; color: var(--brand-deep); background: var(--brand-soft); font-size: 10px; font-weight: 700; }
.buy-facts { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.buy-facts div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; }
.buy-facts span { color: var(--muted); }
.buy-facts b { font-weight: 600; }
.purchase-result { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid #c6e3d6; border-radius: var(--radius); background: var(--brand-soft); }
.purchase-result.is-pending { border-color: #ecd7ab; background: var(--amber-soft); }
.purchase-result.is-error { border-color: #f0c9c1; background: var(--red-soft); }
.purchase-result-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--brand); }
.purchase-result.is-pending .purchase-result-icon { background: var(--amber); }
.purchase-result.is-error .purchase-result-icon { background: var(--red); }
.purchase-result h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.purchase-result p { margin: 4px 0 10px; color: var(--ink-soft); font-size: 11.5px; }
.purchase-result code { padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, .7); font-size: 10px; }
.purchase-hint { color: var(--muted) !important; font-size: 9.5px !important; }
.related-section { margin-top: 48px; }
.related-grid { grid-template-columns: repeat(3, 1fr); }

/* Register / pricing ------------------------------------------------------ */
.register-badge-card { flex: none; width: 330px; padding: 24px; border: 1px solid #cfe3d8; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand-soft), var(--surface)); box-shadow: var(--shadow); }
.register-seal { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 15px; color: #fff; background: linear-gradient(150deg, var(--brand-2), var(--brand-deep)); font-family: var(--serif); font-size: 25px; font-weight: 700; box-shadow: 0 12px 24px rgba(31, 111, 82, .22); }
.register-badge-card strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.register-badge-card p { margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.register-badge-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; padding-top: 13px; border-top: 1px dashed var(--line); }
.register-badge-meta span { padding: 3px 7px; border-radius: 5px; color: var(--brand-deep); background: rgba(255, 255, 255, .7); font-size: 9px; font-weight: 600; }
.register-layout { display: grid; grid-template-columns: 1fr; }
.register-main { max-width: 960px; margin: 0 auto; }
.plan-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.plan-select { position: relative; display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.plan-select:hover { transform: translateY(-2px); border-color: #c8d9cd; }
.plan-select.is-featured { border-color: #dcc793; background: linear-gradient(180deg, #fffefb, #fdfaf1); }
.plan-select.is-selected { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); }
.plan-select input { position: absolute; opacity: 0; pointer-events: none; }
.plan-select .plan-ribbon { top: 22px; right: 22px; }
.plan-select-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.plan-select-head h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.plan-select-price { text-align: right; }
.plan-select.is-featured .plan-select-price { padding-top: 22px; }
.plan-select-price strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.plan-select-price s { display: block; color: var(--faint); font-size: 10px; }
.plan-select-price span { display: block; color: var(--muted); font-size: 9px; }
.plan-select .plan-tagline { margin-top: 3px; }
.plan-select .plan-perks { margin: 15px 0 0; }
.plan-select-radio { position: absolute; right: 22px; bottom: 22px; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.plan-select.is-selected .plan-select-radio { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--surface); }
.order-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.order-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.order-card-head h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.order-card-head h3 svg { color: var(--brand); }
.order-card-head span { color: var(--faint); font-size: 9.5px; }
.order-card-body { padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.order-notice { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; padding: 10px 12px; border-radius: 8px; color: var(--ink-soft); background: var(--surface-2); font-size: 10.5px; line-height: 1.7; }
.order-notice svg { margin-top: 2px; color: var(--brand); }
.order-card-body .btn { margin-top: 4px; }
.order-terms { margin-top: 10px; color: var(--faint); font-size: 9.5px; line-height: 1.7; text-align: center; }
.security-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.security-strip > div { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.security-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--brand); background: var(--brand-soft); }
.security-strip strong { display: block; font-size: 11.5px; }
.security-strip p { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.faq-section { margin-top: 36px; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; font-size: 12.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--faint); font-size: 18px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; color: var(--brand); }
.faq-list p { padding: 0 20px 16px; color: var(--muted); font-size: 11.5px; line-height: 1.8; }

/* License center ---------------------------------------------------------- */
.license-hero-mark { flex: none; display: flex; align-items: center; gap: 15px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.license-hero-mark > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: var(--brand-soft); }
.license-hero-mark p { color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.license-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.license-main { display: flex; flex-direction: column; gap: 18px; }
.license-side { display: flex; flex-direction: column; gap: 16px; }
.lookup-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.lookup-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; }
.lookup-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.lookup-head h2 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.lookup-head p { margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.lookup-head code { padding: 1px 4px; border-radius: 3px; background: var(--surface-2); font-size: 9.5px; }
.lookup-form .field-label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lookup-row { display: flex; gap: 9px; }
.lookup-row .input { flex: 1; min-height: 46px; font-size: 12.5px; }
.lookup-row .btn { min-height: 46px; }
.field-help { margin-top: 8px; color: var(--faint); font-size: 10px; }
.lookup-help { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lookup-help > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lookup-help > div > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 10px; color: var(--brand); background: var(--brand-soft); }
.lookup-help h3 { margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.lookup-help p { margin-bottom: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.license-summary-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.license-summary-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.license-summary-head h2 { margin: 3px 0 8px; font-family: var(--serif); font-size: 32px; font-weight: 600; }
.license-summary-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.inline-form { display: inline-flex; }
.license-code-masked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.license-code-masked code { padding: 5px 9px; border: 1px dashed var(--line-strong); border-radius: 6px; background: var(--surface-2); font-size: 11px; font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 9.5px; font-weight: 800; }
.status-pill.is-ok { color: var(--brand-deep); background: var(--brand-soft); }
.status-pill.is-warn { color: #7c571d; background: var(--amber-soft); }
.status-pill.is-bad { color: #8e3325; background: var(--red-soft); }
.license-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.license-facts > div { min-width: 0; }
.license-facts span { display: block; color: var(--muted); font-size: 9.5px; }
.license-facts strong { display: block; margin: 3px 0 1px; overflow: hidden; font-family: var(--serif); font-size: 19px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.license-facts small { color: var(--faint); font-size: 8.5px; }
.license-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.domain-table { display: flex; flex-direction: column; }
.domain-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px dashed var(--line); }
.domain-item:last-child { border-bottom: 0; }
.domain-info strong { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.domain-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.domain-info > span { display: block; margin: 2px 0 1px 13px; color: var(--muted); font-size: 10px; }
.domain-info small { display: block; margin-left: 13px; color: var(--faint); font-size: 9px; }
.panel-foot-note { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface-2); font-size: 10px; }
.license-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.license-tips > div { display: flex; align-items: flex-start; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.license-tips svg { margin-top: 2px; color: var(--brand); }
.license-tips strong { display: block; font-size: 11px; }
.license-tips span { display: block; margin-top: 2px; color: var(--muted); font-size: 9.5px; line-height: 1.6; }
.side-card details { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-card details:last-child { border-bottom: 0; }
.side-card summary { color: var(--ink-soft); font-size: 11px; font-weight: 600; cursor: pointer; }
.side-card details p { margin-top: 5px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }

/* Docs -------------------------------------------------------------------- */
.docs-meta-card { flex: none; display: flex; align-items: center; gap: 13px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.docs-meta-card > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.docs-meta-card strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.docs-meta-card p { color: var(--muted); font-size: 10px; }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 38px; align-items: start; }
.docs-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 3px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.docs-nav-title { margin-bottom: 7px; color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.docs-nav-link { padding: 7px 10px; border-radius: 7px; color: var(--ink-soft); font-size: 11.5px; font-weight: 600; }
.docs-nav-link:hover { background: var(--surface-2); }
.docs-nav-link.is-active { color: var(--brand-deep); background: var(--brand-soft); }
.docs-nav-extra { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.docs-nav-extra a { color: var(--muted); font-size: 10.5px; }
.docs-nav-extra a:hover { color: var(--brand); }
.docs-body { min-width: 0; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.docs-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.docs-head h2 { margin: 6px 0 7px; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.docs-head p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.docs-body h3 { margin: 26px 0 9px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.docs-body > ul { margin: 8px 0 14px; padding-left: 20px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.9; }
.docs-body code { padding: 1px 5px; border-radius: 4px; background: var(--surface-2); font-size: 11px; }
.docs-steps { list-style: none; margin: 12px 0; counter-reset: step; }
.docs-steps li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px dashed var(--line); counter-increment: step; }
.docs-steps li:last-child { border-bottom: 0; }
.docs-steps li::before { content: counter(step); position: absolute; left: 0; top: 13px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--brand-soft); font-size: 8px; font-weight: 800; }
.docs-steps strong { display: block; font-size: 12.5px; }
.docs-steps p { margin-top: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.docs-callout { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; padding: 13px 15px; border: 1px solid #cfe3d8; border-radius: var(--radius-sm); color: var(--ink-soft); background: var(--brand-softer); font-size: 11.5px; line-height: 1.7; }
.docs-callout svg { margin-top: 2px; color: var(--brand); }
.code-block { margin: 10px 0 16px; padding: 15px 17px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); color: #dfe9e1; background: #14211b; font-size: 11px; line-height: 1.8; }
.code-block code { padding: 0; color: inherit; background: transparent; }
.faq-list.is-docs { margin-top: 16px; }

/* Order result ------------------------------------------------------------ */
.order-result-section { padding-top: 54px; }
.order-result-shell { max-width: 820px; margin: 0 auto; }
.order-result-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.result-mark { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 20px; color: #fff; background: var(--brand); box-shadow: 0 16px 34px rgba(31, 111, 82, .22); }
.result-mark.is-pending { background: var(--amber); box-shadow: 0 16px 34px rgba(152, 101, 31, .18); }
.order-result-card h1 { margin: 6px 0 8px; font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.035em; }
.result-lede { max-width: 540px; margin: 0 auto 24px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.result-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); text-align: left; }
.result-summary > div { padding: 13px 15px; background: var(--surface); }
.result-summary span { display: block; color: var(--muted); font-size: 9px; }
.result-summary strong { display: block; margin-top: 3px; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.license-code-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0; padding: 20px; border: 1px dashed #b9d6c6; border-radius: var(--radius-sm); background: var(--brand-softer); }
.license-code-box > span { color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.license-code-box code { font-family: var(--mono); font-size: clamp(16px, 2.4vw, 24px); font-weight: 700; letter-spacing: .04em; word-break: break-all; }
.result-steps { margin: 26px 0; text-align: left; }
.result-steps h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.result-steps ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.result-steps li { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.result-steps li > span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--brand-deep); background: var(--surface); font-size: 9px; font-weight: 800; }
.result-steps strong { display: block; font-size: 11.5px; }
.result-steps p { margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.result-steps code { padding: 1px 4px; border-radius: 3px; background: var(--surface); font-size: 9.5px; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.result-warning { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9.5px; line-height: 1.7; text-align: left; }
.result-warning svg { margin-top: 1px; }

/* 404 --------------------------------------------------------------------- */
.notfound-section { padding: 100px 0 120px; }
.notfound-inner { max-width: 560px; text-align: center; }
.notfound-code { display: block; color: var(--surface-3); font-family: var(--serif); font-size: clamp(90px, 16vw, 160px); font-weight: 600; line-height: .9; letter-spacing: -.06em; }
.notfound-inner h1 { margin: 7px 0 10px; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.notfound-inner p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.notfound-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 56px 0 0; color: #b9c7be; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 40px; padding-bottom: 40px; }
.brand-footer .brand-mark { box-shadow: none; }
.brand-footer .brand-word strong { color: #f3f8f4; }
.brand-footer .brand-word em { color: #7fd0a9; }
.brand-footer .brand-word small { color: #6f8075; }
.footer-brand p { max-width: 280px; margin: 14px 0; color: #83948a; font-size: 11.5px; line-height: 1.8; }
.footer-version { color: #637268; font-size: 9.5px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col h4 { margin-bottom: 6px; color: #eef6f0; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a, .footer-col span { color: #83948a; font-size: 11px; }
.footer-col a:hover { color: #c8e8d6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .07); color: #637268; font-size: 9.5px; }
.footer-meta { display: flex; align-items: center; gap: 14px; }
.footer-meta a:hover { color: #c8e8d6; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-lede { max-width: 700px; }
  .hero-visual { max-width: 680px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .item-grid { grid-template-columns: 1fr; }
  .item-side { position: static; }
  .download-grid, .license-layout { grid-template-columns: 1fr; }
  .download-side, .license-side { display: grid; grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .shell { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .site-nav { position: fixed; inset: 76px 18px auto; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  body.nav-open .site-nav { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle { display: block; position: relative; }
  .header-actions .header-admin { display: none; }
  .header-actions .btn { min-height: 36px; padding: 0 13px; font-size: 11.5px; }
  .brand-version { display: none; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .version-card, .market-hero-card, .register-badge-card { width: 100%; }
  .section-head.is-split { flex-direction: column; align-items: flex-start; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-inner ul { flex-wrap: wrap; gap: 10px 18px; }
  .plan-grid, .plan-select-grid { grid-template-columns: 1fr; }
  .market-toolbar { align-items: stretch; }
  .market-tabs { overflow-x: auto; }
  .market-search { width: 100%; }
  .search-box { flex: 1; }
  .item-head { grid-template-columns: 1fr; }
  .item-cover { max-width: 300px; }
  .item-cover .product-cover { aspect-ratio: 16 / 9; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .license-facts { grid-template-columns: repeat(2, 1fr); }
  .license-tips, .security-strip { grid-template-columns: 1fr; }
  .download-side, .license-side { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .docs-nav-title { width: 100%; }
  .docs-nav-extra { width: 100%; margin-top: 4px; padding-top: 8px; }
  .docs-body { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .result-summary { grid-template-columns: 1fr 1fr; }
  .order-result-card { padding: 28px 20px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-lede { font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-visual { min-height: 360px; }
  .mock-body { grid-template-columns: 96px 1fr; min-height: 280px; }
  .mock-main { padding: 14px; }
  .floating-card { display: none; }
  .feature-grid, .product-grid, .product-grid-featured, .deploy-grid, .related-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 30px; }
  .latest-strip { flex-direction: column; gap: 8px; }
  .market-stats { flex-wrap: wrap; gap: 12px 18px; }
  .market-search { flex-direction: column; align-items: stretch; }
  .market-search .btn { width: 100%; }
  .item-meta-row { gap: 7px 12px; }
  .item-title h1 { font-size: 30px; }
  .buy-card { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .license-summary-head { flex-direction: column; }
  .license-facts { gap: 12px; }
  .license-facts strong { font-size: 17px; }
  .domain-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lookup-row { flex-direction: column; }
  .lookup-row .btn { width: 100%; }
  .lookup-help { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
  .result-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: none; }
  .docs-body h2 { font-size: 27px; }
  .announcement { flex-direction: column; gap: 2px; text-align: center; }
}

/* 自定义 LOGO 在页脚为深色底，图片需要保留可读性 */
.brand-footer .brand-logo { max-height: 56px; }
@media (max-width: 640px) {
  .brand-logo { max-width: 180px; }
}
