:root {
  --radius: 3px;
  --font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg: #f2f4f6;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --surface-3: #eef1f4;
  --topbar: #ffffff;
  --sidebar: #ffffff;
  --border: #dfe4e8;
  --border-strong: #cfd6dc;
  --text: #171b20;
  --muted: #69727c;
  --subtle: #8f98a2;
  --orange: #f97316;
  --orange-strong: #ea580c;
  --orange-soft: #fff2e8;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --blue-soft: #eaf1ff;
  --green: #16a34a;
  --green-soft: #eaf8ef;
  --red: #dc2626;
  --red-soft: #fff0f0;
  --yellow: #d97706;
  --yellow-soft: #fff7e6;
  --purple: #7c3aed;
  --shadow: 0 1px 2px rgba(15,23,42,.05);
  --sidebar-width: 218px;
  --topbar-height: 52px;
  --container: min(75vw, 1440px);
}
html[data-theme="dark"] {
  --bg: #0d1116;
  --surface: #141a20;
  --surface-2: #10161c;
  --surface-3: #1b222a;
  --topbar: #10151b;
  --sidebar: #10151b;
  --border: #29323b;
  --border-strong: #35414c;
  --text: #e7ebef;
  --muted: #9ba6b1;
  --subtle: #72808d;
  --orange-soft: #2c1c11;
  --blue-soft: #14233f;
  --green-soft: #11281b;
  --red-soft: #2c1719;
  --yellow-soft: #2d2514;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg: #0d1116;
    --surface: #141a20;
    --surface-2: #10161c;
    --surface-3: #1b222a;
    --topbar: #10151b;
    --sidebar: #10151b;
    --border: #29323b;
    --border-strong: #35414c;
    --text: #e7ebef;
    --muted: #9ba6b1;
    --subtle: #72808d;
    --orange-soft: #2c1c11;
    --blue-soft: #14233f;
    --green-soft: #11281b;
    --red-soft: #2c1719;
    --yellow-soft: #2d2514;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; color: var(--text); background: var(--bg); font: 13px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
p { margin: 0 0 12px; color: var(--muted); }
h1,h2,h3,h4,h5,h6 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 3.35vw, 58px); font-weight: 760; }
h2 { font-size: clamp(24px, 2.3vw, 38px); }
h3 { font-size: 18px; }
h4 { font-size: 14px; }
small { font-size: 11px; }
ul { padding-left: 18px; }
.icon { flex: 0 0 auto; vertical-align: middle; }
.public-container { width: var(--container); margin-inline: auto; }
.section { padding: 72px 0; }
.section-compact { padding: 48px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section-heading { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading p { max-width: 620px; margin: 12px auto 0; font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }.gap-2 { gap: 8px; }.gap-3 { gap: 12px; }.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }.mt-2 { margin-top: 8px; }.mt-3 { margin-top: 12px; }.mt-4 { margin-top: 16px; }.mt-6 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }.mb-2 { margin-bottom: 8px; }.mb-3 { margin-bottom: 12px; }.mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

