/* ==========================================================================
   ZephAI — components: site chrome, mega menu, cards, tables, tabs,
   popovers, modals, toasts, code blocks, footer, auth, docs, status
   ========================================================================== */

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement {
  background: linear-gradient(90deg, var(--text), #17281f 60%, #1c3b2c);
  color: #d9e7e0;
  font-size: var(--fs-xs);
  position: relative;
  z-index: calc(var(--z-header) + 1);
}
[data-theme='dark'] .announcement { background: linear-gradient(90deg, #0d1a14, #123026 60%, #10263f); }
.announcement-inner { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-block: 6px; }
.announcement-pill {
  background: var(--brand); color: #04140d; font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-full); flex: none;
}
.announcement-text { flex: 1; color: inherit; opacity: 0.94; }
.announcement-text a { color: #8ff0c2; font-weight: 600; white-space: nowrap; }
.announcement-text a i { font-size: 0.7em; transition: transform var(--dur) var(--ease); display: inline-block; }
.announcement-text a:hover i { transform: translateX(3px); }
.announcement-close { color: inherit; opacity: 0.7; width: 26px; height: 26px; border-radius: var(--r-sm); }
.announcement-close:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
@media (max-width: 820px) { [data-banner-devices="desktop"] { display: none !important; } }
@media (min-width: 821px) { [data-banner-devices="mobile"] { display: none !important; } }
@media (max-width: 640px) {
  .announcement-text { font-size: var(--fs-2xs); }
  .announcement-pill { display: none; }
}

/* ==========================================================================
   Site header + mega menu
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header-inner { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-mark { width: auto; height: 26px; }
.brand-mark--dark { display: none; }
[data-theme='dark'] .brand-mark--light { display: none; }
[data-theme='dark'] .brand-mark--dark { display: block; }

.main-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding-inline: 13px; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 550; color: var(--text-2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.is-active, .nav-item.is-active > .nav-link { color: var(--text); background: var(--surface-2); font-weight: 650; }
.nav-caret { font-size: 0.62rem; opacity: 0.6; transition: transform var(--dur) var(--ease); }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

/* mega panel */
.mega {
  position: absolute; top: calc(100% + 12px); left: -12px;
  width: min(880px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: none;
  transform-origin: top left;
  z-index: var(--z-popover);
}
.nav-item.is-open .mega {
  display: block;
  animation: mega-in 0.18s var(--ease);
}
@keyframes mega-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 232px; gap: 22px; }
.mega-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)) 268px; }
.mega-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)) 268px; }
.mega-eyebrow {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 12px;
}
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-list > li > a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; margin-inline: -10px; border-radius: var(--r-md);
  transition: background-color var(--dur) var(--ease);
}
.mega-list > li > a:hover { background: var(--surface-2); }
.mega-list strong { display: block; font-size: var(--fs-xs); font-weight: 650; color: var(--text); line-height: 1.35; }
.mega-list em { display: block; font-style: normal; font-size: var(--fs-2xs); color: var(--text-3); line-height: 1.4; }
.mega-list a > span:nth-child(2) { flex: 1; min-width: 0; }
.mega-ico {
  width: 32px; height: 32px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-2); font-size: var(--fs-xs);
  transition: all var(--dur) var(--ease);
}
.mega-list a:hover .mega-ico { background: var(--brand-soft); color: var(--brand-text); }
.mega-ico--brand { background: var(--brand-soft); color: var(--brand-text); }

.mega-feature {
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 65%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.mega-feature--wide { grid-column: span 1; }
.mega-feature-body h3 { font-size: var(--fs-md); margin-block: 10px 8px; }
.mega-feature-body p { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; }
.mega-feature-body .btn { margin-top: 14px; }
.mega-feature code { font-family: var(--font-mono); font-size: 0.78em; color: var(--brand-text); }
.mega-stats { display: flex; gap: 18px; padding-top: 14px; border-top: 1px dashed var(--border); }
.mega-stats div { flex: 1; }
.mega-stats dt { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.mega-stats dd { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; margin-top: 2px; }

.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
}
.mega-all { font-size: var(--fs-xs); font-weight: 650; color: var(--brand-text); white-space: nowrap; }
.mega-all i { transition: transform var(--dur) var(--ease); display: inline-block; }
.mega-all:hover i { transform: translateX(3px); }
.mega-list--models .chip { flex: none; }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 9px;
  height: 36px; padding: 0 10px 0 12px; min-width: 210px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--text-3); font-size: var(--fs-xs);
  transition: all var(--dur) var(--ease);
}
.search-trigger:hover { border-color: var(--brand); color: var(--text-2); box-shadow: var(--shadow-sm); }
.search-trigger-label { flex: 1; text-align: left; }
.search-trigger .kbd { background: var(--surface-2); }

.theme-icon--alt { display: none; }
[data-theme='dark'] .theme-icon { display: none; }
[data-theme='dark'] .theme-icon--alt { display: block; }

.hamburger { display: none; }

@media (max-width: 1140px) {
  .search-trigger { min-width: 0; }
  .search-trigger-label { display: none; }
  .search-trigger .kbd { display: none; }
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .header-signin { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary span, .header-actions .btn-primary { padding-inline: 12px; }
}

/* ==========================================================================
   Left drawer (mobile nav)
   ========================================================================== */
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--surface); z-index: var(--z-drawer);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: transform 0.28s var(--ease);
  border-inline-end: 1px solid var(--border);
}
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer-backdrop { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(6, 15, 10, 0.42); opacity: 0; pointer-events: none; transition: opacity 0.22s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer-backdrop[hidden] { display: none; }
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); min-height: var(--header-h);
}
.drawer-body { padding: 18px 16px 24px; overflow-y: auto; flex: 1; }
.drawer-list { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 10px; }
.drawer-list a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--text-2);
}
.drawer-list a:hover { background: var(--surface-2); color: var(--text); }
.drawer-list a i { width: 18px; text-align: center; color: var(--text-3); }
.nav-simple {
  display: flex; align-items: center; height: 44px; padding-inline: 12px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-2);
  border-top: 1px solid var(--border);
}
.nav-simple.is-active { color: var(--brand-text); }
.drawer-actions { display: grid; gap: 10px; margin-top: 18px; }
.drawer-foot { display: grid; gap: 8px; margin-top: 14px; }

