
@font-face {
font-family: 'Thmanyah Serif Display';
src: url('/assets/fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Thmanyah Serif Display';
src: url('/assets/fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Thmanyah Serif Display';
src: url('/assets/fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Source Serif 4';
src: url('/assets/fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype-variations');
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Source Serif 4';
src: url('/assets/fonts/SourceSerif4-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
font-weight: 200 900;
font-style: italic;
font-display: swap;
}
:root {
--primary:           #B08D57;
--primary-hover:     #9E7C48;
--primary-active:    #7A5C2E;
--primary-strong:    #8A6B3C;
--primary-tint:      rgba(176, 141, 87, 0.12);
--primary-glow:      rgba(176, 141, 87, 0.25);
--on-primary:        #1F1A10;
--primary-text:      #7A5C2E;
--secondary:         #3F5E7D;
--secondary-hover:   #34506B;
--secondary-tint:    rgba(63, 94, 125, 0.08);
--on-secondary:      #FFFFFF;
--bg:                #FAF8F3;
--bg-elevated:       #FFFFFF;
--surface:           #FFFFFF;
--surface-1:         #FDFCF8;
--surface-2:         #F3F0E8;
--hover:             rgba(38, 34, 27, 0.05);
--surface-3:         #EBE7DC;
--border:            #E6E0D2;
--border-2:          #D3CAB6;
--border-soft:       #F0EBDE;
--text:              #26221B;
--text-2:            #4F483C;
--text-3:            #6F6859;
--text-inverse:      #FFFFFF;
--success:           #1F7A4D;
--success-soft:      #E3F2E9;
--warning:           #B45309;
--warning-soft:      #FBEDD5;
--error:             #B42318;
--error-soft:        #FCE5E3;
--info:              #2B5F94;
--info-soft:         #E2ECF5;
--search-highlight:  #FBE7A1;
--focus-ring:        rgba(176, 141, 87, 0.45);
--src-law:           #2E4A6B;
--src-ruling:        #7A3E8E;
--src-regulation:    #0F766E;
--src-contract:      #9A5B13;
--shadow-color:      60, 45, 25;
--shadow-sm: 0 1px 2px rgba(var(--shadow-color), 0.06);
--shadow:    0 4px 16px rgba(var(--shadow-color), 0.08);
--shadow-lg: 0 12px 40px rgba(var(--shadow-color), 0.10);
--shadow-xl: 0 20px 60px rgba(var(--shadow-color), 0.12);
--font-display: 'Inter', 'Thmanyah Serif Display', 'Source Serif 4', Georgia, serif;
--font-body:    'Inter', 'Thmanyah Serif Display', -apple-system, BlinkMacSystemFont, sans-serif;
--font-num:     'Inter', 'Thmanyah Serif Display', sans-serif;
--font-mono:    'Inter', ui-monospace, monospace;
--fs-xs:   12px;
--fs-sm:   14px;
--fs-base: 16px;
--fs-md:   18px;
--fs-lg:   22px;
--fs-xl:   28px;
--fs-2xl:  36px;
--fs-3xl:  44px;
--s-1:  8px;
--s-2:  16px;
--s-3:  24px;
--s-4:  32px;
--s-5:  48px;
--s-6:  64px;
--s-7:  96px;
--s-8:  128px;
--r-sm: 6px;
--r:    8px;
--r-md: 12px;
--r-lg: 16px;
--r-xl: 20px;
--r-full: 9999px;
--t-fast: 0.15s ease;
--t:      0.25s ease;
--t-slow: 0.4s ease;
--container: 1280px;
--safe-top:    env(safe-area-inset-top, 0px);
--safe-bottom: env(safe-area-inset-bottom, 0px);
--topbar-height: clamp(56px, 7vh, 72px);
--topbar-padding: 12px;
--topbar-total: calc(
var(--safe-top)
+ var(--topbar-padding)
+ var(--topbar-height)
+ var(--topbar-padding)
);
--footer-height: clamp(52px, 6vh, 64px);
--footer-total: calc(
var(--footer-height)
+ var(--safe-bottom)
);
--spacer-top-height: var(--topbar-total);
--spacer-bottom-height: var(--footer-total);
--sticky-offset: calc(var(--topbar-total) + var(--s-2));
--primary-contrast:     var(--on-primary);
--primary-soft:         var(--primary-tint);
--secondary-active:     #2A4157;
--secondary-soft:       #DDE5EE;
--secondary-contrast:   var(--on-secondary);
}
[data-theme="dark"] {
--primary:           #D4B279;
--primary-hover:     #E0C08A;
--primary-active:    #C09D62;
--primary-strong:    #D4B279;
--primary-tint:      rgba(212, 178, 121, 0.14);
--primary-glow:      rgba(212, 178, 121, 0.26);
--on-primary:        #1A1406;
--primary-text:      #D4B279;
--secondary:         #7FA3C7;
--secondary-hover:   #93B2D1;
--secondary-tint:    rgba(127, 163, 199, 0.14);
--on-secondary:      #10151C;
--bg:                #14161A;
--bg-elevated:       #2A2F39;
--surface:           #1B1E24;
--surface-1:         #1F232A;
--surface-2:         #232730;
--hover:             rgba(255, 255, 255, 0.06);
--surface-3:         #2E333D;
--border:            #2E333D;
--border-2:          #414855;
--border-soft:       #232730;
--text:              #ECEAE4;
--text-2:            #BDB9AF;
--text-3:            #8F8B82;
--text-inverse:      #14161A;
--success:           #4CC38A;
--success-soft:      #16261E;
--warning:           #F0B24A;
--warning-soft:      #2E2416;
--error:             #F28B82;
--error-soft:        #2E1A1A;
--info:              #6BA8DD;
--info-soft:         #1A2635;
--search-highlight:  rgba(240, 178, 74, 0.28);
--focus-ring:        rgba(212, 178, 121, 0.5);
--src-law:           #7FA3C7;
--src-ruling:        #C08BD6;
--src-regulation:    #4FC3B8;
--src-contract:      #E0A45C;
--shadow-color:      20, 18, 15;
--primary-contrast:     var(--on-primary);
--primary-soft:         var(--primary-tint);
--secondary-active:     #6B93B8;
--secondary-soft:       #1E2C42;
--secondary-contrast:   var(--on-secondary);
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
overscroll-behavior: none;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color-scheme: light dark;
height: 100%;
overflow: hidden;
}
body {
font-family: var(--font-body);
font-size: var(--fs-base);
line-height: 1.7;
color: var(--text);
background: var(--bg);
overflow: hidden;
height: 100dvh;
max-height: 100dvh;
display: flex;
flex-direction: column;
transition: background-color var(--t), color var(--t);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
input, select, textarea { font-size: 16px !important; }
* { touch-action: manipulation; }
:focus { outline: none; }
:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
border-radius: var(--r-sm);
}
.theme-instant, .theme-instant *, .theme-instant *::before, .theme-instant *::after { transition: none !important; }
mark,
.legal-highlight {
background: var(--search-highlight);
color: inherit;
padding: 1px 3px;
border-radius: 3px;
}
h1, h2, h3, h4 {
font-family: var(--font-display);
font-weight: 700;
line-height: 1.25;
color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, var(--fs-3xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--fs-2xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
p { line-height: 1.8; color: var(--text-2); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--text); }
small { font-size: var(--fs-sm); color: var(--text-2); }
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0);
white-space: nowrap; border: 0;
}
.container {
width: 100%;
max-width: var(--container);
margin-inline: auto;
padding-inline: var(--s-3);
}
.spacer-top {
flex-shrink: 0;
height: var(--spacer-top-height);
width: 100%;
background: transparent;
pointer-events: none;
}
main {
flex: 1 1 auto;
min-height: 0;
min-width: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
display: flex;
flex-direction: column;
}
.spacer-bottom {
flex-shrink: 0;
height: var(--spacer-bottom-height);
width: 100%;
background: transparent;
pointer-events: none;
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--s-1); }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.text-center { text-align: center; }
.hidden { display: none !important; }
@media (max-width: 767px) {
.hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
.hide-desktop { display: none !important; }
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--s-1);
padding: 12px 24px;
border: 1px solid transparent;
border-radius: var(--r);
font-family: inherit;
font-size: 15px;
font-weight: 600;
line-height: 1;
white-space: nowrap;
cursor: pointer;
text-decoration: none;
transition: all var(--t-fast);
min-height: 44px;
user-select: none;
}
.btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
background: var(--primary);
color: var(--on-primary);
border-color: var(--primary);
}
.btn-primary:hover {
background: var(--primary-hover);
border-color: var(--primary-hover);
}
.btn-secondary {
background: transparent;
color: var(--text);
border-color: var(--border);
}
.btn-secondary:hover {
border-color: var(--text);
background: var(--surface-2);
}
.btn-ghost {
background: transparent;
color: var(--text-2);
padding: 8px 12px;
min-height: 40px;
}
.btn-ghost:hover {
background: var(--surface-2);
color: var(--text);
}
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; min-height: 36px; }
.btn-lg { padding: 14px 28px; font-size: 16px; min-height: 48px; }
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}
.field { margin-bottom: var(--s-3); }
.field-label {
display: block;
font-size: var(--fs-sm);
font-weight: 600;
color: var(--text);
margin-bottom: var(--s-1);
}
.field-label .req { color: var(--error); margin-inline-start: 3px; }
.field-input,
.field-textarea,
.field-select {
display: block;
width: 100%;
padding: 12px 16px;
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: var(--r);
font-family: inherit;
font-size: 16px;
color: var(--text);
transition: border-color var(--t-fast), box-shadow var(--t-fast);
outline: none;
}
.field-input:focus,
.field-textarea:focus,
.field-select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--focus-ring);
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--text-3); }
.field-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field-hint {
display: block;
font-size: 12px;
color: var(--text-3);
margin-top: 6px;
}
.field-error {
display: block;
font-size: 12px;
color: var(--error);
margin-top: 6px;
}
.topbar {
position: fixed;
top: 0;
inset-inline: 0;
z-index: 100;
height: var(--topbar-total);
display: flex;
align-items: center;
padding-top: var(--safe-top);
padding-bottom: 0;
background: var(--bg);
pointer-events: none;
border-bottom: 1px solid transparent;
transition: opacity var(--t),
transform var(--t),
border-color var(--t);
}
body.is-scrolled .topbar {
border-bottom-color: var(--border);
}
.topbar .container {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: var(--s-2);
width: 100%;
height: var(--topbar-height);
}
.topbar-page-title {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
transform: translateX(-50%) translateY(-6px);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity var(--t), transform var(--t);
pointer-events: none;
max-width: 40%;
overflow: hidden;
}
.topbar-page-title.is-visible {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
.topbar-page-title-text {
font-family: var(--font-display);
font-size: clamp(15px, 2vw, 20px);
font-weight: 700;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
letter-spacing: -0.3px;
line-height: 1.2;
}
.topbar-group {
display: flex;
align-items: center;
gap: 4px;
pointer-events: auto;
padding: 6px 8px;
background: color-mix(in srgb, var(--surface) 92%, transparent);
backdrop-filter: saturate(150%) blur(14px);
-webkit-backdrop-filter: saturate(150%) blur(14px);
border: 1px solid var(--border);
border-radius: var(--r-full);
box-shadow: var(--shadow-sm);
flex-shrink: 0;
}
body.sidebar-open .topbar {
opacity: 0;
transform: translateY(-20px);
pointer-events: none;
}
.topbar-brand {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px 6px 8px;
border-radius: var(--r-full);
font-family: var(--font-display);
font-size: 16px;
font-weight: 700;
color: var(--text);
transition: all var(--t-fast);
margin-inline-end: 4px;
min-height: 38px;
flex-shrink: 0;
}
[dir="rtl"] .topbar-brand {
padding: 6px 8px 6px 12px;
}
.topbar-brand:hover {
background: var(--surface-2);
color: var(--primary-text);
}
.topbar-brand svg {
width: 22px;
height: 22px;
color: var(--primary);
flex-shrink: 0;
transition: all var(--t-fast);
}
.topbar-brand:hover svg {
transform: scale(1.05);
}
.topbar-brand-logo {
width: 26px;
height: 26px;
color: var(--primary);
flex-shrink: 0;
transition: all var(--t-fast);
}
.topbar-brand:hover .topbar-brand-logo {
transform: scale(1.05);
}
.topbar-brand-text {
display: inline-block;
white-space: nowrap;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.topbar-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: var(--r-full);
color: var(--text-2);
background: transparent;
border: none;
cursor: pointer;
transition: all var(--t-fast);
position: relative;
flex-shrink: 0;
padding: 0;
text-decoration: none;
}
.topbar-btn:hover {
background: var(--surface-2);
color: var(--text);
}
.topbar-btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.topbar-btn svg {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.topbar-btn .icon-menu,
.topbar-btn .icon-close {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--t);
}
.topbar-btn .icon-close {
opacity: 0;
transform: scale(0.6) rotate(-90deg);
}
.topbar-btn.is-open .icon-menu {
opacity: 0;
transform: scale(0.6) rotate(90deg);
}
.topbar-btn.is-open .icon-close {
opacity: 1;
transform: scale(1) rotate(0);
}
.theme-icon-sun,
.theme-icon-moon {
display: inline-flex;
align-items: center;
justify-content: center;
}
.topbar-btn.has-shortcut::after {
content: 'K';
position: absolute;
bottom: 1px;
inset-inline-end: 1px;
font-size: 8px;
font-weight: 800;
background: var(--primary);
color: var(--on-primary);
padding: 1px 4px;
border-radius: 4px;
line-height: 1;
letter-spacing: 0;
pointer-events: none;
font-family: var(--font-mono);
}
.sidebar-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
opacity: 0;
visibility: hidden;
z-index: 190;
transition: opacity var(--t), visibility var(--t);
}
.sidebar-overlay.is-open {
opacity: 1;
visibility: visible;
}
.sidebar {
position: fixed;
top: 0;
bottom: 0;
width: min(340px, 88vw);
background: var(--surface);
z-index: 200;
display: flex;
flex-direction: column;
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
padding-top: var(--safe-top);
padding-bottom: var(--safe-bottom);
}
[dir="rtl"] .sidebar {
right: 0;
left: auto;
border-left: 1px solid var(--border);
border-right: none;
transform: translate3d(100%, 0, 0);
-webkit-transform: translate3d(100%, 0, 0);
box-shadow: -8px 0 60px rgba(var(--shadow-color), 0.12);
}
[dir="rtl"] .sidebar.is-open {
transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
}
[dir="ltr"] .sidebar {
left: 0;
right: auto;
border-right: 1px solid var(--border);
border-left: none;
transform: translate3d(-100%, 0, 0);
-webkit-transform: translate3d(-100%, 0, 0);
box-shadow: 8px 0 60px rgba(var(--shadow-color), 0.12);
}
[dir="ltr"] .sidebar.is-open {
transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
}
.sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s-2);
padding: var(--s-3);
border-bottom: 1px solid var(--border);
flex-shrink: 0;
min-height: 68px;
flex-wrap: nowrap;
}
.sidebar-brand {
display: inline-flex;
align-items: center;
gap: var(--s-1);
font-family: var(--font-display);
font-size: 17px;
font-weight: 700;
color: var(--text);
flex-shrink: 0;
}
.sidebar-brand svg {
width: 22px;
height: 22px;
color: var(--primary);
}
.sidebar-brand-logo {
width: 26px;
height: 26px;
color: var(--primary);
flex-shrink: 0;
display: block;
}
.sidebar-controls {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.sidebar-icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: var(--r);
color: var(--text-2);
background: transparent;
border: none;
cursor: pointer;
transition: all var(--t-fast);
text-decoration: none;
padding: 0;
flex-shrink: 0;
}
.sidebar-icon-btn:hover {
background: var(--surface-2);
color: var(--primary-text);
}
.sidebar-icon-btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.sidebar-icon-btn svg {
width: 17px;
height: 17px;
stroke: currentColor;
fill: none;
flex-shrink: 0;
}
.sidebar-body {
flex: 1;
overflow-y: auto;
padding: var(--s-3);
overscroll-behavior: contain;
}
.sidebar-body::-webkit-scrollbar { width: 5px; }
.sidebar-body::-webkit-scrollbar-track { background: transparent; }
.sidebar-body::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
.sidebar-nav {
display: flex;
flex-direction: column;
gap: 2px;
}
.sidebar-link {
display: flex;
align-items: center;
gap: var(--s-2);
padding: 12px 14px;
border-radius: var(--r);
font-size: 15px;
font-weight: 500;
color: var(--text);
transition: all var(--t-fast);
min-height: 44px;
}
.sidebar-link:hover {
background: var(--surface-2);
color: var(--primary-text);
}
.sidebar-link:focus-visible {
outline: 2px solid var(--primary);
outline-offset: -2px;
border-radius: var(--r);
}
.sidebar-link svg {
width: 20px;
height: 20px;
color: var(--text-3);
flex-shrink: 0;
transition: color var(--t-fast);
}
.sidebar-link:hover svg {
color: var(--primary);
}
.sidebar-divider {
height: 1px;
background: var(--border);
margin: var(--s-2) 0;
}
.sidebar-cta {
display: flex;
flex-direction: column;
gap: var(--s-1);
padding: var(--s-3) 0 var(--s-1);
}
.sidebar-footer {
padding: var(--s-3);
border-top: 1px solid var(--border);
font-size: 11px;
color: var(--text-3);
text-align: center;
flex-shrink: 0;
}
.footer {
position: fixed;
bottom: 0;
inset-inline: 0;
z-index: 100;
height: var(--footer-total);
padding-bottom: var(--safe-bottom);
background: var(--bg);
display: flex;
align-items: center;
border-top: 1px solid var(--border);
}
.footer .container {
width: 100%;
}
.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s-3);
flex-wrap: nowrap;
height: var(--footer-height);
}
.footer-copyright {
white-space: nowrap;
font-size: 13px;
color: var(--text-3);
flex-shrink: 0;
}
.footer-links {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: nowrap;
flex-shrink: 0;
min-width: 0;
}
.footer-link {
color: var(--text-3);
transition: color var(--t-fast);
font-size: 13px;
white-space: nowrap;
}
.footer-link:hover { color: var(--primary-text); }
.page-content {
padding-bottom: var(--s-3);
flex: 1 1 auto;
min-height: 0;
min-width: 0;
}
.page-header {
padding: var(--s-5) 0 var(--s-4);
margin-top: 0;
text-align: center;
min-width: 0;
flex-shrink: 0;
transition: opacity var(--t-slow), transform var(--t-slow);
will-change: opacity, transform;
}
body.is-scrolled .page-header {
opacity: 0;
transform: translateY(-24px);
pointer-events: none;
}
.page-header-inner {
max-width: 720px;
margin-inline: auto;
}
.page-header-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, var(--fs-3xl));
font-weight: 700;
color: var(--text);
line-height: 1.15;
letter-spacing: -1px;
margin-bottom: var(--s-2);
}
.page-header-sub {
font-size: var(--fs-md);
color: var(--text-2);
line-height: 1.7;
}
.prose {
max-width: 720px;
margin-inline: auto;
font-size: var(--fs-base);
line-height: 1.8;
color: var(--text-2);
padding: 0 var(--s-3) var(--s-5);
}
.cmdk-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.35);
backdrop-filter: blur(8px) saturate(150%);
-webkit-backdrop-filter: blur(8px) saturate(150%);
z-index: 300;
display: none;
align-items: flex-start;
justify-content: center;
padding: 12vh var(--s-2) var(--s-2);
opacity: 0;
transition: opacity var(--t);
}
[data-theme="dark"] .cmdk-overlay {
background: rgba(0, 0, 0, 0.55);
}
.cmdk-overlay.is-open {
display: flex;
opacity: 1;
}
.cmdk {
width: 100%;
max-width: 560px;
background: color-mix(in srgb, var(--surface) 92%, transparent);
backdrop-filter: blur(14px) saturate(150%);
-webkit-backdrop-filter: blur(14px) saturate(150%);
border: 1px solid var(--border);
border-radius: var(--r-xl);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.4),
0 24px 60px rgba(var(--shadow-color), 0.20),
0 8px 20px rgba(var(--shadow-color), 0.10);
overflow: hidden;
transform: translateY(-12px) scale(0.98);
transition: transform var(--t);
max-height: 70vh;
display: flex;
flex-direction: column;
}
[data-theme="dark"] .cmdk {
background: color-mix(in srgb, var(--surface) 95%, transparent);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.06),
0 24px 60px rgba(0, 0, 0, 0.6),
0 8px 20px rgba(0, 0, 0, 0.4);
}
.cmdk-overlay.is-open .cmdk {
transform: translateY(0) scale(1);
}
.cmdk-header {
display: flex;
align-items: center;
gap: var(--s-2);
padding: var(--s-2) var(--s-3);
border-bottom: 1px solid var(--border);
flex-shrink: 0;
background: color-mix(in srgb, var(--surface) 40%, transparent);
}
.cmdk-header svg {
width: 18px;
height: 18px;
color: var(--text-3);
flex-shrink: 0;
}
.cmdk-input {
flex: 1;
border: none;
background: transparent;
font-family: inherit;
font-size: 15px;
color: var(--text);
outline: none;
padding: 6px 0;
min-width: 0;
}
.cmdk-input::placeholder { color: var(--text-3); }
.cmdk-kbd {
display: inline-flex;
align-items: center;
padding: 2px 6px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
color: var(--text-3);
background: color-mix(in srgb, var(--surface-2) 60%, transparent);
border: 1px solid var(--border);
border-radius: 4px;
flex-shrink: 0;
}
.cmdk-body {
flex: 1;
overflow-y: auto;
padding: var(--s-1);
overscroll-behavior: contain;
background: transparent;
}
.cmdk-body::-webkit-scrollbar { width: 6px; }
.cmdk-body::-webkit-scrollbar-track { background: transparent; }
.cmdk-body::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
.cmdk-group-label {
padding: 10px 12px 6px;
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--text-3);
}
.cmdk-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: var(--r);
font-size: 14px;
color: var(--text);
cursor: pointer;
transition: all var(--t-fast);
min-height: 44px;
text-decoration: none;
}
.cmdk-item:hover,
.cmdk-item.is-active {
background: var(--primary-tint);
color: var(--primary-text);
}
.cmdk-item:focus-visible {
outline: 2px solid var(--primary);
outline-offset: -2px;
border-radius: var(--r);
}
.cmdk-item svg {
width: 16px;
height: 16px;
color: var(--text-3);
flex-shrink: 0;
transition: color var(--t-fast);
}
.cmdk-item:hover svg,
.cmdk-item.is-active svg {
color: var(--primary);
}
.cmdk-item.is-conversation {
background: var(--primary-tint);
border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
margin-bottom: 4px;
}
.cmdk-item-conversation-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.cmdk-item-conversation-title {
font-size: 13px;
font-weight: 600;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cmdk-item-conversation-preview {
font-size: 11px;
color: var(--text-3);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cmdk-empty {
padding: var(--s-4) var(--s-3);
text-align: center;
color: var(--text-3);
font-size: 13px;
}
.cmdk-footer {
padding: 10px var(--s-3);
border-top: 1px solid var(--border);
display: flex;
align-items: center;
gap: var(--s-3);
font-size: 11px;
color: var(--text-3);
background: color-mix(in srgb, var(--surface) 40%, transparent);
flex-shrink: 0;
flex-wrap: wrap;
}
.cmdk-footer-hint {
display: inline-flex;
align-items: center;
gap: 6px;
}
.cmdk-footer-hint kbd {
padding: 1px 5px;
background: color-mix(in srgb, var(--surface) 70%, transparent);
border: 1px solid var(--border);
border-radius: 4px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
color: var(--text-2);
}
@supports not (backdrop-filter: blur(10px)) {
.cmdk-overlay {
background: rgba(0, 0, 0, 0.5);
}
.cmdk {
background: var(--surface);
}
[data-theme="dark"] .cmdk {
background: var(--surface-1);
}
}
.toast {
position: fixed;
bottom: calc(var(--footer-total) + 24px);
inset-inline-start: 50%;
transform: translateX(-50%) translateY(20px);
background: var(--surface);
color: var(--text);
padding: 12px 20px;
border-radius: var(--r);
border: 1px solid var(--border);
box-shadow: var(--shadow);
font-size: 13px;
font-weight: 500;
z-index: 400;
opacity: 0;
visibility: hidden;
transition: all var(--t);
max-width: calc(100vw - 32px);
text-align: center;
}
[dir="rtl"] .toast { transform: translateX(50%) translateY(20px); }
.toast.show {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
[dir="rtl"] .toast.show { transform: translateX(50%) translateY(0); }
.legal-source {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: var(--r-full);
font-size: 11px;
font-weight: 600;
line-height: 1;
border: 1px solid transparent;
}
.legal-source svg {
width: 12px;
height: 12px;
stroke: currentColor;
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
flex-shrink: 0;
}
.legal-source--law {
color: var(--src-law);
background: color-mix(in srgb, var(--src-law) 10%, transparent);
border-color: color-mix(in srgb, var(--src-law) 25%, transparent);
}
.legal-source--ruling {
color: var(--src-ruling);
background: color-mix(in srgb, var(--src-ruling) 10%, transparent);
border-color: color-mix(in srgb, var(--src-ruling) 25%, transparent);
}
.legal-source--regulation {
color: var(--src-regulation);
background: color-mix(in srgb, var(--src-regulation) 10%, transparent);
border-color: color-mix(in srgb, var(--src-regulation) 25%, transparent);
}
.legal-source--contract {
color: var(--src-contract);
background: color-mix(in srgb, var(--src-contract) 10%, transparent);
border-color: color-mix(in srgb, var(--src-contract) 25%, transparent);
}
@media (max-width: 767px) {
:root {
--s-5: 32px;
--s-6: 40px;
--s-7: 56px;
--s-8: 72px;
--topbar-padding: 8px;
}
.container { padding-inline: var(--s-2); }
.topbar .container {
gap: 4px;
}
.topbar-group {
padding: 4px 6px;
gap: 2px;
}
.topbar-brand {
padding: 4px 8px 4px 6px;
margin-inline-end: 2px;
min-height: 34px;
}
[dir="rtl"] .topbar-brand {
padding: 4px 6px 4px 8px;
}
.topbar-brand-text { display: none; }
.topbar-brand svg {
width: 20px;
height: 20px;
}
.topbar-brand-logo {
width: 22px;
height: 22px;
}
.topbar-btn {
width: 34px;
height: 34px;
}
.topbar-btn svg {
width: 16px;
height: 16px;
}
.topbar-btn.has-shortcut::after { display: none; }
.topbar-page-title {
position: relative;
left: auto;
top: auto;
bottom: auto;
flex: 1;
min-width: 0;
max-width: none;
transform: translateY(-6px);
padding-inline: 4px;
justify-content: center;
}
.topbar-page-title.is-visible {
transform: translateY(0);
}
.topbar-page-title-text {
font-size: 14px;
max-width: 100%;
text-align: center;
}
.cmdk-overlay {
padding: 8vh var(--s-2) var(--s-2);
}
.cmdk { max-height: 80vh; }
.sidebar-header {
padding: 12px 14px;
min-height: 58px;
}
.sidebar-brand { font-size: 15px; }
.sidebar-brand svg { width: 20px; height: 20px; }
.sidebar-brand-logo { width: 22px; height: 22px; }
.sidebar-icon-btn {
width: 32px;
height: 32px;
}
.sidebar-icon-btn svg {
width: 16px;
height: 16px;
}
.footer-copyright { font-size: 11px; }
.footer-link { font-size: 11px; }
.footer-links { gap: 10px; }
.page-header {
padding: var(--s-4) 0 var(--s-3);
}
.page-header-title {
font-size: clamp(1.75rem, 7vw, 2.25rem);
}
.page-header-sub {
font-size: var(--fs-base);
}
.prose {
padding: 0 var(--s-2) var(--s-4);
}
}
@media (max-width: 480px) {
.footer-copyright { font-size: 10px; }
.footer-link { font-size: 10px; }
.footer-links { gap: 8px; }
.topbar-page-title-text {
font-size: 13px;
}
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
:root {
--topbar-height: 48px;
--topbar-padding: 6px;
--footer-height: 38px;
}
@media (min-width: 768px) {
:root {
--topbar-height: 52px;
--topbar-padding: 10px;
}
}
.topbar {
position: fixed;
top: 0;
inset-inline: 0;
z-index: 100;
display: flex;
align-items: center;
height: var(--topbar-total);
padding-top: var(--safe-top);
background: var(--bg);
border-bottom: 1px solid transparent;
pointer-events: none;
transition: opacity var(--t), transform var(--t), border-color var(--t);
}
body.is-scrolled .topbar {
border-bottom-color: var(--border-soft);
}
body.sidebar-open .topbar {
opacity: 0;
transform: translateY(-20px);
pointer-events: none;
}
.topbar .container {
position: relative;
display: flex;
align-items: center;
gap: var(--s-1);
width: 100%;
height: var(--topbar-height);
}
.topbar-group {
pointer-events: auto;
display: flex;
align-items: center;
flex-shrink: 0;
gap: 2px;
padding: 4px;
background: color-mix(in srgb, var(--surface) 90%, transparent);
backdrop-filter: saturate(160%) blur(14px);
-webkit-backdrop-filter: saturate(160%) blur(14px);
border: 1px solid var(--border);
border-radius: var(--r-full);
box-shadow: var(--shadow-sm);
transition: box-shadow var(--t), border-color var(--t);
}
body.is-scrolled .topbar-group {
box-shadow: var(--shadow);
border-color: var(--border-2);
}
@supports not (backdrop-filter: blur(10px)) {
.topbar-group { background: var(--surface); }
}
.topbar-brand {
display: inline-flex;
align-items: center;
flex-shrink: 0;
gap: 8px;
height: 36px;
padding: 0 12px 0 6px;
border-radius: var(--r-full);
font-family: var(--font-display);
font-size: 16px;
font-weight: 700;
color: var(--text);
transition: background-color var(--t-fast), color var(--t-fast),
gap var(--t), padding var(--t);
}
[dir="rtl"] .topbar-brand {
padding: 0 6px 0 12px;
}
.topbar-brand:hover {
background: var(--surface-2);
color: var(--primary-text);
}
.topbar-brand .topbar-brand-logo {
width: 24px;
height: 24px;
flex-shrink: 0;
color: var(--primary);
transition: transform var(--t-fast);
}
.topbar-brand:hover .topbar-brand-logo {
transform: scale(1.08);
}
.topbar-brand-text {
display: none;
max-width: 140px;
overflow: hidden;
white-space: nowrap;
opacity: 1;
transition: max-width var(--t-slow), opacity var(--t);
}
@media (min-width: 640px) {
.topbar-brand-text { display: inline-block; }
body.is-scrolled .topbar-brand {
gap: 0;
padding-inline: 6px;
}
body.is-scrolled .topbar-brand-text {
max-width: 0;
opacity: 0;
}
}
.topbar-actions {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 2px;
margin-inline-start: 2px;
padding-inline-start: 4px;
border-inline-start: 1px solid var(--border);
}
.topbar-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 36px;
height: 36px;
padding: 0;
border: none;
border-radius: var(--r-full);
background: transparent;
color: var(--text-2);
cursor: pointer;
text-decoration: none;
transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.topbar-btn:hover {
background: var(--surface-2);
color: var(--text);
}
.topbar-btn:active {
transform: scale(0.92);
}
.topbar-btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.topbar-btn svg {
width: 18px;
height: 18px;
flex-shrink: 0;
}
.theme-icon-sun,
.theme-icon-moon {
display: inline-flex;
align-items: center;
justify-content: center;
}
.topbar-btn.has-shortcut::after {
content: 'K';
position: absolute;
bottom: 2px;
inset-inline-end: 2px;
padding: 1px 4px;
border-radius: 4px;
background: var(--primary);
color: var(--on-primary);
font-family: var(--font-mono);
font-size: 8px;
font-weight: 800;
line-height: 1;
pointer-events: none;
}
@media (max-width: 767px) {
.topbar-btn.has-shortcut::after { display: none; }
}
.topbar-btn .icon-menu,
.topbar-btn .icon-close {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity var(--t), transform var(--t);
}
.topbar-btn .icon-close {
opacity: 0;
transform: scale(0.6) rotate(-90deg);
}
.topbar-btn.is-open .icon-menu {
opacity: 0;
transform: scale(0.6) rotate(90deg);
}
.topbar-btn.is-open .icon-close {
opacity: 1;
transform: scale(1) rotate(0);
}
@media (hover: hover) and (min-width: 768px) {
.topbar-btn[data-tip]::before {
content: attr(data-tip);
position: absolute;
top: calc(100% + 12px);
left: 50%;
z-index: 5;
padding: 5px 10px;
border-radius: 8px;
background: var(--text);
color: var(--bg);
font-family: var(--font-body);
font-size: 12px;
font-weight: 500;
line-height: 1.3;
white-space: nowrap;
pointer-events: none;
opacity: 0;
visibility: hidden;
transform: translateX(-50%) translateY(-4px);
transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.topbar-btn[data-tip]:hover::before,
.topbar-btn[data-tip]:focus-visible::before {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
transition-delay: 0.35s;
}
}
.topbar-page-title {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex: 1;
min-width: 0;
padding-inline: 4px;
overflow: hidden;
opacity: 0;
transform: translateY(-6px);
pointer-events: none;
transition: opacity var(--t), transform var(--t);
}
.topbar-page-title.is-visible {
opacity: 1;
transform: translateY(0);
}
.topbar-page-title-text {
max-width: 100%;
font-family: var(--font-display);
font-size: 14px;
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.2px;
text-align: center;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media (min-width: 768px) {
.topbar-page-title {
position: absolute;
inset-block: 0;
left: 50%;
flex: none;
max-width: 40%;
padding-inline: 0;
transform: translateX(-50%) translateY(-6px);
}
.topbar-page-title.is-visible {
transform: translateX(-50%) translateY(0);
}
.topbar-page-title-text {
font-size: clamp(15px, 1.6vw, 18px);
}
}
.sidebar-overlay {
position: fixed;
inset: 0;
z-index: 190;
background: rgba(24, 19, 10, 0.34);
backdrop-filter: none;
-webkit-backdrop-filter: none;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.sidebar-overlay.is-open {
opacity: 1;
visibility: visible;
transition: opacity 0.28s ease, visibility 0s;
}
.sidebar {
position: fixed;
top: 0;
bottom: 0;
z-index: 200;
display: flex;
flex-direction: column;
width: min(380px, 90vw);
padding-top: var(--safe-top);
padding-bottom: var(--safe-bottom);
background: var(--surface);
backdrop-filter: none;
-webkit-backdrop-filter: none;
overflow: hidden;
will-change: transform;
visibility: hidden;
transition: transform 0.2s cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 0.2s;
}
[dir="rtl"] .sidebar {
right: 0;
left: auto;
border-left: 1px solid var(--border);
border-right: none;
transform: translate3d(100%, 0, 0);
box-shadow: -10px 0 40px rgba(var(--shadow-color), 0.14);
}
[dir="ltr"] .sidebar {
left: 0;
right: auto;
border-right: 1px solid var(--border);
border-left: none;
transform: translate3d(-100%, 0, 0);
box-shadow: 10px 0 40px rgba(var(--shadow-color), 0.14);
}
.sidebar.is-open {
visibility: visible;
transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
[dir="rtl"] .sidebar.is-open,
[dir="ltr"] .sidebar.is-open {
transform: translate3d(0, 0, 0);
}
.sidebar-header {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
gap: var(--s-2);
flex-shrink: 0;
min-height: 64px;
padding: 12px 20px 14px;
border-bottom: 0;
}
.sidebar-header::after {
content: "";
position: absolute;
inset-inline: 20px;
bottom: 0;
height: 4px;
border-top: 1px solid color-mix(in srgb, var(--primary) 55%, var(--border));
border-bottom: 1px solid var(--border);
transform: scaleX(0);
pointer-events: none;
}
.sidebar.is-open .sidebar-header::after {
transform: scaleX(1);
transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.sidebar-brand {
display: inline-flex;
align-items: center;
gap: 10px;
font-family: var(--font-display);
font-size: 18px;
font-weight: 700;
color: var(--text);
}
.sidebar-brand .sidebar-brand-logo {
display: block;
width: 28px;
height: 28px;
flex-shrink: 0;
color: var(--primary);
}
.sidebar-close {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 38px;
height: 38px;
padding: 0;
border: 1px solid var(--border);
border-radius: var(--r-full);
background: var(--surface);
color: var(--text-2);
cursor: pointer;
transition: background-color var(--t-fast), color var(--t-fast), transform var(--t);
}
.sidebar-close:hover {
background: var(--surface-2);
color: var(--text);
transform: rotate(90deg);
}
.sidebar-close:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.sidebar-close svg {
width: 17px;
height: 17px;
stroke: currentColor;
fill: none;
}
.sidebar-body {
display: flex;
flex-direction: column;
flex: 1;
gap: 0;
padding: 14px 20px 20px;
overflow-y: auto;
overscroll-behavior: contain;
}
.sidebar-body::-webkit-scrollbar { width: 5px; }
.sidebar-body::-webkit-scrollbar-track { background: transparent; }
.sidebar-body::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
.sidebar-browse {
display: flex;
flex-direction: column;
flex: 1;
}
@keyframes sb-reveal {
from { opacity: 0; transform: translateY(6px); }
to   { opacity: 1; transform: none; }
}
@keyframes sb-fade {
from { opacity: 0; }
to   { opacity: 1; }
}
.sidebar.is-open .sb-sec {
animation: sb-reveal 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: calc(var(--i, 0) * 28ms + 30ms);
}
.sidebar-search {
display: flex;
align-items: center;
gap: 10px;
height: 48px;
margin-bottom: 12px;
padding: 0 12px;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--surface-2);
color: var(--text-3);
transition: border-color var(--t-fast), background-color var(--t-fast),
box-shadow var(--t-fast), color var(--t-fast);
}
.sidebar-search:hover {
border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
}
.sidebar-search:focus-within {
border-color: var(--primary);
background: var(--surface);
color: var(--primary-text);
box-shadow: 0 0 0 4px var(--primary-tint);
}
.sidebar-search > svg {
width: 18px;
height: 18px;
flex-shrink: 0;
stroke: currentColor;
fill: none;
}
.sidebar .sidebar-search .sidebar-search-input {
flex: 1;
min-width: 0;
height: 100%;
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
outline: 0;
box-shadow: none;
background: transparent;
color: var(--text);
font-family: inherit;
font-size: 16px;
line-height: 1.4;
-webkit-appearance: none;
appearance: none;
}
.sidebar .sidebar-search .sidebar-search-input::placeholder {
color: var(--text-3);
opacity: 1;
}
.sidebar .sidebar-search .sidebar-search-input::-webkit-search-cancel-button,
.sidebar .sidebar-search .sidebar-search-input::-webkit-search-decoration {
display: none;
-webkit-appearance: none;
}
.sidebar-search-clear {
display: none;
place-items: center;
flex: none;
width: 28px;
height: 28px;
padding: 0;
border: 0;
border-radius: var(--r-full);
background: var(--surface-3);
color: var(--text-2);
cursor: pointer;
transition: background-color var(--t-fast), color var(--t-fast);
}
.sidebar-search-clear:hover {
background: var(--primary-tint);
color: var(--primary-text);
}
.sidebar-search-clear:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 1px;
}
.sidebar-search-clear svg {
width: 14px;
height: 14px;
stroke: currentColor;
fill: none;
}
.sidebar-search.has-value .sidebar-search-clear { display: grid; }
.sidebar-search.has-value .sidebar-kbd { display: none; }
.sidebar-kbd {
display: inline-flex;
align-items: center;
flex: none;
padding: 2px 7px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
line-height: 1.3;
color: var(--text-3);
}
@media (hover: none) {
.sidebar-search .sidebar-kbd { display: none; }
}
.sidebar-results {
display: none;
flex-direction: column;
gap: 2px;
animation: sb-fade 0.14s ease both;
}
.sidebar.is-searching .sidebar-results { display: flex; }
.sidebar.is-searching .sidebar-browse  { display: none; }
.sidebar .sidebar-result {
position: relative;
display: flex;
align-items: center;
gap: 12px;
width: 100%;
min-height: 48px;
padding: 6px 8px;
border: 0;
border-radius: 14px;
background: transparent;
color: var(--text);
font-family: inherit;
font-size: 15px;
font-weight: 500;
text-align: start;
cursor: pointer;
transition: background-color var(--t-fast);
}
.sidebar .sidebar-result.is-active {
background: var(--primary-tint);
}
.sidebar .sidebar-result:focus-visible {
outline: 2px solid var(--primary);
outline-offset: -2px;
}
.sidebar .sidebar-result-ico {
display: grid;
place-items: center;
flex: none;
width: 36px;
height: 36px;
border-radius: 11px;
background: var(--surface-2);
color: var(--text-3);
transition: background-color var(--t-fast), color var(--t-fast);
}
.sidebar .sidebar-result-ico svg {
width: 18px;
height: 18px;
color: inherit;
stroke: currentColor;
fill: none;
}
.sidebar .sidebar-result.is-active .sidebar-result-ico {
background: var(--primary);
color: var(--on-primary);
}
.sidebar-result-text {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar-result-text mark {
padding: 0;
background: transparent;
color: var(--primary-text);
font-weight: 800;
box-shadow: inset 0 -2px 0 var(--primary-glow);
}
.sidebar-result-group {
flex: none;
font-size: 11px;
color: var(--text-3);
}
.sidebar-results-empty {
padding: 36px 12px;
text-align: center;
font-size: 14px;
color: var(--text-3);
}
.sidebar-quick {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 4px;
}
.sidebar-chip {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
height: 46px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--surface);
color: var(--text);
font-family: inherit;
font-size: 14px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}
.sidebar-chip:hover {
border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
background: var(--surface-2);
}
.sidebar-chip:active { transform: scale(0.97); }
.sidebar-chip:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.sidebar-chip-ico {
display: grid;
place-items: center;
flex: none;
width: 30px;
height: 30px;
border-radius: 9px;
background: var(--primary-tint);
color: var(--primary-text);
}
.sidebar-chip-ico svg {
width: 16px;
height: 16px;
color: inherit;
stroke: currentColor;
fill: none;
}
.sidebar-chip-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar-group-label {
padding: 16px 6px 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.8px;
text-transform: uppercase;
color: var(--text-3);
}
.sidebar-nav {
display: flex;
flex-direction: column;
gap: 2px;
}
.sidebar-link {
position: relative;
display: flex;
align-items: center;
gap: 12px;
min-height: 48px;
padding: 6px 8px;
border-radius: 14px;
font-size: 15px;
font-weight: 500;
color: var(--text);
transition: background-color var(--t-fast), color var(--t-fast);
}
.sidebar-link:hover { background: var(--surface-2); }
.sidebar-link:focus-visible {
outline: 2px solid var(--primary);
outline-offset: -2px;
}
.sidebar-link::before {
content: "";
position: absolute;
top: 50%;
inset-inline-start: -20px;
width: 4px;
height: 0;
border-radius: 4px;
background: var(--primary);
transform: translateY(-50%);
transition: height var(--t);
}
.sidebar-link:hover::before { height: 14px; }
.sidebar-link-ico {
display: grid;
place-items: center;
flex: none;
width: 36px;
height: 36px;
border-radius: 11px;
background: var(--surface-2);
color: var(--text-3);
transition: background-color var(--t-fast), color var(--t-fast), transform var(--t);
}
.sidebar .sidebar-link .sidebar-link-ico svg {
width: 18px;
height: 18px;
color: inherit;
stroke: currentColor;
fill: none;
}
.sidebar .sidebar-link:hover .sidebar-link-ico {
background: var(--primary-tint);
color: var(--primary-text);
transform: scale(1.06);
}
.sidebar .sidebar-link[aria-current="page"] {
background: var(--primary-tint);
color: var(--primary-text);
font-weight: 700;
}
.sidebar .sidebar-link[aria-current="page"]::before { height: 24px; }
.sidebar .sidebar-link[aria-current="page"] .sidebar-link-ico {
background: var(--primary);
color: var(--on-primary);
transform: none;
}
.sidebar .sidebar-link[aria-current="page"] .sidebar-link-ico svg {
stroke-width: 2.2;
}
.sb-cta {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: auto;
padding-top: 20px;
}
.sidebar .sb-cta-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
min-height: 52px;
padding: 0 18px;
border: 1px solid color-mix(in srgb, var(--primary-hover) 80%, transparent);
border-radius: 14px;
background: linear-gradient(180deg,
color-mix(in srgb, var(--primary) 86%, #fff) 0%,
var(--primary) 100%);
color: var(--on-primary);
font-family: inherit;
font-size: 15px;
font-weight: 700;
text-decoration: none;
cursor: pointer;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.38),
0 6px 16px var(--primary-glow);
transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.sidebar .sb-cta-btn:hover {
transform: translateY(-1px);
filter: brightness(1.05);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.38),
0 10px 24px var(--primary-glow);
}
.sidebar .sb-cta-btn:active {
transform: translateY(0) scale(0.985);
filter: brightness(0.97);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.2),
0 2px 6px var(--primary-glow);
}
.sidebar .sb-cta-btn:focus-visible {
outline: 2px solid var(--primary-text);
outline-offset: 3px;
}
.sidebar .sb-cta-btn svg {
width: 18px;
height: 18px;
flex: none;
color: inherit;
stroke: currentColor;
fill: none;
}
.sb-cta-label {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
[dir="rtl"] .sb-cta-arrow { transform: scaleX(-1); }
.sb-cta-btn .sb-cta-arrow { transition: translate 0.2s ease; }
[dir="rtl"] .sb-cta-btn:hover .sb-cta-arrow { translate: -3px 0; }
[dir="ltr"] .sb-cta-btn:hover .sb-cta-arrow { translate: 3px 0; }
.sb-cta-note {
margin: 0;
padding-inline: 4px;
font-size: 12px;
line-height: 1.6;
text-align: center;
color: var(--text-3);
}
.sidebar-hints {
display: none;
align-items: center;
justify-content: center;
gap: 16px;
padding-top: 14px;
font-size: 12px;
color: var(--text-3);
}
.sidebar-hints span {
display: inline-flex;
align-items: center;
gap: 6px;
}
@media (hover: hover) and (min-width: 768px) {
.sidebar-hints { display: flex; }
}
.sidebar-footer {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
flex-shrink: 0;
padding: 14px 20px;
border-top: 1px solid var(--border);
font-size: 11px;
color: var(--text-3);
}
.sidebar-legal {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 4px 14px;
}
.sidebar-legal a {
font-size: 12px;
color: var(--text-2);
transition: color var(--t-fast);
}
.sidebar-legal a:hover { color: var(--primary-text); }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
.sidebar .sb-cta-btn { background: var(--primary); }
}
@media (prefers-reduced-motion: reduce) {
.sidebar,
.sidebar.is-open,
.sidebar-overlay,
.sidebar-overlay.is-open {
transition-duration: 0.01s !important;
transition-delay: 0s !important;
}
.sidebar.is-open .sb-sec,
.sidebar-results { animation: none !important; }
.sidebar::before,
.sidebar-header::after {
transform: none !important;
transition: none !important;
}
}
.footer {
position: fixed;
bottom: 0;
inset-inline: 0;
z-index: 100;
display: flex;
align-items: center;
height: var(--footer-total);
padding-bottom: var(--safe-bottom);
background: var(--bg);
border-top: 1px solid var(--border-soft);
}
.footer .container {
width: 100%;
}
.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s-2);
height: var(--footer-height);
}
.footer-copyright {
font-size: 12px;
color: var(--text-3);
white-space: nowrap;
}
.footer-links {
display: flex;
align-items: center;
gap: 4px;
}
.footer-link {
padding: 4px 10px;
border-radius: var(--r-full);
font-size: 12px;
line-height: 1;
white-space: nowrap;
color: var(--text-3);
transition: background-color var(--t-fast), color var(--t-fast);
}
.footer-link:hover {
background: var(--surface-2);
color: var(--primary-text);
}
.footer-link:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 1px;
}
@media (max-width: 559px) {
.footer-inner { justify-content: center; }
.footer-links { display: none; }
}
.toast {
bottom: calc(var(--footer-total) + 16px);
}
.sbx .sidebar-header { padding: 12px 14px; min-height: 60px; }
.sbx .sidebar-controls { gap: 4px; }
.sbx .sidebar-icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.sbx .sidebar-close { margin-inline-start: 4px; border: 1px solid var(--border); }
.sbx .sidebar-body { display: grid; align-content: start; gap: 14px; padding: 14px; }
.sbx-card {
display: grid;
gap: 10px;
padding: 14px;
border: 1px solid var(--border);
border-radius: 16px;
background: var(--surface-1, var(--surface));
}
.sbx-card__hi { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); }
.sbx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sbx-who { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.sbx-who__info { display: grid; min-width: 0; line-height: 1.4; }
.sbx-who__info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: var(--text); }
.sbx-who__info small { font-size: 12px; color: var(--text-3); }
.sbx-avatar { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; background: var(--primary); color: #fff; font: 700 17px var(--font-display); }
.sbx-avatar.has-img { background: var(--surface-2); }
.sbx-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sbx-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 44px;
padding: 0 14px;
border: 1px solid var(--border-2, var(--border));
border-radius: 12px;
background: var(--surface);
color: var(--text);
font: 600 14px var(--font-body);
text-decoration: none;
cursor: pointer;
transition: background-color var(--t-fast), border-color var(--t-fast);
}
.sbx-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; flex: none; }
.sbx-btn:hover { background: var(--surface-2); }
.sbx-btn--primary { border-color: var(--primary-strong, var(--primary)); background: var(--primary-strong, var(--primary)); color: #fff; }
.sbx-btn--primary:hover { background: var(--primary-active); border-color: var(--primary-active); }
[data-theme="dark"] .sbx-btn--primary { color: var(--on-primary); }
.sbx-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px; border: 0; background: none; color: var(--text-3); font: 500 13px var(--font-body); cursor: pointer; }
.sbx-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.sbx-link:hover { color: var(--error); }
.sbx-partner {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: 1px dashed color-mix(in srgb, var(--primary) 45%, transparent);
border-radius: 12px;
background: var(--primary-tint);
color: var(--text);
text-decoration: none;
}
.sbx-partner__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--surface); color: var(--primary); }
.sbx-partner svg { width: 16px; height: 16px; stroke: currentColor; fill: none; flex: none; }
.sbx-partner > svg { color: var(--text-3); }
.sbx-partner__text { display: grid; flex: 1; min-width: 0; line-height: 1.4; }
.sbx-partner__text b { font-size: 13.5px; }
.sbx-partner__text small { font-size: 11.5px; color: var(--text-3); }
.sbx-partner:hover { border-style: solid; }
.sbx .sidebar-browse { display: grid; gap: 14px; }
.sbx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sbx-tile {
display: flex;
align-items: center;
gap: 10px;
min-height: 48px;
padding: 0 12px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--surface);
color: var(--text-2);
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.sbx-tile svg { width: 18px; height: 18px; stroke: currentColor; fill: none; flex: none; color: var(--text-3); }
.sbx-tile span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbx-tile:hover { background: var(--surface-2); color: var(--text); }
.sbx-tile[aria-current="page"] { border-color: color-mix(in srgb, var(--primary) 45%, transparent); background: var(--primary-tint); color: var(--text); font-weight: 600; }
.sbx-tile[aria-current="page"] svg { color: var(--primary); }
.sbx .sidebar-footer { display: grid; gap: 4px; justify-items: center; padding: 12px 14px; border-top: 1px solid var(--border); }
.topbar-user-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: var(--primary); color: #fff; font: 700 13px var(--font-display); }
.topbar-user-avatar.has-img { background: var(--surface-2); }
.topbar-user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sbx-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sbx-head .sbx-who { flex: 1; }
.sbx-out-form { display: contents; }
.sbx-out { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text-3); cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast); }
.sbx-out svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.sbx-out:hover, .sbx-out:focus-visible { color: var(--error); border-color: color-mix(in srgb, var(--error) 40%, transparent); background: color-mix(in srgb, var(--error) 7%, var(--surface)); }
:root {
--glass-bg:              color-mix(in srgb, var(--surface) 90%, transparent);
--glass-bg-strong:       color-mix(in srgb, var(--surface) 95%, transparent);
--glass-bg-soft:         color-mix(in srgb, var(--surface) 85%, transparent);
--glass-bg-panel:        color-mix(in srgb, var(--surface-2) 90%, transparent);
--glass-bg-hover:        color-mix(in srgb, var(--surface) 96%, transparent);
--glass-blur:            16px;
--glass-blur-strong:     20px;
--glass-blur-soft:       12px;
--glass-sat:             150%;
--glass-border:          1px solid var(--border);
--glass-border-subtle:   1px solid var(--border-soft);
--glass-border-color:    var(--border);
--glass-border-hover:    var(--border-2);
--glass-divider:         color-mix(in srgb, var(--text) 8%, transparent);
--glass-highlight:       inset 0 1px 0 rgba(255, 255, 255, 0.40);
--glass-highlight-soft:  inset 0 1px 0 rgba(255, 255, 255, 0.25);
--glass-radius-xs:       8px;
--glass-radius-sm:       12px;
--glass-radius-md:       16px;
--glass-radius-lg:       20px;
--glass-radius-xl:       24px;
--glass-radius-2xl:      28px;
--glass-radius-full:     9999px;
--glass-shadow-sm:
var(--glass-highlight-soft),
0 1px 2px rgba(var(--shadow-color), 0.05),
0 2px 6px rgba(var(--shadow-color), 0.05);
--glass-shadow:
var(--glass-highlight),
0 2px 4px rgba(var(--shadow-color), 0.06),
0 8px 20px rgba(var(--shadow-color), 0.08);
--glass-shadow-lg:
var(--glass-highlight),
0 4px 8px rgba(var(--shadow-color), 0.07),
0 16px 36px rgba(var(--shadow-color), 0.10);
--glass-shadow-xl:
var(--glass-highlight),
0 8px 16px rgba(var(--shadow-color), 0.08),
0 24px 56px rgba(var(--shadow-color), 0.12);
--glass-ease:            cubic-bezier(0.34, 1.56, 0.64, 1);
--glass-ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
--glass-ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
--glass-duration-fast:   0.2s;
--glass-duration:        0.4s;
--glass-duration-slow:   0.6s;
--orb-1-color:           color-mix(in srgb, var(--primary) 50%, transparent);
--orb-2-color:           color-mix(in srgb, var(--secondary) 35%, transparent);
--orb-3-color:           color-mix(in srgb, var(--primary-hover) 30%, transparent);
--orb-opacity:           0.25;
--orb-blur:              100px;
}
[data-theme="dark"] {
--glass-bg:              color-mix(in srgb, var(--surface) 90%, transparent);
--glass-bg-strong:       color-mix(in srgb, var(--surface-1) 96%, transparent);
--glass-bg-soft:         color-mix(in srgb, var(--surface) 82%, transparent);
--glass-bg-panel:        color-mix(in srgb, var(--surface-2) 90%, transparent);
--glass-bg-hover:        color-mix(in srgb, var(--surface-3) 96%, transparent);
--glass-border:          1px solid var(--border);
--glass-border-subtle:   1px solid var(--border-soft);
--glass-border-color:    var(--border);
--glass-border-hover:    var(--border-2);
--glass-divider:         color-mix(in srgb, var(--text) 10%, transparent);
--glass-highlight:       inset 0 1px 0 rgba(255, 255, 255, 0.08);
--glass-highlight-soft:  inset 0 1px 0 rgba(255, 255, 255, 0.05);
--glass-shadow-sm:
var(--glass-highlight-soft),
0 1px 2px rgba(0, 0, 0, 0.25),
0 2px 6px rgba(0, 0, 0, 0.18);
--glass-shadow:
var(--glass-highlight),
0 2px 4px rgba(0, 0, 0, 0.30),
0 8px 20px rgba(0, 0, 0, 0.22);
--glass-shadow-lg:
var(--glass-highlight),
0 4px 8px rgba(0, 0, 0, 0.35),
0 16px 36px rgba(0, 0, 0, 0.28);
--glass-shadow-xl:
var(--glass-highlight),
0 8px 16px rgba(0, 0, 0, 0.40),
0 24px 56px rgba(0, 0, 0, 0.32);
--orb-opacity:           0.18;
}
.glass {
position: relative;
background: var(--glass-bg);
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
border: var(--glass-border);
border-radius: var(--glass-radius-lg);
box-shadow: var(--glass-shadow);
transition:
box-shadow var(--glass-duration) var(--glass-ease-out),
transform var(--glass-duration) var(--glass-ease-out),
background var(--glass-duration) var(--glass-ease-out),
border-color var(--glass-duration) var(--glass-ease-out);
}
@supports not (backdrop-filter: blur(10px)) {
.glass {
background: var(--glass-bg-strong);
}
}
.glass--sm { border-radius: var(--glass-radius-sm); box-shadow: var(--glass-shadow-sm); }
.glass--md { border-radius: var(--glass-radius-md); }
.glass--xl { border-radius: var(--glass-radius-xl); box-shadow: var(--glass-shadow-lg); }
.glass--2xl { border-radius: var(--glass-radius-2xl); box-shadow: var(--glass-shadow-xl); }
.glass--soft   { background: var(--glass-bg-soft); }
.glass--strong { background: var(--glass-bg-strong); }
.glass--panel  {
background: var(--glass-bg-panel);
backdrop-filter: blur(var(--glass-blur-soft));
-webkit-backdrop-filter: blur(var(--glass-blur-soft));
}
.glass-ambient {
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
background: var(--bg);
}
.glass-ambient__orb {
position: absolute;
border-radius: 50%;
filter: blur(var(--orb-blur));
opacity: var(--orb-opacity);
will-change: transform;
animation: orbFloat 20s ease-in-out infinite;
}
.glass-ambient__orb--1 {
width: 480px;
height: 480px;
top: -160px;
inset-inline-start: -140px;
background: radial-gradient(circle at 30% 30%, var(--orb-1-color), transparent 70%);
animation-delay: 0s;
}
.glass-ambient__orb--2 {
width: 420px;
height: 420px;
bottom: -140px;
inset-inline-end: -120px;
background: radial-gradient(circle at 60% 40%, var(--orb-2-color), transparent 70%);
animation-delay: -7s;
}
.glass-ambient__orb--3 {
width: 340px;
height: 340px;
top: 40%;
inset-inline-end: 20%;
background: radial-gradient(circle at 50% 50%, var(--orb-3-color), transparent 70%);
animation-delay: -14s;
opacity: calc(var(--orb-opacity) * 0.6);
}
@keyframes orbFloat {
0%, 100% { transform: translate(0, 0) scale(1); }
33%      { transform: translate(30px, -40px) scale(1.05); }
66%      { transform: translate(-20px, 30px) scale(0.98); }
}
@media (max-width: 767px) {
:root {
--orb-blur: 70px;
--orb-opacity: 0.20;
}
.glass-ambient__orb--1 { width: 300px; height: 300px; top: -100px; inset-inline-start: -100px; }
.glass-ambient__orb--2 { width: 280px; height: 280px; bottom: -100px; inset-inline-end: -80px; }
.glass-ambient__orb--3 { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
.glass-ambient__orb {
animation: none;
}
}
.glass-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 24px;
min-height: 44px;
border: 1px solid transparent;
border-radius: var(--glass-radius-md);
font-family: inherit;
font-size: 14px;
font-weight: 600;
line-height: 1;
cursor: pointer;
white-space: nowrap;
user-select: none;
text-decoration: none;
transition:
transform var(--glass-duration-fast) var(--glass-ease),
border-color var(--glass-duration-fast) ease,
background var(--glass-duration-fast) ease,
color var(--glass-duration-fast) ease,
box-shadow var(--glass-duration-fast) ease;
overflow: hidden;
}
.glass-btn::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.12) 0%,
transparent 50%
);
pointer-events: none;
opacity: 0.5;
}
[data-theme="dark"] .glass-btn::before {
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.06) 0%,
transparent 50%
);
opacity: 0.4;
}
.glass-btn svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.glass-btn > span {
position: relative;
z-index: 1;
}
.glass-btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 3px;
}
.glass-btn:disabled,
.glass-btn[aria-disabled="true"] {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}
.glass-btn--primary {
background: linear-gradient(135deg, var(--primary), var(--primary-hover));
color: var(--on-primary);
border-color: color-mix(in srgb, var(--primary) 55%, transparent);
}
.glass-btn--primary:hover {
transform: translateY(-1px);
border-color: color-mix(in srgb, var(--primary) 80%, transparent);
box-shadow: 0 6px 20px var(--primary-glow);
}
.glass-btn--primary:active {
transform: translateY(0);
background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
}
.glass-btn--glass {
background: var(--glass-bg);
color: var(--text);
backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-sat));
-webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-sat));
border-color: var(--glass-border-color);
}
.glass-btn--glass:hover {
transform: translateY(-1px);
background: var(--glass-bg-hover);
border-color: color-mix(in srgb, var(--primary) 40%, transparent);
color: var(--primary-text);
}
.glass-btn--glass:active {
transform: translateY(0);
}
.glass-btn--ghost {
background: transparent;
color: var(--text-2);
border-color: var(--border);
}
.glass-btn--ghost:hover {
background: color-mix(in srgb, var(--text) 5%, transparent);
color: var(--text);
border-color: var(--border-2);
}
.glass-btn--accent {
background: var(--primary-tint);
color: var(--primary-text);
border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}
.glass-btn--accent:hover {
transform: translateY(-1px);
background: color-mix(in srgb, var(--primary) 18%, transparent);
border-color: color-mix(in srgb, var(--primary) 55%, transparent);
}
.glass-btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.glass-btn--lg { min-height: 52px; padding: 0 32px; font-size: 15px; }
.glass-btn--block { width: 100%; }
.glass-field {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.glass-field__label {
font-size: 12px;
font-weight: 600;
color: var(--text-2);
letter-spacing: 0.2px;
margin: 0;
transition: color var(--glass-duration-fast) ease;
}
.glass-field__label .req {
color: var(--error);
margin-inline-start: 2px;
}
.glass-field__wrap {
position: relative;
display: flex;
align-items: center;
min-height: 46px;
padding-inline: 14px;
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: var(--glass-radius-md);
transition:
border-color var(--glass-duration-fast) ease,
background var(--glass-duration-fast) ease,
box-shadow var(--glass-duration-fast) ease;
}
.glass-field.is-focused .glass-field__label,
.glass-field__wrap:focus-within ~ .glass-field__label {
color: var(--primary-text);
}
.glass-field__wrap:focus-within {
border-color: color-mix(in srgb, var(--primary) 60%, transparent);
background: var(--bg-elevated);
box-shadow: 0 0 0 4px var(--focus-ring);
}
.glass-field.is-error .glass-field__wrap {
border-color: color-mix(in srgb, var(--error) 60%, transparent);
box-shadow: 0 0 0 4px color-mix(in srgb, var(--error) 12%, transparent);
}
.glass-field.is-success .glass-field__wrap {
border-color: color-mix(in srgb, var(--success) 60%, transparent);
}
.glass-field__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
color: var(--text-3);
flex-shrink: 0;
margin-inline-end: 10px;
transition: color var(--glass-duration-fast) ease;
}
.glass-field__wrap:focus-within .glass-field__icon {
color: var(--primary);
}
.glass-field__icon svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 1.75;
stroke-linecap: round;
stroke-linejoin: round;
}
.glass-field__input {
flex: 1 1 auto;
min-width: 0;
border: none;
background: transparent;
outline: none;
padding: 11px 0;
font-family: inherit;
font-size: 14px;
color: var(--text);
line-height: 1.3;
-webkit-appearance: none;
appearance: none;
}
.glass-field__input::placeholder {
color: var(--text-3);
opacity: 0.7;
}
.glass-field__action {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border: none;
background: transparent;
color: var(--text-3);
cursor: pointer;
transition: color var(--glass-duration-fast) ease, background var(--glass-duration-fast) ease;
flex-shrink: 0;
padding: 0;
border-radius: 50%;
}
.glass-field__action:hover {
color: var(--primary-text);
background: var(--primary-tint);
}
.glass-field__action:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.glass-field__action svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 1.75;
stroke-linecap: round;
stroke-linejoin: round;
}
.glass-field__hint {
font-size: 11px;
color: var(--text-3);
line-height: 1.4;
}
.glass-field__error {
font-size: 11px;
color: var(--error);
line-height: 1.4;
display: none;
}
.glass-field.is-error .glass-field__error {
display: block;
}
.glass-alert {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px 14px;
background: var(--info-soft);
border: 1px solid color-mix(in srgb, var(--info) 30%, transparent);
border-inline-start: 3px solid var(--info);
border-radius: var(--glass-radius-sm);
font-size: 13px;
color: var(--text-2);
line-height: 1.6;
}
.glass-alert svg {
width: 15px;
height: 15px;
stroke: var(--info);
fill: none;
stroke-width: 2;
flex-shrink: 0;
margin-top: 2px;
}
.glass-alert--warning {
background: var(--warning-soft);
border-color: color-mix(in srgb, var(--warning) 30%, transparent);
border-inline-start-color: var(--warning);
}
.glass-alert--warning svg { stroke: var(--warning); }
.glass-alert--success {
background: var(--success-soft);
border-color: color-mix(in srgb, var(--success) 30%, transparent);
border-inline-start-color: var(--success);
}
.glass-alert--success svg { stroke: var(--success); }
.glass-alert--error {
background: var(--error-soft);
border-color: color-mix(in srgb, var(--error) 30%, transparent);
border-inline-start-color: var(--error);
}
.glass-alert--error svg { stroke: var(--error); }
.glass-divider {
display: flex;
align-items: center;
gap: 12px;
color: var(--text-3);
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.glass-divider::before,
.glass-divider::after {
content: '';
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.glass-stepper {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.glass-step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text-3);
font-family: var(--font-display);
font-size: 14px;
font-weight: 700;
flex-shrink: 0;
transition: all var(--glass-duration) var(--glass-ease-out);
}
.glass-step svg {
width: 15px;
height: 15px;
display: block;
}
.glass-step.is-active {
background: linear-gradient(135deg, var(--primary), var(--primary-hover));
border-color: color-mix(in srgb, var(--primary) 70%, transparent);
color: var(--on-primary);
transform: scale(1.05);
box-shadow: 0 4px 12px var(--primary-glow);
}
.glass-step.is-done {
background: var(--secondary);
border-color: color-mix(in srgb, var(--secondary) 70%, transparent);
color: var(--on-secondary);
}
.glass-step__line {
flex: 0 0 auto;
width: 48px;
height: 2px;
border-radius: 1px;
background: var(--border);
transition: background var(--glass-duration) ease;
}
.glass-step__line.is-done {
background: linear-gradient(90deg, var(--secondary), var(--primary));
}
.glass-progress {
position: relative;
height: 3px;
background: var(--border);
border-radius: 3px;
overflow: hidden;
width: 100%;
}
.glass-progress__bar {
height: 100%;
border-radius: 3px;
background: linear-gradient(90deg, var(--secondary), var(--primary));
transition: width var(--glass-duration-slow) var(--glass-ease-out);
width: 0%;
}
.glass-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 12px;
border-radius: var(--glass-radius-full);
background: var(--surface-2);
border: 1px solid var(--border);
font-size: 11px;
font-weight: 600;
color: var(--text-2);
letter-spacing: 0.2px;
line-height: 1;
}
.glass-badge svg {
width: 12px;
height: 12px;
stroke: currentColor;
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
flex-shrink: 0;
}
.glass-badge--primary {
background: var(--primary-tint);
border-color: color-mix(in srgb, var(--primary) 30%, transparent);
color: var(--primary-text);
}
.glass-badge--accent {
background: var(--primary-tint);
border-color: color-mix(in srgb, var(--primary) 30%, transparent);
color: var(--primary-text);
}
.glass-badge--success {
background: var(--success-soft);
border-color: color-mix(in srgb, var(--success) 30%, transparent);
color: var(--success);
}
.glass-card {
background: var(--glass-bg);
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
border: var(--glass-border);
border-radius: var(--glass-radius-xl);
box-shadow: var(--glass-shadow);
padding: 24px;
transition:
transform var(--glass-duration) var(--glass-ease-out),
border-color var(--glass-duration) ease,
box-shadow var(--glass-duration) ease;
}
.glass-card--interactive:hover {
transform: translateY(-2px);
border-color: color-mix(in srgb, var(--primary) 30%, transparent);
box-shadow: var(--glass-shadow-lg);
}
.glass-section {
padding: 20px 24px;
}
.glass-section + .glass-section {
border-top: 1px solid var(--glass-divider);
}
.content-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--glass-radius-lg);
padding: 20px 24px;
box-shadow: var(--shadow-sm);
transition:
border-color var(--t-fast) ease,
box-shadow var(--t-fast) ease;
}
.content-card:hover {
border-color: var(--border-2);
box-shadow: var(--shadow);
}
.content-card--flat {
box-shadow: none;
background: var(--surface);
}
.content-card--accent {
border-inline-start: 3px solid var(--accent, var(--primary));
}
.content-card--primary {
border-inline-start: 3px solid var(--primary);
}
.result-card {
display: flex;
flex-direction: column;
gap: 12px;
padding: 18px 20px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--glass-radius-md);
transition: all var(--t-fast) ease;
}
.result-card:hover {
border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
background: var(--bg-elevated);
}
.result-card__header {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.result-card__title {
flex: 1;
min-width: 0;
font-family: var(--font-display);
font-size: 15px;
font-weight: 700;
color: var(--text);
line-height: 1.4;
margin: 0;
}
.result-card__snippet {
font-size: 13.5px;
color: var(--text-2);
line-height: 1.7;
margin: 0;
}
.result-card__meta {
display: flex;
align-items: center;
gap: 12px;
font-size: 11px;
color: var(--text-3);
padding-top: 4px;
border-top: 1px solid var(--border-soft);
margin-top: 4px;
flex-wrap: wrap;
}
.result-card__meta-item {
display: inline-flex;
align-items: center;
gap: 4px;
}
.result-card__meta-item svg {
width: 12px;
height: 12px;
stroke: currentColor;
fill: none;
stroke-width: 2;
flex-shrink: 0;
}
.glass-btn:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 3px;
}
.glass-field__input:focus-visible {
outline: none;
}
.glass-field__action:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.glass-card:focus-visible,
.content-card:focus-visible,
.result-card:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.glass,
.glass-btn,
.glass-card,
.glass-field__wrap,
.glass-step,
.content-card,
.result-card {
transition: none;
}
.glass-btn:hover {
transform: none;
}
.glass-card--interactive:hover {
transform: none;
}
.glass-ambient__orb {
animation: none;
}
}
@supports not (backdrop-filter: blur(10px)) {
.glass,
.glass-card,
.glass-btn--glass,
.glass-step,
.glass-badge,
.glass-alert,
.glass-field__wrap {
background: var(--surface);
}
[data-theme="dark"] .glass,
[data-theme="dark"] .glass-card,
[data-theme="dark"] .glass-btn--glass,
[data-theme="dark"] .glass-step,
[data-theme="dark"] .glass-badge,
[data-theme="dark"] .glass-alert,
[data-theme="dark"] .glass-field__wrap {
background: var(--surface-1);
}
}
:root {
--anim-fast:        0.3s;
--anim-base:        0.6s;
--anim-slow:        0.9s;
--anim-xslow:       1.2s;
--anim-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
--anim-ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
--anim-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--anim-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
--stagger-base:     0.05s;
}
[data-words] {
display: inline;
}
[data-words] .word {
display: inline-block;
opacity: 0;
transform: translateY(0.4em);
filter: blur(6px);
will-change: opacity, transform, filter;
transition:
opacity 0.7s var(--anim-ease-out),
transform 0.7s var(--anim-ease-out),
filter 0.7s var(--anim-ease-out);
}
[data-words].is-visible .word {
opacity: 1;
transform: translateY(0);
filter: blur(0);
}
[data-words] .word:nth-child(1)  { transition-delay: calc(var(--stagger-base) * 0); }
[data-words] .word:nth-child(2)  { transition-delay: calc(var(--stagger-base) * 1); }
[data-words] .word:nth-child(3)  { transition-delay: calc(var(--stagger-base) * 2); }
[data-words] .word:nth-child(4)  { transition-delay: calc(var(--stagger-base) * 3); }
[data-words] .word:nth-child(5)  { transition-delay: calc(var(--stagger-base) * 4); }
[data-words] .word:nth-child(6)  { transition-delay: calc(var(--stagger-base) * 5); }
[data-words] .word:nth-child(7)  { transition-delay: calc(var(--stagger-base) * 6); }
[data-words] .word:nth-child(8)  { transition-delay: calc(var(--stagger-base) * 7); }
[data-words] .word:nth-child(9)  { transition-delay: calc(var(--stagger-base) * 8); }
[data-words] .word:nth-child(10) { transition-delay: calc(var(--stagger-base) * 9); }
[data-words] .word:nth-child(n+11) { transition-delay: calc(var(--stagger-base) * 10); }
[data-reveal] {
opacity: 0;
transform: translateY(24px);
will-change: opacity, transform;
transition:
opacity 0.8s var(--anim-ease-out),
transform 0.8s var(--anim-ease-out);
}
[data-reveal="right"] {
transform: translateX(32px);
}
[data-reveal="left"] {
transform: translateX(-32px);
}
[data-reveal="scale"] {
transform: scale(0.96);
}
[data-reveal="fade"] {
transform: none;
}
[data-reveal].is-visible {
opacity: 1;
transform: translateY(0) translateX(0) scale(1);
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }
[data-reveal][data-delay="6"] { transition-delay: 0.6s; }
[data-typing] {
display: inline-block;
position: relative;
}
[data-typing]::after {
content: '';
display: inline-block;
width: 2px;
height: 1em;
background: var(--primary);
margin-inline-start: 4px;
vertical-align: text-bottom;
animation: typeCursor 0.9s step-end infinite;
opacity: 0;
}
[data-typing].is-typing::after {
opacity: 1;
}
[data-typing].is-done::after {
animation: typeCursor 0.9s step-end infinite;
opacity: 0.4;
}
@keyframes typeCursor {
0%, 49%   { opacity: 1; }
50%, 100% { opacity: 0; }
}
[data-typing] .char {
opacity: 0;
display: inline-block;
}
[data-typing] .char.is-typed {
opacity: 1;
}
[data-typing] .char.space {
width: 0.3em;
}
[data-counter] {
display: inline-block;
font-variant-numeric: tabular-nums;
letter-spacing: -0.02em;
}
[data-spotlight] {
position: relative;
overflow: hidden;
}
[data-spotlight]::before {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
background: radial-gradient(
400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
color-mix(in srgb, var(--primary) 14%, transparent),
transparent 40%
);
opacity: 0;
transition: opacity 0.4s var(--anim-ease-smooth);
}
[data-spotlight]:hover::before {
opacity: 1;
}
[data-spotlight] > * {
position: relative;
z-index: 1;
}
[data-gradient-border] {
position: relative;
isolation: isolate;
}
[data-gradient-border]::before {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1px;
background: conic-gradient(
from var(--gradient-angle, 0deg),
color-mix(in srgb, var(--primary) 80%, transparent),
color-mix(in srgb, var(--primary) 20%, transparent),
color-mix(in srgb, var(--secondary) 60%, transparent),
color-mix(in srgb, var(--primary) 80%, transparent)
);
-webkit-mask:
linear-gradient(#000 0 0) content-box,
linear-gradient(#000 0 0);
mask:
linear-gradient(#000 0 0) content-box,
linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: -1;
animation: gradientSpin 8s linear infinite;
}
@property --gradient-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
@keyframes gradientSpin {
to { --gradient-angle: 360deg; }
}
[data-parallax] {
will-change: transform;
transition: transform 0.15s linear;
}
[data-parallax="slow"]  { --parallax-speed: 0.15; }
[data-parallax="base"]  { --parallax-speed: 0.3; }
[data-parallax="fast"]  { --parallax-speed: 0.5; }
[data-tilt] {
transform-style: preserve-3d;
transform:
perspective(1000px)
rotateX(var(--tilt-x, 0deg))
rotateY(var(--tilt-y, 0deg))
scale(var(--tilt-scale, 1));
transition: transform 0.4s var(--anim-ease-out);
will-change: transform;
}
[data-marquee] {
position: relative;
overflow: hidden;
width: 100%;
}
[data-marquee]::before,
[data-marquee]::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 80px;
z-index: 2;
pointer-events: none;
}
[data-marquee]::before {
inset-inline-start: 0;
background: linear-gradient(to right, var(--bg), transparent);
}
[data-marquee]::after {
inset-inline-end: 0;
background: linear-gradient(to left, var(--bg), transparent);
}
[data-marquee] .marquee-track {
display: flex;
gap: 32px;
width: max-content;
animation: marqueeScroll 40s linear infinite;
will-change: transform;
}
[data-marquee][data-direction="reverse"] .marquee-track {
animation-direction: reverse;
}
[data-marquee]:hover .marquee-track {
animation-play-state: paused;
}
@keyframes marqueeScroll {
from { transform: translateX(0); }
to   { transform: translateX(-50%); }
}
[dir="rtl"] [data-marquee] .marquee-track {
animation-name: marqueeScrollRTL;
}
@keyframes marqueeScrollRTL {
from { transform: translateX(0); }
to   { transform: translateX(50%); }
}
[data-line-extend] {
position: relative;
display: inline-block;
}
[data-line-extend]::after {
content: '';
position: absolute;
top: 50%;
inset-inline-start: calc(100% + 16px);
width: 0;
height: 2px;
background: linear-gradient(
to right,
var(--primary),
color-mix(in srgb, var(--primary) 30%, transparent),
transparent
);
border-radius: 2px;
transform: translateY(-50%);
transition: width 1.4s var(--anim-ease-out) 0.4s;
pointer-events: none;
}
[dir="rtl"] [data-line-extend]::after {
background: linear-gradient(
to left,
var(--primary),
color-mix(in srgb, var(--primary) 30%, transparent),
transparent
);
}
[data-line-extend].is-visible::after {
width: var(--line-width, 200px);
}
@media (max-width: 767px) {
[data-line-extend]::after {
display: none;
}
}
[data-float] {
animation: floatY 6s ease-in-out infinite;
}
[data-float="slow"] { animation-duration: 8s; }
[data-float="fast"] { animation-duration: 4s; }
[data-float][data-delay="1"] { animation-delay: -1s; }
[data-float][data-delay="2"] { animation-delay: -2s; }
[data-float][data-delay="3"] { animation-delay: -3s; }
@keyframes floatY {
0%, 100% { transform: translateY(0); }
50%      { transform: translateY(-8px); }
}
[data-pulse] {
position: relative;
display: inline-block;
width: 8px;
height: 8px;
background: var(--primary);
border-radius: 50%;
}
[data-pulse]::before,
[data-pulse]::after {
content: '';
position: absolute;
inset: 0;
border-radius: 50%;
background: var(--primary);
animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
[data-pulse]::after {
animation-delay: 0.7s;
}
@keyframes pulseRing {
0%   { transform: scale(1);   opacity: 0.7; }
100% { transform: scale(3.5); opacity: 0; }
}
.section-head {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
margin-bottom: 48px;
align-items: end;
}
@media (min-width: 900px) {
.section-head {
grid-template-columns: 1.4fr 1fr;
gap: 48px;
}
.section-head--reverse {
grid-template-columns: 1fr 1.4fr;
}
.section-head--reverse > *:first-child {
order: 2;
}
}
.section-head__title-wrap {
display: flex;
flex-direction: column;
gap: 12px;
min-width: 0;
}
.section-head__label {
display: inline-flex;
align-items: center;
gap: 8px;
width: fit-content;
padding: 5px 12px;
background: var(--glass-bg-panel);
backdrop-filter: blur(var(--glass-blur-soft));
-webkit-backdrop-filter: blur(var(--glass-blur-soft));
border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
border-radius: var(--glass-radius-full);
font-size: 10px;
font-weight: 700;
color: var(--primary);
letter-spacing: 1.2px;
text-transform: uppercase;
line-height: 1;
}
.section-head__title {
font-family: var(--font-display);
font-size: clamp(1.75rem, 3.5vw, 2.75rem);
font-weight: 700;
color: var(--text);
line-height: 1.15;
letter-spacing: -0.6px;
margin: 0;
}
.section-head__sub {
font-size: clamp(13px, 1.4vw, 15px);
color: var(--text-2);
line-height: 1.7;
margin: 0;
max-width: 480px;
}
.section-head--center {
text-align: center;
justify-items: center;
}
.section-head--center .section-head__sub {
margin-inline: auto;
}
@media (max-width: 899px) {
.section-head {
gap: 12px;
margin-bottom: 32px;
}
}
.hero-split {
display: grid;
grid-template-columns: 1fr;
gap: 32px;
padding: 32px 24px 40px;
max-width: var(--container);
margin: 0 auto;
align-items: center;
}
@media (min-width: 900px) {
.hero-split {
grid-template-columns: 1.35fr 1fr;
gap: 64px;
padding: 56px 40px 64px;
align-items: center;
min-height: auto;
}
}
@media (min-width: 1200px) {
.hero-split {
gap: 88px;
padding: 64px 24px 80px;
}
}
.hero-split__main {
display: flex;
flex-direction: column;
gap: 24px;
min-width: 0;
}
.hero-split__aside {
display: flex;
flex-direction: column;
gap: 20px;
min-width: 0;
}
.hero-split__eyebrow {
display: inline-flex;
align-items: center;
gap: 10px;
width: fit-content;
padding: 6px 14px;
background: var(--glass-bg-panel);
backdrop-filter: blur(var(--glass-blur-soft));
-webkit-backdrop-filter: blur(var(--glass-blur-soft));
border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
border-radius: var(--glass-radius-full);
font-size: 11px;
font-weight: 700;
color: var(--primary);
letter-spacing: 1px;
text-transform: uppercase;
line-height: 1;
}
.hero-split__eyebrow svg {
width: 12px;
height: 12px;
stroke: currentColor;
fill: none;
stroke-width: 2.25;
}
.hero-split__title {
font-family: var(--font-display);
font-size: clamp(2.25rem, 6vw, 4.5rem);
font-weight: 700;
color: var(--text);
line-height: 1.05;
letter-spacing: -1.5px;
margin: 0;
}
.hero-split__title em {
font-style: normal;
display: inline-block;
color: var(--primary);
position: relative;
}
.hero-split__sub {
font-size: clamp(14px, 1.5vw, 17px);
color: var(--text-2);
line-height: 1.75;
margin: 0;
}
.hero-split__actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
align-items: center;
}
.hero-split__trust {
display: flex;
flex-wrap: wrap;
gap: 12px 24px;
padding-top: 8px;
font-size: 12px;
color: var(--text-3);
}
.hero-split__trust-item {
display: inline-flex;
align-items: center;
gap: 8px;
}
.hero-split__trust-item svg {
width: 14px;
height: 14px;
stroke: var(--primary);
fill: none;
stroke-width: 2.25;
flex-shrink: 0;
}
@media (max-width: 899px) {
.hero-split {
padding: 24px 16px 32px;
gap: 24px;
}
.hero-split__main,
.hero-split__aside {
gap: 16px;
}
.hero-split__actions {
width: 100%;
}
.hero-split__actions .glass-btn {
flex: 1;
min-width: 140px;
}
}
.hero-aside-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
@media (min-width: 900px) {
.hero-aside-stats {
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}
}
.hero-aside-stat {
padding: 20px 18px;
background: var(--glass-bg-panel);
backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-sat));
-webkit-backdrop-filter: blur(var(--glass-blur-soft)) saturate(var(--glass-sat));
border: 1px solid var(--glass-border-color);
border-radius: var(--glass-radius-md);
transition: all var(--anim-fast) var(--anim-ease-out);
}
.hero-aside-stat:hover {
border-color: color-mix(in srgb, var(--primary) 40%, transparent);
background: var(--glass-bg);
}
.hero-aside-stat__num {
display: block;
font-family: var(--font-display);
font-size: clamp(1.5rem, 2.5vw, 2rem);
font-weight: 700;
color: var(--primary);
line-height: 1;
letter-spacing: -1px;
margin-bottom: 4px;
}
.hero-aside-stat__label {
display: block;
font-size: 12px;
color: var(--text-3);
line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
[data-words] .word,
[data-reveal],
[data-typing]::after {
transition: none !important;
animation: none !important;
}
[data-words] .word,
[data-reveal] {
opacity: 1 !important;
transform: none !important;
filter: none !important;
}
[data-float],
[data-pulse]::before,
[data-pulse]::after,
[data-marquee] .marquee-track {
animation: none !important;
}
[data-gradient-border]::before {
animation: none;
}
[data-parallax],
[data-tilt] {
transition: none !important;
transform: none !important;
}
}
.sidebar-space-card {
position: relative;
margin-bottom: 12px;
z-index: 100;
}
.space-card-btn {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 12px;
background: var(--surface-2, #f3f0e8);
border: 1px solid var(--border, #e6e0d2);
border-radius: 12px;
cursor: pointer;
font-family: inherit;
text-align: start;
transition: all 0.2s ease;
}
.space-card-btn:hover {
border-color: var(--primary, #B08D57);
background: var(--surface, #ffffff);
}
.space-card-btn:focus-visible {
outline: 2px solid var(--primary, #B08D57);
outline-offset: 2px;
}
.space-card-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--primary, #B08D57);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 16px;
flex-shrink: 0;
}
.space-card-info {
flex: 1;
min-width: 0;
}
.space-card-name {
font-size: 14px;
font-weight: 600;
color: var(--text, #26221b);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.3;
}
.space-card-type {
display: flex;
align-items: center;
gap: 6px;
margin-top: 2px;
font-size: 11px;
color: var(--text-3, #857e6e);
line-height: 1.3;
}
.space-page-status {
display: inline-flex;
align-items: center;
padding: 1px 6px;
border-radius: 9999px;
font-size: 10px;
font-weight: 700;
line-height: 1.4;
}
.space-page-status--active {
background: color-mix(in srgb, var(--success, #1F7A4D) 12%, transparent);
color: var(--success, #1F7A4D);
}
.space-page-status--maintenance,
.space-page-status--vacation {
background: color-mix(in srgb, var(--warning, #B45309) 12%, transparent);
color: var(--warning, #B45309);
}
.space-page-status--inactive {
background: color-mix(in srgb, var(--text-3, #857e6e) 12%, transparent);
color: var(--text-3, #857e6e);
}
.space-card-chev {
width: 16px;
height: 16px;
color: var(--text-3, #857e6e);
flex-shrink: 0;
transition: transform 0.2s ease;
}
.space-card-btn[aria-expanded="true"] .space-card-chev {
transform: rotate(180deg);
}
.space-dropdown {
position: absolute;
top: calc(100% + 6px);
inset-inline: 0;
z-index: 9999;
background: var(--surface, #ffffff) !important;
border: 1px solid var(--border, #e6e0d2);
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
padding: 6px;
animation: spaceDropdownIn 0.15s ease;
}
@keyframes spaceDropdownIn {
from { opacity: 0; transform: translateY(-4px); }
to   { opacity: 1; transform: translateY(0); }
}
.space-dropdown-label {
padding: 6px 10px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.8px;
text-transform: uppercase;
color: var(--text-3, #857e6e);
}
.space-dropdown-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: 8px;
color: var(--text, #26221b);
text-decoration: none;
cursor: pointer;
transition: background 0.15s ease;
}
.space-dropdown-item:hover {
background: var(--surface-2, #f3f0e8);
}
.space-dropdown-item.is-active {
background: color-mix(in srgb, var(--primary, #B08D57) 10%, transparent);
}
.space-dropdown-item.is-active .space-dropdown-name {
color: var(--primary-text, #7A5C2E);
}
.space-dropdown-icon {
width: 32px;
height: 32px;
border-radius: 8px;
background: var(--surface-2, #f3f0e8);
color: var(--text-2, #4f483c);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.space-dropdown-icon svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 2;
}
.space-dropdown-item.is-active .space-dropdown-icon {
background: var(--primary, #B08D57);
color: #ffffff;
}
.space-dropdown-info {
flex: 1;
min-width: 0;
}
.space-dropdown-name {
font-size: 13px;
font-weight: 600;
line-height: 1.3;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.space-dropdown-sub {
font-size: 11px;
color: var(--text-3, #857e6e);
line-height: 1.3;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.space-dropdown-check {
width: 16px;
height: 16px;
color: var(--primary, #B08D57);
flex-shrink: 0;
}
.space-dropdown-add {
border-top: 1px solid var(--border, #e6e0d2);
margin-top: 4px;
padding-top: 8px;
}
.space-dropdown-add .space-dropdown-icon {
background: color-mix(in srgb, var(--primary, #B08D57) 12%, transparent);
color: var(--primary, #B08D57);
}
.space-dropdown-add .space-dropdown-name {
color: var(--primary-text, #7A5C2E);
}
[data-theme="dark"] .space-card-btn {
background: var(--surface-2, #232730);
border-color: var(--border, #2E333D);
}
[data-theme="dark"] .space-dropdown {
background: var(--surface, #1B1E24) !important;
border-color: var(--border, #2E333D);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
.space-card-btn,
.space-card-chev,
.space-dropdown,
.space-dropdown-item {
transition: none !important;
animation: none !important;
}
}
.topbar-user-dot {
display: none !important;
}
.topbar-user-avatar {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--primary, #B08D57);
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 13px;
line-height: 1;
}
.topbar-btn--user {
padding: 0 !important;
width: 36px;
height: 36px;
}
.sidebar-link-count {
margin-inline-start: auto;
min-width: 20px;
padding: 0 6px;
border-radius: 999px;
background: var(--primary);
color: var(--on-primary);
font-family: var(--font-num, inherit);
font-size: 11px;
font-weight: 700;
line-height: 20px;
text-align: center;
}
.sidebar-link-lock {
width: 14px;
height: 14px;
margin-inline-start: auto;
color: var(--text-3);
}
.sidebar-link.is-locked { opacity: 0.6; }
@keyframes cbx-pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.d-cbx { position: relative; min-width: 0; }
.d-cbx__native { position: absolute !important; inset-inline: 0; bottom: 0; width: 100% !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.d-cbx__btn { display: flex; align-items: center; text-align: start; cursor: pointer; }
.d-cbx__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-cbx__btn.is-empty .d-cbx__text { color: var(--text-3); }
.d-cbx__btn.is-invalid { border-bottom-color: var(--error); }
.d-cbx__btn:disabled { opacity: .6; cursor: default; }
.d-cbx.is-open .d-cbx__btn { border-bottom-color: var(--primary); box-shadow: inset 0 -1px 0 var(--primary); }
.d-toolbar .d-cbx { flex: none; min-width: 180px; max-width: 280px; }
.d-toolbar .d-cbx__btn { min-height: 36px; }
.d-cbx__panel {
position: fixed;
z-index: 1000;
display: flex;
flex-direction: column;
padding: var(--d-sp-2, 8px);
border: 1px solid var(--border);
border-radius: var(--d-r-md, 12px);
background: var(--surface);
box-shadow: var(--shadow-lg);
animation: cbx-pop 0.14s var(--d-ease, ease);
}
.d-cbx__panel[hidden] { display: none; }
.d-cbx__search { flex: none; min-height: 38px; margin-bottom: var(--d-sp-2, 8px); padding-inline: var(--d-sp-2, 8px); border: 1px solid var(--border); border-radius: var(--d-r-sm, 8px); background: var(--surface-1); font-size: var(--d-fs-lg, 16px); }
.d-cbx__search:focus { border-color: var(--primary); box-shadow: none; }
.d-cbx__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.d-cbx__opt { display: grid; gap: 1px; padding: var(--d-sp-2, 8px) var(--d-sp-3, 12px); border-radius: var(--d-r-sm, 8px); color: var(--text); font-size: var(--d-fs-md, 14px); cursor: pointer; }
.d-cbx__opt small { font-size: var(--d-fs-xs, 12px); color: var(--text-3); }
.d-cbx__opt[hidden], .d-cbx__group[hidden] { display: none; }
.d-cbx__opt.is-placeholder { color: var(--text-3); }
.d-cbx__opt.is-active { background: var(--hover); }
.d-cbx__opt[aria-selected="true"] { background: var(--primary-tint); color: var(--primary-text); font-weight: 600; }
.d-cbx__opt.is-disabled { opacity: .45; cursor: default; }
.d-cbx__group { padding: var(--d-sp-2, 8px) var(--d-sp-3, 12px) var(--d-sp-1, 4px); font-size: var(--d-fs-xs, 12px); font-weight: 700; color: var(--text-3); }
.d-cbx__none { padding: var(--d-sp-4, 16px) var(--d-sp-3, 12px); color: var(--text-3); font-size: var(--d-fs-sm, 13px); text-align: center; }
.d-cbx__none[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .d-cbx__panel { animation: none; } }
.d-cbx__search { width: 100%; color: var(--text); font-family: var(--font-body); outline: none; }
.d-cbx__btn { gap: 6px; }
.d-cbx__opt { min-width: 0; }
.d-cbx__label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-cbx__opt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding: 32px 20px 56px; }
.dir-head { margin-bottom: 24px; text-align: center; }
.dir-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); }
.dir-head p { margin: 0 auto; max-width: 56ch; color: var(--text-3); }
.dir-search { position: relative; max-width: 520px; margin: 20px auto 0; }
.dir-search input {
width: 100%; min-height: 50px; padding: 0 48px 0 18px;
border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface); color: var(--text);
}
.dir-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.dir-search svg { position: absolute; top: 50%; inset-inline-end: 18px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
[dir="rtl"] .dir-search input { padding: 0 18px 0 48px; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dir-card {
position: relative; display: grid; gap: 10px; padding: 22px;
background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm);
transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.dir-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow); }
.dir-card__top { display: flex; align-items: center; gap: 12px; }
.dir-avatar {
display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-size: 21px; font-weight: 700;
box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px color-mix(in srgb, var(--primary) 35%, transparent);
}
.dir-avatar--lg { width: 76px; height: 76px; font-size: 30px; }
.dir-avatar.has-img { overflow: hidden; background: var(--surface-2); }
.dir-avatar.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dir-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.dir-meta { font-size: 13px; color: var(--text-3); }
.dir-bio { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-tag { padding: 3px 10px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-text); font-size: 12px; font-weight: 600; }
.dir-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-size: 12.5px; font-weight: 600; }
.dir-verified svg { width: 15px; height: 15px; }
.dir-empty { padding: 48px 20px; text-align: center; color: var(--text-3); }
.dir-profile { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .dir-profile { grid-template-columns: minmax(0, 1fr); } }
.dir-panel { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.dir-panel h2 { margin: 0 0 12px; font-size: 18px; }
.dir-panel p { white-space: pre-line; }
.dir-form { display: grid; gap: 12px; }
.dir-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.dir-form input, .dir-form textarea {
width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-1); color: var(--text);
}
.dir-form textarea { min-height: 120px; resize: vertical; }
.dir-form input:focus, .dir-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.dir-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
border-radius: 12px; background: var(--primary); color: var(--on-primary); font-weight: 700; border: 0; cursor: pointer;
}
.dir-btn:hover { background: var(--primary-hover); }
.dir-note { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.dir-note--ok { background: var(--success-soft); color: var(--success); }
.dir-note--err { background: var(--error-soft); color: var(--error); }
