:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #6c778c;
  --subtle: #f5f7fb;
  --line: #e5e9f1;
  --panel: #ffffff;
  --accent: #2158d8;
  --accent-strong: #173fa6;
  --accent-soft: #edf2ff;
  --success: #16845b;
  --success-soft: #e9f8f1;
  --warning: #a96b06;
  --warning-soft: #fff6df;
  --danger: #bd3c48;
  --danger-soft: #fff0f1;
  --shadow: 0 18px 50px rgba(26, 39, 70, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--subtle);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--subtle); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

.shell { min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 26px; min-height: 72px; padding: 0 5vw; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; font-weight: 760; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; }
.brand-copy { line-height: 1.05; }
.brand-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 3px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-link { padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 650; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--accent-soft); color: var(--accent-strong); }
.nav-divider { width: 1px; height: 19px; margin: 0 5px; background: var(--line); }
.top-actions { display: flex; align-items: center; gap: 9px; min-width: max-content; }
.store-switcher { display: inline-flex; align-items: center; gap: 7px; max-width: 220px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.store-switcher span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); }
.icon-button:hover { border-color: #bbc8e5; color: var(--accent); }

.page { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 72px; }
.narrow { width: min(780px, calc(100% - 40px)); }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.065em; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 42px); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.025em; }
.lead { max-width: 670px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.section { margin-top: 92px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-head p { max-width: 580px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: 560px; }
.hero-copy { padding: 36px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 8px 20px rgba(33,88,216,.18); }
.button:hover { background: var(--accent-strong); }
.button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.button.secondary:hover { border-color: #b7c5e6; background: var(--accent-soft); color: var(--accent-strong); }
.button.ghost { background: transparent; color: var(--accent); box-shadow: none; }
.button.danger { background: var(--danger); }
.button.small-button { min-height: 34px; padding: 0 11px; font-size: 12px; }
.button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.hero-preview { position: relative; min-height: 430px; padding: 20px; border: 1px solid #dce4f4; border-radius: 24px; background: linear-gradient(145deg, #fff, #f1f5ff); box-shadow: var(--shadow); overflow: hidden; }
.hero-preview:after { position: absolute; right: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: #dfe8ff; content: ""; }
.preview-window { position: relative; z-index: 1; height: 100%; padding: 17px; border: 1px solid #dce3ef; border-radius: 15px; background: #fff; box-shadow: 0 15px 40px rgba(43,61,101,.1); }
.window-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d3d9e5; }
.window-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.preview-kicker { color: var(--muted); font-size: 11px; }
.preview-title { margin: 6px 0 20px; font-size: 24px; font-weight: 800; letter-spacing: -.05em; }
.preview-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.preview-stat { padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.preview-stat span { display: block; color: var(--muted); font-size: 10px; }
.preview-stat strong { display: block; margin-top: 5px; font-size: 23px; letter-spacing: -.06em; }
.preview-stat.highlight { background: var(--accent); border-color: var(--accent); color: #fff; }
.preview-stat.highlight span { color: #dbe6ff; }
.preview-list { display: grid; gap: 8px; margin-top: 16px; }
.preview-row { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; }
.mini-art { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 800; }
.preview-row span { flex: 1; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mini-status { width: 45px; height: 6px; border-radius: 10px; background: #dce4f5; }
.mini-status.done { background: #93d9ba; }

.step-grid, .integration-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card, .integration-card, .feature-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: 0 8px 22px rgba(26,39,70,.03); }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 27px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.step-card p, .feature-card p, .integration-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.integration-card { min-height: 170px; }
.integration-card .integration-symbol { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 18px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 850; }
.integration-card .integration-meta { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; font-weight: 650; }
.integration-card .integration-meta strong { color: var(--success); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card { min-height: 150px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 18px; background: var(--ink); color: #fff; }
.cta-card p { max-width: 520px; margin-bottom: 0; color: #b5c0d5; line-height: 1.55; }
.cta-card .button.secondary { border-color: #40506a; background: transparent; color: #fff; }
.footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 32px; }
.footer-brand .brand { display: inline-flex; color: var(--ink); }
.footer-brand > p { max-width: 250px; margin: 18px 0 15px; line-height: 1.6; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 11px; font-weight: 750; }
.footer-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h3 { margin: 2px 0 6px; color: var(--ink); font-size: 12px; letter-spacing: .02em; }
.footer-column a { width: max-content; color: var(--muted); }
.footer-column a:hover { color: var(--accent); }
.footer-security p { margin: 0; line-height: 1.6; }
.footer-security > span { color: var(--ink); font-size: 11px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-card, .contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 8px 22px rgba(26,39,70,.03); }
.about-card-wide { grid-column: span 3; padding: 32px; background: linear-gradient(135deg, #fff, #f3f6ff); }
.about-card p, .contact-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.about-card-wide p { max-width: 680px; }
.about-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 25px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 850; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { min-height: 250px; }
.contact-card .button { margin-top: 22px; }

.flow-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 55px 0 80px; }
.flow-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.flow-top p { max-width: 620px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.progress-steps { display: flex; gap: 8px; margin-bottom: 34px; }
.progress-step { display: flex; align-items: center; gap: 8px; color: #9aa5b8; font-size: 12px; font-weight: 750; }
.progress-step:not(:last-child):after { width: 55px; height: 1px; margin-left: 2px; background: var(--line); content: ""; }
.progress-step span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.progress-step.active { color: var(--accent); }
.progress-step.active span { border-color: var(--accent); background: var(--accent); color: #fff; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.card-title p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { color: var(--ink); font-size: 12px; font-weight: 750; }
.field input, .field select, .filter-input, .select-control { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #d8dfeb; border-radius: 9px; outline: none; background: #fff; color: var(--ink); font-size: 13px; }
.field input:focus, .field select:focus, .filter-input:focus, .select-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.notice { display: flex; gap: 10px; padding: 13px 15px; border: 1px solid #dbe5f8; border-radius: 11px; background: #f6f8ff; color: #405171; font-size: 12px; line-height: 1.5; }
.notice strong { color: var(--ink); }
.integration-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.integration-choice { display: block; width: 100%; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; transition: transform .15s, border-color .15s, box-shadow .15s; }
.integration-choice:hover { border-color: #abc0ee; box-shadow: 0 10px 25px rgba(33,88,216,.08); transform: translateY(-2px); }
.integration-choice.disabled { cursor: not-allowed; opacity: .62; }
.integration-choice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.integration-choice .integration-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; }
.integration-choice h3 { margin: 0; font-size: 15px; }
.integration-choice p { min-height: 38px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.choice-status { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; font-weight: 750; }
.choice-status.available { color: var(--success); }
.choice-status.disabled { color: var(--warning); }

.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.store-card { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s; }
.store-card:hover { border-color: #a8bdeb; box-shadow: 0 10px 25px rgba(33,88,216,.08); transform: translateY(-2px); }
.store-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 850; }
.store-card-body { min-width: 0; flex: 1; }
.store-card-body h3 { margin-bottom: 5px; font-size: 15px; }
.store-card-body p { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.store-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 99px; background: var(--subtle); color: var(--muted); font-size: 10px; font-weight: 750; }
.tag.success { background: var(--success-soft); color: var(--success); }

.dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.dashboard-head h1 { margin-bottom: 10px; font-size: clamp(32px, 5vw, 52px); }
.dashboard-head p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 23px; }
.metric-card { min-height: 116px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-value { display: block; margin-top: 13px; font-size: 30px; font-weight: 800; letter-spacing: -.06em; }
.metric-meta { margin-top: 7px; color: var(--muted); font-size: 10px; }
.metric-meta.good { color: var(--success); }
.metric-meta.warn { color: var(--warning); }
.metric-meta.bad { color: var(--danger); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.panel.full { grid-column: 1 / -1; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.panel-head h2 { margin-bottom: 6px; font-size: 21px; letter-spacing: -.04em; }
.panel-head p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.health-list { display: grid; gap: 1px; }
.health-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; border-bottom: 1px solid #f0f2f6; }
.health-item:last-child { border-bottom: 0; }
.health-name { font-size: 12px; font-weight: 700; }
.health-detail { margin-top: 3px; color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 8px; border-radius: 99px; background: var(--subtle); color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-pill:before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.status-pill.healthy, .status-pill.completed { background: var(--success-soft); color: var(--success); }
.status-pill.warning, .status-pill.queued { background: var(--warning-soft); color: var(--warning); }
.status-pill.degraded, .status-pill.review { background: #fff0dd; color: #b85b11; }
.status-pill.failed { background: var(--danger-soft); color: var(--danger); }
.activity-list { display: grid; gap: 13px; }
.activity-item { display: flex; gap: 11px; }
.activity-marker { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.activity-item p { margin-bottom: 2px; font-size: 12px; line-height: 1.4; }
.activity-item time { color: var(--muted); font-size: 10px; }
.quick-actions { display: grid; gap: 9px; }
.quick-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; }
.quick-action:hover { border-color: #afc0e7; background: var(--accent-soft); }
.quick-action strong { display: block; font-size: 12px; }
.quick-action span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.arrow { color: var(--accent); font-size: 17px; }

.page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-title h1 { margin-bottom: 8px; font-size: clamp(32px, 5vw, 48px); }
.page-title p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.page-title-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filter-input { width: 260px; }
.select-control { width: auto; min-width: 180px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.data-table th { padding: 12px 14px; background: #fafbfc; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 13px 14px; border-top: 1px solid #eef1f5; font-size: 12px; vertical-align: middle; }
.data-table tr:hover td { background: #fbfcff; }
.check-cell { width: 34px; }
.check-cell input { accent-color: var(--accent); }
.product-cell { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.product-art { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; }
.product-name { display: block; font-weight: 750; }
.product-sub { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.table-empty { padding: 55px 25px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-weight: 850; }
.table-empty h3 { margin-bottom: 7px; }
.table-empty p { max-width: 420px; margin: 0 auto 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid #ccd9f5; border-radius: 11px; background: var(--accent-soft); }
.selection-bar strong { font-size: 12px; }
.selection-bar span { color: var(--muted); font-size: 11px; }

.job-list { display: grid; gap: 11px; }
.job-card { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.job-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.job-card h3 { margin-bottom: 5px; font-size: 14px; }
.job-card p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.job-progress-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #edf0f5; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.job-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 15px; }
.job-detail { padding: 10px; border-radius: 9px; background: var(--subtle); }
.job-detail span { display: block; color: var(--muted); font-size: 10px; }
.job-detail strong { display: block; margin-top: 3px; font-size: 15px; }

.settings-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 15px; }
.detail-list { display: grid; gap: 0; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #eef1f5; font-size: 12px; }
.detail-row:last-child { border-bottom: 0; }
.detail-row span { color: var(--muted); }
.detail-row strong { text-align: right; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #eef1f5; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.toggle { position: relative; flex: 0 0 38px; width: 38px; height: 21px; border-radius: 99px; background: #d4dbe7; }
.toggle:after { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; content: ""; transition: left .15s; }
.toggle.on { background: var(--accent); }
.toggle.on:after { left: 20px; }

.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.number-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: help; }
.number-list li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; counter-increment: help; font-size: 12px; line-height: 1.55; }
.number-list li:before { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); content: counter(help); font-size: 11px; font-weight: 850; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(20,29,48,.42); backdrop-filter: blur(4px); }
.modal { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 25px 80px rgba(16,27,52,.25); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.modal-head h2 { margin-bottom: 7px; font-size: 25px; }
.modal-head p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: 360px; padding: 13px 15px; border: 1px solid #cbd8f2; border-radius: 10px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 12px; }
.toast.error { border-color: #f2c8cd; background: var(--danger-soft); color: var(--danger); }
.toast.success { border-color: #bde7d2; background: var(--success-soft); color: var(--success); }

@media (max-width: 1020px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 12px 20px; }
  .main-nav { order: 3; flex: 0 0 100%; overflow: auto; padding-bottom: 2px; }
  .top-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero-preview { min-height: 360px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page, .flow-shell { width: min(100% - 28px, 620px); padding-top: 34px; }
  .footer { width: calc(100% - 28px); }
  .footer-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card-wide { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .step-grid, .integration-grid, .feature-grid, .integration-select-grid, .store-grid, .dashboard-grid, .help-grid { grid-template-columns: 1fr; }
  .panel.full { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .dashboard-head, .page-title, .section-head, .cta-card { display: block; }
  .head-actions, .page-title-actions { justify-content: flex-start; margin-top: 18px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .metric-card { min-height: 100px; padding: 13px; }
  .metric-value { font-size: 25px; }
  .job-details { grid-template-columns: repeat(2, 1fr); }
  .toolbar { display: block; }
  .toolbar-right { margin-top: 10px; }
  .filter-input { width: 100%; }
  .select-control { width: 100%; }
  .progress-steps { overflow: auto; padding-bottom: 3px; }
  .progress-step:not(:last-child):after { width: 18px; }
  .progress-step { min-width: max-content; }
  .hero-actions .button { width: 100%; }
  .cta-card .button { margin-top: 20px; }
}