.brand { display: inline-flex; align-items: center; gap: 9px; min-width: max-content; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; background: var(--orange); color: #fff; border-radius: var(--radius); font-weight: 800; font-size: 15px; }
.brand b { display: block; color: var(--orange); font-size: 15px; letter-spacing: .01em; }
.brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 500; white-space: nowrap; }
.public-header { position: sticky; top: 0; z-index: 80; height: 58px; background: color-mix(in srgb, var(--topbar) 94%, transparent); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.header-row { height: 100%; display: flex; align-items: center; gap: 26px; }
.public-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.public-nav a { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 0 10px; color: var(--muted); border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 550; }
.public-nav a:hover, .public-nav a.active { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.public-nav a.active { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 5px; }
.mobile-menu-toggle { display: none !important; }

.btn { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 650; font-size: 12px; cursor: pointer; white-space: nowrap; transition: background .15s,border-color .15s,color .15s,transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 28px; padding-inline: 9px; font-size: 11px; }
.btn-lg { min-height: 42px; padding: 0 19px; font-size: 13px; }
.btn-primary { color: #fff; background: var(--orange); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-strong); border-color: var(--orange-strong); }
.btn-blue { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-strong); }
.btn-success { color: #fff; background: var(--green); border-color: var(--green); }
.btn-danger { color: #fff; background: var(--red); border-color: var(--red); }
.btn-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--blue); }
.btn-ghost { color: var(--muted); background: transparent; border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; }
.icon-button { width: 30px; height: 30px; padding: 0; display: inline-grid; place-items: center; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; }
.icon-button:hover { color: var(--text); background: var(--surface-2); border-color: var(--border); }
.action-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.action-row.end { justify-content: flex-end; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; z-index: 150; top: calc(100% + 6px); left: 0; min-width: 180px; padding: 5px; display: none; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.16); }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu-right { right: 0; left: auto; }
.dropdown-menu a, .dropdown-menu button { width: 100%; min-height: 30px; display: flex; align-items: center; gap: 8px; padding: 5px 9px; color: var(--muted); background: transparent; border: 0; border-radius: var(--radius); text-align: left; cursor: pointer; }
.dropdown-menu a:hover, .dropdown-menu button:hover, .dropdown-menu .active { color: var(--text); background: var(--surface-2); }
.dropdown-menu form { margin: 0; }

.form-group { margin-bottom: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.form-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.form-grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
label { display: block; margin-bottom: 5px; color: var(--text); font-size: 11px; font-weight: 650; }
.form-control, input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],input[type="datetime-local"],input[type="url"],input[type="search"],select,textarea {
  width: 100%; min-height: 30px; padding: 5px 9px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); outline: none; font-size: 12px;
}
textarea { min-height: 90px; resize: vertical; }
.form-control:focus,input:focus,select:focus,textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px color-mix(in srgb,var(--blue) 15%,transparent); }
input::placeholder,textarea::placeholder { color: var(--subtle); }
.form-help { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.checkbox, .radio { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; margin: 0; font-weight: 500; cursor: pointer; }
.checkbox input,.radio input { width: 14px; height: 14px; min-height: 0; margin: 0; accent-color: var(--orange); }
.input-group { display: flex; }
.input-group > * { border-radius: 0; }
.input-group > :first-child { border-radius: var(--radius) 0 0 var(--radius); }
.input-group > :last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; top: 8px; left: 9px; color: var(--muted); pointer-events: none; }
.input-icon > input { padding-left: 31px; }
.filter-bar { display: flex; align-items: end; gap: 8px; padding: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.filter-bar .form-group { margin: 0; min-width: 130px; }
.filter-bar .form-group.grow { flex: 1; min-width: 220px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-header { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.card-header h3,.card-header h4 { display: flex; align-items: center; gap: 7px; }
.card-body { padding: 13px; }
.card-footer { padding: 9px 12px; background: var(--surface-2); border-top: 1px solid var(--border); }
.cards-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.stat-card { min-height: 92px; padding: 13px; display: flex; align-items: flex-start; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border: 1px solid color-mix(in srgb,var(--blue) 20%,var(--border)); border-radius: var(--radius); }
.stat-card.orange .stat-icon { background: var(--orange-soft); color: var(--orange); border-color: color-mix(in srgb,var(--orange) 20%,var(--border)); }
.stat-card.green .stat-icon { background: var(--green-soft); color: var(--green); border-color: color-mix(in srgb,var(--green) 20%,var(--border)); }
.stat-card.red .stat-icon { background: var(--red-soft); color: var(--red); border-color: color-mix(in srgb,var(--red) 20%,var(--border)); }
.stat-card small { display: block; color: var(--muted); margin-bottom: 3px; }
.stat-card strong { display: block; font-size: 20px; line-height: 1.2; }
.stat-card em { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-style: normal; }

.table-responsive { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 11px; }
.table th { height: 34px; padding: 7px 9px; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--border); text-align: left; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.table td { min-height: 36px; padding: 8px 9px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: color-mix(in srgb,var(--blue) 3%,var(--surface)); }
.table a.link { color: var(--blue); font-weight: 650; }
.table .actions { width: 1%; white-space: nowrap; text-align: right; }
.status { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 6px; border: 1px solid; border-radius: 2px; font-size: 9px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.status-success { color: var(--green); background: var(--green-soft); border-color: color-mix(in srgb,var(--green) 25%,var(--border)); }
.status-warning { color: var(--yellow); background: var(--yellow-soft); border-color: color-mix(in srgb,var(--yellow) 25%,var(--border)); }
.status-danger { color: var(--red); background: var(--red-soft); border-color: color-mix(in srgb,var(--red) 25%,var(--border)); }
.status-muted { color: var(--muted); background: var(--surface-3); border-color: var(--border); }
.status-info { color: var(--blue); background: var(--blue-soft); border-color: color-mix(in srgb,var(--blue) 25%,var(--border)); }

.alert { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; padding: 9px 11px; border: 1px solid; border-radius: var(--radius); font-size: 11px; }
.alert ul { margin: 5px 0 0; }
.alert-success { color: var(--green); background: var(--green-soft); border-color: color-mix(in srgb,var(--green) 35%,var(--border)); }
.alert-warning { color: var(--yellow); background: var(--yellow-soft); border-color: color-mix(in srgb,var(--yellow) 35%,var(--border)); }
.alert-danger { color: var(--red); background: var(--red-soft); border-color: color-mix(in srgb,var(--red) 35%,var(--border)); }
.alert-info { color: var(--blue); background: var(--blue-soft); border-color: color-mix(in srgb,var(--blue) 35%,var(--border)); }
.flash-wrap { padding-top: 12px; }
.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty-state .icon { width: 38px; height: 38px; margin-bottom: 10px; color: var(--subtle); }

.hero { position: relative; overflow: hidden; padding: 78px 0 76px; background: linear-gradient(135deg,var(--surface) 0%,var(--surface-2) 68%,var(--orange-soft) 100%); border-bottom: 1px solid var(--border); }
.hero::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.28; background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px); background-size:32px 32px; mask-image:linear-gradient(to right,#000,transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy > p { max-width: 630px; margin: 18px 0 24px; font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-media { position: relative; }
.hero-window { overflow: hidden; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 25px 70px rgba(15,23,42,.16); }
.hero-window-bar { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.hero-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.hero-window img { width: 100%; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 10px 25px rgba(15,23,42,.12); font-size: 11px; font-weight: 650; }
.hero-float.top { top: -18px; right: 20px; color: var(--blue); }
.hero-float.bottom { left: -24px; bottom: 28px; color: var(--green); }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.feature-card { padding: 17px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s,border-color .2s; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.feature-card .feature-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 13px; color: var(--blue); background: var(--blue-soft); border: 1px solid color-mix(in srgb,var(--blue) 20%,var(--border)); border-radius: var(--radius); }
.feature-card:nth-child(3n+2) .feature-icon { color: var(--orange); background: var(--orange-soft); border-color: color-mix(in srgb,var(--orange) 20%,var(--border)); }
.feature-card h3 { margin-bottom: 7px; font-size: 14px; }
.feature-card p { margin: 0; font-size: 12px; }

.showcase-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 46px; }
.showcase-image { padding: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(15,23,42,.1); }
.check-list { display: grid; gap: 9px; margin: 19px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); }
.check-list .icon { color: var(--green); margin-top: 2px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 19px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.price-card.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange),0 16px 45px rgba(249,115,22,.12); }
.price-ribbon { position: absolute; top: -11px; right: 12px; padding: 3px 8px; color:#fff; background:var(--orange); border-radius:2px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.price-head { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.price-head h3 { font-size: 17px; }
.price-value { display: flex; align-items: baseline; gap: 5px; margin-top: 13px; }
.price-value strong { font-size: 32px; }
.price-value span { color: var(--muted); font-size: 11px; }
.price-features { flex: 1; display: grid; gap: 8px; margin: 15px 0; padding: 0; list-style: none; }
.price-features li { display: flex; gap: 7px; color: var(--muted); font-size: 11px; }
.price-features .icon { color: var(--green); margin-top: 1px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.testimonial-card { padding: 17px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 12px; }
.testimonial-card blockquote { margin: 13px 0 16px; color: var(--muted); font-size: 12px; font-style: italic; }
.person { display: flex; align-items: center; gap: 9px; }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; flex:0 0 auto; color:#fff; background:linear-gradient(145deg,var(--blue),var(--orange)); border-radius:50%; font-size:11px; font-weight:800; }
.person small { display: block; color: var(--muted); }

.partner-row { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.partner { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-weight: 650; }
.partner:hover { color: var(--text); border-color: var(--blue); }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.post-card { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.post-cover { aspect-ratio: 16/8; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,var(--blue-soft),var(--orange-soft)); }
.post-cover img { width:100%;height:100%;object-fit:cover; }
.post-cover .icon { width:42px;height:42px;color:var(--blue);opacity:.6; }
.post-body { padding: 14px; }
.post-meta { display:flex;align-items:center;gap:10px;margin-bottom:7px;color:var(--muted);font-size:10px; }
.post-body h3 { margin-bottom:7px;font-size:15px; }
.post-body p { font-size:11px; }
.post-body .read-more { display:inline-flex;align-items:center;gap:5px;color:var(--blue);font-size:11px;font-weight:700; }

.cta { padding: 31px; display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;background:linear-gradient(100deg,#1d4ed8,#2563eb 55%,#f97316);border-radius:var(--radius); }
.cta p { margin:6px 0 0;color:rgba(255,255,255,.78); }
.cta .btn { background:#fff;color:#1d4ed8;border-color:#fff; }

.public-footer { padding: 46px 0 0; background: var(--surface-2); border-top:1px solid var(--border); }
.footer-grid { display:grid;grid-template-columns:2fr repeat(3,1fr);gap:36px;padding-bottom:34px; }
.footer-grid h4 { margin-bottom:12px; }
.footer-grid > div > a:not(.brand), .footer-grid > div > span { display:flex;align-items:center;gap:7px;margin:7px 0;color:var(--muted);font-size:11px; }
.footer-grid > div > a:hover { color:var(--orange); }
.brand-footer { margin-bottom:13px; }
.platform-badges { display:flex;gap:6px;margin-top:13px; }
.platform-badges span { display:inline-flex!important;align-items:center;gap:5px!important;margin:0!important;padding:4px 7px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius); }
.footer-bottom { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;color:var(--muted);border-top:1px solid var(--border);font-size:10px; }

.cookie-panel { position:fixed;z-index:300;right:18px;bottom:18px;width:min(460px,calc(100vw - 36px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);box-shadow:0 18px 48px rgba(0,0,0,.2); }
.cookie-panel strong { display:flex;align-items:center;gap:6px; }
.cookie-panel p { margin:4px 0 0;font-size:10px; }
.cookie-actions { display:flex;gap:5px;flex:0 0 auto; }

.page-hero { padding:42px 0;background:var(--surface-2);border-bottom:1px solid var(--border); }
.page-hero .breadcrumbs { display:flex;align-items:center;gap:6px;margin-bottom:13px;color:var(--muted);font-size:10px; }
.page-hero h1 { font-size:32px; }
.page-hero p { max-width:700px;margin-top:10px;font-size:14px; }
.prose { color:var(--muted);font-size:13px;line-height:1.8; }
.prose h1,.prose h2,.prose h3,.prose h4 { color:var(--text);margin:1.5em 0 .6em; }
.prose h2 { font-size:22px;padding-bottom:7px;border-bottom:1px solid var(--border); }
.prose h3 { font-size:17px; }
.prose p { line-height:1.8; }
.prose pre { overflow:auto;padding:13px;color:#d8dee9;background:#111820;border:1px solid #29323b;border-radius:var(--radius); }
.prose code { padding:1px 4px;color:var(--orange);background:var(--orange-soft);border-radius:2px; }
.prose pre code { padding:0;color:inherit;background:transparent; }
.prose table { width:100%;border-collapse:collapse; }
.prose th,.prose td { padding:8px;border:1px solid var(--border);text-align:left; }
.prose blockquote { margin:16px 0;padding:10px 14px;border-left:3px solid var(--orange);background:var(--surface-2); }

.docs-layout { display:grid;grid-template-columns:230px minmax(0,1fr) 180px;gap:18px;align-items:start; }
.docs-sidebar,.docs-toc { position:sticky;top:72px; }
.docs-nav { padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius); }
.docs-nav a { display:flex;align-items:center;gap:7px;min-height:30px;padding:5px 8px;color:var(--muted);border-radius:var(--radius);font-size:11px; }
.docs-nav a:hover,.docs-nav a.active { color:var(--text);background:var(--surface-2); }
.docs-nav a.active { color:var(--orange);border-left:2px solid var(--orange); }
.docs-nav .child { padding-left:24px;font-size:10px; }
.docs-content { padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius); }
.docs-toc { padding:12px;color:var(--muted);border-left:1px solid var(--border);font-size:10px; }
.docs-toc strong { display:block;margin-bottom:7px;color:var(--text); }
.docs-toc a { display:block;margin:6px 0; }
.docs-toc a:hover { color:var(--orange); }

.faq-layout { display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px; }
.faq-categories { position:sticky;top:72px;padding:8px;background:var(--surface);border:1px solid var(--border); }
.faq-categories a { display:block;padding:7px 8px;color:var(--muted); }
.faq-categories a:hover { color:var(--orange);background:var(--surface-2); }
.accordion { border:1px solid var(--border);border-bottom:0;background:var(--surface); }
.accordion-item { border-bottom:1px solid var(--border); }
.accordion-trigger { width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:var(--text);background:transparent;border:0;text-align:left;font-weight:650;cursor:pointer; }
.accordion-content { display:none;padding:0 14px 14px;color:var(--muted); }
.accordion-item.open .accordion-content { display:block; }

.auth-page { min-height:calc(100vh - 58px);display:grid;place-items:center;padding:40px 0;background:linear-gradient(135deg,var(--bg),var(--surface-2)); }
.auth-card { width:min(430px,calc(100vw - 30px));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius); }
.auth-card.wide { width:min(680px,calc(100vw - 30px)); }
.auth-card-header { padding:19px;border-bottom:1px solid var(--border); }
.auth-card-body { padding:19px; }
.auth-card-footer { padding:11px 19px;background:var(--surface-2);border-top:1px solid var(--border);text-align:center;font-size:11px; }

.app-shell { background:var(--bg); }
.sidebar { position:fixed;z-index:100;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;background:var(--sidebar);border-right:1px solid var(--border);transition:transform .2s; }
.sidebar-brand { height:var(--topbar-height);padding:0 14px;border-bottom:1px solid var(--border); }
.sidebar-nav { flex:1;overflow-y:auto;padding:7px; }
.sidebar-nav a { min-height:31px;display:flex;align-items:center;gap:9px;margin:1px 0;padding:5px 9px;color:var(--muted);border:1px solid transparent;border-radius:var(--radius);font-size:11px;font-weight:550; }
.sidebar-nav a:hover { color:var(--text);background:var(--surface-2);border-color:var(--border); }
.sidebar-nav a.active { color:#fff;background:var(--orange);border-color:var(--orange); }
.sidebar-nav .nav-section { display:block;margin:13px 8px 5px;color:var(--subtle);font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase; }
.sidebar-footer { min-height:45px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;color:var(--muted);border-top:1px solid var(--border);font-size:9px; }
.app-topbar { position:fixed;z-index:90;top:0;right:0;left:var(--sidebar-width);height:var(--topbar-height);display:flex;align-items:center;gap:10px;padding:0 12px;background:var(--topbar);border-bottom:1px solid var(--border); }
.topbar-search { width:min(320px,30vw);height:30px;display:flex;align-items:center;gap:7px;margin-left:8px;padding:0 9px;color:var(--muted);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius); }
.topbar-search input { min-height:0;padding:0;background:transparent;border:0;box-shadow:none!important; }
.topbar-actions { display:flex;align-items:center;gap:4px;margin-left:auto; }
.user-menu { min-height:36px;display:flex;align-items:center;gap:8px;padding:3px 5px;color:var(--text);background:transparent;border:1px solid transparent;border-radius:var(--radius);cursor:pointer;text-align:left; }
.user-menu:hover { background:var(--surface-2);border-color:var(--border); }
.user-menu b { display:block;font-size:10px; }
.user-menu small { display:block;color:var(--muted);font-size:8px;max-width:150px;overflow:hidden;text-overflow:ellipsis; }
.app-content { min-height:100vh;margin-left:var(--sidebar-width);padding:calc(var(--topbar-height) + 14px) 14px 24px;transition:margin .2s; }
.page-title-row { min-height:40px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px; }
.page-title-row h1 { font-size:20px; }
.page-title-row p { margin:4px 0 0;font-size:10px; }
.content-grid { display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px; }
.col-3 { grid-column:span 3; }.col-4 { grid-column:span 4; }.col-5 { grid-column:span 5; }.col-6 { grid-column:span 6; }.col-7 { grid-column:span 7; }.col-8 { grid-column:span 8; }.col-9 { grid-column:span 9; }.col-12 { grid-column:span 12; }
.chart-wrap { min-height:250px;position:relative; }
.chart { width:100%;height:250px;display:block; }
.chart-grid-line { stroke:var(--border);stroke-width:1; }
.chart-line { fill:none;stroke:var(--blue);stroke-width:2; }
.chart-fill { fill:color-mix(in srgb,var(--blue) 12%,transparent); }
.chart-dot { fill:var(--blue);stroke:var(--surface);stroke-width:2; }
.chart-label { fill:var(--muted);font-size:9px; }
.bar-chart { height:220px;display:flex;align-items:end;gap:9px;padding:20px 8px 25px;border-bottom:1px solid var(--border); }
.bar-item { flex:1;min-width:18px;position:relative;display:flex;align-items:end;justify-content:center;height:100%; }
.bar-item i { width:65%;min-width:8px;background:var(--blue);border-radius:2px 2px 0 0; }
.bar-item span { position:absolute;top:calc(100% + 6px);font-size:8px;color:var(--muted);white-space:nowrap; }
.bar-item b { position:absolute;bottom:calc(var(--bar-height) + 5px);font-size:8px; }

.tabs { display:flex;align-items:center;gap:1px;margin-bottom:10px;border-bottom:1px solid var(--border); }
.tab-button { min-height:31px;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;color:var(--muted);background:transparent;border:0;border-bottom:2px solid transparent;cursor:pointer;font-size:11px;font-weight:650; }
.tab-button:hover,.tab-button.active { color:var(--text);background:var(--surface-2); }
.tab-button.active { color:var(--orange);border-bottom-color:var(--orange); }
.tab-panel { display:none; }.tab-panel.active { display:block; }

.detail-list { margin:0; }
.detail-row { display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:8px 0;border-bottom:1px solid var(--border); }
.detail-row:last-child { border-bottom:0; }
.detail-row dt { color:var(--muted);font-size:10px; }
.detail-row dd { margin:0;font-weight:550; }
.license-key { display:flex;align-items:center;gap:6px;padding:7px 9px;background:var(--surface-2);border:1px dashed var(--border-strong);font-family:Consolas,monospace;font-size:12px;letter-spacing:.04em; }
.timeline { position:relative;padding-left:20px; }
.timeline::before { content:"";position:absolute;left:5px;top:8px;bottom:8px;width:1px;background:var(--border); }
.timeline-item { position:relative;margin-bottom:15px; }
.timeline-item::before { content:"";position:absolute;left:-19px;top:5px;width:9px;height:9px;background:var(--surface);border:2px solid var(--blue);border-radius:50%; }
.timeline-item small { color:var(--muted); }
.message-thread { display:grid;gap:9px; }
.message-item { max-width:80%;padding:10px 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius); }
.message-item.staff { margin-left:auto;background:var(--blue-soft);border-color:color-mix(in srgb,var(--blue) 20%,var(--border)); }
.message-head { display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:10px; }
.message-body { color:var(--muted);white-space:pre-wrap; }

.pagination { display:flex;align-items:center;gap:3px;margin-top:12px; }
.pagination a,.pagination span { min-width:28px;height:28px;display:grid;place-items:center;padding:0 7px;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);font-size:10px; }
.pagination .active,.pagination span[aria-current] { color:#fff;background:var(--orange);border-color:var(--orange); }
.pagination .disabled { opacity:.5; }

.modal-backdrop { position:fixed;z-index:500;inset:0;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.58); }
.modal-backdrop.open { display:flex; }
.modal { width:min(620px,100%);max-height:calc(100vh - 40px);overflow:auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius); }
.modal-header,.modal-footer { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border); }
.modal-body { padding:13px; }
.modal-footer { border-top:1px solid var(--border);border-bottom:0;background:var(--surface-2); }

.checkout-layout { display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:15px;align-items:start; }
.order-summary { position:sticky;top:72px; }
.total-row { display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--border); }
.total-row.total { padding-top:12px;border:0;font-size:17px;font-weight:800; }
.gateway-option { display:flex;align-items:center;gap:10px;margin-bottom:7px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer; }
.gateway-option:has(input:checked) { border-color:var(--blue);background:var(--blue-soft); }
.gateway-option input { width:14px;height:14px;accent-color:var(--blue); }
.gateway-icon { width:30px;height:30px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius); }

