/* ═══════════════════════════════════════════════════════════
   TeraSystemsAI : New Blog (Cornerstone) Design System
   Self-contained. Slate-navy + gold, light, institutional.
═══════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2f4f75;
    --primary-strong: #233b57;
    --primary-soft: #e8eef4;
    --gold: #a88646;
    --gold-strong: #8a6d33;
    --gold-soft: #f3ebd9;
    --gold-border: #d9c6a0;
    --gold-ink: #6b5427;
    --text: #141a20;
    --text-strong: #28313a;
    --text-dim: #5d6872;
    --text-mute: #7d8791;
    --border: #d5dce0;
    --surface-muted: #f0f3f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #fff; color: var(--text); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.nav-logo h2 a { color: var(--primary); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.nav-menu { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-menu a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-menu a:hover { color: var(--primary); }
.nav-cta { padding: 0.6rem 1.2rem; background: var(--primary); color: #fff !important; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.nav-hub { color: var(--gold-ink) !important; font-weight: 700; }
.unav-hamburger { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.unav-hamburger svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .nav-menu { display: none; } .unav-hamburger { display: flex; } }

/* Mobile drawer */
.unav-drawer { display: none; position: fixed; inset: 0; background: rgba(16,24,32,0.5); z-index: 9999; }
.unav-drawer.is-open { display: block; }
.unav-drawer-panel { position: absolute; top: 0; right: 0; width: min(320px,85vw); height: 100%; background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,0.15); overflow-y: auto; }
.unav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e5e5; }
.unav-drawer-head span { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #17212b; }
.unav-drawer-close { width: 36px; height: 36px; background: none; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 1.2rem; color: #333; }
.unav-drawer-links a { display: block; padding: 0.9rem 1.25rem; font-size: 0.92rem; font-weight: 600; color: #17212b; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.unav-drawer-links a:hover { background: #fdf8eb; color: var(--gold-ink); }
body.unav-open { overflow: hidden; }

/* Article shell */
.container { max-width: 820px; margin: 0 auto; padding: 120px 2rem 4rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); text-decoration: none; margin-bottom: 2.5rem; font-weight: 600; font-size: 0.9rem; transition: gap 0.3s; }
.back-link:hover { gap: 0.8rem; }

.post-category { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 50px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem; }
.post-category.cat-governance  { background: rgba(35,59,87,0.07);  border: 1px solid rgba(35,59,87,0.2);  color: #233b57; }
.post-category.cat-trustworthy { background: rgba(47,111,143,0.08); border: 1px solid rgba(47,111,143,0.25); color: #2f6f8f; }
.post-category.cat-translation { background: var(--gold-soft);       border: 1px solid var(--gold-border);   color: var(--gold-ink); }
.post-category.cat-document    { background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.25); color: #0f766e; }
.post-category.cat-future      { background: rgba(75,93,126,0.09);  border: 1px solid rgba(75,93,126,0.28);  color: #4b5d7e; }

h1 { font-family: var(--font-heading); font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem; }
.post-dek { font-size: 1.2rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 2rem; max-width: 42rem; }

.byline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.byline-author { display: flex; align-items: center; gap: 0.7rem; }
.author-mark { width: 40px; height: 40px; border-radius: 10px; background: #233b57; color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-name { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.92rem; font-weight: 700; color: var(--text); }
.author-name .verified { color: var(--gold); display: inline-flex; }
.author-name .verified svg { width: 14px; height: 14px; }
.author-role { font-size: 0.78rem; color: var(--text-mute); }
.byline-meta { margin-left: auto; display: flex; gap: 1.2rem; font-size: 0.85rem; color: var(--text-mute); flex-wrap: wrap; }

/* Body */
.post-content { font-size: 1.075rem; line-height: 1.85; color: var(--text-strong); }
.post-content p { margin-bottom: 1.5rem; }
.post-content .lede { font-size: 1.18rem; color: var(--text); }
.post-content h2 { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; margin: 2.75rem 0 1.1rem; color: var(--text); padding-left: 1rem; border-left: 4px solid var(--gold); }
.post-content h2 .h2-step { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.2rem; }
.post-content ul, .post-content ol { margin: 0 0 1.5rem 1.25rem; padding-left: 1rem; }
.post-content li { margin-bottom: 0.65rem; }
.post-content strong { color: var(--text); font-weight: 700; }
.post-content a { color: var(--primary); font-weight: 600; }

.takeaways { background: var(--gold-soft); border: 1px solid var(--gold-border); border-left: 4px solid var(--gold); border-radius: 14px; padding: 1.75rem 2rem; margin: 2.5rem 0; }
.takeaways h4 { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-ink); margin-bottom: 1rem; }
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li { position: relative; padding-left: 1.6rem; margin-bottom: 0.8rem; color: #3c4a3f; line-height: 1.6; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.callout { border: 1px solid var(--border); border-left: 4px solid var(--primary); background: #f8fafc; border-radius: 0 12px 12px 0; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.callout h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--primary-strong); margin-bottom: 0.6rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.flag { border-left-color: var(--gold); background: var(--gold-soft); }
.callout.flag h4 { color: var(--gold-ink); }

/* Continue Exploring (standard funnel footer) */
.explore { margin: 3rem 0 1rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.explore-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-bottom: 1rem; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.explore-grid a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: all 0.25s; }
.explore-grid a:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.explore-grid .ex-t { font-family: var(--font-heading); font-weight: 800; color: var(--primary-strong); font-size: 1rem; }
.explore-grid .ex-s { font-size: 0.82rem; color: var(--text-dim); }
.explore-grid .ex-arrow { color: var(--gold); flex-shrink: 0; }

.article-cta { background: linear-gradient(135deg, #1f3450 0%, #2f4f75 100%); border-top: 3px solid var(--gold); border-radius: 16px; padding: 2.25rem; text-align: center; margin: 2rem 0 0; }
.article-cta h3 { font-family: var(--font-heading); color: #fff; font-size: 1.4rem; margin-bottom: 0.6rem; }
.article-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; max-width: 34rem; margin-left: auto; margin-right: auto; }
.article-cta a { display: inline-block; padding: 0.85rem 1.8rem; background: linear-gradient(135deg, #b9954f, #8a6d33); color: #fff; font-weight: 700; border-radius: 10px; text-decoration: none; transition: all 0.25s; }
.article-cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(138,109,51,0.4); }

@media (max-width: 768px) { .container { padding: 100px 1.4rem 3rem; } .byline-meta { margin-left: 0; width: 100%; } .explore-grid { grid-template-columns: 1fr; } }

/* ═══ Cornerstone Hub (index) ═══ */
.hub-hero { background: linear-gradient(135deg, #1f3450 0%, #2f4f75 55%, #233b57 100%); border-bottom: 3px solid var(--gold); padding: 130px 2rem 3.5rem; }
.hub-hero-inner { max-width: 1100px; margin: 0 auto; }
.hub-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 1.2rem; background: rgba(216,198,160,0.12); border: 1px solid rgba(216,198,160,0.32); border-radius: 50px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #e6d4ab; margin-bottom: 1.5rem; }
.hub-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.1rem; }
.hub-hero h1 .accent { background: linear-gradient(135deg, #e8d3a3, #c9a967); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hub-hero p { color: rgba(255,255,255,0.66); font-size: 1.1rem; line-height: 1.7; max-width: 640px; }
.hub-hero p strong { color: #fff; }

.hub-mission { max-width: 1100px; margin: 2.5rem auto 0; padding: 0 2rem; }
.hub-mission-inner { background: var(--gold-soft); border: 1px solid var(--gold-border); border-left: 4px solid var(--gold); border-radius: 14px; padding: 1.75rem 2rem; }
.hub-mission-inner h3 { font-family: var(--font-heading); font-size: 0.95rem; color: var(--gold-ink); margin-bottom: 0.6rem; }
.hub-mission-inner p { color: #3c4a3f; line-height: 1.7; }

.hub-section { max-width: 1100px; margin: 3rem auto 0; padding: 0 2rem; }
.hub-pillar-head { display: flex; align-items: baseline; gap: 0.9rem; margin: 2.5rem 0 1.25rem; flex-wrap: wrap; }
.hub-pillar-head h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text); }
.hub-pillar-head .pct { font-size: 0.8rem; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-border); padding: 0.2rem 0.7rem; border-radius: 50px; }
.hub-pillar-head .line { flex: 1; height: 1px; background: var(--border); }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.1rem; }
.hub-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1.6rem; text-decoration: none; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); position: relative; overflow: hidden; }
.hub-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--c, var(--primary)); }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(35,59,87,0.12); border-color: var(--gold-border); }
.hub-card .hc-meta { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c, var(--primary)); margin-bottom: 0.5rem; }
.hub-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text); margin-bottom: 0.5rem; line-height: 1.3; }
.hub-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.55; }
.hub-card .hc-cta { display: inline-block; margin-top: 0.9rem; font-size: 0.8rem; font-weight: 700; color: var(--gold-ink); }

/* Footer */
.footer { background: #0b0d12; color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-top: 4rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.1rem; color: #e6d4ab; margin-bottom: 0.75rem; }
.footer-brand { color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1rem 2rem; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-copy { color: rgba(255,255,255,0.55); font-size: 0.75rem; }
.footer-legal { display: flex; gap: 1rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-decoration: none; }

/* ═══ Scheduled publishing gate ═══ */
.scheduled-gate { text-align: center; padding: 3rem 1.5rem; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 16px; background: #fbfcfa; }
.scheduled-gate .sg-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-border); padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1.25rem; }
.scheduled-gate h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--text); border: none; padding: 0; margin: 0 0 0.9rem; }
.scheduled-gate p { color: var(--text-dim); max-width: 34rem; margin: 0 auto 1.75rem; line-height: 1.7; }
.scheduled-gate .sg-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.scheduled-gate .sg-cta { display: inline-block; padding: 0.85rem 1.8rem; background: linear-gradient(135deg, #b9954f, #8a6d33); color: #fff; font-weight: 700; border-radius: 10px; text-decoration: none; }
.scheduled-gate .sg-cta:hover { box-shadow: 0 12px 30px rgba(138,109,51,0.4); }
.scheduled-gate .sg-cal { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.9rem; }

/* ═══ Coming soon (TeraDocFlow) ═══ */
.explore-grid .ex-soon { cursor: default; opacity: 0.78; }
.explore-grid .ex-soon:hover { transform: none; border-color: var(--border); background: #fff; box-shadow: none; }
.explore-grid .ex-soon .ex-arrow { display: none; }
.soon-tag { display: inline-block; margin-left: 0.5rem; padding: 0.12rem 0.5rem; background: var(--gold-soft); border: 1px solid var(--gold-border); border-radius: 50px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); vertical-align: middle; }

/* ═══ Premium hub cards (match main Insights Hub) ═══ */
.blog-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease; }
.blog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4; opacity: 0; transition: opacity 0.3s ease; background: var(--card-accent, var(--primary)); }
.blog-card:hover::before { opacity: 1; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(35,59,87,0.14); border-color: rgba(168,134,70,0.35); }
.blog-card[data-category="governance"]  { --card-accent: #233b57; }
.blog-card[data-category="trustworthy"] { --card-accent: #2f6f8f; }
.blog-card[data-category="translation"] { --card-accent: #a88646; }
.blog-card[data-category="document"]    { --card-accent: #0f766e; }
.blog-card[data-category="future"]      { --card-accent: #4b5d7e; }

.blog-image { position: relative; width: 100%; height: 200px; background: #1c2e44; overflow: hidden; }
.blog-image .nn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blog-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,26,0.42) 0%, rgba(8,13,26,0) 32%, rgba(8,13,26,0) 58%, rgba(8,13,26,0.55) 100%); z-index: 1; pointer-events: none; }
.brand-overlay { position: absolute; bottom: 10px; right: 10px; z-index: 3; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; color: #e6d4ab; letter-spacing: 0.12em; text-shadow: 0 0 10px rgba(216,198,160,0.6), 0 0 20px rgba(216,198,160,0.4); }
.cover-tag { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 3; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.75rem; background: rgba(12,20,36,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.16); border-radius: 50px; font-family: var(--font-heading); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.cover-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--card-accent, var(--primary)); flex-shrink: 0; }

.blog-content { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.35rem; }
.blog-meta { display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; color: #94a3b8; margin-bottom: 0.85rem; }
.blog-meta span { color: #94a3b8; }
.blog-card h3 { font-family: var(--font-heading); font-size: 1.24rem; font-weight: 700; line-height: 1.3; color: #0f172a; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.blog-card p { color: #475569; font-size: 0.92rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 0.83rem; font-weight: 700; color: var(--card-accent, var(--primary)); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.card-foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid #eef1f4; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-author { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.cf-mark { width: 32px; height: 32px; border-radius: 9px; background: #233b57; color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 0.68rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cf-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cf-name { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.77rem; font-weight: 700; color: #1e293b; }
.cf-name .verified { color: var(--gold); display: inline-flex; align-items: center; }
.cf-name .verified svg { width: 13px; height: 13px; }
.cf-role { font-size: 0.69rem; color: #94a3b8; }
@media (max-width: 420px) { .card-foot { flex-direction: column; align-items: flex-start; gap: 0.85rem; } }

/* ═══ Knowledge Network registry modal (recovered from main hub) ═══ */
.nav-join { padding: 0.6rem 1.2rem; background: linear-gradient(135deg, #b9954f, #8a6d33); color: #fff !important; border-radius: 8px; font-weight: 700; white-space: nowrap; border: none; cursor: pointer; font-family: var(--font-body); font-size: 0.92rem; }
.kn-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.55rem; }
.kn-section .kn-eyebrow { color: #e6d4ab; }
.kn-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(248,249,250,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 10000; justify-content: center; align-items: center; padding: 1.5rem; }
.kn-modal-overlay.active { display: flex; }
.kn-modal { background: #fff; border-radius: 18px; padding: 2.5rem; max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto; border: 1px solid #e5e7eb; box-shadow: 0 24px 70px rgba(15,23,42,0.16); position: relative; }
.kn-close { position: absolute; top: 1.1rem; right: 1.2rem; background: none; border: none; color: #94a3b8; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.kn-close:hover { color: #1e293b; }
.kn-modal .kn-eyebrow { text-align: center; }
.kn-modal h2 { color: #1e293b; text-align: center; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.kn-modal .kn-sub { text-align: center; color: #64748b; font-size: 0.95rem; line-height: 1.6; max-width: 430px; margin: 0 auto 1.6rem; }
.kn-feats { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.55rem; margin-bottom: 1.5rem; }
.kn-feat { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 600; color: #475569; }
.kn-feat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.kn-form { display: flex; flex-direction: column; gap: 1rem; }
.kn-form input[type=email], .kn-form select, .kn-mc-input input { padding: 0.95rem 1rem; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #1e293b; font-size: 0.98rem; font-family: var(--font-body); outline: none; transition: all 0.25s; }
.kn-form input[type=email]:focus, .kn-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.12); }
.kn-form select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; }
.kn-form select:invalid { color: #94a3b8; }
.kn-int-label { font-size: 0.82rem; font-weight: 600; color: #64748b; margin-bottom: -0.4rem; }
.kn-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kn-chip { padding: 0.5rem 0.9rem; border: 1px solid #e5e7eb; border-radius: 50px; background: #fff; color: #475569; font-size: 0.82rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all 0.2s; }
.kn-chip:hover { border-color: #d9c6a0; color: #9a7200; }
.kn-chip.selected { background: var(--gold-soft); border-color: var(--gold); color: #9a7200; }
.kn-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.86rem; color: #64748b; line-height: 1.5; cursor: pointer; }
.kn-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold); flex-shrink: 0; }
.kn-consent a { color: #9a7200; font-weight: 600; }
.kn-form button[type=submit] { padding: 1rem; background: var(--gold); color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.25s, box-shadow 0.25s; }
.kn-form button[type=submit]:hover { background: #9a7200; box-shadow: 0 8px 22px rgba(184,134,11,0.25); }
.kn-form button[type=submit]:disabled { opacity: 0.6; cursor: not-allowed; }
.kn-trust { display: flex; align-items: flex-start; gap: 0.65rem; margin-top: 1.5rem; padding: 0.9rem 1rem; background: #faf6ec; border: 1px solid #f0e6cf; border-radius: 10px; font-size: 0.84rem; color: #5b6472; line-height: 1.5; }
.kn-trust-meta { text-align: center; font-size: 0.78rem; color: #94a3b8; margin-top: 0.85rem; }
.kn-recover { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eef1f4; text-align: center; }
.kn-recover p { color: #475569; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.kn-mc-input { display: flex; gap: 0.5rem; justify-content: center; }
.kn-mc-input input { width: 180px; text-transform: uppercase; letter-spacing: 2px; font-family: 'JetBrains Mono', monospace; text-align: center; }
.kn-mc-input button { padding: 0.75rem 1.1rem; background: #fff; color: #1e293b; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; font-weight: 600; }
.kn-mc-input button:hover { border-color: var(--gold); color: #9a7200; }
.kn-success { text-align: center; }
.kn-success h3 { color: #1e293b; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.kn-success p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }
.kn-code { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; color: #9a7200; background: #faf6ec; padding: 1rem 2rem; border-radius: 10px; border: 1px solid #f0e6cf; margin: 1rem 0; letter-spacing: 3px; }
.kn-starthere-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); display: block; margin: 1.25rem 0 0.7rem; }
.kn-starthere { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.kn-starthere a { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; color: #1e293b; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.kn-starthere a span { color: var(--gold); }
.kn-starthere a:hover { border-color: var(--gold); background: #faf6ec; }
.kn-continue { margin-top: 1.5rem; padding: 1rem 2rem; background: var(--gold); color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.kn-continue:hover { background: #9a7200; }

/* Join section on the hub index */
.kn-section { background: linear-gradient(135deg, #1f3450 0%, #233b57 50%, #1f3450 100%); border-top: 3px solid var(--gold); padding: 4.5rem 2rem; margin-top: 4rem; text-align: center; }
.kn-section .kn-eyebrow { display: inline-flex; }
.kn-section h2 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.kn-section h2 .accent { background: linear-gradient(135deg,#e8d3a3,#c9a967); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.kn-section p { color: rgba(255,255,255,0.6); max-width: 38rem; margin: 0 auto 2rem; line-height: 1.7; }
.kn-section .nav-join { padding: 1rem 2rem; font-size: 1rem; }
.kn-section .kn-perks { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.kn-section .kn-perk { font-size: 0.82rem; color: rgba(255,255,255,0.45); display: inline-flex; align-items: center; gap: 0.4rem; }
.kn-section .kn-perk::before { content: ''; width: 13px; height: 7px; border-left: 2px solid #d9c6a0; border-bottom: 2px solid #d9c6a0; transform: rotate(-45deg); margin-bottom: 3px; }
@media (max-width: 480px) { .kn-feats, .kn-starthere { grid-template-columns: 1fr; } }