/* ==========================================================================
   Accordions (FAQ / drawer menus)
   ========================================================================== */
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 0; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 4px; text-align: left;
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--text);
  transition: color var(--dur) var(--ease);
}
.acc-trigger:hover { color: var(--brand-text); }
.acc-trigger i { color: var(--text-3); font-size: var(--fs-xs); transition: transform var(--dur) var(--ease); }
.acc-item.is-open .acc-trigger i { transform: rotate(180deg); color: var(--brand-text); }
.acc-panel { padding: 0 4px 18px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; }
.acc-panel[hidden] { display: none; }
.acc-panel ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.accordion--boxed .acc-item { border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; background: var(--surface); }
.accordion--boxed .acc-item.is-open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.accordion--boxed .acc-trigger { padding: 16px 18px; }
.accordion--boxed .acc-panel { padding: 0 18px 16px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.card--flat { box-shadow: none; }
.card--pad { padding: 22px; }
.card--hover { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.card-head h3, .card-head h4 { font-size: var(--fs-md); }
.card-body { padding: 20px; }
.card-body--tight { padding: 14px 16px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.card-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.feature-card {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: all var(--dur) var(--ease);
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(320px 160px at 0% 0%, var(--brand-soft), transparent 70%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-ico {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 1.1rem;
  background: var(--brand-soft); color: var(--brand-text); margin-bottom: 18px;
}
.feature-ico.ico-info { background: var(--info-soft); color: var(--info); }
.feature-ico.ico-purple { background: var(--purple-soft); color: var(--purple); }
.feature-ico.ico-warn { background: var(--warn-soft); color: var(--warn); }
.feature-ico.ico-ok { background: var(--ok-soft); color: var(--ok); }
.feature-card h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.feature-list { display: grid; gap: 8px; margin-top: 16px; }
.feature-list li { display: flex; gap: 9px; font-size: var(--fs-xs); color: var(--text-2); align-items: flex-start; }
.feature-list i { color: var(--brand); margin-top: 4px; font-size: 0.7rem; }

/* ==========================================================================
   Model cards (marketplace)
   ========================================================================== */
.model-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease); overflow: hidden;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.model-card-top { display: flex; align-items: flex-start; gap: 12px; }
.model-ico {
  width: 44px; height: 44px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; font-size: 1.05rem;
  background: var(--surface-3); color: var(--text);
  font-family: var(--font-display); font-weight: 700;
}
.model-ico.ico-brand { background: var(--brand-soft); color: var(--brand-text); }
.model-ico.ico-info { background: var(--info-soft); color: var(--info); }
.model-ico.ico-purple { background: var(--purple-soft); color: var(--purple); }
.model-ico.ico-warn { background: var(--warn-soft); color: var(--warn); }
.model-ico.ico-cyan { background: color-mix(in srgb, var(--cyan) 15%, transparent); color: var(--cyan); }
.model-name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.02em; }
.model-vendor { font-size: var(--fs-2xs); color: var(--text-3); display: flex; align-items: center; gap: 5px; }
.model-vendor i { color: var(--brand); font-size: 0.6rem; }
.model-desc { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.6; min-height: 44px; }
.model-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.model-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding-top: 14px; border-top: 1px dashed var(--border); margin-top: auto;
}
.model-stats div { text-align: center; }
.model-stats dt { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.model-stats dd { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 650; margin-top: 3px; }
.model-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.model-price { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--text); }
.model-price small { font-size: var(--fs-2xs); font-weight: 500; color: var(--text-3); font-family: var(--font-sans); }

/* catalog list view */
.model-grid--list { grid-template-columns: minmax(0, 1fr); }
.model-grid--list .model-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 200px 190px;
  grid-template-areas: "top desc stats foot" "top meta stats foot";
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
}
.model-grid--list .model-card-top { grid-area: top; align-items: center; }
.model-grid--list .model-card-top > div { min-width: 0; }
.model-grid--list .model-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-grid--list .model-vendor { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-grid--list .model-desc { grid-area: desc; min-height: 0; }
.model-grid--list .model-meta { grid-area: meta; }
.model-grid--list .model-stats { grid-area: stats; margin: 0; padding-top: 0; border-top: 0; }
.model-grid--list .model-foot { grid-area: foot; }
@media (max-width: 1180px) {
  .model-grid--list .model-card {
    grid-template-columns: 240px minmax(0, 1fr) 180px;
    grid-template-areas: "top desc stats" "top meta foot";
  }
  .model-grid--list .model-foot { justify-content: flex-end; }
}
@media (max-width: 820px) {
  .model-grid--list .model-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "desc" "meta" "stats" "foot";
  }
  .model-grid--list .model-stats { margin-top: 4px; }
}

/* ==========================================================================
   Vendor / testimonial / blog cards
   ========================================================================== */
.vendor-card {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
}
.vendor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.vendor-head { display: flex; gap: 12px; align-items: center; }
.vendor-head .avatar { width: 46px; height: 46px; border-radius: var(--r-md); font-size: var(--fs-sm); }
.vendor-stats { display: flex; gap: 16px; font-size: var(--fs-xs); color: var(--text-3); flex-wrap: wrap; }
.vendor-stats strong { color: var(--text); font-family: var(--font-display); }

.testimonial {
  padding: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; height: 100%;
}
.testimonial-quote { font-size: var(--fs-sm); line-height: 1.7; color: var(--text-2); flex: 1; }
.testimonial-quote::before { content: '“'; display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 0.6; color: var(--brand); margin-bottom: 12px; }
.testimonial-person { display: flex; align-items: center; gap: 11px; }
.testimonial-person strong { display: block; font-size: var(--fs-sm); }
.testimonial-person span { font-size: var(--fs-2xs); color: var(--text-3); }
.stars { color: var(--warn); font-size: var(--fs-2xs); letter-spacing: 2px; }

.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease); height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-cover {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  display: grid; place-items: center;
}
.post-cover i { font-size: 2.6rem; color: var(--text-3); opacity: 0.65; transition: transform var(--dur) var(--ease); }
.post-card:hover .post-cover i { transform: scale(1.12); }
.post-cover .chip { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font-size: var(--fs-md); line-height: 1.35; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-2xs); color: var(--text-3); margin-top: auto; padding-top: 6px; }

