/* ================================================================
   ATLAS PRO HUB — main.css v1.2
   Dark Engineering Theme
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --bg:       #0A0A0C;
  --bg2:      #0F0F13;
  --bg3:      #16161C;
  --bg4:      #1E1E27;
  --accent:   #2563EB;
  --accent-h: #3B82F6;
  --accent-s: rgba(37,99,235,0.10);
  --accent-b: rgba(37,99,235,0.18);
  --purple:   #7C3AED;
  --text:     #F1F1F3;
  --text-2:   #A0A0B0;
  --text-3:   #606075;
  --border:   rgba(255,255,255,0.065);
  --border-h: rgba(255,255,255,0.12);
  --r-s:  8px;
  --r-m:  12px;
  --r-l:  16px;
  --r-xl: 20px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --mw:   1100px;
  --mw-t: 740px;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color .2s; }

/* ── HEADER ─────────────────────────────────────────────────────── */
.gh-head {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,10,12,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.gh-head-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--mw); margin: 0 auto;
  padding: 0 32px; height: 64px; gap: 32px;
}
.gh-head-logo {
  font-size: .95rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); white-space: nowrap; flex-shrink: 0;
}
.gh-head-logo img { height: 30px; width: auto; }
.gh-head-menu { flex: 1; min-width: 0; }
.gh-head-menu .nav { display: flex; align-items: center; gap: 2px; list-style: none; flex-wrap: wrap; }
.gh-head-menu .nav li a {
  display: block; padding: 6px 12px;
  font-size: .875rem; font-weight: 500; color: var(--text-2);
  border-radius: var(--r-s); transition: color .2s, background .2s;
}
.gh-head-menu .nav li a:hover,
.gh-head-menu .nav li.nav-current a { color: var(--text); background: rgba(255,255,255,.06); }
.gh-head-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.head-btn {
  padding: 8px 18px; border-radius: var(--r-s);
  font-family: var(--font); font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all .2s; border: none; white-space: nowrap;
}
.head-btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.head-btn-ghost:hover { color: var(--text); border-color: var(--border-h); background: rgba(255,255,255,.04); }
.head-btn-solid { background: var(--accent); color: #fff; }
.head-btn-solid:hover { background: var(--accent-h); box-shadow: 0 4px 16px rgba(37,99,235,.4); }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-m);
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(37,99,235,.35); color: #fff; }
.btn-outline { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-outline:hover { color: var(--text); border-color: var(--border-h); background: rgba(255,255,255,.04); }

/* ── HOME ───────────────────────────────────────────────────────── */

/* HERO */
.home-hero {
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.home-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(37,99,235,.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(124,58,237,.06) 0%, transparent 60%);
}
.home-hero-inner { position: relative; z-index: 1; max-width: 840px; }

.home-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.07; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 24px;
}
.home-hero h1 span {
  background: linear-gradient(135deg,#60A5FA 0%,#2563EB 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.home-hero-sub {
  font-size: 1.2rem; color: var(--text-2); line-height: 1.75;
  max-width: 580px; margin: 0 auto 52px; font-weight: 400;
}
.home-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* TRUST BAR */
.trust-bar {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 20px 24px;
}
.trust-bar-inner {
  max-width: var(--mw); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--mono); font-size: 1.6rem; font-weight: 500;
  color: var(--accent-h); line-height: 1; margin-bottom: 4px;
}
.trust-label { font-size: .75rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }

