/* ==========================================================================
   Public portal — developer-first marketing surface
   ========================================================================== */

body[data-product] {
  --product-theme: var(--primary);
  --ae-accent: var(--primary);
  background: var(--bg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.site-nav {
  width: min(var(--container), calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-brand img { width: 30px; height: 30px; object-fit: contain; }
.site-brand-copy { display: flex; flex-direction: column; gap: 1px; }
.site-brand-copy strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.site-brand-copy span { font-size: 11.5px; color: var(--text-3); }
.site-nav-links { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.site-nav-link {
  padding: 7px 11px; border-radius: var(--radius); color: var(--text-2);
  font-size: var(--text-sm); font-weight: 500; transition: background .15s ease, color .15s ease;
}
.site-nav-link:hover, .site-nav-link.active {
  color: var(--text); background: var(--surface-3);
}
.site-nav-link.active { color: var(--product-theme); background: color-mix(in srgb, var(--product-theme) 12%, transparent); }
.site-nav-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.theme-toggle, .announcement-trigger {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); color: var(--text-2); display: inline-flex;
  align-items: center; justify-content: center; font-size: 15px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.theme-toggle:hover, .announcement-trigger:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px;
  padding: 0 8px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface);
  color: var(--text-2); font-size: 11px; font-weight: 650; letter-spacing: .02em; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lang-switch:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.site-account-entry { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 9px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--surface);
  color: var(--text); box-shadow: none; font: inherit; text-align: left;
}
.account-trigger:hover { border-color: var(--border-strong); }
.account-trigger > .bi-person-circle { color: var(--primary); font-size: 17px; }
.account-info { display: flex; flex-direction: column; gap: 0; line-height: 1.15; }
.account-info strong { font-size: 12px; font-weight: 600; }
.account-info span { font-size: 11px; color: var(--text-3); }
.account-arrow { font-size: 9px; color: var(--text-3); margin-left: 2px; }
.account-dropdown, .announcement-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 90;
  min-width: 210px; padding: 6px; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-lg);
}
.announcement-dropdown { width: 320px; padding: 0; overflow: hidden; }
.announcement-dropdown-header { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--surface-2); }
.announcement-dropdown-body { padding: 14px; max-height: 300px; overflow: auto; font-size: 13px; white-space: pre-wrap; }
.account-dropdown .dropdown-item {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px;
  border: 0; border-radius: 7px; background: transparent; color: var(--text-2);
  font-size: 13px; text-align: left;
}
.account-dropdown .dropdown-item:hover { background: var(--surface-3); color: var(--text); }
.dropdown-user-info { padding: 9px 10px 8px; }
.dropdown-username { font-size: 13px; font-weight: 600; }
.dropdown-role { margin-top: 1px; font-size: 11px; color: var(--text-3); }
.account-dropdown .dropdown-divider { height: 1px; margin: 4px 0; background: var(--border); }
.site-mobile-toggle { display: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); }

/* Shell */
.page-shell { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; padding: 0 0 72px; position: relative; z-index: auto; }
.hero-section {
  position: relative; overflow: hidden; margin: 0;
  padding: 84px 0 76px; border: 0; border-radius: 0;
  background:
    radial-gradient(900px 420px at 12% -10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 65%),
    radial-gradient(700px 380px at 92% 8%, color-mix(in srgb, var(--info) 9%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 72%);
  color: var(--text); text-align: left; box-shadow: none;
}
.hero-content { width: min(var(--container), calc(100% - 40px)); max-width: none; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border));
  border-radius: 999px; background: var(--primary-soft); color: var(--primary);
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.hero-title { margin: 20px 0 16px; font-size: clamp(36px, 5vw, var(--text-hero)); line-height: 1.08; letter-spacing: -.035em; font-weight: 760; color: var(--text); }
.hero-desc { max-width: 560px; margin: 0 0 28px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { border-radius: var(--radius); padding: 11px 20px; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); }
.hero-meta-item { display: flex; flex-direction: column; gap: 1px; }
.hero-meta-item strong { font-size: 15px; font-weight: 700; }
.hero-meta-item span { font-size: 12px; color: var(--text-3); }
.hero-visual { min-width: 0; }
.hero-code {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--text-2); font-family: var(--font-mono); font-size: 12px; box-shadow: var(--shadow-sm);
}
.hero-code b { color: var(--primary); font-weight: 600; }
.hero-code button { border: 0; background: transparent; color: var(--text-3); padding: 0; }