/* ==========================================================================
   Steps / timeline
   ========================================================================== */
.step { position: relative; padding-left: 56px; padding-bottom: 30px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: -4px; width: 2px;
  background: linear-gradient(var(--border), transparent);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-2);
}
.step.is-active .step-num, .step--done .step-num { background: var(--brand); border-color: var(--brand); color: #04140d; }

/* horizontal variant: steps laid out inside a grid */
.grid:has(> .step) > .step { padding-bottom: 6px; }
.grid:has(> .step) > .step::before {
  top: 19px; left: 56px; right: -22px; bottom: auto;
  width: auto; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--border-strong), transparent 88%);
}
.grid:has(> .step) > .step:last-child::before { display: none; }
.grid:has(> .step) > .step .step-num { background: var(--surface); z-index: 1; }
@media (max-width: 1100px) {
  .grid:has(> .step) > .step::before { display: none; }
  .grid:has(> .step) > .step { padding-bottom: 18px; }
}
.step h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: var(--fs-sm); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--brand);
}
.timeline-item--muted::before { border-color: var(--border-strong); }
.timeline-item--warn::before { border-color: var(--warn); }
.timeline-date { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.timeline-item h4 { font-size: var(--fs-sm); margin-block: 5px; }
.timeline-item p { font-size: var(--fs-xs); color: var(--text-2); }

/* ==========================================================================
   Code blocks
   ========================================================================== */
.code {
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.code-head {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; background: var(--surface-2);
  border-bottom: 1px solid var(--border); min-height: 44px;
}
.code-dots { display: flex; gap: 6px; margin-right: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.code-dots span:nth-child(1) { background: #f4645f; }
.code-dots span:nth-child(2) { background: #f6c04a; }
.code-dots span:nth-child(3) { background: #4bc878; }
.code-tabs { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.code-tab {
  padding: 5px 11px; border-radius: var(--r-sm); font-family: var(--font-mono);
  font-size: var(--fs-2xs); color: var(--text-3); white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.code-tab:hover { color: var(--text); background: var(--surface-3); }
.code-tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); font-weight: 600; }
.code-copy { color: var(--text-3); width: 30px; height: 30px; border-radius: var(--r-sm); }
.code-copy:hover { background: var(--surface-3); color: var(--text); }
.code-body { padding: 16px 18px; overflow-x: auto; }
.code-body pre { margin: 0; font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.75; color: var(--text-2); }
.code-panel[hidden] { display: none; }
.tok-key { color: var(--purple); }
.tok-str { color: var(--brand-text); }
.tok-num { color: var(--info); }
.tok-com { color: var(--text-3); font-style: italic; }
.tok-fn { color: var(--info); }
.tok-cmd { color: var(--text); font-weight: 600; }
.tok-prop { color: var(--cyan); }
.code--terminal .code-body pre { color: #cfe9dc; }
[data-theme='light'] .code--terminal .code-body { background: #0c1512; }
/* terminal blocks keep a dark surface in both themes — force readable token colours */
.code--terminal .tok-cmd { color: #ffffff; }
.code--terminal .tok-str { color: #7ee2a8; }
.code--terminal .tok-com { color: #7f968c; }
.code--terminal .tok-key { color: #a99bf9; }
.code--terminal .tok-prop { color: #6fd3e4; }
.code--terminal .tok-num,
.code--terminal .tok-fn { color: #8ab6ff; }

.method {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 20px; padding-inline: 7px; border-radius: var(--r-xs);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
}
.method--get { background: var(--info-soft); color: var(--info); }
.method--post { background: var(--ok-soft); color: var(--ok); }
.method--delete { background: var(--danger-soft); color: var(--danger); }

.endpoint-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); transition: all var(--dur) var(--ease);
}
.endpoint-row:hover { border-color: var(--brand); background: var(--surface-2); }
.endpoint-row code { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text); flex: 1; min-width: 0; overflow-x: auto; }
.endpoint-row .fa-copy { color: var(--text-3); }
.endpoint-row:hover .fa-copy { color: var(--brand-text); }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.table-toolbar .input { max-width: 260px; }
.table-scroll { overflow-x: auto; }
.table { font-size: var(--fs-sm); min-width: 640px; }
.table thead th {
  text-align: left; font-size: var(--fs-2xs); font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-3); padding: 12px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color var(--dur) var(--ease); }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr.is-selected { background: var(--brand-soft); }
.table .cell-main { color: var(--text); font-weight: 600; }
.table .cell-sub { display: block; font-size: var(--fs-2xs); color: var(--text-3); font-weight: 400; }
.table .cell-actions { display: flex; gap: 4px; justify-content: flex-end; }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort] i { opacity: 0.4; margin-left: 5px; font-size: 0.6rem; }
.table th[data-sort]:hover i, .table th.is-sorted i { opacity: 1; color: var(--brand-text); }
.table--compact tbody td { padding: 10px 14px; }
.table-check { width: 42px; }
.table-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: var(--fs-xs); color: var(--text-3);
  flex-wrap: wrap;
}

/* pagination */
.pagination { display: flex; align-items: center; gap: 4px; }
.page-btn {
  min-width: 32px; height: 32px; padding-inline: 8px; border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-2);
  display: inline-grid; place-items: center; transition: all var(--dur) var(--ease);
}
.page-btn:hover { background: var(--surface-3); color: var(--text); }
.page-btn.is-active { background: var(--brand); color: var(--text-invert); box-shadow: var(--shadow-xs); }
[data-theme='dark'] .page-btn.is-active { color: #04140d; }
.page-btn:disabled { opacity: 0.4; pointer-events: none; }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 12px 16px; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-3); white-space: nowrap; transition: color var(--dur) var(--ease);
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); }
.tab.is-active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.tab .chip { margin-left: 6px; }
.tab-panel[hidden] { display: none; }
[data-tabs] { scroll-margin-top: calc(var(--header-h) + 32px); }
.tab-panel { padding-top: var(--sp-6); }
.tabs--pills { border-bottom: 0; background: var(--surface-2); padding: 4px; border-radius: var(--r-md); }
.tabs--pills .tab { padding: 7px 14px; border-radius: var(--r-sm); font-size: var(--fs-xs); }
.tabs--pills .tab.is-active { background: var(--surface); box-shadow: var(--shadow-xs); }
.tabs--pills .tab.is-active::after { display: none; }

/* ==========================================================================
   Popovers & menus
   ========================================================================== */
.popover-anchor { position: relative; display: inline-flex; }
.popover {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: var(--z-popover);
  min-width: 240px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.popover.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.popover--right { left: auto; right: 0; transform-origin: top right; }
.popover--left { left: auto; right: 0; transform-origin: top right; }
.popover--up { top: auto; bottom: calc(100% + 10px); transform-origin: bottom left; }
.popover--up.popover--right, .popover--up.popover--left { transform-origin: bottom right; }
.popover--wide { min-width: 320px; }
.popover--sm { min-width: 190px; padding: 6px; }
.popover-title { padding: 8px 10px 6px; font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 650; }
.popover-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.popover-head strong { font-size: var(--fs-sm); }
.popover-foot { border-top: 1px solid var(--border); margin-top: 6px; padding: 10px 10px 6px; }
.popover-user { display: flex; gap: 11px; align-items: center; padding: 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.popover-user strong { display: block; font-size: var(--fs-sm); }
.popover-user p { font-size: var(--fs-2xs); color: var(--text-3); }

.menu { display: flex; flex-direction: column; gap: 1px; }
.menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border-radius: var(--r-sm); font-size: var(--fs-sm);
  color: var(--text-2); text-align: left;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.menu-item:hover { background: var(--surface-2); color: var(--text); }
.menu-item i { width: 16px; text-align: center; color: var(--text-3); font-size: var(--fs-xs); }
.menu-item--danger { color: var(--danger); }
.menu-item--danger:hover { background: var(--danger-soft); color: var(--danger); }
.menu-item--danger i { color: var(--danger); }
.menu-item.is-selected { color: var(--brand-text); background: var(--brand-soft); }
.menu-item.is-selected i { color: var(--brand-text); }
.menu-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.menu-label { padding: 8px 10px 4px; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 650; }
.menu-ico-spacer { width: 16px; }

.notif-list { display: flex; flex-direction: column; gap: 2px; max-height: 330px; overflow-y: auto; }
.notif { display: flex; gap: 11px; align-items: flex-start; padding: 10px; border-radius: var(--r-md); transition: background var(--dur) var(--ease); }
.notif:hover { background: var(--surface-2); }
.notif-ico { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; font-size: var(--fs-xs); }
.notif-ico.ico-brand { background: var(--brand-soft); color: var(--brand-text); }
.notif-ico.ico-warn { background: var(--warn-soft); color: var(--warn); }
.notif-ico.ico-ok { background: var(--ok-soft); color: var(--ok); }
.notif-ico.ico-info { background: var(--info-soft); color: var(--info); }
.notif p { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.45; }
.notif strong { color: var(--text); }
.notif-time { font-size: 0.66rem; color: var(--text-3); }
.notif > div { flex: 1; }
.notif .dot { margin-top: 6px; }
.notif.is-unread { background: var(--brand-soft); }
.notif.is-unread:hover { background: var(--brand-soft-2); }
.notif.is-unread p { color: var(--text); }

.theme-options { display: flex; flex-direction: column; gap: 2px; }
.theme-option {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px;
  border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text-2); text-align: left;
}
.theme-option:hover { background: var(--surface-2); color: var(--text); }
.theme-option.is-active { background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.theme-swatch {
  width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center;
  border: 1px solid var(--border-strong); font-size: 0.7rem;
}
.theme-swatch--light { background: #ffffff; color: #0b1310; }
.theme-swatch--dark { background: #0f1514; color: #e8f0ec; }
.theme-swatch--system { background: linear-gradient(135deg, #fff 50%, #0f1514 50%); color: var(--text-2); }
.theme-check { margin-left: auto; opacity: 0; }
.theme-option.is-active .theme-check { opacity: 1; }

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; background: var(--scrim); z-index: var(--z-modal);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  position: fixed; inset: 0; z-index: calc(var(--z-modal) + 1);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0.2s;
  pointer-events: none;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-box {
  width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.98); transition: transform 0.24s var(--ease);
}
.modal.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-box--lg { width: min(760px, 100%); }
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px 22px 0;
}
.modal-head h3 { font-size: var(--fs-lg); }
.modal-head p { font-size: var(--fs-xs); color: var(--text-2); margin-top: 5px; }
.modal-body { padding: 18px 22px; }
.modal-foot {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 22px; border-top: 1px solid var(--border); background: var(--surface-2);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

/* ==========================================================================
   Toasts
   ========================================================================== */
.toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  pointer-events: none;
}
.toast {
  display: flex; gap: 11px; align-items: flex-start;
  min-width: 280px; max-width: 380px; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm); color: var(--text-2); pointer-events: auto;
  animation: toast-in 0.28s var(--ease);
}
.toast.is-leaving { animation: toast-out 0.24s var(--ease) forwards; }
.toast i { margin-top: 3px; }
.toast strong { color: var(--text); display: block; font-size: var(--fs-sm); }
.toast p { font-size: var(--fs-xs); }
.toast--success > i { color: var(--ok); }
.toast--warning > i { color: var(--warn); }
.toast--error > i { color: var(--danger); }
.toast--info > i { color: var(--info); }
.toast-body { flex: 1; }
.toast-close { color: var(--text-3); width: 22px; height: 22px; border-radius: var(--r-xs); }
.toast-close:hover { background: var(--surface-3); color: var(--text); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }

/* ==========================================================================
   Command palette
   ========================================================================== */
.palette-backdrop {
  position: fixed; inset: 0; background: var(--scrim); z-index: var(--z-modal);
  backdrop-filter: blur(3px);
}
.palette-backdrop[hidden] { display: none; }
.palette {
  position: fixed; top: 14vh; left: 50%; transform: translateX(-50%) scale(0.98);
  width: min(640px, calc(100vw - 32px)); z-index: calc(var(--z-modal) + 1);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.palette.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
.palette[hidden] { display: none; }
.palette-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.palette-head i { color: var(--text-3); }
.palette-input { flex: 1; border: 0; background: transparent; font-size: var(--fs-md); outline: none; }
.palette-input::placeholder { color: var(--text-3); }
.palette-results { max-height: 46vh; overflow-y: auto; padding: 10px; }
.palette-group-label {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-3); font-weight: 650; padding: 8px 10px 6px;
}
.palette-list { display: flex; flex-direction: column; gap: 2px; }
.palette-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: var(--r-md); text-align: left;
  font-size: var(--fs-sm); color: var(--text-2);
}
.palette-item:hover, .palette-item.is-active { background: var(--surface-2); color: var(--text); }
.palette-item.is-active { box-shadow: inset 2px 0 0 var(--brand); }
.palette-item i { width: 18px; text-align: center; color: var(--text-3); }
.palette-item.is-active i { color: var(--brand-text); }
.palette-item span { flex: 1; min-width: 0; }
.palette-item em { font-style: normal; font-size: var(--fs-2xs); color: var(--text-3); }
.palette-empty { text-align: center; padding: 26px 10px; color: var(--text-3); font-size: var(--fs-sm); }
.palette-empty[hidden] { display: none; }
.palette-foot {
  display: flex; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--border);
  background: var(--surface-2); font-size: var(--fs-2xs); color: var(--text-3); flex-wrap: wrap;
}
.palette-foot .kbd { margin-right: 3px; }
.palette-foot-right { margin-left: auto; }

/* ==========================================================================
   Hero (public home)
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.8rem, 5.5vw, 5rem) clamp(2.8rem, 5vw, 4.5rem); }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  max-width: 1600px;
  margin-inline: auto;
}
.hero-copy { min-width: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); letter-spacing: -0.038em; line-height: 1.03; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { margin-top: 20px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text-2); max-width: 54ch; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.hero-proof .avatar-stack .avatar { width: 30px; height: 30px; font-size: 0.58rem; margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
.hero-proof .avatar-stack .avatar:first-child { margin-left: 0; }
.hero-proof p { font-size: var(--fs-xs); color: var(--text-3); }
.hero-proof strong { color: var(--text); }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px;
  margin-top: 30px; padding-top: 24px; border-top: 1px dashed var(--border);
}
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; }
.hero-trust-item span { font-size: var(--fs-2xs); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-panel { position: relative; width: 100%; max-width: 620px; margin-left: auto; }
.hero-glow {
  position: absolute; inset: -14% -6% -8% -6%;
  background: radial-gradient(50% 50% at 60% 30%, var(--brand-soft), transparent 70%);
  filter: blur(10px); z-index: -1;
}

.hero-terminal { box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.hero-terminal .code-head { background: #101a17; border-bottom-color: #1e2b26; }
.hero-terminal .code-body { padding: 18px; min-height: 250px; }
.hero-terminal .code-body pre { font-size: 0.78rem; line-height: 1.7; }
.hero-terminal .code-head .mono { color: #7f968c; }

.logo-strip { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.logo-strip span {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md);
  color: var(--text-3); letter-spacing: -0.02em; opacity: 0.85;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.logo-strip span:hover { color: var(--text); opacity: 1; }

.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--text-3); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stat cards */
.stat-card {
  position: relative; padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.stat-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.stat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-3); font-weight: 650; }
.stat-ico { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font-size: var(--fs-sm); }
.stat-value { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; line-height: 1.1; }
.stat-value small { font-size: var(--fs-md); color: var(--text-3); font-weight: 600; }
.stat-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--fs-xs); color: var(--text-3); }
.delta { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: var(--fs-xs); }
.delta--up { color: var(--ok); }
.delta--down { color: var(--danger); }
.delta--flat { color: var(--text-3); }
.stat-spark { position: absolute; right: 0; bottom: 0; opacity: 0.6; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 18px;
  transition: all var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow-md); }
.price-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #04140d; font-size: var(--fs-3xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; padding: 5px 13px; border-radius: var(--r-full);
}
.price-name { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 650; }
.price-amount { display: flex; align-items: baseline; gap: 6px; }
.price-amount strong { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 700; letter-spacing: -0.04em; }
.price-amount span { color: var(--text-3); font-size: var(--fs-sm); }
.price-desc { font-size: var(--fs-xs); color: var(--text-2); }
.price-features { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--border); }
.price-features li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); align-items: flex-start; }
.price-features i { color: var(--brand); margin-top: 4px; font-size: 0.72rem; }
.price-features li.is-muted { opacity: 0.5; }
.price-features li.is-muted i { color: var(--text-3); }