/* SECTIONS */
.home-section { max-width: var(--mw); margin: 0 auto; padding: 80px 32px; }
.home-section-hd { text-align: center; margin-bottom: 56px; }
.home-section-hd h2 {
  font-size: clamp(2rem,4vw,2.8rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--text); margin-bottom: 12px;
}
.home-section-hd p { font-size: 1.05rem; color: var(--text-2); max-width: 480px; margin: 0 auto; line-height: 1.7; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ROWS */
.hub-rows {
  border: 1px solid var(--border); border-radius: var(--r-l);
  overflow: hidden;
}
.hub-row {
  display: flex; align-items: center; gap: 36px;
  padding: 36px 40px; border-bottom: 1px solid var(--border);
  text-decoration: none; background: var(--bg2); transition: background .2s;
}
.hub-row:last-child { border-bottom: none; }
.hub-row:hover { background: var(--bg3); }
.hub-row-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--accent-s); border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r-m); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.hub-row-body { flex: 1; min-width: 0; }
.hub-row-title { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; margin-bottom: 6px; }
.hub-row-desc { font-size: .9rem; color: var(--text-2); line-height: 1.65; }
.hub-row-meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hub-row-badge {
  font-size: .73rem; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; border: 1px solid var(--border);
  color: var(--text-3); white-space: nowrap;
}
.hub-row-badge.open { border-color: rgba(37,99,235,.3); color: var(--accent-h); background: var(--accent-s); }
.hub-row-arrow { color: var(--accent-h); font-size: 1.3rem; transition: transform .2s; }
.hub-row:hover .hub-row-arrow { transform: translateX(4px); }

/* ARTICLES LIST */
.articles-list { display: flex; flex-direction: column; gap: 12px; }
.article-card {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 28px 32px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-m);
  text-decoration: none; transition: border-color .2s, background .2s;
}
.article-card:hover { border-color: var(--border-h); background: var(--bg3); }
.article-card-num {
  font-family: var(--mono); font-size: .8rem; color: var(--text-3);
  flex-shrink: 0; margin-top: 5px; min-width: 28px; line-height: 1;
}
.article-card-body { flex: 1; min-width: 0; }
.article-card-cat {
  font-size: .72rem; font-weight: 700; color: #60A5FA;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px;
}
.article-card-title {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  letter-spacing: -.02em; line-height: 1.4; margin-bottom: 8px;
}
.article-card-desc { font-size: .875rem; color: var(--text-2); line-height: 1.65; }
.article-card-arrow { color: var(--text-3); font-size: 1.1rem; flex-shrink: 0; margin-top: 5px; transition: color .2s, transform .2s; }
.article-card:hover .article-card-arrow { color: var(--accent-h); transform: translateX(3px); }

/* CTA BOX */
.home-cta-wrap { padding: 0 32px 80px; }
.home-cta-box {
  max-width: var(--mw); margin: 0 auto;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(37,99,235,.03));
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--r-xl); padding: 72px 48px; text-align: center;
}
.home-cta-box h2 {
  font-size: clamp(2rem,4vw,2.8rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--text); margin-bottom: 14px;
}
.home-cta-box p { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 40px; }
.home-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BLOG FEED ──────────────────────────────────────────────────── */
.gh-feed { max-width: var(--mw); margin: 0 auto; padding: 64px 32px; }
.gh-feed-head { margin-bottom: 48px; }
.gh-feed-head h1 { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); margin-bottom: 8px; }
.gh-feed-head p { font-size: 1rem; color: var(--text-2); }
.post-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.post-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.post-card:hover { border-color: var(--border-h); transform: translateY(-2px); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-tag { font-size: .72rem; font-weight: 700; color: #60A5FA; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.post-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.4; margin-bottom: 10px; flex: 1; }
.post-card-excerpt { font-size: .85rem; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }
.post-card-meta { font-size: .78rem; color: var(--text-3); display: flex; gap: 10px; }

/* ── ARTICLE / PAGE ─────────────────────────────────────────────── */
.gh-article, .gh-page { max-width: var(--mw-t); margin: 0 auto; padding: 64px 32px; }
.gh-article-hd { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.gh-article-tag { font-size: .75rem; font-weight: 700; color: #60A5FA; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.gh-article h1, .gh-page h1 {
  font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--text); margin-bottom: 16px;
}
.gh-article-excerpt { font-size: 1.15rem; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.gh-article-meta { font-size: .82rem; color: var(--text-3); display: flex; gap: 16px; flex-wrap: wrap; }
.gh-article-img { margin-bottom: 48px; border-radius: var(--r-l); overflow: hidden; }
.gh-article-img img { width: 100%; }

/* CONTENT */
.gh-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); }
.gh-content h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin: 48px 0 14px; }
.gh-content h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); margin: 36px 0 10px; }
.gh-content h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 28px 0 8px; }
.gh-content p { margin-bottom: 22px; }
.gh-content ul, .gh-content ol { padding-left: 26px; margin-bottom: 22px; }
.gh-content li { margin-bottom: 8px; }
.gh-content a { color: var(--accent-h); text-decoration: underline; text-underline-offset: 3px; }
.gh-content strong { color: var(--text); font-weight: 700; }
.gh-content em { font-style: italic; color: var(--text); }
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.gh-content blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px;
  margin: 24px 0; background: var(--bg2); border-radius: 0 var(--r-s) var(--r-s) 0;
  color: var(--text-2); font-style: italic;
}
.gh-content code {
  font-family: var(--mono); font-size: .88em;
  background: var(--bg3); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 5px; color: #93C5FD;
}
.gh-content pre {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: 24px; overflow-x: auto; margin-bottom: 24px;
}
.gh-content pre code { background: none; border: none; padding: 0; font-size: .9rem; color: var(--text-2); }
.gh-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: .9rem; }
.gh-content th { text-align: left; padding: 12px 16px; background: var(--bg3); color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-h); }
.gh-content td { padding: 12px 16px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.gh-content tr:hover td { background: rgba(255,255,255,.02); }
.gh-content figure { margin: 32px 0; }
.gh-content figcaption { text-align: center; font-size: .82rem; color: var(--text-3); margin-top: 10px; }
.gh-content img { border-radius: var(--r-m); }

/* ── GHOST CARD WIDTHS (required by GScan) ──────────────────────── */
.kg-width-wide  { margin-left: calc(50% - min(50vw - 32px, 440px)); margin-right: calc(50% - min(50vw - 32px, 440px)); }
.kg-width-full  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; }

