:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #192235;
  background: #f5f7fb;
  --bg: #f5f7fb;
  --sidebar: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f8f9fc;
  --border: #dce1eb;
  --border-soft: #e8ebf1;
  --muted: #687387;
  --text: #192235;
  --blue: #526fe8;
  --blue-hover: #405fd8;
  --blue-soft: #e8edff;
  --danger: #bc4854;
  --success: #238560;
  --warning: #a97925;
  --input: #ffffff;
  --input-border: #cbd3e1;
  --hover: #f0f3f9;
  --button: #eef1f6;
  --card-gradient: linear-gradient(145deg, #ffffff, #f7f8fb);
  --marketing-bg: #fbfcff;
  --auth-gradient: radial-gradient(circle at top, #e9edff, #f5f7fb 55%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  color: #e8ebf2;
  background: #0d0f14;
  --bg: #0d0f14;
  --sidebar: #11141b;
  --panel: #171a22;
  --panel-soft: #13161d;
  --border: #292e3a;
  --border-soft: #222733;
  --muted: #969eae;
  --text: #e8ebf2;
  --blue: #6f8cff;
  --blue-hover: #819aff;
  --blue-soft: #202a50;
  --danger: #f17272;
  --success: #55c995;
  --warning: #e4b65d;
  --input: #10131a;
  --input-border: #343a48;
  --hover: #191d26;
  --button: #252b37;
  --card-gradient: linear-gradient(145deg, #151922, #10131a);
  --marketing-bg: #090b10;
  --auth-gradient: radial-gradient(circle at top, #171c2b, #0d0f14 55%);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, input, textarea, select { font: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.025em; }
h2 { margin-bottom: 5px; font-size: 17px; }
p { color: var(--muted); line-height: 1.55; }
small { display: block; color: var(--muted); line-height: 1.35; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30; width: 240px;
  display: flex; flex-direction: column; padding: 18px 14px;
  overflow-y: auto; border-right: 1px solid var(--border-soft); background: var(--sidebar);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo {
  display: block; width: 190px; height: 58px; padding: 3px 7px;
  border-radius: 8px; background: #fff; object-fit: cover;
}
.brand-logo-wide { width: 205px; height: 58px; }
.brand-logo-login { width: 230px; height: 72px; }
.brand-mark, .avatar {
  display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px;
  background: var(--blue); color: #fff; font-weight: 800;
}
.brand-mark { width: 34px; height: 34px; }
.avatar { width: 31px; height: 31px; border-radius: 50%; background: #303747; font-size: 13px; }
.brand strong, .admin-identity strong { display: block; color: var(--text); font-size: 14px; }
.brand small { margin-top: 2px; font-size: 11px; }
.sidebar nav { display: grid; gap: 4px; }
.nav-item {
  display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 8px;
  min-height: 42px; padding: 8px 10px; border-radius: 8px; color: #aeb5c2; font-size: 14px;
}
.nav-item:hover { color: var(--text); background: var(--hover); }
.nav-item.active { color: var(--text); background: var(--blue-soft); }
.nav-icon { display: grid; place-items: center; width: 24px; height: 24px; color: var(--muted); }
.nav-icon svg { width: 19px; height: 19px; }
.nav-item.active .nav-icon { color: var(--blue); }
.nav-tag { padding: 2px 6px; border-radius: 999px; background: #2a2e38; font-size: 9px; text-transform: uppercase; }
.sidebar-footer { margin-top: auto; padding: 14px 8px 2px; border-top: 1px solid var(--border-soft); }
.sidebar-bottom-nav { margin: -5px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.sidebar-bottom-nav .nav-item { padding-inline: 2px; }
.admin-identity { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.admin-identity small { font-size: 11px; }
.text-button { padding: 4px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.text-button:hover { color: #fff; }

.workspace { min-height: 100vh; margin-left: 240px; }
.workspace main { width: 100%; margin: 0; padding: 32px 34px 70px; }
.mobile-header, .sidebar-overlay { display: none; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading > div { max-width: 760px; }
.page-heading p:last-child { margin-bottom: 0; }
.eyebrow { margin-bottom: 7px; color: #879cff; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }

.panel {
  min-width: 0; margin-bottom: 18px; padding: 20px;
  border: 1px solid var(--border); border-radius: 11px; background: var(--panel);
}
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.account-layout { width: 100%; }
.account-layout > .panel { width: 100%; }
.span-two { grid-column: span 2; }
.overview-grid { grid-template-columns: minmax(0, 2fr) minmax(270px, .8fr); }
.form-layout { grid-template-columns: minmax(0, 1.8fr) minmax(270px, .8fr); }
.social-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-layout { grid-template-columns: minmax(0, 2fr) minmax(270px, .8fr); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 17px; }
.section-heading p { margin-bottom: 0; font-size: 13px; }
.section-heading > a { white-space: nowrap; font-size: 13px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric-grid article { padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.metric-grid span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.metric-grid strong { font-size: 25px; }

.studio-form { display: grid; gap: 14px; }
.inline-subscription-form {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, .65fr) auto;
  align-items: end;
}
.inline-subscription-form .button { margin-bottom: 1px; white-space: nowrap; }
.studio-form label, .filter-bar label { display: grid; gap: 7px; color: var(--text); font-size: 13px; font-weight: 600; }
.studio-form label > span { color: var(--muted); font-size: 11px; font-weight: 400; }
input, textarea, select {
  width: 100%; padding: 10px 11px; border: 1px solid var(--input-border); border-radius: 7px;
  outline: none; background: var(--input); color: var(--text);
}
input:focus, textarea:focus, select:focus { border-color: #6b83e4; box-shadow: 0 0 0 3px #536bc42b; }
textarea { min-height: 82px; resize: vertical; }
input[type="file"] { padding: 8px; }
input::file-selector-button { margin-right: 10px; padding: 7px 9px; border: 0; border-radius: 5px; background: #29303e; color: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { margin: 0; padding: 12px; border: 1px solid #343a48; border-radius: 8px; }
legend { padding: 0 5px; color: #c9ced8; font-size: 12px; }
.platform-options { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px !important; padding: 7px 9px; border: 1px solid var(--input-border); border-radius: 7px; font-weight: 500 !important; }
.check input { width: auto; margin: 0; }
.form-note { margin: 0; padding: 10px 12px; border-left: 2px solid var(--blue); background: var(--panel-soft); font-size: 12px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-grid details { padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.faq-grid summary { color: var(--text); cursor: pointer; font-weight: 750; }
.faq-grid p { margin: 10px 0 0; font-size: 13px; }

.button {
  display: inline-flex; justify-content: center; align-items: center; width: max-content;
  min-height: 38px; padding: 9px 14px; border: 1px solid #3a4150; border-radius: 7px;
  background: var(--button); color: var(--text); cursor: pointer; font-weight: 650;
}
.button:hover { color: var(--text); background: var(--hover); }
.button.primary { border-color: var(--blue); background: var(--blue); }
.button.primary, .button.primary:hover { color: #fff; }
.button.primary:hover { background: var(--blue-hover); }
.button.secondary { border-color: var(--input-border); background: var(--panel); }
html[data-theme="dark"] .button.secondary { border-color: #3a4150; background: #252b37; }
.button.danger { border-color: #723d44; background: #381e23; color: #ffaaaa; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.share-panel { margin-top: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-soft); }
.share-panel > strong { font-size: 13px; }
.share-panel p { margin: 5px 0 11px; font-size: 11px; }
.share-link-row { display: flex; gap: 8px; }
.share-link-row input { min-width: 0; }
.share-link-row .button { flex: 0 0 auto; }
.share-revoke { margin-top: 10px; color: #ef9898; }
.public-share-shell { width: min(100%, 980px); }
.public-share-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.public-share-header span:last-child { color: var(--muted); font-size: 12px; }
.public-share-panel h1 { margin: 0 0 8px; font-size: clamp(22px, 4vw, 34px); }
.public-share-panel > p { margin-bottom: 18px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 650; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
td { padding: 12px 10px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.muted { color: var(--muted); }
.empty-state { padding: 26px; color: var(--muted); text-align: center; }
.filter-bar { display: grid; grid-template-columns: 210px 230px auto; gap: 12px; align-items: end; margin-bottom: 18px; }
.bulk-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; min-height: 31px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.bulk-toolbar .row-delete:disabled { cursor: not-allowed; opacity: .4; }
.select-column { width: 34px; text-align: center; }
.select-column input { width: auto; margin: 0; }
.row-actions { width: 1%; text-align: right; }
.row-delete { padding: 5px 8px; border: 1px solid #63383e; border-radius: 6px; background: transparent; color: #ef9898; cursor: pointer; font-size: 11px; }
.row-delete:hover { background: #391e23; color: #ffc0c0; }

.status { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border-radius: 999px; background: #303642; color: #cbd1dd; font-size: 10px; font-weight: 750; white-space: nowrap; }
.status-completed, .status-published { background: #163b2f; color: #85e2b9; }
.status-processing, .status-publishing { background: #1c3152; color: #9bbdf7; }
.status-queued { background: #353143; color: #c6b7eb; }
.status-failed { background: #4b2529; color: #ffaaaa; }
.status-waiting_for_connections, .status-pending, .status-waiting { background: #44391f; color: #f2cf87; }
.status-cancel_requested { background: #47313a; color: #e7b0c1; }
.notification-list { display: grid; gap: 12px; }
.notification-list article { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.notification-list article div { display: grid; gap: 5px; }
.danger-zone { margin-top: 20px; }
.legal-page { max-width: 760px; min-height: 55vh; }
.legal-page > p { font-size: 1.05rem; line-height: 1.8; }

.connector-list { display: grid; }
.connector-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.connector-row:last-child { border-bottom: 0; }
.connector-row strong { display: block; font-size: 13px; }
.connector-row small { max-width: 300px; margin-top: 2px; font-size: 10px; }
.connection-guide { margin: 10px 0 4px; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.connection-guide > strong { font-size: 13px; }
.connection-guide > p { margin: 4px 0 9px; font-size: 11px; }
.connection-guide .step-list { margin-bottom: 10px; }
.connection-guide .step-list li { padding: 8px 0; }
.connection-guide .step-list small { font-size: 10px; }
.connection-guide .text-link { font-size: 11px; font-weight: 700; }
.platform-mark { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #394050; border-radius: 7px; background: #20242d; font-size: 11px; font-weight: 800; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.media-card { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.media-preview { display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; background: #0d1016; color: var(--muted); font-size: 12px; }
.media-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-copy { padding: 10px; }
.media-copy strong { display: block; overflow: hidden; margin-bottom: 5px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.media-copy small { font-size: 10px; }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.showcase-card { overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: var(--panel); }
.showcase-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; background: #111520; color: #c5cbda; }
.showcase-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.showcase-cover:hover img { transform: scale(1.025); }
.showcase-cover i { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #111827c9; color: #fff; font-style: normal; }
.showcase-copy { display: grid; gap: 5px; padding: 13px; }
.showcase-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-copy strong a { color: var(--text); }
.showcase-copy small { font-size: 11px; }
.showcase-player { max-width: 1050px; }
.showcase-player > p { margin: 16px 0 0; }
.empty-panel { grid-column: 1 / -1; padding: 26px; border: 1px dashed #343a48; border-radius: 8px; color: var(--muted); text-align: center; }

.step-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.step-list li:last-child { border-bottom: 0; }
.step-list li > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: var(--blue-soft); color: #b7c4ff; font-size: 11px; font-weight: 800; }
.step-list strong { display: block; margin-bottom: 3px; font-size: 13px; }
.readiness-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: #c5cad4; font-size: 13px; }
.readiness-list li { display: flex; align-items: center; gap: 9px; }
.readiness-list li span { width: 8px; height: 8px; border: 2px solid var(--warning); border-radius: 50%; }
.disabled-workflow { position: relative; }
.preview-form:disabled { opacity: .55; }

.alert { display: flex; gap: 8px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid; border-radius: 8px; font-size: 13px; }
.alert.error { border-color: #713940; background: #321b20; color: #ffb1b1; }
.alert.success { border-color: #285b47; background: #153528; color: #9ee5c1; }
.video-player { display: block; width: 100%; max-height: 70vh; border-radius: 8px; background: #080a0e; }
.processing-state { display: grid; justify-items: center; padding: 48px 20px; border: 1px dashed #343a48; border-radius: 8px; text-align: center; }
.processing-state p { margin: 7px 0 0; font-size: 12px; }
.spinner { width: 25px; height: 25px; margin-bottom: 13px; border: 3px solid #30384a; border-top-color: var(--blue); border-radius: 50%; }
.detail-list { display: grid; grid-template-columns: 82px 1fr; gap: 10px; margin: 0; font-size: 12px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
.danger-panel form + form { margin-top: 9px; }

.auth-shell { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--auth-gradient); }
.login-panel { width: min(100%, 410px); padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.login-brand strong { display: block; }
.login-brand small { margin-top: 3px; }
.login-panel .button { width: 100%; }
.google-button { margin: 18px 0 0; background: #fff; color: #202124; }
.google-button:hover { background: #e9edf5; color: #202124; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-note { margin: 17px 0 10px; font-size: 11px; }
.usage-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: -8px 0 18px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-soft); color: var(--muted); font-size: 12px; }
.usage-strip strong { color: var(--blue); }
.storage-strip { display: grid; grid-template-columns: minmax(190px, auto) minmax(140px, 1fr) auto; align-items: center; gap: 14px; margin: -8px 0 18px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-soft); }
.storage-strip > div:first-child { display: grid; gap: 2px; }
.storage-strip span, .storage-strip small { color: var(--muted); font-size: 11px; }
.storage-strip strong { font-size: 12px; }
.storage-strip.compact { grid-template-columns: 1fr; margin: 18px 0 0; }
.storage-meter { height: 7px; overflow: hidden; border-radius: 99px; background: var(--border); }
.storage-meter i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.limit-form { display: grid; grid-template-columns: 80px 100px 105px auto; gap: 7px; align-items: end; min-width: 430px; }
.limit-form.customer-limits { grid-template-columns: 90px 70px 72px 65px 95px auto; min-width: 570px; }
.limit-form label { color: var(--muted); font-size: 10px; }
.limit-form input, .limit-form select { margin-top: 4px; padding: 7px; }

.theme-toggle { position: fixed; top: 12px; right: 14px; z-index: 60; padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); color: var(--text); cursor: pointer; font-size: 11px; font-weight: 700; box-shadow: 0 5px 18px #17213a16; }
.theme-toggle.inline { position: static; box-shadow: none; }
.prompt-helper { padding: 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.prompt-helper > strong, .outcome-tips > strong { font-size: 13px; }
.prompt-helper p { margin: 5px 0 10px; font-size: 11px; }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.prompt-chips button { max-width: 100%; padding: 7px 9px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); color: var(--text); cursor: pointer; font-size: 11px; text-align: left; }
.prompt-chips button:hover { border-color: var(--blue); }
.outcome-tips { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.outcome-tips ul { display: grid; gap: 7px; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.outcome-tips a { font-size: 11px; }
.advanced-options { border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.advanced-options summary { padding: 12px 14px; color: var(--text); cursor: pointer; font-size: 13px; font-weight: 700; }
.advanced-options > .studio-form { padding: 4px 14px 14px; }
.unavailable-option { opacity: .55; }

.marketing-body { color: var(--text); background: #ffffff; }
html[data-theme="dark"] .marketing-body { background: var(--marketing-bg); }
.marketing-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; width: 100%; margin: auto; padding: 15px max(20px, calc((100% - 1180px) / 2)); border-bottom: 1px solid var(--border-soft); background: var(--panel); background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(14px); }
.marketing-nav .brand { padding: 0; }
.marketing-nav nav { display: flex; align-items: center; gap: 24px; }
.marketing-nav nav > a:not(.button) { color: var(--muted); font-size: 13px; }
.marketing-main { overflow: hidden; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; width: min(1180px, calc(100% - 40px)); min-height: 620px; margin: auto; padding: 72px 0 90px; }
.hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(43px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-copy { max-width: 650px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions .button { min-height: 46px; padding-inline: 19px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: #868e9e; font-size: 11px; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: #6f8cff; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -80px; background: radial-gradient(circle, #5f72ff33, transparent 65%); }
.story-preview { position: relative; overflow: hidden; padding: 10px; border: 1px solid #d9dfeb; border-radius: 22px; background: #151923; box-shadow: 0 28px 70px #3142642e; transform: rotate(1deg); }
html[data-theme="dark"] .story-preview { border-color: #39415a; box-shadow: 0 30px 90px #0009; }
.preview-sky { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16/10; padding: 30px; border-radius: 15px; background: radial-gradient(circle at 70% 30%, #ffdc80 0 5%, transparent 6%), linear-gradient(145deg, #111944, #5b2d6f 53%, #ef7c65); }
.preview-moon { position: absolute; top: 14%; right: 19%; width: 55px; height: 55px; border-radius: 50%; background: #fff1bd; box-shadow: 0 0 45px #ffe7a0; }
.preview-title { position: relative; max-width: 280px; color: #fff; font-size: clamp(24px, 3vw, 42px); font-weight: 900; line-height: .95; text-shadow: 0 4px 14px #000; }
.preview-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 10px 2px 7px; }
.preview-timeline i { height: 4px; border-radius: 9px; background: #303747; }
.preview-timeline i:first-child, .preview-timeline i:nth-child(2) { background: #718bff; }
.preview-status { display: flex; justify-content: space-between; padding: 7px 4px 3px; color: #aab1bf; font-size: 12px; }
.preview-status strong { color: #8de0b8; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 23px 20px; border-block: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.logo-strip strong { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.logo-strip strong::before, .platform-support strong::before { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 900; }
.logo-strip strong:nth-of-type(1)::before, .platform-support > div:nth-child(1) strong::before { content: "▶"; background: #ff0033; font-size: 9px; }
.logo-strip strong:nth-of-type(2)::before, .platform-support > div:nth-child(2) strong::before { content: "f"; background: #1877f2; font-family: Arial, sans-serif; font-size: 17px; }
.logo-strip strong:nth-of-type(3)::before, .platform-support > div:nth-child(3) strong::before { content: "◎"; background: linear-gradient(145deg, #7c3aed, #e1306c 55%, #f59e0b); font-size: 17px; }
.logo-strip strong:nth-of-type(4)::before, .platform-support > div:nth-child(4) strong::before { content: "♪"; background: #111; text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55; font-size: 16px; }
.marketing-section { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 95px 0; }
.section-intro { max-width: 640px; margin-bottom: 45px; }
.section-intro h2, .split-feature h2, .cta-panel h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.value-section { padding-bottom: 55px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-grid article { padding: 22px 0; border-top: 2px solid var(--blue); }
.value-grid strong { display: block; margin-bottom: 8px; font-size: 18px; }
.value-grid p { margin: 0; font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-grid article, .feature-stack article { padding: 23px; border: 1px solid var(--border); border-radius: 13px; background: var(--card-gradient); }
.feature-grid article > span { color: #7890ff; font-size: 11px; font-weight: 800; }
.feature-grid h3 { margin: 24px 0 9px; font-size: 17px; }
.feature-grid p, .feature-stack p { margin: 0; font-size: 13px; }
.automation-section { padding-block: 75px; }
.automation-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.automation-heading h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.automation-heading > p { margin-bottom: 0; }
.automation-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.automation-flow article { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--card-gradient); }
.automation-flow article > span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 800; }
.automation-flow strong, .automation-notes strong { display: block; margin-bottom: 7px; }
.automation-flow p, .automation-notes p { margin: 0; font-size: 12px; }
.automation-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.social-automation-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 80px; }
.social-automation-copy h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.automation-checks { margin-bottom: 0; }
.social-automation-panel { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card-gradient); box-shadow: 0 20px 55px #31426416; }
.automation-pipeline { display: grid; gap: 4px; }
.automation-pipeline article { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.automation-pipeline article > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.automation-pipeline strong { display: block; margin-bottom: 3px; }
.automation-pipeline p { margin: 0; font-size: 12px; }
.platform-support { display: grid; gap: 8px; margin: 18px 0; }
.platform-support > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.platform-support strong { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 13px; }
.check-list li::before { content: "✓"; margin-right: 8px; color: #7590ff; }
.feature-stack { display: grid; gap: 12px; }
.feature-stack strong { display: block; margin-bottom: 7px; }
.creator-story { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 70px; }
.creator-story h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.example-label { display: inline-flex; margin-bottom: 14px; padding: 5px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.creator-story-copy .button { margin-top: 8px; }
.outcome-list { display: grid; gap: 12px; }
.outcome-list article { display: flex; gap: 15px; padding: 20px; border: 1px solid var(--border); border-radius: 13px; background: var(--card-gradient); }
.outcome-list article > span { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 800; }
.outcome-list strong { display: block; margin-bottom: 5px; }
.outcome-list p { margin: 0; font-size: 13px; }
.testimonials-section { padding-block: 70px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial-grid article { padding: 22px; border: 1px solid var(--border); border-radius: 13px; background: var(--card-gradient); }
.testimonial-grid blockquote { margin: 14px 0 18px; color: var(--text); font-size: 14px; line-height: 1.65; }
.testimonial-grid strong { font-size: 12px; }
.review-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.testimonial-person { display: flex; align-items: center; gap: 9px; }
.testimonial-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 800; }
.testimonial-stars { color: #f2ad24; letter-spacing: 2px; }
.testimonial-stars .empty { color: var(--border); }
.testimonial-empty { max-width: 620px; padding: 24px; border: 1px dashed var(--border); border-radius: 13px; background: var(--panel-soft); }
.testimonial-empty strong { display: block; margin: 10px 0 5px; }
.testimonial-empty p { margin: 0; font-size: 13px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-gradient); }
.pricing-card.featured { border-color: #657ce0; box-shadow: 0 18px 55px #30448f24; }
.pricing-card h3 { margin: 0 0 8px; font-size: 20px; }
.pricing-card > p:not(.plan-fit) { font-size: 12px; }
.pricing-card ul { display: grid; gap: 8px; margin: 16px 0 20px; padding: 0; list-style: none; color: var(--text); font-size: 12px; line-height: 1.45; }
.pricing-card li::before { content: "✓"; margin-right: 7px; color: #7590ff; }
.pricing-card .button, .pricing-card form, .pricing-card form .button { width: 100%; margin-top: auto; }
.plan-badge { position: absolute; top: 16px; right: 16px; padding: 4px 7px; border-radius: 999px; background: var(--blue-soft); color: #4059bd; font-size: 9px; font-weight: 800; text-transform: uppercase; }
html[data-theme="dark"] .plan-badge { color: #b9c5ff; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-size: 28px; }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-price.compact { margin: 16px 0 22px; }
.subscription-summary { width: 100%; }
.subscription-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; }
.subscription-title > div:first-child { max-width: 650px; }
.subscription-title .plan-price { flex: 0 0 auto; }
.subscription-limits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.subscription-limits article { padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-soft); }
.subscription-limits span, .subscription-limits small { display: block; color: var(--muted); font-size: 11px; }
.subscription-limits strong { display: block; margin: 7px 0 3px; font-size: 22px; }
.plan-fit { margin: 15px 0 0; padding: 10px; border-radius: 9px; background: var(--panel-soft); font-size: 11px; }
.plan-fit strong { display: block; margin-bottom: 4px; color: var(--text); }
.pricing-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.pricing-explainer article { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-soft); }
.pricing-explainer p { margin: 7px 0 0; font-size: 12px; }
.pricing-page { min-height: calc(100vh - 150px); padding-top: 70px; }
.pricing-page .section-intro h1 { font-size: clamp(36px, 5vw, 58px); }
.pricing-note { width: max-content; max-width: 100%; margin: 18px auto 0; }
.feedback-panel { max-width: 980px; }
.rating-field { border-color: var(--border); }
.rating-field legend { color: var(--text); }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.star-rating input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.star-rating label { color: var(--border); cursor: pointer; font-size: 34px; line-height: 1; }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #f2ad24; }
.star-rating input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 3px; }
.feedback-review { padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-soft); }
.feedback-review p { margin: 10px 0; color: var(--text); }
.cta-panel { width: min(1050px, calc(100% - 40px)); margin: 50px auto 110px; padding: 65px 30px; border: 1px solid #ccd6ff; border-radius: 24px; background: radial-gradient(circle at top, #f4f6ff, #eef2ff 62%); text-align: center; }
html[data-theme="dark"] .cta-panel { border-color: #3c4770; background: radial-gradient(circle at top, #26336b, #151928 62%); }
.cta-panel p { max-width: 580px; margin: 0 auto 23px; }
.marketing-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 25px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }

@media (max-width: 1050px) {
  .overview-grid, .form-layout, .social-layout, .job-layout { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .18s ease; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 20; border: 0; background: #05070bb8; }
  body.sidebar-open .sidebar-overlay { display: block; }
  .workspace { margin-left: 0; }
  .mobile-header { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--sidebar); }
  .mobile-header a { color: var(--text); font-weight: 750; }
  .menu-button { padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel-soft); color: var(--text); }
  .workspace main { padding: 24px 16px 55px; }
  .page-heading { align-items: flex-start; }
  .page-heading > .button { flex: 0 0 auto; }
  .field-row, .filter-bar, .inline-subscription-form { grid-template-columns: 1fr; }
  .inline-subscription-form .button { width: 100%; }
  .storage-strip { grid-template-columns: 1fr; gap: 8px; }
  .filter-bar .button { width: 100%; }
  .marketing-nav nav > a:not(.button) { display: none; }
  .hero, .split-feature, .creator-story, .social-automation-section { grid-template-columns: 1fr; gap: 45px; }
  .automation-heading { grid-template-columns: 1fr; gap: 14px; }
  .automation-flow { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 60px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .limit-form { min-width: 390px; }
  .pricing-explainer { grid-template-columns: 1fr; }
  .subscription-limits { grid-template-columns: 1fr 1fr; }
  .job-table, .job-table tbody { display: block; }
  .job-table thead { display: none; }
  .job-table tr { display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
  .job-table td { padding: 0; border: 0; }
  .job-table td:nth-child(3), .job-table td:nth-child(6) { display: none; }
  .job-table td:nth-child(4) { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
  .job-table td:nth-child(5) { grid-column: 3; }
  .job-table td:nth-child(7) { grid-column: 4; grid-row: 1 / span 2; }
}

@media (max-width: 520px) {
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-grid article { padding: 13px; }
  .page-heading { display: grid; }
  .panel { padding: 16px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .job-heading .status { margin-top: 2px; }
  .share-link-row { align-items: stretch; flex-direction: column; }
  .marketing-nav { width: 100%; padding: 12px; }
  .marketing-nav .brand small { display: none; }
  .marketing-nav .brand-logo { width: 165px; height: 50px; }
  .marketing-nav nav { gap: 8px; }
  .marketing-nav .button { padding-inline: 10px; font-size: 11px; }
  .marketing-nav .theme-toggle { padding-inline: 8px; }
  .hero, .marketing-section { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero h1 { font-size: 42px; }
  .feature-grid, .check-list, .faq-grid { grid-template-columns: 1fr; }
  .automation-flow, .automation-notes { grid-template-columns: 1fr; }
  .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .subscription-title { display: grid; }
  .subscription-limits { grid-template-columns: 1fr; }
}