.compare-table { min-width: 720px; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table .yes { color: var(--brand); }
.compare-table .no { color: var(--text-3); opacity: 0.6; }
.compare-table .partial { color: var(--warn); font-size: var(--fs-2xs); font-weight: 650; }
.compare-models .cmp-col { text-align: center; }
.compare-models tbody tr:hover { background: var(--surface-2); }
.footer-legal { color: var(--text-3); }
.footer-legal:hover { color: var(--brand-text); }

/* ==========================================================================
   FAQ / CTA / misc blocks
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--text) 0%, #12241c 55%, #173a2b 100%);
  color: #eaf4ef; border-radius: var(--r-2xl); padding: clamp(2rem, 5vw, 3.6rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
[data-theme='dark'] .cta-band { background: linear-gradient(135deg, #0e1a15 0%, #123026 55%, #10263f 100%); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 20ch; }
.cta-band p { color: rgba(234, 244, 239, 0.75); margin-top: 12px; max-width: 46ch; font-size: var(--fs-sm); }
.cta-band .btn-outline { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }

.quote-block {
  padding: 0;
  font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.5; letter-spacing: -0.02em;
}

.faq-list { max-width: 820px; margin-inline: auto; }

.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }

/* ==========================================================================
   Empty / skeleton / loading
   ========================================================================== */
.empty {
  text-align: center; padding: 46px 24px; display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.empty-ico {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-3); font-size: 1.4rem; margin-bottom: 6px;
}
.empty h3 { font-size: var(--fs-lg); }
.empty p { color: var(--text-3); font-size: var(--fs-sm); max-width: 42ch; }

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ==========================================================================
   Tooltip layer (JS-positioned, never clipped by overflow containers)
   ========================================================================== */
.tooltip-layer {
  position: fixed; z-index: 220; top: 0; left: 0;
  max-width: 280px; padding: 6px 10px;
  background: var(--text); color: var(--bg);
  border-radius: var(--r-sm); font-size: var(--fs-2xs); font-weight: 500;
  line-height: 1.35; text-align: center;
  pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 8px));
  transition: opacity 0.14s var(--ease), transform 0.14s var(--ease);
  box-shadow: var(--shadow-md);
}
[data-theme='dark'] .tooltip-layer { background: var(--surface-3); color: var(--text); border: 1px solid var(--border-strong); }
.tooltip-layer.is-visible { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.tooltip-layer.is-below { transform: translate(-50%, 10px); }
.tooltip-layer.is-below.is-visible { transform: translate(-50%, 12px); }
[data-tip]::after { content: none !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: clamp(3rem, 6vw, 5rem); }
.footer-cta { border-bottom: 1px solid var(--border); background: var(--surface-inset); }
.footer-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 26px; padding-block: clamp(2rem, 4vw, 3rem);
}
.footer-cta-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 12px; }
.footer-cta-copy p { color: var(--text-2); margin-top: 10px; font-size: var(--fs-sm); max-width: 52ch; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  max-width: 1600px; margin-inline: auto;
  gap: clamp(1.5rem, 3vw, 2.6rem); padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-blurb { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.65; max-width: 42ch; }
.newsletter { margin-top: 20px; max-width: 380px; }
.newsletter .input-group { margin-bottom: 8px; }
.social-list { display: flex; gap: 8px; margin-top: 18px; }
.social-list .icon-btn { border: 1px solid var(--border); background: var(--surface-2); }
.social-list .icon-btn:hover { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 7px 13px; border-radius: var(--r-full); background: var(--ok-soft);
  color: var(--ok); font-size: var(--fs-2xs); font-weight: 650;
}
.status-pill-uptime { color: var(--text-3); font-weight: 500; }

.footer-col h3 {
  font-family: var(--font-sans); font-size: var(--fs-2xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-2); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--brand-text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-block: 20px; border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-3);
}
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.pay-list { display: flex; gap: 9px; font-size: 1.35rem; color: var(--text-3); }
.pay-list li { transition: color var(--dur) var(--ease); }
.pay-list li:hover { color: var(--text); }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { margin-top: 26px; margin-inline: auto; max-width: 640px; }
  .hero { padding-top: 2.2rem; }
}
@media (max-width: 620px) {
  .hero-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .hero-proof { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: span 1; }
}

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-aside {
  position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.4rem);
  background: linear-gradient(150deg, #0b1512, #12281f 55%, #14304d);
  color: #dfeee7; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.auth-aside .mesh-bg { opacity: 0.5; }
.auth-aside-inner { position: relative; }
.auth-aside h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin-top: 30px; }
.auth-aside p { color: rgba(223, 238, 231, 0.76); margin-top: 14px; font-size: var(--fs-sm); line-height: 1.65; max-width: 44ch; }
.auth-points { display: grid; gap: 14px; margin-top: 26px; }
.auth-points li { display: flex; gap: 11px; font-size: var(--fs-sm); color: rgba(223, 238, 231, 0.9); }
.auth-points i { color: var(--brand); margin-top: 4px; }
.auth-quote {
  position: relative; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg); padding: 18px 20px; backdrop-filter: blur(6px);
}
.auth-quote p { color: #eaf4ef; font-size: var(--fs-sm); margin-top: 0; }
.auth-quote footer { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: var(--fs-2xs); color: rgba(223, 238, 231, 0.7); }
.auth-main { display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); overflow-y: auto; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-card { width: min(430px, 100%); margin: auto; padding-block: 34px; }
.auth-card h1 { font-size: var(--fs-3xl); }
.auth-card > p.sub { color: var(--text-2); margin-top: 10px; font-size: var(--fs-sm); }
.auth-form { margin-top: 28px; display: grid; gap: 16px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: var(--fs-sm); color: var(--text-2); }
.auth-alt a { color: var(--brand-text); font-weight: 650; }
.oauth-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.or-line { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: 0.1em; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-foot { text-align: center; font-size: var(--fs-xs); color: var(--text-3); padding-top: 20px; }
.auth-brandbar { display: none; }

@media (max-width: 940px) {
  .auth-page { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .auth-brandbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
}

/* ==========================================================================
   Docs page
   ========================================================================== */
.docs-layout {
  display: grid; grid-template-columns: 248px minmax(0, 1fr) 220px;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%; max-width: 100%; margin-inline: auto; padding-inline: clamp(1rem, 2.6vw, 2.75rem);
  align-items: start;
}
@media (min-width: 2200px) { .docs-layout { max-width: 2160px; } }
.docs-layout--toc { grid-template-columns: 220px minmax(0, 1fr); }
.docs-nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-bottom: 30px; }
.docs-nav h4 {
  font-family: var(--font-sans); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-3); margin: 22px 0 8px;
}
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a {
  display: block; padding: 7px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--text-2);
  transition: all var(--dur) var(--ease);
}
.docs-nav a:hover { color: var(--text); background: var(--surface-2); }
.docs-nav a.is-active { color: var(--brand-text); background: var(--brand-soft); font-weight: 600; }
.docs-content { min-width: 0; padding-bottom: 60px; }
.docs-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-xs); }
.docs-toc p { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 650; margin-bottom: 10px; }
.docs-toc a { display: block; padding: 5px 0; color: var(--text-3); transition: color var(--dur) var(--ease); }
.docs-toc a:hover, .docs-toc a.is-active { color: var(--brand-text); }
.docs-section { padding-top: 34px; scroll-margin-top: calc(var(--header-h) + 24px); }
.docs-section h2 { font-size: var(--fs-2xl); margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.docs-section h3 { font-size: var(--fs-lg); margin: 26px 0 8px; }
.docs-section p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 10px; line-height: 1.7; }
.docs-section ul { list-style: disc; padding-left: 22px; color: var(--text-2); font-size: var(--fs-sm); display: grid; gap: 7px; margin-top: 10px; }
.docs-section li::marker { color: var(--brand); }
.docs-lead { font-size: var(--fs-lg) !important; color: var(--text-2); }
.param-table { min-width: 560px; }
.param-name { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--purple); }
.req-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--danger); font-weight: 700; }
.opt-tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 700; }