/* IDE / product visual */
.ide-window {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #0b1220;
  color: #cbd5e1; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px;
}
.ide-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #111c31; border-bottom: 1px solid #24344d; }
.ide-dots { display: flex; gap: 5px; }
.ide-dots i { width: 7px; height: 7px; border-radius: 50%; background: #475569; }
.ide-dots i:nth-child(1) { background: #f87171; } .ide-dots i:nth-child(2) { background: #fbbf24; } .ide-dots i:nth-child(3) { background: #34d399; }
.ide-title { flex: 1; color: #94a3b8; font-size: 11px; text-align: center; }
.ide-body { display: grid; grid-template-columns: 1fr 46%; min-height: 300px; }
.ide-code { padding: 18px 20px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.85; color: #cbd5e1; overflow: hidden; }
.ide-code .ln { color: #7c8ba1; display: inline-block; width: 22px; user-select: none; }
.ide-code .kw { color: #c084fc; } .ide-code .str { color: #86efac; } .ide-code .fn { color: #7dd3fc; } .ide-code .cm { color: #94a3b8; }
.ide-agent { border-left: 1px solid #24344d; background: #0f1a2c; padding: 16px; }
.ide-agent-title { display: flex; align-items: center; gap: 7px; color: #e2e8f0; font-weight: 600; font-size: 12px; margin-bottom: 12px; }
.ide-agent-title span { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.ide-msg { padding: 9px 10px; border-radius: 8px; background: #16243c; color: #cbd5e1; font-size: 11.5px; line-height: 1.6; margin-bottom: 8px; }
.ide-msg.user { background: #1d4ed8; color: #fff; }
.ide-msg.success { border: 1px solid #14532d; background: #052e1b; color: #86efac; }
.ide-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid #334766; border-radius: 7px; color: #94a3b8; font-size: 11px; }

/* Sections */
section { scroll-margin-top: 86px; }
.products-section, .features-section, .section-panel, .section { padding: 72px 0; }
.section-header-center { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-kicker { display: block; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-header-center h2, .section-panel > h2, .docs-hero-title { margin: 10px 0 10px; font-size: clamp(26px, 3vw, var(--text-2xl)); line-height: 1.25; letter-spacing: -.02em; font-weight: 720; color: var(--text); }
.section-header-center p, .section-panel > p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.section-panel { width: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.section-panel > .section-header-center { margin-bottom: 30px; }
.section-panel[id] { scroll-margin-top: 88px; }
.products-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: var(--container); margin: 0 auto; }
.products-grid-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.product-card {
  display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border);
  border-top: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.product-icon, .feature-icon, .download-icon, .info-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 18px;
}
.product-name { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.product-tagline { margin-top: 2px; color: var(--text-3); font-size: 12px; }
.product-desc { margin: 0 0 18px; color: var(--text-2); font-size: 13.5px; line-height: 1.75; }
.product-meta { display: grid; gap: 7px; margin-bottom: 16px; }
.product-meta-row { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-2); }
.product-meta-label { flex: 0 0 58px; color: var(--text-3); font-weight: 600; }
.product-points { margin: 0 0 20px; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.8; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: var(--container); margin: 0 auto; }
.feature-card {
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); box-shadow: none; transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.feature-card h3 { margin: 14px 0 6px; font-size: 14px; font-weight: 650; }
.feature-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.65; }
.feature-icon { width: 36px; height: 36px; font-size: 16px; }
.surface-platforms { margin-top: 8px !important; color: var(--text-3) !important; font-size: 12px !important; }
.section-actions { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.cta-section {
  margin: 0; padding: 56px 24px; border-radius: 0;
  background: linear-gradient(120deg, #0f172a, color-mix(in srgb, var(--product-theme) 68%, #0f172a) 66%, var(--product-theme));
  box-shadow: none; text-align: center; color: #fff;
}
html.dark .cta-section {
  background:
    radial-gradient(720px 320px at 50% 0%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 72%),
    linear-gradient(120deg, #0a1020, color-mix(in srgb, var(--primary) 24%, #0a1020) 72%, color-mix(in srgb, var(--primary) 44%, #0a1020));
}
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.02em; }
.cta-content p { margin: 0 0 22px; color: #cbd5e1; font-size: 14px; }
.cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cta-actions .btn { border-radius: var(--radius); }

/* Docs / pricing / downloads / security */
.docs-hero {
  margin: 0 -40px 0; padding: 56px 40px 46px; border-radius: 0;
  background: linear-gradient(135deg, #0f172a, color-mix(in srgb, var(--product-theme) 64%, #0f172a) 62%, var(--product-theme));
  box-shadow: none; color: #fff;
}
html.dark .docs-hero {
  background:
    radial-gradient(720px 320px at 12% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%),
    linear-gradient(135deg, #0a1020, color-mix(in srgb, var(--primary) 22%, #0a1020) 70%, color-mix(in srgb, var(--primary) 40%, #0a1020));
}
.docs-hero .section-kicker { color: #93c5fd; }
.docs-hero-desc { max-width: 760px; color: #cbd5e1; font-size: 14px; line-height: 1.8; }
.docs-jump-nav { display: flex; gap: 7px; flex-wrap: wrap; }
.docs-jump-nav .btn { border-radius: 999px; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; padding: 12px 0; }
.docs-sidebar a { padding: 7px 10px; border-radius: 7px; color: var(--text-3); font-size: 12.5px; }
.docs-sidebar a:hover, .docs-sidebar a.active { background: var(--surface-3); color: var(--text); }
.docs-main { min-width: 0; }
.docs-main .section-panel { padding: 34px 0; border-bottom: 1px solid var(--border); }
.docs-main .section-panel:last-child { border-bottom: 0; }
.docs-grid { display: grid; gap: 14px; }
.docs-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.docs-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.download-card, .info-card, .scenario-card, .faq-item {
  padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); box-shadow: none;
}
.download-card { display: flex; flex-direction: column; }
.download-title { margin-top: 12px; font-size: 15px; font-weight: 650; }
.download-desc, .download-note { margin-top: 6px; color: var(--text-2); font-size: 12.5px; line-height: 1.7; }
.download-hint { margin-top: 8px; color: var(--text-3); font-size: 11.5px; }
.download-card .btn { align-self: flex-start; margin-top: 14px; }
.info-card h3 { margin: 12px 0 6px; font-size: 14px; }
.info-card p { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.7; }
.scenario-title { margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.method-list { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.8; }
.faq-list { display: grid; gap: 10px; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-question { display: flex; justify-content: space-between; gap: 10px; color: var(--text); font-size: 13.5px; font-weight: 600; }
.faq-question::after { content: "+"; color: var(--primary); font-weight: 500; }
.faq-item[open] .faq-question::after { content: "−"; }
.faq-answer { margin-top: 9px; color: var(--text-2); font-size: 12.5px; line-height: 1.75; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.pricing-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.pricing-head h3 { margin: 0 0 5px; font-size: 17px; }
.pricing-head p { margin: 0; color: var(--text-2); font-size: 12.5px; }
.pricing-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pricing-price strong { font-size: 30px; letter-spacing: -.03em; }
.pricing-price span { color: var(--text-3); font-size: 12px; }
.pricing-points { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 12.5px; }
.pricing-points li::before { content: "✓"; margin-right: 8px; color: var(--success); font-weight: 700; }
.pricing-card .btn { margin-top: auto; }
.hero-compact { padding: 58px 0 46px; }
.hero-compact .hero-title { font-size: clamp(30px, 4vw, 42px); }
.surface-steps { margin: 14px 0 18px; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.9; }

/* Footer */
.site-footer { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; padding: 0 0 36px; }
.site-footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 28px 0; border-top: 1px solid var(--border); }
.site-footer-brand { display: flex; align-items: flex-start; gap: 10px; }
.site-footer-brand img { width: 28px; height: 28px; }
.site-footer-brand strong { font-size: 13px; }
.site-footer-brand p { margin: 3px 0 0; color: var(--text-3); font-size: 11.5px; }
.site-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer-links a { color: var(--text-3); font-size: 12px; }
.site-footer-links a:hover { color: var(--primary); }
.site-footer-copy { padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 11px; }

/* Auth split layout */
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); min-height: calc(100vh - 64px); padding: 0; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 56px; background: linear-gradient(145deg, #0f172a, color-mix(in srgb, var(--product-theme) 52%, #0f172a) 60%, color-mix(in srgb, var(--product-theme) 78%, #0f172a)); color: #fff; }
.auth-aside h1 { margin: 20px 0 12px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -.03em; }
.auth-aside p { max-width: 420px; color: #cbd5e1; font-size: 14px; line-height: 1.8; }
.auth-aside-list { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; color: #e2e8f0; font-size: 13px; }
.auth-aside-list li::before { content: "✓"; margin-right: 8px; color: #86efac; }
.auth-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.auth-proof div { min-width: 0; display: grid; gap: 3px; }
.auth-proof strong { color: #f8fafc; font-size: 11.5px; font-weight: 650; }
.auth-proof small { color: #cbd5e1; font-size: 9.5px; line-height: 1.45; }
.auth-container { display: flex; align-items: center; justify-content: center; padding: 48px 28px; }
.auth-inner { width: min(400px, 100%); }
.auth-brand { text-align: left; margin: 0 0 22px; }
.auth-brand img { width: 40px; height: 40px; margin-bottom: 12px; }
.auth-brand h1 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
.auth-brand p { margin: 0; color: var(--text-2); font-size: 13px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-3); }
.auth-tab { padding: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.auth-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.auth-panel { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.auth-panel-heading { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.auth-panel-heading strong { font-size: 15px; }
.auth-panel-heading span { color: var(--text-3); font-size: 12px; }
.form-field { margin-bottom: 14px; }
.form-label { display: block; margin-bottom: 5px; color: var(--text-2); font-size: 12px; font-weight: 600; }
.auth-panel .form-control { border-radius: var(--radius); padding: 9px 11px; }
.auth-panel .btn { border-radius: var(--radius); padding: 10px; margin-top: 6px; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 42px; }
.password-toggle { position: absolute; top: 50%; right: 6px; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-3); transform: translateY(-50%); }
.password-toggle:hover { background: var(--surface-3); color: var(--primary); }
.auth-footer { display: flex; justify-content: center; gap: 16px; margin-top: 18px; }
.auth-footer a { color: var(--text-3); font-size: 12px; }
.auth-footer a:hover { color: var(--primary); }

/* Responsive */
@media (min-width: 1025px) {
  .features-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 720px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-sidebar { position: static; flex-direction: row; flex-wrap: wrap; padding: 0; }
  .docs-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-nav { min-height: 58px; gap: 10px; }
  .site-brand-copy span { display: none; }
  .site-nav-links {
    position: fixed; inset: 58px 12px auto; display: none !important; flex-direction: column;
    align-items: stretch; gap: 2px; padding: 8px; border: 1px solid var(--border);
    border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-lg);
  }
  .site-nav-links.is-open { display: flex !important; }
  .site-nav-link { padding: 10px 12px; }
  .site-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .theme-toggle, .announcement-trigger { width: 32px; height: 32px; }
  .account-info, .account-arrow { display: none; }
  .account-trigger { padding: 5px 7px; }
  .page-shell, .site-footer { width: calc(100% - 24px); }
  .docs-hero { margin-left: 0; margin-right: 0; padding: 38px 22px 34px; border-radius: var(--radius-lg); }
  .hero-section { padding: 48px 0 42px; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 14px; flex-wrap: wrap; }
  .products-section, .features-section, .section-panel, .section { padding: 46px 0; }
  .products-grid, .features-grid, .docs-grid-two, .docs-grid-four { grid-template-columns: 1fr; }
  .product-card { padding: 22px; }
  .ide-body { grid-template-columns: 1fr; }
  .ide-agent { border-left: 0; border-top: 1px solid #24344d; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-container { padding: 28px 16px; }
  .cta-actions .btn { width: 100%; }
  .site-footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