/* CARD TYPES */
.kg-card { margin-bottom: 28px; }
.kg-image-card img { width: 100%; border-radius: var(--r-m); }
.kg-gallery-card { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.kg-gallery-card img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-s); }
.kg-video-card video { width: 100%; border-radius: var(--r-m); }
.kg-audio-card audio { width: 100%; }
.kg-file-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m); padding: 20px 24px; display: flex; align-items: center; gap: 16px; text-decoration: none; transition: border-color .2s; }
.kg-file-card:hover { border-color: var(--border-h); }
.kg-file-card-title { font-weight: 600; color: var(--text); }
.kg-file-card-caption { font-size: .85rem; color: var(--text-2); }
.kg-bookmark-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m); overflow: hidden; display: flex; text-decoration: none; transition: border-color .2s; }
.kg-bookmark-card:hover { border-color: var(--border-h); }
.kg-bookmark-content { padding: 20px 24px; flex: 1; }
.kg-bookmark-title { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.kg-bookmark-description { font-size: .875rem; color: var(--text-2); }
.kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 16px; padding: 20px 24px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m); margin-bottom: 24px; }
.kg-callout-text { font-size: .95rem; color: var(--text-2); line-height: 1.7; }
.kg-toggle-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m); margin-bottom: 12px; overflow: hidden; }
.kg-toggle-heading { padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); }
.kg-toggle-content { padding: 0 20px 16px; color: var(--text-2); font-size: .9rem; line-height: 1.7; }
.kg-product-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-m); padding: 24px; text-align: center; }
.kg-button-card { text-align: center; margin: 28px 0; }
.kg-button-card a { display: inline-flex; padding: 13px 28px; background: var(--accent); color: #fff; border-radius: var(--r-m); font-weight: 600; text-decoration: none; transition: background .2s; }
.kg-button-card a:hover { background: var(--accent-h); color: #fff; }
.kg-header-card { text-align: center; padding: 56px 32px; }
.kg-header-card h2 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }

/* ── PAGINATION ─────────────────────────────────────────────────── */
.gh-pagination { display: flex; justify-content: center; gap: 12px; margin-top: 48px; flex-wrap: wrap; }
.gh-pagination .page-number { font-size: .9rem; color: var(--text-2); }
.gh-pagination .older-posts,
.gh-pagination .newer-posts { display: inline-flex; padding: 10px 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-s); font-size: .9rem; font-weight: 500; color: var(--text-2); transition: all .2s; }
.gh-pagination .older-posts:hover,
.gh-pagination .newer-posts:hover { border-color: var(--border-h); color: var(--text); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.gh-foot { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 32px; }
.gh-foot-inner { max-width: var(--mw); margin: 0 auto; }
.gh-foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.gh-foot-brand-col { max-width: 280px; }
.gh-foot-logo { font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.gh-foot-tagline { font-size: .85rem; color: var(--text-3); line-height: 1.6; }
.gh-foot-nav-groups { display: flex; gap: 48px; flex-wrap: wrap; }
.gh-foot-nav-group h4 { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.gh-foot-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gh-foot-nav-group a { font-size: .85rem; color: var(--text-2); transition: color .2s; }
.gh-foot-nav-group a:hover { color: var(--text); }
.gh-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 32px; border-top: 1px solid var(--border); }
.gh-foot-copy { font-size: .78rem; color: var(--text-3); }
.gh-foot-copy a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }
.gh-foot-copy a:hover { color: var(--text-2); }
.gh-foot-powered { font-size: .78rem; color: var(--text-3); }

/* ── MODAL ──────────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.78); backdrop-filter: blur(12px);
  z-index: 9999; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--bg2); border: 1px solid var(--border-h);
  border-radius: var(--r-xl); padding: 48px; width: 100%; max-width: 440px;
  position: relative; animation: modal-in .25s ease;
}
@keyframes modal-in { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--bg3); border: none; color: var(--text-2);
  width: 32px; height: 32px; border-radius: var(--r-s); cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { background: var(--bg4); color: var(--text); }
.modal-box h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: 6px; }
.modal-sub { font-size: .9rem; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; }
.modal-input {
  width: 100%; padding: 13px 16px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: var(--r-s);
  color: var(--text); font-family: var(--font); font-size: .95rem;
  margin-bottom: 10px; outline: none; transition: border-color .2s;
}
.modal-input:focus { border-color: var(--accent); }
.modal-input::placeholder { color: var(--text-3); }
.modal-submit { width: 100%; justify-content: center; }
.modal-or { text-align: center; font-size: .8rem; color: var(--text-3); margin: 14px 0; position: relative; }
.modal-or::before, .modal-or::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.modal-or::before { left: 0; } .modal-or::after { right: 0; }
.vk-btn {
  width: 100%; padding: 13px; background: #0077FF; color: #fff;
  font-family: var(--font); font-size: .95rem; font-weight: 600; border: none;
  border-radius: var(--r-s); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s;
}
.vk-btn:hover { background: #0066DD; }
.modal-note { font-size: .72rem; color: var(--text-3); text-align: center; margin-top: 14px; line-height: 1.5; }

/* ── ERROR PAGE ─────────────────────────────────────────────────── */
.gh-error { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; }
.gh-error-code { font-family: var(--mono); font-size: .8rem; color: var(--accent-h); letter-spacing: .12em; margin-bottom: 20px; }
.gh-error h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.gh-error p { font-size: 1rem; color: var(--text-2); margin-bottom: 36px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .gh-head-inner { padding: 0 20px; gap: 16px; }
  .hub-row { padding: 28px 24px; gap: 20px; }
  .hub-row-meta { display: none; }
  .home-section { padding: 64px 20px; }
  .home-cta-wrap { padding: 0 20px 64px; }
  .home-cta-box { padding: 48px 28px; }
  .gh-foot-top { flex-direction: column; }
  .kg-width-wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .home-hero { padding: 96px 20px 64px; min-height: auto; }
  .home-hero h1 { font-size: 2.5rem; }
  .home-hero-sub { font-size: 1.05rem; }
  .hub-row { flex-wrap: wrap; }
  .trust-bar-inner { gap: 28px; }
  .gh-article, .gh-page { padding: 48px 20px; }
  .modal-box { padding: 32px 20px; }
  .article-card { flex-wrap: wrap; }
  .article-card-num { display: none; }
  .gh-feed { padding: 48px 20px; }
  .kg-width-full { margin-left: -20px; margin-right: -20px; }
}