@media (max-width: 1100px) {
  .docs-layout, .docs-layout--toc { grid-template-columns: minmax(0, 1fr); }
  .docs-nav, .docs-toc { position: static; max-height: none; }
  .docs-nav { display: none; }
}

/* ==========================================================================
   Status page
   ========================================================================== */
.uptime-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.uptime-row { display: grid; grid-template-columns: minmax(160px, 1.4fr) minmax(0, 3fr) 92px; gap: 16px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.uptime-row:last-child { border-bottom: 0; }
.uptime-name { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.uptime-name i { color: var(--text-3); width: 16px; }
.uptime-bars { display: flex; gap: 2px; height: 30px; align-items: stretch; }
.uptime-bars span { flex: 1; border-radius: 2px; background: var(--ok); opacity: 0.85; transition: transform var(--dur) var(--ease); min-width: 3px; }
.uptime-bars span:hover { transform: scaleY(1.15); opacity: 1; }
.uptime-bars span.deg { background: var(--warn); }
.uptime-bars span.down { background: var(--danger); }
.uptime-pct { text-align: right; font-family: var(--font-display); font-weight: 650; font-size: var(--fs-sm); }
.uptime-legend { display: flex; justify-content: space-between; font-size: var(--fs-2xs); color: var(--text-3); padding: 8px 18px; }

.incident { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; background: var(--surface); }
.incident + .incident { margin-top: 12px; }
.incident-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.incident h4 { font-size: var(--fs-md); }
.incident-log { margin-top: 14px; padding-left: 16px; border-left: 2px solid var(--border); display: grid; gap: 12px; }
.incident-log div { font-size: var(--fs-xs); color: var(--text-2); }
.incident-log time { display: block; font-family: var(--font-mono); font-size: var(--fs-3xs); color: var(--text-3); text-transform: uppercase; }

@media (max-width: 720px) {
  .uptime-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .uptime-pct { text-align: left; }
}

/* filter + results split (catalog page) */
.split-filters {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 1080px) {
  .split-filters { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Notification bell, popover and detail modal
   ========================================================================== */
.pref-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pref-fieldset[disabled] { opacity: .72; }
.notif-modal-demo { margin-bottom: 16px; }
.notif-anchor { position: relative; }
.popover--notif {
  width: min(392px, calc(100vw - 20px));
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.notif-pop-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 16px 10px;
}
.notif-pop-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-pop-title strong { font-size: var(--fs-sm); }
.notif-pop-count { font-size: var(--fs-2xs); color: var(--text-3); }
.notif-pop-head form { flex: none; }
.notif-pop-head .link-btn:disabled { opacity: .45; cursor: default; }
.notif-tabs {
  display: flex; gap: 4px; padding: 0 12px 10px; border-bottom: 1px solid var(--border);
}
.notif-tab {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent; background: none; color: var(--text-3);
  border-radius: 999px; padding: 5px 10px; font-size: var(--fs-2xs); font-weight: 600;
  cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.notif-tab:hover { background: var(--surface-2); color: var(--text); }
.notif-tab.is-active { background: var(--brand-soft); color: var(--brand-text); border-color: transparent; }
.notif-tab-count {
  min-width: 18px; padding: 1px 5px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-2);
  font-size: .58rem; line-height: 1.4; text-align: center;
}
.notif-tab.is-active .notif-tab-count { background: var(--brand); color: var(--text-invert); }
.notif-scroll { max-height: min(420px, calc(100vh - 230px)); overflow-y: auto; overscroll-behavior: contain; }
.notif-list { display: flex; flex-direction: column; gap: 0; max-height: none; overflow: visible; }
.notif-item {
  position: relative; display: flex; align-items: stretch; gap: 0;
  border-bottom: 1px solid var(--border); background: var(--surface);
  transition: background var(--dur) var(--ease);
}
.notif-item:last-child { border-bottom: 0; }
.notif-main {
  display: flex; align-items: flex-start; gap: 11px; flex: 1; min-width: 0;
  padding: 12px 8px 12px 14px; border: 0; background: none; color: inherit;
  text-align: left; cursor: pointer;
}
.notif-main:hover { background: var(--surface-2); }
.notif-item.is-unread { background: var(--brand-soft); }
.notif-item.is-unread:hover { background: var(--brand-soft-2); }
.notif-item.is-unread .notif-main,
.notif-item.is-unread .notif-main:hover { background: transparent; }
.notif-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.notif-copy strong { color: var(--text); font-size: var(--fs-xs); line-height: 1.35; }
.notif-body { color: var(--text-2); font-size: var(--fs-2xs); line-height: 1.45; }
.notif-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px;
  color: var(--text-3); font-size: .62rem; line-height: 1.4;
}
.notif-meta span { display: inline-flex; align-items: center; gap: 3px; }
.notif-meta span + span::before { content: '·'; color: var(--border-strong); margin-right: 3px; }
.notif-actions {
  display: flex; align-items: center; gap: 2px; flex: none;
  padding: 8px 8px 8px 0; opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.notif-item:hover .notif-actions,
.notif-item:focus-within .notif-actions,
.notif-item.is-unread .notif-actions { opacity: 1; }
.notif-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 28px; height: 28px; border: 0; border-radius: var(--r-sm);
  background: none; color: var(--text-3); font-size: var(--fs-2xs); cursor: pointer;
}
.notif-action:hover { background: var(--surface-3); color: var(--text); }
.notif-action--danger:hover { background: var(--danger-soft); color: var(--danger); }
.notif-empty { display: flex; align-items: flex-start; gap: 11px; padding: 22px 16px; }
.notif-empty strong { display: block; font-size: var(--fs-xs); }
.notif-empty span { font-size: var(--fs-2xs); color: var(--text-3); }
.notif-empty .notif-ico { flex: none; }
.notif-loading, .notif-error {
  display: flex; align-items: center; gap: 8px;
  padding: 16px; font-size: var(--fs-2xs); color: var(--text-3);
}
.notif-error { color: var(--danger); }
.notif-pop-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-top: 1px solid var(--border); background: var(--surface-2);
}
.notif-list--page { max-height: none; }
.notif-list--page .notif-main { padding: 16px 18px; }
.notif-list--page .notif-copy strong { font-size: var(--fs-sm); }
.notif-list--page .notif-body--full { font-size: var(--fs-xs); white-space: pre-line; }
.notif-list--page .notif-actions { opacity: 1; padding-right: 14px; }
.notif-list--page .notif-action {
  width: auto; height: 32px; padding: 0 9px;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface);
}
.notif-action-label { display: inline; }
.notif-modal-head { display: flex; align-items: flex-start; gap: 12px; }
.notif-modal-head .notif-ico { width: 42px; height: 42px; font-size: var(--fs-sm); }
.notif-modal-head h3 { margin-top: 2px; }
.notif-modal-body { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; white-space: pre-line; }
.notif-modal-body:empty { display: none; }
.notif-modal-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.notif-modal-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notif-modal-spacer { flex: 1; }
.notif-delete { color: var(--danger); }
.notif-delete:hover { background: var(--danger-soft); color: var(--danger); }
.notif-ico.ico-danger { background: var(--danger-soft); color: var(--danger); }
.notif-ico.ico-purple { background: var(--purple-soft); color: var(--purple); }
@media (max-width: 480px) {
  .popover--notif {
    position: fixed; left: 10px !important; right: 10px !important;
    top: calc(var(--header-h) + 8px); width: auto; max-height: calc(100vh - var(--header-h) - 18px);
  }
  .notif-scroll { max-height: calc(100vh - var(--header-h) - 190px); }
  .notif-actions { opacity: 1; }
  .notif-list--page .notif-actions { flex-direction: column; padding: 10px 10px 10px 0; }
  .notif-list--page .notif-action-label { display: none; }
}
@media (hover: none) {
  .notif-actions { opacity: 1; }
}

/* Public demo notice */
.demo-notice { background: #0b1711; color: #cfe3d7; border-bottom: 1px solid rgba(255,255,255,.09); font-size: var(--fs-2xs); }
.demo-notice-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 0; }
.demo-notice-copy { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.demo-notice-copy i { color: var(--brand); }
.demo-notice-copy strong { color: #f2fbf5; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.demo-notice-copy span { color: #9eb5a7; }
.demo-notice-links { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.demo-notice-links a { display: inline-flex; align-items: center; gap: 5px; color: #b7e8c9; font-weight: 600; }
.demo-notice-links a:hover { color: #fff; }
.demo-notice-links i { font-size: .6rem; }
@media (max-width: 640px) {
  .demo-notice-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding: 7px 0; }
  .demo-notice-copy span { display: none; }
}