@media(max-width:1250px) {
  :root { --container:min(90vw,1280px); }
  .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-grid,.testimonial-grid,.post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .docs-layout { grid-template-columns:210px minmax(0,1fr); }
  .docs-toc { display:none; }
}
@media(max-width:960px) {
  :root { --container:94vw; }
  .public-nav { display:none;position:absolute;top:58px;left:3vw;right:3vw;flex-direction:column;align-items:stretch;padding:7px;background:var(--surface);border:1px solid var(--border); }
  .public-nav.open { display:flex; }
  .mobile-menu-toggle { display:inline-grid!important;margin-left:auto; }
  .header-actions .btn { display:none; }
  .hero { padding:52px 0; }
  .hero-grid,.showcase-grid { grid-template-columns:1fr; }
  .hero-media { max-width:720px; }
  .pricing-grid { grid-template-columns:1fr;max-width:620px;margin:auto; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .partner-row { grid-template-columns:repeat(3,1fr); }
  .sidebar { transform:translateX(-100%); }
  .sidebar.open { transform:translateX(0); }
  .app-topbar { left:0; }
  .app-content { margin-left:0; }
  .checkout-layout { grid-template-columns:1fr; }
  .order-summary { position:static; }
  .col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9 { grid-column:span 12; }
}
@media(max-width:680px) {
  h1 { font-size:34px; }
  .section { padding:48px 0; }
  .feature-grid,.testimonial-grid,.post-grid,.cards-grid,.stat-grid { grid-template-columns:1fr; }
  .form-grid,.form-grid-3,.form-grid-4 { grid-template-columns:1fr; }
  .header-row { gap:9px; }
  .brand small { display:none; }
  .hero-actions .btn { width:100%; }
  .hero-meta { align-items:flex-start;flex-direction:column;gap:7px; }
  .hero-float { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column;align-items:flex-start; }
  .cookie-panel { flex-direction:column;align-items:stretch; }
  .cookie-actions .btn { flex:1; }
  .docs-layout,.faq-layout { grid-template-columns:1fr; }
  .docs-sidebar,.faq-categories { position:static; }
  .filter-bar { align-items:stretch;flex-direction:column; }
  .filter-bar .form-group { width:100%; }
  .page-title-row { align-items:stretch;flex-direction:column; }
  .topbar-search { display:none; }
  .user-menu span:not(.avatar) { display:none; }
  .detail-row { grid-template-columns:1fr;gap:2px; }
  .partner-row { grid-template-columns:repeat(2,1fr); }
}

/* Localized content editor */
.localized-fields { border: 1px solid var(--border); background: var(--surface-2); border-radius: var(--radius); }
.localized-fields-heading { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.localized-fields-heading h4 { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.localized-fields-heading small { color: var(--muted); }
.localized-language { border-bottom: 1px solid var(--border); }
.localized-language:last-child { border-bottom: 0; }
.localized-language > summary { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; color: var(--text); background: var(--surface); cursor: pointer; list-style: none; font-size: 12px; font-weight: 650; }
.localized-language > summary::-webkit-details-marker { display: none; }
.localized-language > summary span { display: inline-flex; align-items: center; gap: 7px; }
.localized-language > summary small { color: var(--muted); }
.localized-language[open] > summary { color: var(--orange); border-bottom: 1px solid var(--border); }
.localized-language-body { padding: 11px; background: var(--surface-2); }
.localized-language-body .form-group:last-child { margin-bottom: 0; }
.form-error { display: block; margin-top: 4px; color: var(--red); font-size: 10px; }
