/* ==========================================================================
   TGG · public site theme
   Night, violet, coral, mint. Conversation-first, soft geometry.
   ========================================================================== */

:root {
  --night: #06090a;
  --night-2: #0d1416;
  --night-3: #132024;
  --violet: #0a8f6f;
  --violet-2: #5cffc9;
  --violet-deep: #066a52;
  --violet-soft: #e6fff7;
  --coral: #ffc15c;
  --coral-soft: #fff0d4;
  --mint: #b9ffe4;
  --mint-soft: #e8fff7;
  --cream: #f6f2e9;
  --surface: #fffdf5;
  --ink: #080d0e;
  --ink-2: #1b2929;
  --muted: #697372;
  --muted-2: #8a9592;
  --line: #ded7c8;
  --line-dark: rgba(247, 243, 236, .15);
  --white: #fffdf5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px rgba(6, 9, 10, .1);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, .38);
  --container: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
[hidden] { display: none !important; }
.skip-link {
  position: fixed; z-index: 300; top: 10px; left: 10px; padding: 10px 16px;
  color: var(--night); background: var(--mint); border: 1px solid var(--night);
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.toast {
  position: fixed; z-index: 220; right: 24px; bottom: 24px;
  max-width: min(360px, calc(100% - 32px)); padding: 12px 18px;
  color: var(--cream); background: var(--night-2); border: 1px solid var(--line-dark);
  border-radius: 12px; font-size: 12px;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 21px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--violet-deep);
  font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase;
}
.kicker::before { width: 7px; height: 7px; background: var(--coral); border-radius: 2px; content: ""; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 5px 10px; color: var(--cream); background: rgba(255, 253, 248, .07);
  border: 1px solid rgba(255, 253, 248, .2); border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .11em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow__dot { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px; color: var(--ink);
  border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; line-height: 1.8;
  transition: color .2s ease, border-color .2s ease;
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { color: var(--violet-deep); border-color: var(--violet-deep); }
.meta-dot { width: 3px; height: 3px; flex: 0 0 auto; background: var(--muted-2); border-radius: 50%; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 21px; color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 800;
  line-height: 1.2; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--cream); background: var(--violet); border-color: var(--violet); box-shadow: 0 10px 28px rgba(92, 255, 201, .28); }
.btn--primary:hover { color: var(--night); background: var(--mint); border-color: var(--mint); box-shadow: 0 12px 30px rgba(185, 255, 228, .2); }
.btn--ghost { color: var(--ink); border-color: rgba(8, 13, 14, .28); }
.btn--ghost:hover { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 35px; padding: 7px 14px; font-size: 11px; }
.btn--lg { min-height: 52px; padding: 14px 27px; font-size: 14px; }

/* header */
.site-header {
  position: sticky; z-index: 120; top: 0; background: rgba(6, 9, 10, .93);
  border-bottom: 1px solid rgba(255, 253, 248, .12); backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__icon { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.brand__copy { display: flex; flex-direction: column; gap: 1px; }
.brand__copy strong { color: var(--cream); font-size: 18px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.brand__copy small { color: rgba(247, 243, 236, .5); font-size: 9px; line-height: 1.2; letter-spacing: .035em; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav > a:not(.btn) {
  position: relative; padding: 6px 0; color: rgba(247, 243, 236, .66);
  font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s ease;
}
.main-nav > a:not(.btn):hover { color: var(--cream); }
.main-nav > a:not(.btn)::after {
  position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--coral);
  border-radius: 2px; content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav > a:not(.btn):hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a.is-active { color: var(--cream); }
.nav-divider { width: 1px; height: 22px; background: rgba(247, 243, 236, .17); }
.main-nav .btn--primary { color: var(--cream); background: var(--violet); border-color: var(--violet); box-shadow: none; }
.main-nav .btn--primary:hover { color: var(--night); background: var(--mint); border-color: var(--mint); }
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 10px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; color: var(--cream); background: transparent;
  border: 1px solid rgba(247, 243, 236, .25); border-radius: 11px; cursor: pointer;
}
.nav-toggle span { width: 17px; height: 1.5px; background: var(--cream); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* home hero */
.t-hero {
  position: relative; overflow: hidden; padding: 72px 0 0; color: var(--cream);
  background:
    radial-gradient(circle at 78% 2%, rgba(92, 255, 201, .7), transparent 37%),
    radial-gradient(circle at 16% 88%, rgba(255, 193, 92, .2), transparent 38%),
    radial-gradient(circle at 95% 83%, rgba(185, 255, 228, .12), transparent 29%),
    var(--night);
}
.t-hero::before {
  position: absolute; inset: 0; pointer-events: none; content: "";
  background-image: radial-gradient(rgba(255, 253, 248, .19) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .26;
}
.t-hero::after {
  position: absolute; top: -190px; right: -110px; width: 620px; height: 620px;
  border: 1px solid rgba(185, 255, 228, .14); border-radius: 50%;
  content: ""; pointer-events: none;
}
.t-hero > .container { position: relative; z-index: 1; }
.t-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center; gap: clamp(47px, 6vw, 91px); min-height: 610px;
}
.t-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px;
  color: var(--mint); background: rgba(185, 255, 228, .07); border: 1px solid rgba(185, 255, 228, .24);
  border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.2;
}
.t-label i { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }
.t-hero h1 {
  max-width: 760px; margin: 23px 0 23px; color: var(--cream);
  font-size: clamp(57px, 7.4vw, 98px); font-weight: 800; line-height: 1.02; letter-spacing: -.075em;
}
.t-hero h1 span { color: var(--mint); }
.t-hero__lead { max-width: 575px; color: rgba(247, 243, 236, .68); font-size: 16px; line-height: 1.85; }
.t-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.t-hero__actions .btn--primary { color: var(--cream); background: var(--violet); border-color: var(--violet); box-shadow: 0 12px 36px rgba(92, 255, 201, .38); }
.t-hero__actions .btn--primary:hover { color: var(--night); background: var(--mint); border-color: var(--mint); }
.t-hero__actions .btn--ghost { color: var(--cream); border-color: rgba(247, 243, 236, .28); }
.t-hero__actions .btn--ghost:hover { color: var(--night); background: var(--cream); border-color: var(--cream); }
.t-hero__points { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 33px; color: rgba(247, 243, 236, .5); font-size: 10.5px; list-style: none; }
.t-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.t-hero__points svg { width: 12px; height: 12px; color: var(--mint); }

/* chat mock */
.t-hero__visual { position: relative; width: 100%; max-width: 550px; margin-left: auto; }
.t-chat {
  position: relative; z-index: 1; overflow: hidden; color: var(--ink);
  background: var(--surface); border: 1px solid rgba(255, 253, 248, .6);
  border-radius: 26px; box-shadow: 0 35px 100px rgba(0, 0, 0, .46);
  transform: rotate(-1.1deg);
}
.t-chat__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 20px; border-bottom: 1px solid var(--line);
}
.t-chat__identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.t-chat__avatar svg { width: 15px; height: 15px; }
.t-chat__avatar { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; color: var(--cream); background: var(--violet); border-radius: 10px; font-size: 13px; font-weight: 800; }
.t-chat__identity strong { display: block; overflow: hidden; font-size: 11.5px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.t-chat__identity small { display: block; margin-top: 2px; color: var(--muted); font-size: 8.5px; }
.t-chat__online { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8.5px; white-space: nowrap; }
.t-chat__online i { width: 5px; height: 5px; background: #16b886; border-radius: 50%; }
.t-chat__body { padding: 18px 19px 12px; }
.t-chat__date { margin-bottom: 13px; color: var(--muted-2); font-size: 8px; text-align: center; }
.t-msg { width: fit-content; max-width: 83%; margin-bottom: 9px; padding: 9px 12px; border-radius: 15px 15px 15px 4px; color: var(--ink-2); background: #f0ece3; font-size: 10px; line-height: 1.55; }
.t-msg span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 7.5px; text-align: right; }
.t-msg--out { margin-left: auto; border-radius: 15px 15px 4px 15px; color: var(--cream); background: var(--violet); }
.t-msg--out span { color: rgba(247, 243, 236, .55); }
.t-file {
  display: flex; align-items: center; gap: 9px; width: 90%; margin: 12px 0 7px;
  padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
}
.t-file__icon { display: grid; width: 27px; height: 27px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 8px; }
.t-file__icon svg { width: 14px; height: 14px; }
.t-file b { display: block; color: var(--ink-2); font-size: 9px; font-weight: 700; }
.t-file small { display: block; margin-top: 1px; color: var(--muted-2); font-size: 7.5px; }
.t-typing { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--muted); font-size: 8px; }
.t-typing i { width: 4px; height: 4px; background: var(--violet); border-radius: 50%; }
.t-chat__input { display: flex; align-items: center; gap: 8px; margin: 0 17px 16px; padding: 9px 11px; color: var(--muted-2); background: #f2eee6; border: 1px solid var(--line); border-radius: 10px; font-size: 9px; }
.t-chat__input svg { width: 13px; height: 13px; margin-left: auto; color: var(--violet-deep); }
.t-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px;
  padding: 8px 11px; color: var(--cream); background: rgba(17, 20, 43, .93);
  border: 1px solid rgba(255, 253, 248, .16); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-size: 8.5px; backdrop-filter: blur(12px);
}
.t-float i { width: 6px; height: 6px; border-radius: 50%; }
.t-float--sync { right: -22px; bottom: 80px; }
.t-float--sync i { background: var(--mint); }
.t-float--new { top: -40px; left: 18px; }
.t-float--new i { background: var(--coral); }
.t-chat-note { position: relative; z-index: 2; margin-top: 16px; color: rgba(247, 243, 236, .35); font-size: 8px; text-align: right; }

.t-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 58px; border-top: 1px solid rgba(247, 243, 236, .16); }
.t-stat { padding: 23px 22px 27px; border-right: 1px solid rgba(247, 243, 236, .12); }
.t-stat:first-child { padding-left: 0; }
.t-stat:last-child { border-right: 0; }
.t-stat strong { display: block; color: var(--mint); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.t-stat span { display: block; margin-top: 8px; color: rgba(247, 243, 236, .46); font-size: 10px; }

/* section */
.section { padding: 96px 0; background: var(--cream); }
.section--tint { background: #e9f7f1; }
.section-head { max-width: 760px; margin-bottom: 41px; }
.section-head h2 { margin-top: 11px; }
.section-head p { max-width: 650px; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 27px; max-width: none; }
.section-head--row > div { max-width: 760px; }
.section-head--row .text-link { flex: 0 0 auto; margin-bottom: 4px; }

/* bento */
.t-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.t-card {
  position: relative; display: flex; min-height: 245px; flex-direction: column;
  padding: 27px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.t-card:hover { border-color: #b9e4d4; box-shadow: var(--shadow); transform: translateY(-4px); }
.t-card__icon { display: grid; width: 45px; height: 45px; margin-bottom: 29px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 14px; }
.t-card__icon svg { width: 22px; height: 22px; }
.t-card h3 { margin-bottom: 8px; font-size: 20px; }
.t-card p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.t-card__tag { display: inline-flex; width: fit-content; margin-top: auto; padding-top: 20px; color: var(--violet-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.t-card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 22px; min-height: 300px; padding: 34px; color: var(--cream); background: radial-gradient(circle at 78% 15%, rgba(92, 255, 201, .58), transparent 38%), var(--night); border-color: transparent; }
.t-card--wide:hover { border-color: transparent; box-shadow: 0 28px 60px rgba(6, 9, 10, .22); }
.t-card--wide .t-card__icon { color: var(--night); background: var(--mint); }
.t-card--wide h3 { color: var(--cream); font-size: 33px; }
.t-card--wide p { max-width: 380px; color: rgba(247, 243, 236, .62); font-size: 13px; }
.t-card--wide .t-card__tag { color: var(--mint); }
.t-card--violet { color: var(--cream); background: var(--violet); border-color: transparent; }
.t-card--violet .t-card__icon { color: var(--violet-deep); background: var(--cream); }
.t-card--violet h3 { color: var(--cream); }
.t-card--violet p { color: rgba(247, 243, 236, .7); }
.t-card--violet .t-card__tag { color: var(--mint); }
.t-card--coral { background: var(--coral-soft); border-color: #f0d19c; }
.t-card--coral .t-card__icon { color: var(--coral); background: var(--surface); }
.t-card--coral .t-card__tag { color: var(--coral); }
.t-card--mint { background: var(--mint-soft); border-color: #c8ecdf; }
.t-card--mint .t-card__icon { color: #098c66; background: var(--surface); }
.t-card--mint .t-card__tag { color: #098c66; }
.t-card-art { position: relative; width: 100%; max-width: 230px; margin-left: auto; }
.t-card-art__bubble { position: relative; z-index: 1; display: block; width: 90%; margin-left: auto; overflow-wrap: anywhere; padding: 13px 15px; color: var(--night); background: var(--cream); border-radius: 16px 16px 4px 16px; font-size: 10px; line-height: 1.5; transform: rotate(3deg); }
.t-card-art__bubble--two { width: 82%; margin: 9px 0 0 8%; overflow-wrap: anywhere; color: var(--cream); background: var(--violet); border-radius: 16px 16px 16px 4px; transform: rotate(-2deg); }
.t-card-art__dot { position: absolute; z-index: 2; top: -28px; right: 12px; width: 45px; height: 45px; background: var(--coral); border-radius: 50%; }

/* platform / steps / scenes */
.t-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t-platform {
  display: flex; align-items: center; gap: 12px; min-height: 81px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 17px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.t-platform:hover { color: var(--cream); background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }
.t-platform__icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 12px; }
.t-platform__icon svg { width: 20px; height: 20px; }
.t-platform:hover .t-platform__icon { color: var(--night); background: var(--mint); }
.t-platform strong { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.t-platform small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.t-platform:hover small { color: rgba(247, 243, 236, .65); }

.t-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.t-step { position: relative; padding: 28px 32px 0 0; }
.t-step + .t-step { padding-left: 32px; border-left: 1px solid var(--line); }
.t-step__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 25px; color: var(--cream); background: var(--violet); border-radius: 50%; font-family: var(--mono); font-size: 9px; font-weight: 700; }
.t-step h3 { margin-bottom: 8px; font-size: 19px; }
.t-step p { max-width: 310px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

.t-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.t-scene { position: relative; display: flex; min-height: 245px; flex-direction: column; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.t-scene:hover { background: var(--coral-soft); border-color: #efd39f; transform: translateY(-3px); }
.t-scene__icon { display: grid; width: 41px; height: 41px; margin-bottom: 36px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 13px; }
.t-scene__icon svg { width: 20px; height: 20px; }
.t-scene h3 { margin-bottom: 8px; font-size: 19px; }
.t-scene p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.t-scene__tag { margin-top: auto; padding-top: 20px; color: var(--violet-deep); font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; }

/* article cards */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { border-color: #b9e4d4; box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1200 / 675; background: var(--night-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__badge { position: absolute; top: 13px; left: 13px; padding: 4px 9px; color: var(--night); background: var(--mint); border-radius: 999px; font-size: 8.5px; font-weight: 800; line-height: 1.3; }
.post-card__body { display: flex; min-height: 242px; flex-direction: column; padding: 20px; }
.post-card__meta { display: flex; align-items: center; gap: 7px; color: var(--muted-2); font-family: var(--mono); font-size: 8.5px; }
.post-card h3 { margin: 11px 0 8px; font-size: 19px; line-height: 1.38; }
.post-card h3 a { transition: color .2s ease; }
.post-card h3 a:hover { color: var(--violet-deep); }
.post-card__desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.post-card__read { color: var(--muted-2); font-size: 9px; }
.post-card__more { display: inline-flex; align-items: center; gap: 5px; color: var(--violet-deep); font-size: 9.5px; font-weight: 800; }
.post-card__more svg { width: 13px; height: 13px; transition: transform .2s ease; }
.post-card__more:hover svg { transform: translateX(3px); }
.articles-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.articles-footer strong { color: var(--ink); }

/* CTA */
.t-cta {
  position: relative; overflow: hidden; padding: 58px clamp(28px, 6vw, 68px); color: var(--cream);
  background:
    radial-gradient(circle at 87% 8%, rgba(185, 255, 228, .22), transparent 27%),
    radial-gradient(circle at 10% 92%, rgba(255, 193, 92, .24), transparent 33%),
    var(--night);
  border-radius: var(--radius);
}
.t-cta::before { position: absolute; right: -100px; bottom: -165px; width: 450px; height: 450px; border: 1px solid rgba(185, 255, 228, .18); border-radius: 50%; content: ""; }
.t-cta::after { position: absolute; top: 40px; right: 120px; width: 70px; height: 70px; background: var(--coral); border-radius: 50%; content: ""; opacity: .85; }
.t-cta__content { position: relative; z-index: 1; max-width: 650px; }
.t-cta h2 { margin-top: 18px; color: var(--cream); font-size: clamp(37px, 4.4vw, 55px); }
.t-cta p { max-width: 450px; margin-top: 16px; color: rgba(247, 243, 236, .62); font-size: 13.5px; }
.t-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.t-cta .btn--primary { color: var(--night); background: var(--mint); border-color: var(--mint); box-shadow: none; }
.t-cta .btn--primary:hover { color: var(--cream); background: var(--violet); border-color: var(--violet); }
.t-cta .btn--ghost { color: var(--cream); border-color: rgba(247, 243, 236, .3); }
.t-cta .btn--ghost:hover { color: var(--night); background: var(--cream); }
.t-legal { max-width: 900px; margin: 22px auto 0; color: var(--muted); font-size: 10.5px; line-height: 1.8; text-align: center; }

/* page hero */
.page-hero {
  position: relative; overflow: hidden; padding: 38px 0 68px; color: var(--cream);
  background:
    radial-gradient(circle at 76% 0%, rgba(92, 255, 201, .55), transparent 36%),
    radial-gradient(circle at 10% 94%, rgba(255, 193, 92, .16), transparent 36%),
    var(--night);
  border-bottom: 1px solid rgba(255, 253, 248, .1);
}
.page-hero::before { position: absolute; inset: 0; content: ""; background-image: radial-gradient(rgba(255, 253, 248, .17) 1px, transparent 1px); background-size: 28px 28px; opacity: .2; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 19px 0 16px; color: var(--cream); font-size: clamp(44px, 5.8vw, 72px); line-height: 1.06; }
.page-hero__lead { max-width: 720px; color: rgba(247, 243, 236, .64); font-size: 15px; line-height: 1.85; }
.page-hero .eyebrow { color: var(--mint); background: rgba(185, 255, 228, .07); border-color: rgba(185, 255, 228, .23); }
.page-hero .eyebrow__dot { background: var(--coral); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: rgba(247, 243, 236, .43); font-size: 10px; }
.breadcrumbs svg { width: 11px; height: 11px; color: rgba(247, 243, 236, .28); }
.breadcrumbs a:hover { color: var(--mint); }
.breadcrumbs span { color: rgba(247, 243, 236, .8); }
.download-hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.download-hero__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: rgba(247, 243, 236, .75); background: rgba(255, 253, 248, .06); border: 1px solid rgba(255, 253, 248, .16); border-radius: 999px; font-size: 9.5px; }
.download-hero__meta svg { width: 13px; height: 13px; color: var(--mint); }

/* download */
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.platform-card { position: relative; display: flex; min-height: 294px; flex-direction: column; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.platform-card:hover { border-color: #b9e4d4; box-shadow: var(--shadow); transform: translateY(-4px); }
.platform-icon { display: grid; width: 47px; height: 47px; margin-bottom: 25px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 14px; }
.platform-icon svg { width: 23px; height: 23px; }
.platform-card h2 { position: relative; z-index: 1; margin-bottom: 4px; font-size: 19px; }
.platform-card__version { margin-bottom: 16px; color: var(--violet-deep); font-family: var(--mono); font-size: 9px; }
.platform-card p { margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.platform-card .btn { width: 100%; margin-top: auto; }
.platform-card::after { display: none; }
.install-guide { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 60px; }
.install-guide__intro h2 { margin: 11px 0 12px; }
.install-guide__intro > p { color: var(--muted); font-size: 13px; }
.guide-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 11px 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 10.5px; line-height: 1.7; }
.guide-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--violet-deep); }
.steps { display: grid; gap: 0; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.step { position: relative; counter-increment: step; padding: 23px 0 25px 50px; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before { position: absolute; top: 0; left: 0; display: grid; width: 31px; height: 31px; place-items: center; color: var(--cream); background: var(--violet); border-radius: 50%; content: counter(step); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.step h3 { margin-bottom: 6px; font-size: 17px; }
.step p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.requirements { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.requirements__head { padding: 19px 22px; border-bottom: 1px solid var(--line); }
.requirements__head h3 { font-size: 16px; }
.requirements table { width: 100%; border-collapse: collapse; font-size: 12px; }
.requirements th, .requirements td { padding: 13px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.requirements th { width: 30%; color: var(--ink); font-weight: 800; white-space: nowrap; }
.requirements td { color: var(--muted); }
.requirements tr:last-child th, .requirements tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 55px; }
.faq-intro h2 { margin: 11px 0 13px; }
.faq-intro p { max-width: 370px; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.faq-intro .text-link { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 38px 20px 0; color: var(--ink); font-size: 13.5px; font-weight: 800; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 18px; right: 2px; display: grid; width: 22px; height: 22px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 50%; content: "+"; font-size: 15px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { color: var(--night); background: var(--mint); content: "−"; }
.faq-item__answer { padding: 0 38px 20px 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

/* help */
.help-hero__search {
  position: relative; display: flex; align-items: center; width: min(660px, 100%); margin-top: 27px;
  background: rgba(255, 253, 248, .08); border: 1px solid rgba(255, 253, 248, .23); border-radius: 15px;
  backdrop-filter: blur(10px);
}
.help-hero__search > svg { width: 19px; height: 19px; margin-left: 16px; color: var(--mint); flex: 0 0 auto; }
.help-search { width: 100%; min-width: 0; height: 55px; padding: 0 14px; color: var(--cream); background: transparent; border: 0; outline: 0; font-size: 13px; }
.help-search::placeholder { color: rgba(247, 243, 236, .38); }
.help-search__hint { flex: 0 0 auto; margin-right: 14px; padding: 3px 7px; color: rgba(247, 243, 236, .5); border: 1px solid rgba(247, 243, 236, .17); border-radius: 5px; font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 298px; align-items: start; gap: 29px; }
.help-main { min-width: 0; }
.help-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter-pill span { display: inline-grid; min-width: 17px; height: 17px; place-items: center; color: var(--muted); background: var(--cream); border-radius: 50%; font-family: var(--mono); font-size: 8px; }
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.is-active { color: var(--cream); background: var(--night); border-color: var(--night); }
.filter-pill.is-active span { color: var(--night); background: var(--mint); }
.help-result-count { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.help-result-count strong { color: var(--violet-deep); }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.help-empty { padding: 50px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.help-empty h3 { margin-bottom: 7px; font-size: 18px; }
.help-empty p { color: var(--muted); font-size: 12px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.page-btn { min-height: 33px; padding: 5px 11px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 9.5px; cursor: pointer; }
.page-btn:hover { border-color: var(--ink); }
.page-btn.is-current { color: var(--cream); background: var(--night); border-color: var(--night); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-ellipsis { padding: 0 4px; color: var(--muted); font-size: 10px; }
.help-aside { position: sticky; top: 98px; display: grid; gap: 13px; }
.side-card { padding: 21px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.side-card h2 { margin-bottom: 15px; font-size: 15px; }
.side-links { display: grid; gap: 0; list-style: none; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 11px; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--violet-deep); }
.side-links svg { width: 13px; height: 13px; }
.side-card--accent { color: var(--cream); background: var(--violet); border-color: transparent; }
.side-card--accent p { margin-bottom: 14px; color: rgba(247, 243, 236, .72); font-size: 11px; line-height: 1.8; }
.side-card--accent .btn { color: var(--night); background: var(--mint); border-color: var(--mint); }

/* links */
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.resource-card { display: flex; min-height: 212px; flex-direction: column; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.resource-card:hover { border-color: #b9e4d4; box-shadow: var(--shadow); transform: translateY(-3px); }
.resource-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.resource-card__icon { display: grid; width: 39px; height: 39px; place-items: center; color: var(--violet-deep); background: var(--violet-soft); border-radius: 12px; }
.resource-card__icon svg { width: 19px; height: 19px; }
.resource-card__badge { padding: 3px 7px; color: var(--violet-deep); border: 1px solid #bfe8d9; border-radius: 999px; font-family: var(--mono); font-size: 7.5px; }
.resource-card h3 { margin: 25px 0 6px; font-size: 18px; }
.resource-card p { max-width: 250px; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.resource-card__more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 18px; color: var(--violet-deep); font-size: 9.5px; font-weight: 800; }
.resource-card__more svg { width: 13px; height: 13px; }
.resource-grid--external .resource-card { min-height: 170px; }
.links-note { grid-column: 1 / -1; padding: 26px; color: var(--muted); background: rgba(255, 253, 248, .55); border: 1px dashed var(--line); border-radius: 18px; font-size: 12px; text-align: center; }
.links-external-badge { padding: 4px 9px; color: var(--violet-deep); border: 1px solid #bfe8d9; border-radius: 999px; font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.link-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.link-article { display: flex; min-height: 105px; flex-direction: column; justify-content: space-between; padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.link-article:hover { border-color: #b9e4d4; box-shadow: 0 12px 30px rgba(8,10,23,.06); transform: translateY(-2px); }
.link-article h3 { font-size: 14px; line-height: 1.45; }
.link-article__meta { display: flex; gap: 8px; margin-top: 17px; color: var(--muted); font-family: var(--mono); font-size: 8px; }

/* article */
.reading-progress { position: fixed; z-index: 210; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress__bar { width: 0; height: 100%; background: var(--coral); }
.article-hero { position: relative; padding: 37px 0 45px; background: radial-gradient(circle at 85% 0%, rgba(123,92,255,.1), transparent 34%), var(--cream); border-bottom: 1px solid var(--line); }
.article-hero__inner { position: relative; }
.article-category { display: inline-block; margin-top: 25px; padding: 5px 10px; color: var(--cream); background: var(--violet); border-radius: 999px; font-family: var(--mono); font-size: 8.5px; }
.article-hero h1 { max-width: 1000px; margin: 15px 0 16px; font-size: clamp(36px, 4.7vw, 56px); line-height: 1.13; }
.article-hero__lead { max-width: 820px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; color: var(--muted); font-size: 9.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta svg { width: 13px; height: 13px; color: var(--violet-deep); }
.article-meta__author { color: var(--ink); font-weight: 800; }
.article-meta__dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.article-hero .breadcrumbs { color: var(--muted); }
.article-hero .breadcrumbs svg { color: var(--muted-2); }
.article-hero .breadcrumbs a:hover { color: var(--violet-deep); }
.article-hero .breadcrumbs span { color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 42px; padding-top: 42px; padding-bottom: 70px; }
.article-main { min-width: 0; }
.article-cover { overflow: hidden; margin: 0 0 38px; border-radius: var(--radius); }
.article-cover img { width: 100%; height: auto; }
.prose { max-width: 810px; color: var(--ink-2); font-size: 15px; line-height: 1.98; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 42px; padding-top: 22px; color: var(--ink); border-top: 1px solid var(--line); font-size: 28px; line-height: 1.28; }
.prose h3 { margin-top: 29px; color: var(--ink); font-size: 20px; }
.prose p { margin: 0; }
.prose ul, .prose ol { display: grid; gap: 7px; padding-left: 22px; }
.prose li::marker { color: var(--violet); }
.prose a { color: var(--violet-deep); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 27px 0; padding: 17px 20px; color: var(--ink); background: var(--violet-soft); border-left: 4px solid var(--violet); border-radius: 0 12px 12px 0; font-size: 13.5px; }
.prose code { padding: 2px 5px; color: var(--violet-deep); background: var(--violet-soft); border-radius: 4px; font-family: var(--mono); font-size: .86em; }
.prose pre { overflow-x: auto; padding: 18px; color: var(--cream); background: var(--night); border-radius: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.prose pre code { padding: 0; color: inherit; background: transparent; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.prose th, .prose td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-tags > span { margin-right: 2px; color: var(--muted); font-family: var(--mono); font-size: 8.5px; }
.article-tags a { padding: 4px 9px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }
.article-tags a:hover { color: var(--cream); background: var(--violet); border-color: var(--violet); }
.article-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-end p { color: var(--muted); font-size: 9.5px; }
.article-end__actions { display: flex; flex-wrap: wrap; gap: 7px; }
.copy-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 8.5px; cursor: pointer; }
.copy-link:hover { color: var(--violet-deep); border-color: #b2e5d3; }
.copy-link svg { width: 12px; height: 12px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 31px; padding: 28px; color: var(--cream); background: radial-gradient(circle at 88% 8%, rgba(123,92,255,.65), transparent 34%), var(--night); border-radius: var(--radius); }
.article-cta h2 { margin-bottom: 6px; color: var(--cream); font-size: 24px; }
.article-cta p { color: rgba(247, 243, 236, .52); font-size: 11px; }
.article-cta .btn { flex: 0 0 auto; color: var(--night); background: var(--mint); border-color: var(--mint); }
.article-sidebar { position: sticky; top: 98px; display: grid; gap: 13px; }
.toc-card, .related-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.toc-card h2, .related-card h2 { margin-bottom: 13px; font-size: 14px; }
.toc { display: grid; gap: 3px; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.toc a::before { color: var(--violet); content: "0" counter(toc); font-family: var(--mono); font-size: 7.5px; line-height: 1.9; }
.toc a:hover { color: var(--ink); }
.related-list { display: grid; gap: 0; padding: 0; list-style: none; }
.related-list a { display: block; padding: 10px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 10px; line-height: 1.6; }
.related-list li:last-child a { border-bottom: 0; }
.related-list a:hover { color: var(--violet-deep); }
.related-list a span { display: block; margin-top: 4px; color: var(--muted-2); font-family: var(--mono); font-size: 7.5px; }
.sidebar-help { padding: 21px; color: var(--night); background: var(--mint); border-radius: 18px; }
.sidebar-help p { margin-bottom: 14px; color: #2f5d4f; font-size: 10.5px; line-height: 1.75; }
.sidebar-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--night); border-bottom: 1px solid var(--night); font-size: 9.5px; font-weight: 800; }
.sidebar-help svg { width: 12px; height: 12px; }

/* 404 */
.error-page {
  position: relative; overflow: hidden; display: grid; min-height: 63vh; padding: 80px 0;
  place-items: center; color: var(--cream); text-align: center;
  background: radial-gradient(circle at 75% 5%, rgba(123,92,255,.4), transparent 36%), var(--night);
}
.error-page::before { position: absolute; inset: 0; content: ""; background-image: radial-gradient(rgba(255,253,248,.17) 1px, transparent 1px); background-size: 28px 28px; opacity: .22; }
.error-page .container { position: relative; z-index: 1; }
.error-page .error-code { margin-bottom: 16px; color: var(--violet-2); font-family: var(--mono); font-size: clamp(88px, 16vw, 185px); font-weight: 800; line-height: .8; letter-spacing: -.09em; }
.error-page h1 { color: var(--cream); font-size: clamp(30px, 4vw, 46px); }
.error-page p { max-width: 480px; margin: 13px auto 0; color: rgba(247,243,236,.52); font-size: 12.5px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 27px; }
.error-actions .btn--ghost { color: var(--cream); border-color: rgba(247,243,236,.36); }
.error-actions .btn--ghost:hover { color: var(--night); background: var(--cream); }

/* footer */
.site-footer { color: var(--cream); background: var(--night); border-top: 1px solid rgba(255,253,248,.1); }
.footer-main { display: grid; grid-template-columns: 1.8fr .8fr .8fr .9fr; gap: 38px; padding: 58px 0 42px; }
.footer-brand p { max-width: 350px; margin: 17px 0 18px; color: rgba(247,243,236,.45); font-size: 11px; line-height: 1.9; }
.footer-brand .brand__copy strong { color: var(--cream); }
.footer-brand .brand__copy small { color: rgba(247,243,236,.36); }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: var(--mint); border: 1px solid rgba(185,255,228,.2); border-radius: 999px; font-size: 8.5px; }
.footer-badge svg { width: 12px; height: 12px; }
.footer-col h2 { margin-bottom: 13px; color: var(--cream); font-size: 11px; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; color: rgba(247,243,236,.47); font-size: 10.5px; }
.footer-col a:hover { color: var(--mint); }
.footer-friend { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; padding: 14px 0; border-top: 1px solid rgba(247,243,236,.1); border-bottom: 1px solid rgba(247,243,236,.1); }
.footer-friend__label { color: var(--mint); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.footer-friend a { color: rgba(247,243,236,.44); font-size: 9.5px; }
.footer-friend a:hover { color: var(--cream); }
.footer-friend a.is-external::after { margin-left: 3px; color: var(--coral); content: "↗"; font-size: 9px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0 20px; color: rgba(247,243,236,.32); font-size: 9px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--cream); }

/* scroll offset */
section[id], [id="article-list"], [id="faq"], [id="install-guide"] { scroll-margin-top: 96px; }

/* responsive */
@media (max-width: 1080px) {
  .t-hero h1 { font-size: clamp(54px, 7.2vw, 82px); }
  .t-hero__grid { gap: 47px; }
  .section { padding: 82px 0; }
  .platform-card { padding: 21px; }
  .t-card--wide { grid-template-columns: minmax(0, 1fr) 190px; }
  .t-scene { padding: 21px; }
}
@media (max-width: 920px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .header-inner { height: 69px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; z-index: 110; top: 79px; right: 20px; left: 20px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 15px;
    background: var(--night-2); border: 1px solid rgba(255,253,248,.16); border-radius: 18px;
    box-shadow: 0 22px 50px rgba(0,0,0,.45);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.btn) { padding: 13px 7px; color: rgba(247,243,236,.72); border-bottom: 1px solid rgba(255,253,248,.09); font-size: 12px; }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav > a.is-active { color: var(--mint); }
  .main-nav .btn { width: 100%; margin-top: 13px; }
  .nav-divider { display: none; }

  .t-hero { padding-top: 50px; }
  .t-hero__grid { grid-template-columns: 1fr; gap: 49px; min-height: 0; }
  .t-hero h1 { max-width: 720px; font-size: clamp(53px, 11vw, 82px); }
  .t-hero__lead { max-width: 620px; }
  .t-hero__visual { width: min(550px, 100%); margin: 0 auto; }
  .t-hero__visual .t-chat { transform: none; }
  .t-float--new { left: -8px; }
  .t-float--sync { right: -8px; }
  .t-stats { margin-top: 45px; }
  .t-stat { padding: 20px 17px 23px; }
  .t-stat strong { font-size: 22px; }

  .section { padding: 70px 0; }
  .section-head--row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-head h2 { font-size: 39px; }
  .t-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-card--wide { grid-column: span 2; }
  .t-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-steps { grid-template-columns: 1fr; border-top: 0; }
  .t-step { padding: 22px 0; border-top: 1px solid var(--line); }
  .t-step + .t-step { padding-left: 0; border-left: 0; }
  .t-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-scene { min-height: 220px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-cta { padding: 44px 30px; }
  .t-cta::after { right: 43px; }

  .page-hero { padding: 29px 0 50px; }
  .page-hero h1 { font-size: clamp(40px, 8.5vw, 59px); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-guide { grid-template-columns: 1fr; gap: 35px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .help-layout { grid-template-columns: 1fr; gap: 35px; }
  .help-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card--accent { grid-column: span 2; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-help { grid-column: span 2; }
  .prose { max-width: none; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 27px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .brand__copy small { display: none; }
  .brand__icon { width: 36px; height: 36px; border-radius: 10px; }
  .t-hero { padding-top: 38px; }
  .t-hero h1 { margin: 18px 0 19px; font-size: clamp(46px, 13.8vw, 63px); }
  .t-hero__lead { font-size: 13.5px; line-height: 1.8; }
  .t-hero__actions { display: grid; grid-template-columns: 1fr; }
  .t-hero__actions .btn { width: 100%; }
  .t-hero__points { gap: 8px 14px; margin-top: 24px; font-size: 9.5px; }
  .t-chat__top { padding: 14px; }
  .t-chat__body { padding: 14px 14px 8px; }
  .t-msg { font-size: 9px; }
  .t-file { width: 100%; }
  .t-chat__input { margin: 0 13px 13px; }
  .t-float { font-size: 7.5px; padding: 7px 9px; }
  .t-float--new { top: -34px; left: 10px; }
  .t-float--sync { right: -3px; bottom: 60px; }
  .t-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 35px; border-bottom: 1px solid rgba(247,243,236,.12); }
  .t-stat { padding: 16px 12px; border-bottom: 1px solid rgba(247,243,236,.1); }
  .t-stat:nth-child(2n) { border-right: 0; }
  .t-stat strong { font-size: 21px; }
  .t-stat span { font-size: 8.5px; }

  .section { padding: 57px 0; }
  .section-head { margin-bottom: 27px; }
  .section-head h2 { font-size: 34px; }
  .section-head p { font-size: 12.5px; }
  .t-bento { grid-template-columns: 1fr; gap: 11px; }
  .t-card, .t-card--wide { grid-column: span 1; min-height: 0; padding: 23px; }
  .t-card--wide { grid-template-columns: 1fr; }
  .t-card--wide h3 { font-size: 28px; }
  .t-card-art { width: 190px; margin: 10px 0 0 auto; }
  .t-platforms { grid-template-columns: 1fr; }
  .t-scenes { grid-template-columns: 1fr; gap: 10px; }
  .t-scene { min-height: 0; padding: 20px; }
  .t-scene__icon { margin-bottom: 21px; }
  .t-cta { padding: 34px 23px; border-radius: 18px; }
  .t-cta::after { top: 25px; right: 27px; width: 43px; height: 43px; opacity: .45; }
  .t-cta h2 { font-size: 35px; }
  .t-cta p { font-size: 12px; }
  .t-cta__actions { flex-direction: column; }
  .t-cta__actions .btn { width: 100%; }
  .t-legal { text-align: left; }

  .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card__body { min-height: 0; }
  .post-card__desc { -webkit-line-clamp: 3; }
  .articles-footer { align-items: flex-start; flex-direction: column; gap: 10px; }

  .page-hero { padding: 22px 0 40px; }
  .page-hero h1 { margin: 15px 0 13px; font-size: 40px; }
  .page-hero__lead { font-size: 13px; }
  .download-hero__meta { gap: 6px; }
  .download-hero__meta span { padding: 5px 8px; font-size: 8.5px; }
  .platform-grid { grid-template-columns: 1fr; gap: 11px; }
  .platform-card { min-height: 0; padding: 21px; }
  .platform-icon { margin-bottom: 16px; }
  .requirements th, .requirements td { padding: 10px 13px; font-size: 11px; }
  .requirements th { width: 34%; white-space: normal; }
  .faq-item summary { font-size: 12.5px; padding-right: 30px; }
  .faq-item__answer { padding-right: 8px; }

  .help-hero__search { margin-top: 20px; }
  .help-search { height: 48px; font-size: 12px; padding: 0 9px; }
  .help-search__hint { display: none; }
  .help-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-aside { grid-template-columns: 1fr; }
  .side-card--accent { grid-column: span 1; }
  .side-card { padding: 18px; }
  .resource-grid { grid-template-columns: 1fr; gap: 10px; }
  .resource-card { min-height: 0; padding: 19px; }
  .resource-card__more { margin-top: 17px; padding-top: 0; }
  .link-article-grid { grid-template-columns: 1fr; gap: 9px; }
  .links-external-badge { display: none; }

  .article-hero { padding: 24px 0 30px; }
  .article-category { margin-top: 18px; }
  .article-hero h1 { font-size: 31px; line-height: 1.2; }
  .article-hero__lead { font-size: 12.5px; }
  .article-meta { gap: 7px; font-size: 8.5px; }
  .article-layout { gap: 26px; padding-top: 26px; padding-bottom: 48px; }
  .article-cover { margin-bottom: 24px; border-radius: 16px; }
  .prose { font-size: 14.5px; line-height: 1.9; }
  .prose h2 { margin-top: 30px; padding-top: 17px; font-size: 23px; }
  .prose h3 { font-size: 18px; }
  .prose blockquote { padding: 13px 14px; font-size: 13px; }
  .article-end { align-items: flex-start; flex-direction: column; }
  .article-end__actions { width: 100%; }
  .copy-link { flex: 1 1 auto; justify-content: center; }
  .article-cta { padding: 22px; }
  .article-cta h2 { font-size: 21px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .sidebar-help { grid-column: span 1; }
  .toc-card, .related-card { padding: 17px; }

  .error-page { min-height: 56vh; padding: 55px 0; }
  .error-code { font-size: 96px; }
  .error-page h1 { font-size: 30px; }
  .error-actions { flex-direction: column; align-items: stretch; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; padding: 40px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-col h2 { margin-bottom: 8px; }
  .footer-col a { margin: 6px 0; }
  .footer-friend { gap: 8px 12px; padding: 12px 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding: 13px 0 18px; }
  .footer-bottom nav { gap: 10px; }
  .footer-bottom p { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
