:root {
  --blue: #006aff;
  --carbon: #1a1a1a;
  --muted: #737373;
  --line: #d9d9d9;
  --cloud: #f3f3f3;
  --blue-soft: #eaf3ff;
  --paper: #fff;
}

body.app-page {
  --blue: #4b3bff;
  --blue-soft: #efedff;
}

* { box-sizing: border-box; }

html { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--carbon); }

body { margin: 0; min-height: 100vh; background: var(--paper); }

a { color: inherit; text-decoration: none; }

.landing { display: grid; grid-template-rows: auto 1fr auto; }

.site-header,
.site-footer,
.hero,
.app-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.site-header { height: 72px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }

.brand-logo { display: block; height: 26px; width: auto; }

.text-link { color: var(--blue); font-size: 14px; font-weight: 500; }

.hero { align-self: center; max-width: 1200px; padding: 90px 0 120px; }

.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 14px; font-weight: 500; }

h1 { max-width: 820px; margin: 0; font-family: Inter, sans-serif; font-size: clamp(48px, 7vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }

.hero-copy { max-width: 520px; margin: 26px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.55; }

.primary-button { min-height: 40px; display: inline-flex; align-items: center; gap: 18px; padding: 0 15px; border: 0; background: var(--blue); color: white; border-radius: 4px; font-family: "DM Sans", sans-serif; font-size: 14px; cursor: pointer; }

.site-footer { padding: 24px 0; color: var(--muted); font-size: 12px; }

.app-page { background: var(--paper); }
.app-page.auth-pending { overflow: hidden; }
.app-auth-loader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: #fff; }
.app-auth-loader span { position: relative; width: 58px; height: 58px; display: grid; place-items: center; }
.app-auth-loader span::after { position: absolute; inset: 0; border: 2px solid #ececef; border-top-color: #4b3bff; border-radius: 50%; content: ""; animation: app-auth-spin .75s linear infinite; }
.app-auth-loader img { width: 28px; height: 28px; object-fit: contain; }
.app-page.auth-pending .app-auth-loader { display: grid; }
.app-page.auth-pending .reseller-layout { visibility: hidden; }
@keyframes app-auth-spin { to { transform: rotate(360deg); } }

.app-nav { height: 72px; border-bottom: 0; background: var(--paper); }

.app-nav-inner { width: min(1200px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }

.avatar { width: 32px; height: 32px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 32px; font-size: 11px; font-weight: 600; }
.account-button { padding: 0; border: 0; cursor: pointer; }
.account-area { position: relative; }
.account-menu { position: absolute; z-index: 20; top: 42px; right: 0; width: 280px; border: 1px solid #e7e7e7; border-radius: 4px; background: #fff; }
.account-menu[hidden] { display: none; }
.account-summary { display: flex; align-items: center; gap: 11px; padding: 16px; border-bottom: 1px solid #e7e7e7; }
.account-menu-avatar { flex: 0 0 auto; }
.account-summary div { min-width: 0; }
.account-summary strong, .account-summary span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-summary strong { font-size: 13px; font-weight: 600; }
.account-summary div span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.account-options { padding: 6px; }
.account-options button, .signout-button { width: 100%; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border: 0; border-radius: 4px; background: #fff; color: var(--carbon); text-align: left; font-size: 13px; cursor: pointer; }
.account-options button:hover, .signout-button:hover { background: #f3f3f3; }
.account-options svg, .signout-button svg { width: 16px; height: 16px; color: var(--muted); }
.signout-button { height: 46px; padding-inline: 16px; border-top: 1px solid #e7e7e7; border-radius: 0; }

.app-shell { max-width: 1180px; padding-block: 40px 64px; }

.app-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }

.app-heading h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }

.app-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }

.empty-state { margin-top: 34px; min-height: 300px; display: grid; place-items: center; padding: 40px; border-top: 1px solid #e7e7e7; background: var(--paper); text-align: center; }

.empty-state h2 { margin: 0 0 8px; font-family: Inter, sans-serif; font-size: 18px; font-weight: 600; }

.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }

/* Reseller workspace */
.reseller-layout { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; }
.reseller-mobile-header, .reseller-sidebar-backdrop, .reseller-sidebar-mobile-head { display: none; }
.reseller-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 12px 14px; border-right: 1px solid #e7e7e7; background: #fff; }
.reseller-brand { display: flex; align-items: center; width: fit-content; padding: 0 8px 24px; }
.reseller-brand img { width: 54px; height: 54px; display: block; object-fit: contain; }
.reseller-nav { display: grid; gap: 5px; }
.reseller-new-system { width: 100%; height: 42px; display: flex; align-items: center; gap: 10px; margin-bottom: 9px; padding: 0 12px; border: 0; border-radius: 8px; background: #4b3bff; color: #fff; text-align: left; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: none; transition: background-color .16s ease, transform .16s ease; }
.reseller-new-system:hover { background: #3f30ec; box-shadow: none; transform: translateY(-1px); }
.reseller-new-system:active { transform: scale(.985); }
.reseller-new-system svg { width: 17px; height: 17px; }
.reseller-nav-item { width: 100%; height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #525252; text-align: left; font-size: 13px; font-weight: 500; cursor: pointer; transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.reseller-nav-item svg { width: 17px; height: 17px; flex: 0 0 auto; color: #686868; stroke-width: 1.8; }
.reseller-nav-item:hover { background: #f7f7f7; color: #171717; transform: translateX(1px); }
.reseller-nav-item.active { border-color: #e3e3e3; background: #fff; color: #171717; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.045); }
.reseller-nav-item.active svg { color: #171717; }
.reseller-settings-link { margin-top: auto; }
.reseller-account { margin-top: auto; padding-top: 12px; border-top: 1px solid #e7e7e7; }
.reseller-account-button { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 9px; padding: 7px 8px; border: 0; border-radius: 4px; background: transparent; text-align: left; cursor: pointer; transition: background-color .16s ease; }
.reseller-account-button:hover { background: #f5f5f5; }
.reseller-account-button > span:not(.avatar) { min-width: 0; }
.reseller-account-button > svg { width: 15px; height: 15px; color: #8a8a8a; }
.reseller-account-button strong, .reseller-account-button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reseller-account-button strong { font-size: 11px; font-weight: 600; }
.reseller-account-button small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.reseller-account .account-menu { top: auto; right: auto; bottom: 46px; left: 0; }
.reseller-main { min-width: 0; background: #fff; }
.reseller-page { width: 100%; max-width: 1180px; min-height: 100vh; margin: 0 auto; padding: 34px 38px 56px; }
.reseller-page-header { min-height: 46px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.reseller-page-header h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.reseller-page-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.reseller-page-header .primary-button { gap: 7px; }
.reseller-page-header .primary-button svg { width: 16px; height: 16px; }
.dashboard-title-only { min-height: auto; align-items: center; margin-bottom: 24px; }
.compact-page-header { align-items: center; margin-bottom: 28px; }
.compact-page-header > .reseller-search { width: min(310px, 100%); }
.dashboard-page-header { justify-content: space-between; }
.compact-header-tools { display: flex; align-items: center; gap: 8px; }
.compact-header-tools .reseller-search { width: min(300px, 38vw); }
.compact-header-tools .primary-button { flex: 0 0 auto; }
.dashboard-performance { overflow: hidden; border: 1px solid #e3e3e7; border-radius: 12px; background: #fff; }
.dashboard-performance-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #e5e5e8; }
.dashboard-performance-tabs button { min-width: 0; min-height: 94px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 17px 22px; border: 0; border-right: 1px solid #e5e5e8; background: #fff; color: #17171a; text-align: left; cursor: pointer; transition: background-color .16s ease; }
.dashboard-performance-tabs button:last-child { border-right: 0; }
.dashboard-performance-tabs button:hover { background: #f8f8f9; }
.dashboard-performance-tabs button.active { background: #f3f3f5; }
.dashboard-performance-tabs span, .dashboard-performance-tabs strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-performance-tabs span { color: #77777f; font-size: 10px; font-weight: 500; }
.dashboard-performance-tabs strong { font-size: clamp(20px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.dashboard-range-select { width: 148px; height: 42px; padding: 0 36px 0 13px; border: 1px solid #dedee2; border-radius: 7px; outline: 0; background: #fff; color: #34343a; font-size: 12px; font-weight: 500; cursor: pointer; }
.dashboard-range-select:focus { border-color: #aaa9b0; }
.dashboard-performance-chart { min-width: 0; padding: 26px 28px 23px; }
.dashboard-performance-line { width: 100%; height: 284px; overflow: visible; }
.dashboard-performance-line line { stroke: #ececef; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dashboard-performance-line .dashboard-area { fill: url(#dashboard-area-gradient); stroke: none; }
.dashboard-performance-line .dashboard-trend { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 6px 8px rgba(75,59,255,.12)); }
.dashboard-performance-line circle { fill: #fff; stroke: var(--blue); stroke-width: 2.4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .16s ease; }
.dashboard-performance-line circle:last-child, .dashboard-performance-line:hover circle { opacity: 1; }
.dashboard-performance-labels { width: 100%; }
.dashboard-bar-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: -2px; text-align: center; }
.dashboard-bar-labels b, .dashboard-bar-labels small { display: block; }
.dashboard-bar-labels b { color: #77777f; font-size: 10px; font-weight: 500; }
.dashboard-bar-labels small { margin-top: 4px; overflow: hidden; color: #aaaab0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.dashboard-kpi { min-width: 0; min-height: 146px; display: flex; flex-direction: column; padding: 19px 20px 17px; border: 1px solid #e7e7eb; border-radius: 12px; background: #fff; box-shadow: none; transition: border-color .18s ease; }
.dashboard-kpi:hover { border-color: #cfced4; }
.dashboard-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #696875; }
.dashboard-kpi-top span { overflow: hidden; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-kpi-top i, .dashboard-kpi-top svg { width: 17px; height: 17px; flex: 0 0 auto; color: #85838e; stroke-width: 1.8; }
.dashboard-kpi > strong { display: block; margin-top: 24px; color: #18171d; font-size: clamp(24px, 2.2vw, 31px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.dashboard-kpi > small { margin-top: auto; padding-top: 12px; color: #92919a; font-size: 10px; }
.reseller-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 42px; border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.reseller-metrics.dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 30px; border-top: 1px solid #e7e7e7; border-bottom: 0; border-left: 1px solid #e7e7e7; }
.reseller-metrics.dashboard-metrics > div { min-width: 0; padding: 22px; border: 0; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; border-radius: 0; background: transparent; }
.dashboard-metrics > div + div { border-left: 0; }
.reseller-metrics > div { padding: 22px 28px 22px 0; }
.reseller-metrics > div + div { padding-left: 28px; border-left: 1px solid #e7e7e7; }
.reseller-metrics span, .reseller-metrics strong, .reseller-metrics small { display: block; }
.reseller-metrics span { color: var(--muted); font-size: 11px; }
.reseller-metrics strong { margin-top: 8px; font-size: 27px; font-weight: 600; letter-spacing: -.025em; }
.reseller-metrics small { margin-top: 7px; color: var(--muted); font-size: 10px; }
.reseller-metrics.dashboard-metrics > div, .reseller-metrics.dashboard-metrics > div + div { padding: 22px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.reseller-section { border-top: 1px solid #e7e7e7; }
.section-title { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 0; }
.section-title h2 { margin: 0; font-size: 17px; font-weight: 600; }
.section-title p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.quiet-empty { min-height: 220px; display: grid; place-content: center; text-align: center; }
.quiet-empty strong, .quiet-empty span { display: block; }
.quiet-empty strong { font-size: 14px; font-weight: 600; }
.quiet-empty span { margin-top: 7px; color: var(--muted); font-size: 12px; }
.project-empty { margin-top: 18px; border-top: 1px solid #e7e7e7; }
.reseller-search { width: min(440px, 100%); height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 4px; background: #f3f3f3; }
.reseller-search svg { width: 18px; height: 18px; color: var(--muted); }
.reseller-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--carbon); font-size: 13px; }
.record-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-bottom: 12px; border-bottom: 1px solid #bdbdbd; }
.record-heading strong { font-size: 13px; font-weight: 600; }
.record-heading span { color: var(--muted); font-size: 11px; }
.reseller-record { width: 100%; min-height: 84px; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 18px; padding: 15px 2px 15px 0; border: 0; border-bottom: 1px solid #e7e7e7; background: transparent; text-align: left; cursor: pointer; }
.reseller-record:hover { background: #fafafa; }
.reseller-record strong, .reseller-record small { display: block; }
.reseller-record > span:first-child strong { font-size: 14px; font-weight: 600; }
.reseller-record small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.reseller-record .record-value { text-align: right; }
.reseller-record .record-value strong { font-size: 14px; font-weight: 500; }
.client-record .record-value em { display: block; margin-top: 5px; font-size: 10px; font-style: normal; }
.client-record .record-value .status-active { color: #16834b; }
.client-record .record-value .status-paused { color: #a66b00; }
.client-record .record-value .status-canceled { color: #c73535; }
.dashboard-insights { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(270px, .75fr); gap: 14px; align-items: stretch; }
.dashboard-chart-section, .dashboard-snapshot { border: 1px solid #e7e7eb; border-radius: 12px; background: #fff; box-shadow: none; }
.dashboard-chart-section { min-width: 0; padding: 24px 25px 21px; }
.dashboard-chart-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.dashboard-chart-heading h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.dashboard-chart-heading p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.dashboard-chart-summary { text-align: right; }
.dashboard-chart-summary small, .dashboard-chart-summary strong { display: block; }
.dashboard-chart-summary small { margin-bottom: 7px; color: #92919a; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.dashboard-chart-summary strong { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.dashboard-payment-chart { min-width: 0; }
.dashboard-line-chart { width: 100%; height: 228px; display: block; overflow: visible; }
.dashboard-line-chart line { stroke: #ececf0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dashboard-line-chart path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dashboard-line-chart circle { fill: #fff; stroke: var(--blue); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.dashboard-line-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: -2px; text-align: center; }
.dashboard-line-labels b, .dashboard-line-labels small { display: block; }
.dashboard-line-labels b { color: #777680; font-size: 10px; font-weight: 500; }
.dashboard-line-labels small { margin-top: 4px; overflow: hidden; color: #aaa8b0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-snapshot { display: flex; flex-direction: column; padding: 24px; }
.dashboard-snapshot h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.dashboard-snapshot-heading > p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.dashboard-forecast { margin-top: 20px; padding: 16px 0; border-top: 1px solid #ededf0; border-bottom: 1px solid #ededf0; border-radius: 0; background: transparent; }
.dashboard-forecast span, .dashboard-forecast strong, .dashboard-forecast small { display: block; }
.dashboard-forecast span { color: #696875; font-size: 10px; }
.dashboard-forecast strong { margin-top: 8px; color: #242329; font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.dashboard-forecast small { margin-top: 5px; color: #92919a; font-size: 9px; }
.dashboard-snapshot dl { margin: 13px 0 17px; }
.dashboard-snapshot dl > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 1px; border-bottom: 1px solid #ededf0; }
.dashboard-snapshot dt { color: #696875; font-size: 10px; }
.dashboard-snapshot dt small { display: block; margin-top: 3px; color: #a09fa6; font-size: 8px; }
.dashboard-snapshot dd { margin: 0; color: #242329; font-size: 11px; font-weight: 600; }
.dashboard-snapshot button { width: 100%; height: 40px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 13px; border: 1px solid #e2e1e7; border-radius: 8px; background: #fff; color: var(--carbon); font-size: 11px; font-weight: 600; cursor: pointer; transition: border-color .16s ease, background-color .16s ease; }
.dashboard-snapshot button:hover { border-color: #cbc9d4; background: #fafaff; }
.dashboard-snapshot svg { width: 15px; }
.reseller-record .paid-status { color: #16a05d; }
.reseller-record > svg { width: 18px; color: #aaa; }
.project-records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.project-card { position: relative; min-width: 0; border: 1px solid #e1e1e1; border-radius: 7px; background: #fff; color: var(--carbon); text-align: left; transition: border-color .18s ease, transform .18s ease; }
.project-card:hover { z-index: 2; border-color: #bcbcbc; transform: translateY(-2px); }
.project-card:focus-within { z-index: 20; }
.project-card-open { width: 100%; display: block; padding: 0; overflow: hidden; border: 0; border-radius: inherit; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.project-card-open:focus-visible, .project-card-menu-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.project-card-preview { position: relative; height: 178px; display: grid; grid-template-columns: 46px minmax(0, 1fr); overflow: hidden; border-bottom: 1px solid var(--card-line); background: var(--card-paper); color: var(--card-ink); }
.project-mini-sidebar { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 8px; border-right: 1px solid var(--card-line); }
.project-mini-brand { width: 21px; height: 21px; display: grid; place-items: center; overflow: hidden; color: var(--card-ink); font-size: 7px; font-weight: 600; }
.project-mini-brand img { width: 100%; height: 100%; display: block; object-fit: contain; }
.project-mini-sidebar i { width: 20px; height: 3px; border-radius: 2px; background: var(--card-line); }
.project-mini-sidebar i:first-of-type { background: var(--card-accent); }
.project-mini-main { display: block; padding: 20px 17px; }
.project-mini-heading { display: flex; align-items: center; justify-content: space-between; }
.project-mini-heading b { width: 52px; height: 7px; border-radius: 2px; background: var(--card-ink); opacity: .85; }
.project-mini-heading em { width: 34px; height: 15px; border-radius: 2px; background: var(--card-accent); }
.project-mini-search { height: 20px; display: block; margin: 18px 0 12px; border-radius: 3px; background: color-mix(in srgb, var(--card-ink) 6%, var(--card-paper)); }
.project-mini-row { height: 24px; display: block; border-bottom: 1px solid var(--card-line); }
.project-mini-row::before { width: 54%; height: 4px; display: block; padding-top: 10px; border-bottom: 4px solid color-mix(in srgb, var(--card-ink) 38%, transparent); content: ""; }
.project-mini-row.short::before { width: 38%; }
.project-card-state { position: absolute; top: 12px; right: 12px; padding: 4px 7px; border: 1px solid var(--card-line); border-radius: 3px; background: color-mix(in srgb, var(--card-paper) 88%, transparent); color: var(--card-ink); font-size: 8px; font-style: normal; font-weight: 600; }
.project-card-details { min-height: 94px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 32px; align-items: start; gap: 12px; padding: 17px; }
.project-card-logo { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e2e2e2; border-radius: 4px; background: transparent; color: var(--carbon); font-size: 12px; font-weight: 600; }
.project-card-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.project-card-copy { min-width: 0; }
.project-card-copy strong, .project-card-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-card-copy strong { font-size: 14px; font-weight: 600; }
.project-card-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.project-card-copy .project-card-link { margin-top: 3px; color: #969696; }
.project-card-menu-trigger { position: absolute; right: 12px; bottom: 48px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--carbon); cursor: pointer; }
.project-card-menu-trigger:hover, .project-card-menu-trigger[aria-expanded="true"] { background: #f1f1f1; }
.project-card-menu-trigger svg { width: 18px; height: 18px; }
.project-card-menu { position: absolute; z-index: 30; top: calc(100% - 48px); right: 12px; width: 190px; padding: 6px; border: 1px solid #dedede; border-radius: 7px; background: #fff; }
.project-card-menu[hidden] { display: none; }
.project-card-menu button { width: 100%; height: 40px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 4px; background: transparent; color: var(--carbon); text-align: left; font-size: 12px; cursor: pointer; }
.project-card-menu button:hover { background: #f4f4f4; }
.project-card-menu button svg { width: 16px; height: 16px; }
.project-card-menu .project-menu-delete { color: #d12626; }
.project-status-dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 8px; background: #fff; color: var(--carbon); }
.project-status-dialog::backdrop { background: rgba(0,0,0,.4); }
.project-status-dialog form > header { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 25px 24px; }
.status-dialog-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #f3f3f3; color: #202020; }
.status-dialog-icon svg { width: 17px; }
.project-status-dialog h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.project-status-dialog p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.project-status-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #e7e7e7; }
.project-status-submit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 4px; background: #cf2626; color: #fff; font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.project-status-submit.activate { background: #16834b; }
.project-status-submit:disabled { opacity: .62; cursor: wait; }
.project-status-submit svg { width: 15px; }
.signout-confirm-dialog .status-dialog-icon { background: #fff0f0; color: #cf2626; }
.signout-confirm-dialog .project-status-submit { background: #cf2626; }
.project-delete-dialog { width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 8px; background: #fff; color: var(--carbon); }
.project-delete-dialog::backdrop { background: rgba(0,0,0,.4); }
.project-delete-dialog form > header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid #e7e7e7; }
.project-delete-dialog header > div { display: flex; align-items: center; gap: 11px; }
.project-delete-dialog h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.delete-dialog-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; background: #fff0f0; color: #cf2626; }
.delete-dialog-icon svg { width: 16px; }
.project-delete-dialog header > button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.project-delete-dialog header > button:hover { background: #f3f3f3; }
.project-delete-dialog header > button svg { width: 17px; }
.project-delete-body { padding: 24px; }
.project-delete-body > p { margin: 0 0 23px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-delete-body > p strong { color: var(--carbon); font-weight: 600; }
.project-delete-body label, .project-delete-body label span { display: block; }
.project-delete-body label span { margin-bottom: 9px; font-size: 12px; }
.project-delete-body input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d7d7d7; border-radius: 4px; outline: 0; background: #f5f5f5; color: var(--carbon); }
.project-delete-body input:focus { border-color: #8d8d8d; }
.project-delete-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #e7e7e7; }
.project-delete-submit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 4px; background: #cf2626; color: #fff; font-size: 12px; cursor: pointer; }
.project-delete-submit svg { width: 15px; }
.project-delete-submit:disabled { background: #ead7d7; color: #a78f8f; cursor: not-allowed; }
.product-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid #e7e7e7; border-left: 1px solid #e7e7e7; }
.system-selector-page .product-library { margin-top: 0; }
.library-product { min-height: 126px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 15px; padding: 20px; border: 0; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; background: #fff; text-align: left; cursor: pointer; }
.library-product:hover { background: #fafafa; }
.library-product .product-symbol { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--product-border); border-radius: 6px; background: var(--product-color); color: #fff; }
.library-product .product-symbol svg { width: 18px; }
.library-product .product-symbol > i, .template-icon > i { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; line-height: 1; }
.library-product .product-symbol > i::before, .template-icon > i::before { display: block; line-height: 1; }
.library-product strong, .library-product small { display: block; }
.library-product strong { font-size: 14px; font-weight: 600; }
.library-product small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.library-product > svg { width: 17px; color: #aaa; }
.library-product .product-name { display: flex; align-items: center; gap: 8px; }
.library-product .product-name em { padding: 3px 6px; border-radius: 999px; background: #f1f1f1; color: #777; font-size: 9px; font-style: normal; font-weight: 600; letter-spacing: .02em; }
.library-product.is-coming-soon { cursor: default; }
.library-product.is-coming-soon:hover { background: #fff; }
.template-icon { border: 2px solid var(--product-border); background: var(--product-color); color: #fff; }
.settings-profile { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; padding: 0 2px; }
.settings-profile .avatar { width: 44px; height: 44px; font-size: 13px; }
.settings-profile strong, .settings-profile small { display: block; }
.settings-profile strong { font-size: 15px; font-weight: 600; }
.settings-profile small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e7e7e7; border-left: 1px solid #e7e7e7; }
.settings-grid > button { min-height: 112px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 17px; align-items: center; gap: 14px; padding: 20px; border: 0; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; background: transparent; color: var(--carbon); text-align: left; cursor: pointer; }
.settings-grid > button:hover { background: #fafafa; }
.settings-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 5px; }
.settings-card-icon svg { width: 17px; color: var(--carbon); }
.settings-grid strong, .settings-grid small { display: block; }
.settings-grid strong { font-size: 14px; font-weight: 600; }
.settings-grid small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.settings-grid > button > svg { width: 16px; color: #aaa; }
.settings-grid > button > svg:last-child { grid-column: 4; }
.settings-plan-chip { padding: 5px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 9px; font-weight: 600; white-space: nowrap; }
.settings-grid .settings-signout strong, .settings-grid .settings-signout > svg { color: #c92c2c; }
.settings-detail { max-width: 850px; }
.settings-detail-header { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.settings-detail-header > button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid #dedede; border-radius: 4px; background: transparent; color: var(--carbon); cursor: pointer; }
.settings-detail-header > button:hover { background: #f7f7f7; }
.settings-detail-header svg { width: 16px; }
.settings-detail-header h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.settings-detail-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.settings-panel { border-top: 1px solid #e7e7e7; border-left: 1px solid #e7e7e7; }
.settings-panel-heading { padding: 24px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.settings-panel-heading h2 { margin: 0; font-size: 17px; font-weight: 600; }
.settings-panel-heading p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.settings-field { display: grid; gap: 9px; padding: 20px 24px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.settings-field > span { font-size: 11px; font-weight: 600; }
.settings-field > span small { float: right; color: var(--muted); font-size: 9px; font-weight: 400; }
.settings-field input { width: 100%; height: 44px; padding: 0 13px; border: 0; border-radius: 4px; outline: 0; background: #f3f3f3; color: var(--carbon); font-size: 12px; }
.settings-field input:focus { box-shadow: inset 0 0 0 1px var(--blue); }
.settings-panel > footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 24px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.settings-delete-link { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: #c92c2c; font-size: 11px; font-weight: 600; cursor: pointer; }
.settings-delete-link svg { width: 14px; }
.settings-plan-hero { padding: 27px 24px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.settings-plan-hero > span { color: var(--muted); font-size: 10px; }
.settings-plan-hero > div { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.settings-plan-hero h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.settings-plan-hero b { padding: 5px 8px; border-radius: 999px; background: #eaf8f0; color: #16834b; font-size: 9px; }
.settings-plan-hero p { max-width: 560px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.settings-plan-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.settings-plan-facts > div { padding: 22px 24px; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.settings-plan-facts span, .settings-plan-facts strong { display: block; }
.settings-plan-facts span { color: var(--muted); font-size: 10px; }
.settings-plan-facts strong { margin-top: 8px; font-size: 13px; font-weight: 600; }
.settings-primary-action { min-width: 170px; height: 42px; margin: 24px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 500; cursor: pointer; }
.settings-primary-action:disabled { opacity: .65; cursor: wait; }
.settings-billing-list { border-right: 1px solid #e7e7e7; }
.settings-billing-row { min-height: 70px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 22px; padding: 14px 24px; border-bottom: 1px solid #e7e7e7; }
.settings-billing-row strong, .settings-billing-row small { display: block; }
.settings-billing-row strong { font-size: 12px; font-weight: 600; }
.settings-billing-row small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.settings-billing-row > strong { font-size: 13px; }
.settings-billing-status { color: #16834b; font-size: 10px; }
.settings-billing-empty { min-height: 190px; display: grid; place-content: center; border-bottom: 1px solid #e7e7e7; color: var(--muted); text-align: center; }
.settings-billing-empty svg { width: 24px; margin: 0 auto 12px; }
.settings-billing-empty strong { color: var(--carbon); font-size: 13px; }
.settings-billing-empty span { margin-top: 6px; font-size: 10px; }
.settings-legal-list { border-right: 1px solid #e7e7e7; }
.settings-legal-list a { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 24px; border-bottom: 1px solid #e7e7e7; color: var(--carbon); text-decoration: none; }
.settings-legal-list a:hover { background: #fafafa; }
.settings-legal-list strong, .settings-legal-list small { display: block; }
.settings-legal-list strong { font-size: 13px; }
.settings-legal-list small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.settings-legal-list svg { width: 16px; color: #aaa; }
.account-delete-dialog { width: min(600px, calc(100% - 32px)); }
.payment-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 6px; background: #fff; color: var(--carbon); }
.payment-dialog::backdrop { background: rgba(0, 0, 0, .34); }
.payment-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e7e7e7; }
.payment-dialog h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.payment-dialog header p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.payment-dialog header button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: #fff; cursor: pointer; }
.payment-dialog header svg { width: 17px; }
.payment-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; }
.payment-form-fields label { display: grid; gap: 7px; }
.payment-form-fields label:first-child, .payment-form-fields label:nth-child(2) { grid-column: 1 / -1; }
.subscription-dialog .payment-form-fields label:nth-of-type(-n+3) { grid-column: 1 / -1; }
.payment-form-fields span { font-size: 11px; font-weight: 600; }
.payment-form-fields input, .payment-form-fields select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 4px; outline: 0; background: #fff; font-size: 12px; }
.payment-form-fields input:focus, .payment-form-fields select:focus { border-color: var(--blue); }
.payment-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid #e7e7e7; }
.subscription-dialog-footer > span { flex: 1; }
.danger-text { padding: 0; border: 0; background: transparent; color: #b44343; font-size: 12px; font-weight: 500; cursor: pointer; }
.status-active { color: #16a05d !important; }
.status-paused { color: #b26a00 !important; }
.status-canceled { color: #a43a69 !important; }
.records-empty { min-height: 210px; border-top: 0; }
#subscription-records { margin-top: 4px; }
.client-form-view, .client-detail-view { width: min(760px, 100%); margin: 0 auto; animation: clientFormIn .38s cubic-bezier(.22, 1, .36, 1) both; }
.client-form-heading { margin-bottom: 24px; }
.client-form-heading h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.client-inline-form { width: 100%; }
.client-form-grid { display: grid; gap: 22px; padding: 28px; border: 1px solid #e5e5e8; border-radius: 14px; background: #fff; }
.client-field { position: relative; min-width: 0; display: grid; gap: 8px; }
.client-field > span { color: #3e3e43; font-size: 11px; font-weight: 600; }
.client-field input, .client-field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #e1e1e4; border-radius: 9px; outline: 0; background: #fff; color: var(--carbon); font-size: 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.client-field input:hover, .client-field select:hover { border-color: #cfcfd4; }
.client-field input:focus, .client-field select:focus { border-color: #aaa9b2; box-shadow: 0 0 0 4px rgba(75,59,255,.07); }
.client-project-picker, .client-plan-picker { position: relative; }
.client-project-picker > select, .client-plan-picker > select { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.client-select-trigger { width: 100%; min-height: 62px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid #e1e1e4; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.client-select-trigger:hover, .client-select-trigger[aria-expanded="true"] { border-color: #bdbcc4; box-shadow: 0 0 0 4px rgba(75,59,255,.055); }
.client-project-mark { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e2e2e5; border-radius: 8px; background: #f5f5f6; }
.client-project-mark img { width: 100%; height: 100%; object-fit: cover; }
.client-project-mark svg { width: 16px; color: #77777f; }
.client-project-mark .fi { display: grid; place-items: center; line-height: 1; }
.client-project-mark .fi::before { display: block; font-size: 15px; }
.client-select-copy { min-width: 0; }
.client-select-copy strong, .client-select-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-select-copy strong { font-size: 12px; font-weight: 600; }
.client-select-copy small { margin-top: 4px; color: #8d8d94; font-size: 10px; }
.client-select-trigger > svg { width: 16px; color: #8a8a91; transition: transform .18s ease; }
.client-select-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.client-select-menu { position: absolute; z-index: 40; top: calc(100% + 7px); right: 0; left: 0; overflow: hidden; border: 1px solid #dedee2; border-radius: 11px; background: #fff; box-shadow: 0 16px 42px rgba(20,20,24,.13); animation: clientMenuIn .16s ease both; }
.client-select-search { height: 47px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border-bottom: 1px solid #ededee; }
.client-select-search svg { width: 15px; color: #8b8b92; }
.client-select-search input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 12px; }
#client-project-options { max-height: 222px; overflow-y: auto; padding: 5px; }
.client-project-option { width: 100%; min-height: 52px; display: grid; grid-template-columns: 32px minmax(0,1fr) 16px; align-items: center; gap: 10px; padding: 7px 9px; border: 0; border-radius: 7px; background: #fff; text-align: left; cursor: pointer; }
.client-project-option:hover, .client-project-option.selected { background: #f5f5f7; }
.client-project-option .client-project-mark { width: 32px; height: 32px; border-radius: 6px; }
.client-project-option strong, .client-project-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-project-option strong { font-size: 11px; font-weight: 600; }
.client-project-option small { margin-top: 3px; color: #919198; font-size: 9px; }
.client-project-option > svg { width: 14px; color: var(--blue); opacity: 0; }
.client-project-option.selected > svg { opacity: 1; }
.client-billing-row { display: grid; grid-template-columns: minmax(170px,.72fr) minmax(0,1.28fr); gap: 16px; align-items: end; }
.client-plan-trigger { width: 100%; height: 48px; display: grid; grid-template-columns: 18px minmax(0,1fr) 15px; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #e1e1e4; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; }
.client-plan-trigger:hover, .client-plan-trigger[aria-expanded="true"] { border-color: #bdbcc4; }
.client-plan-trigger svg { width: 16px; color: #696970; }
.client-plan-trigger span { font-size: 12px; font-weight: 500; }
.client-plan-menu { right: auto; width: 270px; padding: 5px; }
.client-plan-menu > button { width: 100%; min-height: 54px; display: grid; grid-template-columns: 28px minmax(0,1fr) 16px; align-items: center; gap: 10px; padding: 7px 9px; border: 0; border-radius: 7px; background: #fff; text-align: left; cursor: pointer; }
.client-plan-menu > button:hover, .client-plan-menu > button.active { background: #f5f5f7; }
.client-plan-menu > button > svg:first-child { width: 17px; color: #55555c; }
.client-plan-menu > button > svg:last-child { width: 14px; color: var(--blue); opacity: 0; }
.client-plan-menu > button.active > svg:last-child { opacity: 1; }
.client-plan-menu strong, .client-plan-menu small { display: block; }
.client-plan-menu strong { font-size: 11px; font-weight: 600; }
.client-plan-menu small { margin-top: 3px; color: #919198; font-size: 9px; }
.client-amount-input { height: 62px; display: flex; align-items: center; border: 1px solid #dedee2; border-radius: 10px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.client-amount-input:focus-within { border-color: #aaa9b2; box-shadow: 0 0 0 4px rgba(75,59,255,.07); }
.client-amount-input b { padding-left: 15px; color: #686870; font-size: 20px; font-weight: 500; }
.client-amount-input input { min-width: 0; height: 100%; padding: 0 14px 0 7px; border: 0; background: transparent; font-size: 27px; font-weight: 600; letter-spacing: -.035em; }
.client-amount-input input:focus { border: 0; box-shadow: none; }
.client-edit-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding-top: 22px; border-top: 1px solid #ececef; }
.client-form-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.client-form-actions > span { flex: 1; }
.client-form-actions .primary-button, .client-form-actions .secondary-button { min-height: 42px; border-radius: 8px; }
.client-form-actions .primary-button { gap: 8px; padding-inline: 18px; }
.client-form-actions svg { width: 15px; }
.client-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.client-back-button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #696970; font-size: 12px; cursor: pointer; }
.client-back-button svg { width: 16px; }
.client-detail-actions { display: flex; gap: 8px; }
.client-detail-actions button { gap: 7px; border-radius: 8px; }
.client-detail-actions svg { width: 15px; }
.client-profile { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid #e7e7ea; }
.client-profile-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #242329; color: #fff; font-size: 16px; font-weight: 600; }
.client-profile h1 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.035em; }
.client-profile p { margin: 6px 0 0; color: #85858c; font-size: 11px; }
.client-status-pill { padding: 6px 9px; border-radius: 99px; background: #eef8f2; color: #16834b; font-size: 10px; font-weight: 600; }
.client-status-pill.paused { background: #fff7e8; color: #9c6600; }
.client-status-pill.canceled { background: #fff0f0; color: #bd3434; }
.client-subscription-overview { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid #e7e7ea; }
.client-system-line { min-width: 0; display: flex; align-items: center; gap: 13px; }
.client-system-line .client-project-mark { flex: 0 0 auto; }
.client-system-line span { min-width: 0; }
.client-system-line small, .client-system-line strong, .client-system-line em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-system-line small, .client-subscription-amount small, .client-renewal-line span { color: #8a8991; font-size: 10px; font-style: normal; }
.client-system-line strong { margin-top: 5px; font-size: 13px; font-weight: 600; }
.client-system-line em { margin-top: 3px; color: #8a8991; font-size: 10px; font-style: normal; }
.client-subscription-amount { text-align: right; }
.client-subscription-amount small, .client-subscription-amount strong, .client-subscription-amount span { display: block; }
.client-subscription-amount strong { margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.client-subscription-amount span { margin-top: 2px; color: #8a8991; font-size: 10px; }
.client-renewal-line { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #eeeeef; }
.client-renewal-line strong { font-size: 12px; font-weight: 600; }
.client-payment-section { margin-top: 34px; }
.client-payment-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.client-payment-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.client-payment-heading span { color: #8a8991; font-size: 10px; }
.client-payment-row { min-height: 70px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid #ececef; }
.client-payment-row strong, .client-payment-row small { display: block; }
.client-payment-row strong { font-size: 12px; font-weight: 600; }
.client-payment-row small { margin-top: 5px; color: #8a8991; font-size: 10px; }
.client-payment-row > strong { font-size: 13px; }
.client-payment-empty { min-height: 130px; display: grid; place-content: center; color: #8a8991; font-size: 11px; text-align: center; }
.client-save-success { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: paymentSuccessIn .4s cubic-bezier(.22, 1, .36, 1) both; }
.client-save-success > svg { width: 52px; height: 52px; color: #16a05d; stroke-width: 1.6; animation: successCheck .55s cubic-bezier(.2, .9, .25, 1.25) both; }
.client-save-success > strong { margin-top: 18px; font-size: 25px; font-weight: 600; letter-spacing: -.03em; }
.client-save-success > span { margin-top: 7px; color: var(--muted); font-size: 12px; }
.client-save-success > b { margin-top: 22px; font-size: 16px; font-weight: 600; }
@keyframes clientMenuIn { from { opacity: 0; transform: translateY(-4px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes clientFormIn { from { opacity: 0; transform: translateY(12px) scale(.992); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes clientStepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.payment-dialog { max-height: calc(100vh - 32px); overflow: hidden; }
.premium-payment-form { background: #fff; }
.premium-payment-form header { padding: 24px 26px 21px; }
.dialog-eyebrow { display: block; margin-bottom: 7px; color: var(--blue); font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.premium-form-body { max-height: calc(100vh - 190px); overflow-y: auto; padding: 0 26px; scrollbar-width: thin; }
.premium-form-section { padding: 24px 0 26px; }
.premium-form-section + .premium-form-section { border-top: 1px solid #e7e7e7; }
.premium-section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 19px; }
.premium-section-heading > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #f1f1f1; color: #555; font-size: 9px; font-weight: 600; }
.premium-section-heading strong, .premium-section-heading small { display: block; }
.premium-section-heading strong { font-size: 13px; font-weight: 600; }
.premium-section-heading small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.premium-fields { display: grid; gap: 15px; }
.premium-fields.two-fields { grid-template-columns: 1fr 1fr; margin-bottom: 15px; }
.premium-fields.billing-details { grid-template-columns: 1fr 1fr; margin-top: 17px; }
.premium-field, .premium-fields label { display: grid; gap: 7px; }
.premium-field > span, .premium-fields label > span { font-size: 10px; font-weight: 600; }
.premium-field input, .premium-field select, .premium-fields input, .premium-fields select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 4px; outline: 0; background: #fff; color: var(--carbon); font-size: 12px; transition: border-color .16s ease, box-shadow .16s ease; }
.premium-field input:focus, .premium-field select:focus, .premium-fields input:focus, .premium-fields select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75,59,255,.08); }
.billing-type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.billing-type-options label { min-height: 66px; display: grid; grid-template-columns: 1fr 15px; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid #dedede; border-radius: 4px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.billing-type-options label:hover { border-color: #aaa; transform: translateY(-1px); }
.billing-type-options label:has(input:checked) { border-color: var(--blue); background: #fbfdff; }
.billing-type-options input { position: absolute; opacity: 0; pointer-events: none; }
.billing-type-options strong, .billing-type-options small { display: block; }
.billing-type-options strong { font-size: 11px; font-weight: 600; }
.billing-type-options small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.billing-type-options svg { width: 14px; color: transparent; }
.billing-type-options label:has(input:checked) svg { color: var(--blue); }
.amount-input { height: 42px; display: flex; align-items: center; border: 1px solid #d9d9d9; border-radius: 4px; transition: border-color .16s ease, box-shadow .16s ease; }
.amount-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75,59,255,.08); }
.amount-input b { padding-left: 11px; color: #777; font-size: 12px; font-weight: 500; }
.amount-input input { min-width: 0; height: 100%; padding-left: 5px; border: 0; box-shadow: none !important; }
.premium-pay-button { min-width: 150px; justify-content: center; gap: 8px; transition: background .25s ease, transform .15s ease; }
.premium-pay-button svg { width: 15px; }
.premium-pay-button:active { transform: scale(.985); }
.premium-pay-button.processing { background: #181818; pointer-events: none; }
.premium-pay-button.processing svg { animation: spin .7s linear infinite; }
.payment-success { min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; background: #fff; text-align: center; animation: paymentSuccessIn .45s cubic-bezier(.22, 1, .36, 1) both; }
.payment-success > svg { width: 56px; height: 56px; color: #16a05d; stroke-width: 1.6; animation: successCheck .55s cubic-bezier(.2, .9, .25, 1.25) both; }
.payment-success > strong { margin-top: 20px; font-size: 28px; font-weight: 600; letter-spacing: -.035em; }
.payment-success > span { margin-top: 8px; color: var(--muted); font-size: 12px; }
.payment-success > b { margin-top: 25px; font-size: 17px; font-weight: 600; }
.renewal-dialog { width: min(440px, calc(100% - 28px)); }
.renewal-dialog .premium-payment-form header { padding-bottom: 18px; }
.renewal-dialog .premium-payment-form header h2 { font-size: 20px; }
.renewal-body { display: grid; gap: 24px; padding: 4px 26px 28px; }
.renewal-amount-field { display: grid; gap: 8px; }
.renewal-amount-field > span, .renewal-date-flow span { color: #55555c; font-size: 10px; font-weight: 600; }
.renewal-date-flow { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); align-items: end; gap: 14px; padding-top: 22px; border-top: 1px solid #ededee; }
.renewal-date-flow label { display: grid; gap: 8px; }
.renewal-date-flow input { width: 100%; height: 44px; padding: 0 11px; border: 1px solid #d9d9dd; border-radius: 8px; outline: 0; background: #fff; font-size: 11px; }
.renewal-date-flow input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75,59,255,.08); }
.renewal-date-flow > svg { width: 17px; align-self: center; margin-top: 19px; color: #9b9ba2; }
.renewal-date-flow > div { min-width: 0; display: grid; gap: 8px; }
.renewal-date-flow strong { height: 44px; display: flex; align-items: center; overflow: hidden; padding: 0 12px; border-radius: 8px; background: #f5f5f6; font-size: 11px; font-weight: 600; white-space: nowrap; }
.renewal-dialog footer { padding: 15px 26px 22px; border-top: 0; }
.amount-input-large { height: 58px; }
.amount-input-large b { padding-left: 14px; font-size: 20px; color: var(--carbon); }
.amount-input-large input { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
@keyframes paymentSuccessIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
@keyframes successCheck { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1050px) and (min-width: 641px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-insights { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .site-header, .site-footer, .hero, .app-shell, .app-nav-inner { width: min(100% - 32px, 1200px); }
  .hero { padding: 64px 0 88px; }
  .app-shell { padding-block: 48px; }
  .app-heading { align-items: flex-start; flex-direction: column; }
  .reseller-layout { display: block; padding-top: 64px; }
  .reseller-mobile-header { position: fixed; z-index: 72; inset: 0 0 auto; height: 64px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 0 14px; border-bottom: 1px solid #e9e9e9; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
  .reseller-mobile-header > a { width: fit-content; display: block; justify-self: center; }
  .reseller-mobile-header img { width: 42px; height: 42px; display: block; object-fit: contain; }
  .reseller-mobile-menu-button, .reseller-mobile-account-button, .reseller-sidebar-mobile-head button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #202020; cursor: pointer; }
  .reseller-mobile-menu-button:hover, .reseller-sidebar-mobile-head button:hover { background: #f3f3f3; }
  .reseller-mobile-menu-button svg, .reseller-sidebar-mobile-head button svg { width: 20px; height: 20px; }
  .reseller-mobile-account-button .avatar { width: 32px; height: 32px; }
  .reseller-sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; width: min(290px, calc(100vw - 46px)); height: 100dvh; padding: 14px 12px; border-right: 1px solid #e3e3e3; border-bottom: 0; transform: translateX(-104%); transition: transform .28s cubic-bezier(.22,1,.36,1); box-shadow: 18px 0 50px rgba(0,0,0,.08); }
  body.reseller-menu-open { overflow: hidden; }
  body.reseller-menu-open .reseller-sidebar { transform: translateX(0); }
  .reseller-sidebar-backdrop { position: fixed; z-index: 76; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(18,18,18,.28); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  body.reseller-menu-open .reseller-sidebar-backdrop { display: block; opacity: 1; pointer-events: auto; }
  .reseller-sidebar-mobile-head { height: 42px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-left: 8px; }
  .reseller-sidebar-mobile-head strong { font-size: 14px; font-weight: 600; }
  .reseller-brand { display: none; }
  .reseller-nav { display: grid; overflow: visible; }
  .reseller-new-system { width: 100%; margin: 0 0 9px; }
  .reseller-nav-item { width: 100%; }
  .reseller-settings-link { margin: 0; }
  .reseller-account { position: static; margin-top: auto; padding-top: 12px; border-top: 1px solid #e7e7e7; }
  .reseller-account-button > span:not(.avatar), .reseller-account-button > svg { display: block; }
  .reseller-account-button { display: grid; }
  .reseller-page { min-height: calc(100vh - 64px); padding: 25px 18px 44px; }
  .reseller-page-header { align-items: flex-start; flex-direction: column; }
  .dashboard-title-only { margin-bottom: 22px; }
  .compact-page-header { gap: 16px; margin-bottom: 22px; }
  .compact-page-header > .reseller-search, .compact-header-tools, .compact-header-tools .reseller-search { width: 100%; }
  .compact-header-tools { align-items: stretch; }
  .dashboard-performance-tabs { grid-template-columns: 1fr 1fr; }
  .dashboard-performance-tabs button { min-height: 80px; padding: 14px 16px; border-bottom: 1px solid #e5e5e8; }
  .dashboard-performance-tabs button:nth-child(2) { border-right: 0; }
  .dashboard-performance-tabs button:nth-child(n+3) { border-bottom: 0; }
  .dashboard-page-header { flex-direction: row; align-items: center; }
  .dashboard-range-select { width: 138px; }
  .dashboard-performance-chart { padding: 20px 10px 18px; }
  .dashboard-bar-chart { height: 220px; }
  .dashboard-bar-labels small { display: none; }
  .dashboard-kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dashboard-kpi { min-height: 137px; padding: 16px; }
  .dashboard-kpi > strong { margin-top: 20px; font-size: 24px; }
  .dashboard-kpi > small { line-height: 1.35; }
  .reseller-metrics, .reseller-metrics.dashboard-metrics { grid-template-columns: 1fr; }
  .reseller-metrics > div + div { padding-left: 0; border-top: 1px solid #e7e7e7; border-left: 0; }
  .reseller-metrics.dashboard-metrics > div + div { border-top: 0; border-left: 0; }
  .dashboard-insights { grid-template-columns: 1fr; }
  .dashboard-chart-section, .dashboard-snapshot { padding: 19px 17px; border-radius: 12px; }
  .dashboard-chart-heading { align-items: flex-start; }
  .dashboard-chart-summary { min-width: 86px; }
  .dashboard-line-chart { height: 190px; }
  .dashboard-line-labels small { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-grid > button { grid-template-columns: 38px minmax(0, 1fr) auto 17px; }
  .settings-plan-facts { grid-template-columns: 1fr; }
  .settings-panel > footer { grid-template-columns: 1fr; }
  .settings-panel > footer > span { display: none; }
  .settings-panel > footer .primary-button { width: 100%; }
  .product-library { grid-template-columns: 1fr; }
  .payment-form-fields { grid-template-columns: 1fr; }
  .payment-form-fields label:first-child, .payment-form-fields label:nth-child(2) { grid-column: auto; }
  .premium-fields.two-fields, .premium-fields.billing-details { grid-template-columns: 1fr; }
  .billing-type-options { grid-template-columns: 1fr; }
  .subscription-dialog-footer { flex-wrap: wrap; }
  .subscription-dialog-footer > span { display: none; }
  .subscription-dialog-footer .premium-pay-button { flex: 1; }
  .client-form-view { margin: 0; }
  .client-detail-view { margin: 0; }
  .client-form-grid { gap: 18px; padding: 19px; border-radius: 12px; }
  .client-billing-row, .client-edit-fields { grid-template-columns: 1fr; }
  .client-detail-header { align-items: flex-start; }
  .client-detail-actions { flex-wrap: wrap; justify-content: flex-end; }
  .client-form-actions { flex-wrap: wrap; }
  .client-form-actions > span { display: none; }
  .client-form-actions .premium-pay-button { flex: 1; }
}

@media (max-width: 480px) {
  .client-form-heading h1 { font-size: 25px; }
  .client-profile { grid-template-columns: 48px minmax(0,1fr); }
  .client-profile-avatar { width: 48px; height: 48px; }
  .client-profile h1 { font-size: 22px; }
  .client-status-pill { grid-column: 1 / -1; width: max-content; }
  .client-detail-header { align-items: stretch; flex-direction: column; }
  .client-detail-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .client-detail-actions button { justify-content: center; }
  .client-subscription-overview { grid-template-columns: 1fr; gap: 18px; }
  .client-subscription-amount { text-align: left; }
  .client-renewal-line { grid-column: auto; }
  .renewal-date-flow { grid-template-columns: 1fr; }
  .renewal-date-flow > svg { margin: 0; transform: rotate(90deg); }
  .client-plan-menu { width: 100%; }
}

/* Project creation */
[hidden] { display: none !important; }
button, input, select { font: inherit; }
.project-creator { min-height: calc(100vh - 72px); background: #fff; }
.creator-step { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 80px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #555; font-size: 13px; font-weight: 500; cursor: pointer; }
.back-link svg { width: 16px; }
.step-copy { margin: 56px 0 34px; }
.step-copy > span { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.step-copy h1 { margin-top: 12px; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; }
.step-copy p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.creator-topline { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.question-progress { width: 160px; height: 2px; overflow: hidden; background: #ededed; }
.question-progress span { width: 20%; height: 100%; display: block; background: var(--blue); transition: width .55s cubic-bezier(.22, 1, .36, 1); }
.business-form { display: block; }
.question-panel { width: min(640px, 100%); margin-top: clamp(76px, 12vh, 132px); }
.question-panel.is-entering-forward { animation: questionInForward .52s cubic-bezier(.22, 1, .36, 1) both; }
.question-panel.is-entering-back { animation: questionInBack .52s cubic-bezier(.22, 1, .36, 1) both; }
.question-copy { margin-bottom: 34px; }
.question-copy h1 { max-width: 620px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.question-copy p { max-width: 500px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.question-field { display: grid; gap: 9px; }
.question-field > span { font-size: 12px; font-weight: 600; }
.question-field input, .question-field select { width: 100%; height: 58px; padding: 0 16px; border: 1px solid #d5d5d5; border-radius: 4px; outline: 0; background: #fff; color: var(--carbon); font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.question-field input:focus, .question-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75,59,255,.09); }
.question-field input::placeholder { color: #aaa; }
.question-actions { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; }
.question-actions small { color: #999; font-size: 11px; }
.question-actions .primary-button { min-height: 46px; padding-inline: 18px; transition: transform .2s ease, background .2s ease; }
.question-actions .primary-button:hover { background: #005ee3; transform: translateY(-1px); }
.question-actions .primary-button:active { transform: translateY(0) scale(.98); }
.question-actions svg { width: 16px; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.text-button:hover { color: var(--carbon); }
.question-upload { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px dashed #cfcfcf; border-radius: 4px; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.question-upload:hover { border-color: var(--blue); background: #fbfdff; }
.question-upload input { display: none; }
.question-logo-preview { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; margin-bottom: 17px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }
.question-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.question-logo-preview svg { width: 23px; }
.question-upload > strong { font-size: 14px; font-weight: 600; }
.question-upload > small { margin: 6px 0 18px; color: var(--muted); font-size: 11px; }
.question-upload .secondary-button { pointer-events: none; }
.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.language-option { min-height: 92px; display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 14px; padding: 16px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: var(--carbon); text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.language-option:hover { border-color: #aaa; transform: translateY(-1px); }
.language-option.selected { border-color: var(--blue); background: #fbfdff; }
.language-option > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px; background: #f3f3f3; font-size: 11px; font-weight: 600; }
.language-option strong { font-size: 14px; font-weight: 600; }
.language-option svg { width: 18px; color: transparent; }
.language-option.selected svg { color: var(--blue); }
@keyframes questionInForward { from { opacity: 0; transform: translate3d(24px, 8px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes questionInBack { from { opacity: 0; transform: translate3d(-24px, 8px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .question-panel, .question-progress span { animation: none !important; transition: none !important; }
}
.business-form, .modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.business-form { display: block; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: 12px; font-weight: 600; }
.field input, .field select { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #d9d9d9; border-radius: 4px; outline: none; background: #fff; color: var(--carbon); font-size: 14px; }
.field input:focus, .field select:focus { border-color: var(--blue); }
.upload-field { min-height: 72px; display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #d9d9d9; border-radius: 4px; cursor: pointer; }
.upload-field input { display: none; }
.upload-preview { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: #f3f3f3; color: #737373; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview svg { width: 18px; }
.upload-field > span:nth-child(2) { min-width: 0; flex: 1; }
.upload-field strong, .upload-field small { display: block; }
.upload-field strong { font-size: 13px; font-weight: 600; }
.upload-field small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.upload-action { color: var(--blue); font-size: 12px; font-weight: 600; }
.form-actions { display: flex; justify-content: flex-end; padding-top: 8px; }
.form-actions svg, .secondary-button svg { width: 16px; height: 16px; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #e7e7e7; border-left: 1px solid #e7e7e7; }
.template-card { min-height: 156px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 0; border-right: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; background: #fff; text-align: left; cursor: pointer; transition: background .15s ease; }
.template-card:hover { background: #f8f8f8; }
.template-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }
.template-icon svg { width: 18px; }
.template-card strong { font-size: 15px; font-weight: 600; }
.template-card p { margin: 6px 26px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.template-card > svg { width: 17px; margin: auto 0 0 auto; color: #aaa; }
.preview-step { min-height: calc(100vh - 72px); background: #eceeef; }
.preview-toolbar { height: 66px; display: grid; grid-template-columns: 40px auto minmax(220px, 1fr) auto; align-items: center; gap: 14px; padding: 0 22px; border-bottom: 1px solid #dedede; background: #fff; }
.toolbar-back { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: #fff; cursor: pointer; }
.toolbar-back:hover { background: #f3f3f3; }
.toolbar-back svg { width: 18px; }
.editor-toolbar-title { min-width: 0; display: flex; align-items: center; gap: 10px; }
.editor-toolbar-title strong { font-size: 13px; font-weight: 600; }
.editor-toolbar-title span { color: var(--muted); font-size: 10px; }
.editor-status-badge { height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 0; border-radius: 999px; font-family: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
.editor-status-badge[hidden] { display: none; }
.editor-status-badge span { width: 6px; height: 6px; border-radius: 50%; }
.editor-status-badge.active { background: #eaf8ef; color: #137443; }
.editor-status-badge.active span { background: #18a45d; }
.editor-status-badge.disabled { background: #fff0f0; color: #bd2929; }
.editor-status-badge.disabled span { background: #d63a3a; }
.toolbar-domain-field { position: relative; width: min(330px, 100%); display: block; justify-self: start; }
.domain-control { height: 40px; display: flex; align-items: center; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: #777; font-size: 12px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.domain-control:focus-within { border-color: #aaa; background: #fff; }
.toolbar-domain-field.validation-error .domain-control { border-color: #dc2626; background: #fff7f7; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.domain-control b { flex: 0 0 auto; font-weight: 400; }
.domain-control .domain-globe { width: 15px; height: 15px; flex: 0 0 auto; margin-right: 8px; color: #666; }
.domain-control input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; color: #222; font-size: 12px; }
.toolbar-domain-field .domain-availability { width: 18px; height: 18px; min-height: 0; flex: 0 0 auto; display: grid; place-items: center; margin-left: 6px; border-radius: 50%; }
.toolbar-domain-field .domain-availability svg { width: 13px; height: 13px; }
.toolbar-domain-field .domain-availability.available { background: #e8f7ee; color: #16834b; }
.toolbar-domain-field .domain-availability.unavailable { background: #fff0f0; color: #cf2626; }
.domain-open-button { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; margin-left: 6px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #666; cursor: pointer; }
.domain-open-button:hover { background: #e8e8e8; color: #1a1a1a; }
.domain-open-button svg { width: 15px; height: 15px; }
.preview-actions { display: flex; justify-content: flex-end; gap: 9px; }
.preview-actions .primary-button { gap: 8px; }
.preview-actions .primary-button svg, .preview-actions .secondary-button svg { width: 16px; height: 16px; }
.editor-manager-button { background: #fff; border-color: #cfcfcf; }
.preview-actions #publish-button:disabled { background: #e5e5e7; color: #99999f; cursor: not-allowed; }
.secondary-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: var(--carbon); font-size: 13px; font-weight: 500; cursor: pointer; }
.preview-canvas { height: calc(100vh - 66px); padding: 26px; box-sizing: border-box; }
.preview-canvas iframe { width: 100%; height: 100%; display: block; border: 0; border-radius: 4px; background: #fff; }
.editor-mode .app-nav { display: none; }
.editor-mode .project-creator { min-height: 100vh; }
.editor-mode .preview-step { min-height: 100vh; }
.editor-workspace { height: calc(100vh - 66px); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.editor-sidebar { overflow-y: auto; border-right: 1px solid #dedede; background: #fff; scrollbar-width: thin; scrollbar-color: #d8d8d8 transparent; }
.editor-panel { padding: 22px 18px 30px; }
.editor-panel-section { display: grid; gap: 16px; }
.editor-panel-section + .editor-panel-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e7e7e7; }
.editor-section { display: grid; gap: 16px; padding: 12px 18px 18px; }
.editor-accordion { border-bottom: 1px solid #e7e7e7; }
.editor-accordion summary { min-height: 52px; display: grid; grid-template-columns: 22px 1fr 16px; align-items: center; gap: 8px; padding: 0 18px; list-style: none; cursor: pointer; user-select: none; }
.editor-accordion summary::-webkit-details-marker { display: none; }
.editor-accordion summary > span:nth-child(2) { min-width: 0; }
.editor-accordion summary strong, .editor-accordion summary small, .database-entry strong, .database-entry small { display: block; }
.editor-accordion summary strong, .database-entry strong { font-size: 12px; font-weight: 600; }
.editor-accordion summary small, .database-entry small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.accordion-icon { width: 22px; height: 22px; display: grid; place-items: center; background: transparent; color: #111; }
.accordion-icon svg { width: 17px; height: 17px; }
.accordion-chevron { width: 15px; color: #8b8b8b; transition: transform .2s ease; }
.editor-accordion[open] .accordion-chevron { transform: rotate(180deg); }
.editor-accordion[open] .accordion-icon { background: transparent; color: #111; }
.editor-resource-links { border-bottom: 1px solid #e7e7e7; }
.database-entry { width: 100%; min-height: 52px; display: grid; grid-template-columns: 22px 1fr 16px; align-items: center; gap: 8px; padding: 0 18px; border: 0; background: transparent; color: var(--carbon); font-family: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.database-entry:hover { background: #f8f8f8; }
.database-entry > svg { width: 15px; color: #8b8b8b; }
.editor-section-label { color: #777; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.design-editor { gap: 11px; }
.appearance-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.appearance-card { min-width: 0; display: grid; gap: 9px; padding: 7px; border: 1px solid #dedede; border-radius: 6px; background: #fff; color: var(--carbon); text-align: left; cursor: pointer; transition: border-color .16s ease; }
.appearance-card:hover { border-color: #bdbdbd; }
.appearance-card.active { border-color: #1a1a1a; }
.appearance-card > span:last-child { height: 22px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; }
.appearance-card strong { font-size: 10px; font-weight: 600; }
.appearance-card > span:last-child svg { width: 13px; height: 13px; opacity: 0; }
.appearance-card.active > span:last-child svg { opacity: 1; }
.appearance-preview { height: 72px; display: grid; grid-template-columns: 22px 1fr; overflow: hidden; border: 1px solid #dedede; border-radius: 4px; }
.appearance-preview > i { display: block; border-right: 1px solid currentColor; opacity: .12; }
.appearance-preview > b { display: grid; align-content: start; gap: 7px; padding: 12px 9px; }
.appearance-preview em { display: block; height: 6px; border-radius: 1px; background: currentColor; opacity: .16; }
.appearance-preview em:first-child { width: 65%; height: 8px; opacity: .8; }
.appearance-preview em:last-child { width: 78%; background: var(--editor-accent, var(--blue)); opacity: 1; }
.appearance-preview-light { background: #fff; color: #1a1a1a; }
.appearance-preview-dark { border-color: #36373b; background: #121315; color: #f2f2f2; }
.brand-color-label { margin-top: 8px; }
.brand-color-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.brand-color { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 2px solid transparent; border-radius: 6px; outline: 1px solid transparent; background: var(--swatch); color: #fff; cursor: pointer; transition: transform .14s ease, outline-color .14s ease, outline-offset .14s ease; }
.brand-color:hover { transform: translateY(-1px); }
.brand-color.active { outline-color: #1a1a1a; outline-offset: 2px; }
.brand-color svg { width: 14px; height: 14px; opacity: 0; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.brand-color.active svg { opacity: 1; }
.brand-color[data-accent="#eab308"] { color: #1a1a1a; }
.appearance-dialog { width: min(440px, calc(100% - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #fff; color: var(--carbon); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
.appearance-dialog::backdrop { background: rgba(0,0,0,.32); }
.appearance-dialog > header { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #e7e7e7; }
.appearance-dialog h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.appearance-dialog header button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #555; cursor: pointer; }
.appearance-dialog header button:hover { background: #f3f3f3; }
.appearance-dialog header button svg { width: 17px; }
.appearance-dialog-body { padding: 20px; }
.appearance-dialog .design-editor { display: grid; gap: 12px; }
.appearance-dialog .brand-color-options { grid-template-columns: repeat(5, 34px); gap: 14px; }
.editor-field { display: grid; gap: 7px; }
.editor-field > span { font-size: 11px; font-weight: 600; }
.editor-field input, .editor-field select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 4px; outline: 0; background: #fff; color: var(--carbon); font-size: 12px; transition: border-color .18s ease; }
.editor-field input:focus, .editor-field select:focus { border-color: var(--blue); }
.editor-domain { height: 40px; display: flex; align-items: center; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; transition: border-color .18s ease; }
.editor-domain:focus-within { border-color: var(--blue); }
.editor-domain > svg { width: 15px; height: 15px; flex: 0 0 auto; margin-right: 8px; color: #666; }
.editor-domain > b { flex: 0 0 auto; color: #888; font-size: 11px; font-weight: 400; }
.editor-domain input { min-width: 0; height: auto; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; font-size: 11px; }
.editor-domain .domain-availability { width: 18px; height: 18px; min-height: 0; flex: 0 0 auto; display: grid; place-items: center; margin-left: 6px; border-radius: 50%; color: #777; }
.editor-domain .domain-availability svg { width: 13px; height: 13px; }
.editor-domain .domain-availability.available { background: #e8f7ee; color: #16834b; }
.editor-domain .domain-availability.unavailable { background: #fff0f0; color: #cf2626; }
.editor-logo-field { display: grid; grid-template-columns: 42px 1fr 16px; align-items: center; gap: 11px; cursor: pointer; }
.editor-logo-field input { display: none; }
.editor-logo-preview { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d8d8d8; border-radius: 5px; background: #f8f8f8; color: #555; transition: border-color .16s ease, background .16s ease; }
.editor-logo-field:hover .editor-logo-preview { border-color: #bcbcbc; background: #f3f3f3; }
.editor-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.editor-logo-preview svg { width: 17px; }
.editor-logo-field > span:nth-child(2) { min-width: 0; }
.editor-logo-field strong, .editor-logo-field small { display: block; }
.editor-logo-field strong { font-size: 12px; font-weight: 600; }
.editor-logo-field small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.editor-logo-field > svg { width: 30px; height: 30px; padding: 8px; border-radius: 4px; background: #f3f3f3; color: #555; }
.color-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.color-section-head button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 600; cursor: pointer; }
.color-section-head button svg { width: 12px; }
.font-preview { min-height: 62px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e1e1e1; border-radius: 4px; }
.font-preview > span { font-size: 22px; font-weight: 600; letter-spacing: -.06em; }
.font-preview strong, .font-preview small { display: block; }
.font-preview strong { font-size: 11px; font-weight: 600; }
.font-preview small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.color-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.color-field > span:first-child { min-width: 0; }
.color-field strong, .color-field small { display: block; }
.color-field strong { font-size: 11px; font-weight: 600; }
.color-field small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.color-control { display: grid; grid-template-columns: 28px 55px; align-items: center; gap: 7px; }
.color-control input { width: 28px; height: 28px; padding: 2px; border: 1px solid #d9d9d9; border-radius: 50%; background: #fff; cursor: pointer; }
.color-control input::-webkit-color-swatch-wrapper { padding: 0; }
.color-control input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.color-control input::-moz-color-swatch { border: 0; border-radius: 50%; }
.color-control output { color: #777; font-size: 9px; text-align: right; }
.editor-workspace .preview-canvas { height: auto; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 26px; background-color: #d8dade; background-image: radial-gradient(circle, rgba(72, 77, 86, .28) 1px, transparent 1.2px); background-position: center; background-size: 18px 18px; }
.device-frame { position: relative; width: min(100%, calc((100vh - 118px) * 1.7778), 1440px); height: auto; aspect-ratio: 16 / 9; min-width: 0; overflow: hidden; border: 7px solid #202124; outline: 1px solid #777b80; border-radius: 16px; background: #202124; box-sizing: border-box; }
.editor-workspace .device-frame iframe { width: 100%; height: 100%; display: block; border: 0; border-radius: 8px; background: #fff; }
.publish-validation-dialog { width: min(390px, calc(100% - 32px)); padding: 26px; border: 0; border-radius: 12px; background: #fff; color: var(--carbon); text-align: center; box-shadow: 0 22px 70px rgba(0,0,0,.2); }
.publish-validation-dialog::backdrop { background: rgba(0,0,0,.38); }
.publish-validation-icon { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #fff0f0; color: #d92d20; }
.publish-validation-icon svg { width: 21px; height: 21px; }
.publish-validation-dialog h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.publish-validation-dialog p { margin: 9px auto 22px; color: #6b6b6b; font-size: 13px; line-height: 1.55; }
.publish-validation-dialog .primary-button { width: 100%; }
.publish-success-dialog { width: min(470px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 14px; background: #fff; color: var(--carbon); text-align: center; box-shadow: 0 22px 70px rgba(0,0,0,.2); }
.publish-success-dialog::backdrop { background: rgba(0,0,0,.38); }
.publish-success-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 16px; color: #18a558; }
.publish-success-icon svg { width: 38px; height: 38px; stroke-width: 1.8; }
.publish-success-dialog h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.publish-success-dialog > p { margin: 8px 0 20px; color: #707078; font-size: 12px; line-height: 1.55; }
.published-link-field { height: 48px; display: grid; grid-template-columns: minmax(0,1fr) 46px; align-items: center; border: 1px solid #dedee3; border-radius: 8px; background: #f7f7f8; text-align: left; }
.published-link-field a { min-width: 0; overflow: hidden; padding-left: 14px; color: #333238; font-size: 12px; font-weight: 500; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.published-link-field button { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-left: 1px solid #dedee3; border-radius: 0 7px 7px 0; background: #fff; color: #77777f; cursor: pointer; }
.published-link-field button:hover { background: #f1f1f2; color: #44444a; }
.published-link-field button svg { width: 17px; height: 17px; }
.publish-success-dialog .publish-success-help { margin: 14px 2px 23px; color: #77777f; text-align: left; }
.publish-success-dialog > .primary-button { width: 100%; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.32); }
.customize-modal { width: min(600px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 4px; background: #fff; }
.customize-modal header { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; border-bottom: 1px solid #e7e7e7; }
.customize-modal h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.customize-modal header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.customize-modal header button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: #fff; cursor: pointer; }
.customize-modal header svg { width: 18px; }
.modal-form { padding: 24px; }
.customize-modal footer { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 24px; border-top: 1px solid #e7e7e7; }
.toast { position: fixed; z-index: 120; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 4px; background: #1a1a1a; color: #fff; font-size: 12px; }
.toast svg { width: 17px; }
.editor-manager-dialog { width: min(1120px, calc(100% - 40px)); height: min(760px, calc(100vh - 40px)); padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #fff; color: var(--carbon); box-shadow: none; }
.editor-manager-dialog::backdrop { background: rgba(0,0,0,.42); }
.editor-manager-dialog > header { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; border-bottom: 1px solid #e7e7e7; }
.editor-manager-dialog h2, .editor-manager-dialog h3, .editor-manager-dialog p { margin: 0; }
.editor-manager-dialog h2 { font-family: "DM Sans", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.editor-manager-dialog header p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.editor-manager-dialog header button, .user-form-heading > button { border: 0; background: transparent; cursor: pointer; }
.editor-manager-dialog header button:not(.manager-add-button), .user-form-heading > button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 4px; }
.editor-manager-dialog header button:hover, .user-form-heading > button:hover { background: #f3f3f3; }
.editor-manager-dialog header button svg, .user-form-heading > button svg { width: 17px; }
.database-manager-dialog { border: 1px solid #292a2e; background: #0d0e10; color: #f2f2f2; }
.database-manager-dialog > header { height: 58px; border-bottom-color: #292a2e; background: #0d0e10; }
.database-dialog-title { display: flex; align-items: center; gap: 11px; }
.database-dialog-title > svg { width: 17px; color: #f2f2f2; }
.database-manager-dialog h2 { color: #f2f2f2; font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.database-manager-dialog header p { margin-top: 3px; color: #777981; font-size: 9px; }
.database-manager-dialog header button { color: #aaa; }
.database-manager-dialog header button:hover { background: #191a1e; color: #fff; }
.database-manager-dialog iframe { width: 100%; height: calc(100% - 58px); display: block; border: 0; background: #0d0e10; }
.manager-header-actions { display: flex; align-items: center; gap: 8px; }
.manager-header-actions .manager-add-button { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; }
.manager-header-actions .manager-add-button:hover { background: #005ee3; }
.users-manager-dialog { width: min(720px, calc(100% - 40px)); height: min(650px, calc(100vh - 40px)); overflow: hidden; }
.users-manager-dialog > header { height: 72px; padding-inline: 26px 20px; }
.users-manager-dialog.form-open .manager-add-button, .users-manager-dialog.form-open .system-users-overview { display: none; }
.users-manager-body { height: calc(100% - 72px); overflow-y: auto; padding: 24px 26px 28px; }
.system-login-link { min-height: 58px; display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 0 14px; border-radius: 5px; background: #f4f4f4; }
.system-login-link > svg { width: 16px; color: #555; }
.system-login-link small, .system-login-link strong { display: block; }
.system-login-link small { color: var(--muted); font-size: 10px; }
.system-login-link strong { margin-top: 3px; overflow: hidden; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.system-login-link button { height: 32px; flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 9px; border: 0; border-radius: 4px; background: #fff; color: var(--carbon); font-size: 10px; font-weight: 600; cursor: pointer; }
.system-login-link button:hover { background: #e9e9e9; }
.system-login-link button svg { width: 13px; }
.system-users-heading { display: flex; align-items: center; justify-content: space-between; margin: 28px 2px 8px; }
.system-users-heading strong { font-size: 12px; font-weight: 600; }
.system-users-heading span { color: var(--muted); font-size: 10px; }
.system-user-row { width: 100%; min-height: 64px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto 14px; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-bottom: 1px solid #ededed; border-radius: 4px; background: transparent; text-align: left; cursor: pointer; }
.system-user-row:hover { background: #f7f7f7; }
.system-user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #ededed; color: #444; font-size: 9px; font-weight: 600; }
.system-user-copy strong, .system-user-copy small { display: block; }
.system-user-copy strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.system-user-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.system-user-role { padding: 5px 8px; border-radius: 999px; background: #f1f1f1; font-size: 9px; font-weight: 500; }
.system-user-role.inactive { background: #fff0f0; color: #a33; }
.system-user-row > svg { width: 14px; color: #aaa; }
.system-users-empty { min-height: 300px; display:grid; place-items:center; color:var(--muted); text-align:center; }
.system-users-empty strong, .system-users-empty span { display:block; }
.system-users-empty strong { color:var(--carbon); font-size:14px; }
.system-users-empty span { max-width: 280px; margin-top:7px; font-size:11px; line-height: 1.5; }
.system-user-form { max-width: 600px; margin: 0 auto; }
.user-form-heading { padding: 2px 0 28px; }
.user-form-heading > div { display: flex; align-items: center; gap: 12px; }
.user-form-heading .user-form-back { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid #dedede; border-radius: 4px; background: #fff; }
.user-form-heading .user-form-back:hover { background: #f4f4f4; }
.user-form-heading h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.user-form-heading p { margin-top:4px; color:var(--muted); font-size:11px; }
.system-user-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px 14px; }
.system-user-fields label:not(.system-user-status) { display:grid; gap:8px; }
.system-user-fields label > span { font-size:11px; font-weight:600; }
.system-user-fields label > span small { float: right; color:var(--muted); font-size: 9px; font-weight:400; }
.system-user-role-field { grid-column: 1 / -1; }
.system-user-fields input:not([type="checkbox"]), .system-user-fields select { width:100%; height:46px; padding:0 13px; border:0; border-radius:4px; outline:0; background:#f3f3f3; font-size:12px; }
.system-user-fields input:focus, .system-user-fields select:focus { box-shadow: inset 0 0 0 1px var(--blue); }
.system-user-status { grid-column: 1 / -1; min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0 14px; border-radius:4px; background:#f3f3f3; }
.system-user-status strong, .system-user-status small { display:block; }
.system-user-status strong { font-size:11px; }
.system-user-status small { margin-top:4px; color:var(--muted); font-size:9px; }
.system-user-status input { width: 34px; height: 19px; accent-color:var(--blue); }
.system-user-form footer { display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:9px; margin-top:28px; padding-top:20px; border-top:1px solid #ededed; }
.system-user-form .danger-text { display: inline-flex; align-items: center; gap: 6px; }
.system-user-form .danger-text svg { width: 14px; }
.spin { animation: resey-spin .8s linear infinite; }
@keyframes resey-spin { to { transform: rotate(360deg); } }
.legal-page { min-height: 100vh; margin: 0; background: #fff; color: var(--carbon); font-family: Inter, sans-serif; }
.legal-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid #e7e7e7; }
.legal-header img { width: 58px; display: block; }
.legal-header > a:last-child { color: var(--carbon); font-size: 11px; font-weight: 600; text-decoration: none; }
.legal-document { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 74px 0 100px; }
.legal-document > span { color: var(--blue); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.legal-document h1 { margin: 14px 0 0; font-family: "DM Sans", sans-serif; font-size: clamp(38px, 6vw, 58px); font-weight: 500; letter-spacing: -.045em; }
.legal-updated { margin: 13px 0 52px; color: var(--muted); font-size: 11px; }
.legal-document section { padding: 25px 0; border-top: 1px solid #e7e7e7; }
.legal-document section:last-child { border-bottom: 1px solid #e7e7e7; }
.legal-document h2 { margin: 0; font-size: 16px; font-weight: 600; }
.legal-document section p { margin: 10px 0 0; color: #5f5f5f; font-size: 13px; line-height: 1.75; }
@media (max-width: 680px) {
  .creator-step { width: min(100% - 32px, 820px); padding-top: 28px; }
  .step-copy { margin-top: 38px; }
  .business-form, .modal-form, .template-grid { grid-template-columns: 1fr; }
  .business-form { display: block; }
  .question-panel { margin-top: 58px; }
  .question-copy h1 { font-size: 34px; }
  .language-options { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .preview-toolbar { height: auto; min-height: 66px; grid-template-columns: 36px 1fr auto; padding: 10px 12px; }
  .preview-toolbar .toolbar-domain-field { width: 100%; grid-column: 1 / -1; grid-row: 2; }
  .domain-control { min-width: 0; }
  .preview-actions { grid-column: auto; }
  .preview-actions .secondary-button, .preview-actions .primary-button { width: 36px; min-height: 36px; padding: 0; font-size: 0; }
  .preview-actions { gap: 6px; }
  .editor-toolbar-title span { display: none; }
  .editor-manager-dialog { width: calc(100% - 20px); height: calc(100vh - 20px); }
  .users-manager-body { padding: 20px 16px 24px; }
  .system-user-fields { grid-template-columns: 1fr; }
  .system-user-role-field, .system-user-status { grid-column: auto; }
  .system-user-form footer { grid-template-columns: 1fr 1fr; }
  .system-user-form footer > span { display: none; }
  .system-user-form .danger-text { grid-column: 1 / -1; margin-bottom: 8px; }
  .system-login-link button span { display: none; }
  .preview-canvas { height: calc(100vh - 112px); padding: 0; }
  .editor-workspace { height: auto; grid-template-columns: 1fr; overflow: visible; }
  .editor-sidebar { max-height: none; border-right: 0; border-bottom: 1px solid #e4e4e4; }
  .editor-workspace .preview-canvas { height: 72vh; padding: 12px; }
  .device-frame { width: 100%; height: 100%; aspect-ratio: auto; border-width: 5px; border-radius: 12px; }
  .project-records { grid-template-columns: 1fr; }
}

@media (min-width: 681px) and (max-width: 1040px) {
  .project-records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================
   Landing page — premium
   ============================ */

html { scroll-behavior: smooth; }

body.landing {
  overscroll-behavior-y: none;
  --blue: #4b3bff;
  --blue-soft: #efedff;
  --lp-ink-soft: #55565c;
  --lp-hairline: rgba(20,20,20,.08);
  --lp-tint: rgba(75,59,255,.06);
  --lp-tint-line: rgba(75,59,255,.18);
  --lp-shadow-sm: 0 1px 2px rgba(20,20,25,.04), 0 1px 1px rgba(20,20,25,.03);
  --lp-shadow-md: 0 10px 30px rgba(20,20,25,.06), 0 2px 8px rgba(20,20,25,.04);
  --lp-shadow-lg: 0 30px 70px rgba(20,20,25,.10), 0 10px 24px rgba(20,20,25,.05);
  display: block;
  background: var(--paper);
  overflow-x: hidden;
}

/* Header / mega-menu nav */
.lp-nav-shell { position: sticky; top: 0; z-index: 50; }
.lp-nav-shell .site-header { position: relative; width: 100%; margin-inline: 0; height: 96px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 0; }
.lp-header-inner { width: min(1340px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-header-left { display: flex; align-items: center; gap: 44px; }

body.landing .brand { gap: 12px; font-size: 20px; }
body.landing .brand-logo { height: 48px; }

.brand-logo-wrap { position: relative; display: inline-block; }
.brand-logo-wrap .brand-logo-dark { display: block; position: static; }
.brand-logo-wrap .brand-logo-light { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }

/* Header adapts when it's sitting over the dark hero */
.lp-nav-shell.is-dark-header .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lp-nav-shell.is-dark-header .brand-logo-dark { opacity: 0; }
.lp-nav-shell.is-dark-header .brand-logo-light { opacity: 1; }
.lp-nav-shell.is-dark-header .brand > span,
.lp-nav-shell.is-dark-header .lp-nav-trigger,
.lp-nav-shell.is-dark-header .lp-nav-link,
.lp-nav-shell.is-dark-header .lp-nav-login,
.lp-nav-shell.is-dark-header .lp-mobile-toggle { color: #fff; }
.lp-nav-shell.is-dark-header .lp-nav-trigger:hover,
.lp-nav-shell.is-dark-header .lp-nav-trigger[aria-expanded="true"],
.lp-nav-shell.is-dark-header .lp-nav-link:hover { background: rgba(255,255,255,.14); }
.lp-nav-shell.is-dark-header .lp-nav-trigger svg,
.lp-nav-shell.is-dark-header .lp-mobile-toggle svg { color: #fff; }
.lp-nav-shell.is-dark-header .site-header,
.lp-nav-shell.is-dark-header .lp-header-inner { transition: background .3s ease; }
.site-header, .brand-logo-dark, .brand-logo-light, .lp-nav-trigger, .lp-nav-link, .lp-nav-login, .lp-mobile-toggle { transition: background .3s ease, color .3s ease, opacity .3s ease; }

.lp-nav { display: flex; align-items: center; gap: 2px; }
.lp-nav-trigger { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: var(--carbon); font-family: Inter, sans-serif; font-size: 15.5px; font-weight: 500; cursor: pointer; transition: background .15s ease; }
.lp-nav-trigger:hover, .lp-nav-trigger[aria-expanded="true"] { background: rgba(20,20,25,.05); }
.lp-nav-trigger svg { width: 15px; height: 15px; color: var(--muted); transition: transform .2s ease; }
.lp-nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.lp-nav-link { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 8px; color: var(--carbon); font-size: 15.5px; font-weight: 500; }
.lp-nav-link:hover { background: rgba(20,20,25,.05); }

.lp-mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--lp-hairline); box-shadow: var(--lp-shadow-lg); }
.lp-mega[hidden] { display: none; }
.lp-mega-inner { width: min(1200px, calc(100% - 48px)); margin-inline: auto; padding: 40px 0; display: grid; grid-template-columns: 1fr 300px; gap: 0; }
.lp-mega-inner-split { grid-template-columns: 1fr; max-width: 620px; }
.lp-mega-main { padding-right: 48px; }
.lp-mega-side { padding-left: 48px; border-left: 1px solid var(--lp-hairline); }
.lp-mega-label { display: block; margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 28px; }
.lp-mega-list { display: grid; gap: 2px; }
.lp-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 10px; border-radius: 10px; text-align: left; transition: background .15s ease; }
.lp-mega-item:hover { background: var(--lp-tint); }
.lp-mega-icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--fi-border, transparent); background: var(--fi-bg, var(--lp-tint)); color: var(--blue); }
.lp-mega-icon svg { width: 19px; height: 19px; }
.lp-mega-icon i { font-size: 19px; line-height: 1; }
.lp-mega-icon[class*="lp-feature-icon--"] { color: #fff; }
.lp-mega-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--carbon); }
.lp-mega-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.lp-mega-promo { display: grid; place-items: center; height: 110px; border-radius: 14px; background: var(--blue); }
.lp-mega-promo svg { width: 26px; height: 26px; color: #fff; }
.lp-mega-side p { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.lp-mega-side .text-link { display: inline-block; margin-top: 10px; font-size: 14.5px; font-weight: 600; }

body.landing .primary-button, .lp-cta-pill {
  position: relative;
  background: linear-gradient(180deg, #6f62ff 0%, #4b3bff 55%, #4130e6 100%);
  border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 -1px 0 rgba(0,0,0,.08) inset;
  transition: transform .18s cubic-bezier(.22,.7,.25,1), box-shadow .18s ease, filter .18s ease;
}
body.landing .primary-button:hover, .lp-cta-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -1px 0 rgba(0,0,0,.08) inset;
}
body.landing .primary-button:active, .lp-cta-pill:active {
  transform: translateY(0) scale(.98);
  filter: brightness(.97);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset;
}
.lp-cta-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 4px; color: #fff; font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 500; }
.lp-cta-pill svg { width: 14px; height: 14px; transition: transform .18s ease; }
.lp-cta-pill:hover svg { transform: translateX(2px); }

.lp-mobile-toggle { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.lp-mobile-toggle svg { width: 20px; height: 20px; }
.lp-mobile-menu { position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 26px; background: var(--paper); border-bottom: 1px solid var(--lp-hairline); box-shadow: var(--lp-shadow-lg); display: grid; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
.lp-mobile-menu[hidden] { display: none; }
.lp-mobile-group { border-bottom: 1px solid var(--lp-hairline); }
.lp-mobile-group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.lp-mobile-group summary::-webkit-details-marker { display: none; }
.lp-mobile-group summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.lp-mobile-group[open] summary::after { content: "–"; }
.lp-mobile-group a { display: block; padding: 9px 12px; margin: 0 0 4px 4px; border-radius: 8px; color: var(--muted); font-size: 13.5px; }
.lp-mobile-group a:hover { background: var(--lp-tint); color: var(--carbon); }
.lp-mobile-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--lp-hairline); font-size: 15px; font-weight: 600; color: var(--carbon); }
.lp-mobile-cta { justify-content: center; margin-top: 16px; }

@media (max-width: 900px) {
  .lp-nav, .lp-nav-login, .lp-header-actions > .lp-cta-pill { display: none; }
  .lp-mobile-toggle { display: flex; }
}

.lp-header-actions { display: flex; align-items: center; gap: 22px; }


/* Hero */
.lp-hero-glow {
  position: relative;
  margin-top: -96px;
  padding-top: 96px;
  overflow: hidden;
  background:
    radial-gradient(75% 65% at 50% -8%, rgba(255,255,255,.30) 0%, rgba(255,255,255,.17) 20%, rgba(255,255,255,.07) 40%, rgba(255,255,255,0) 66%),
    radial-gradient(110% 60% at 50% -5%, rgba(150,178,255,.30) 0%, rgba(150,178,255,.15) 32%, rgba(150,178,255,0) 72%),
    linear-gradient(180deg, #050933 0%, #0a1350 16%, #101f78 34%, #182b93 52%, #2038ab 70%, #2c4bd6 100%);
}
.lp-hero-glow::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(900px, 90%);
  height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.4) 0%, rgba(255,255,255,.18) 28%, rgba(255,255,255,.06) 50%, rgba(255,255,255,0) 74%);
  filter: blur(28px);
  opacity: .6;
  pointer-events: none;
}
.lp-hero-top, .lp-hero-mockup { position: relative; z-index: 1; }
.lp-hero { position: relative; width: min(1000px, calc(100% - 48px)); margin-inline: auto; padding: 24px 0 0; text-align: center; }
.lp-hero h1 { max-width: 940px; margin: 0 auto; font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -.045em; color: #fff; }
.lp-hero-copy { max-width: 680px; margin: 32px auto 0; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.6; }
.lp-hero-copy p { margin: 0 0 12px; }
.lp-hero-copy .lp-bold-line { color: #fff; font-weight: 600; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 42px; }
.lp-microcopy { margin: 24px 0 0; color: rgba(255,255,255,.6); font-size: 13.5px; }

.lp-waitlist-form { flex-wrap: wrap; }
.lp-waitlist-input {
  min-height: 56px;
  min-width: 280px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.lp-waitlist-input::placeholder { color: rgba(255,255,255,.5); }
.lp-waitlist-input:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); }
.lp-waitlist-form button[disabled] { opacity: .6; cursor: not-allowed; }
.lp-waitlist-message { margin: 20px 0 0; font-size: 14.5px; color: rgba(255,255,255,.75); }
.lp-waitlist-message.is-success { color: #8fe3a8; font-weight: 600; }
.lp-waitlist-message.is-error { color: #ff9a9a; }

.lp-mockup-placeholder, .lp-hero-mockup, .lp-feature-mockup {
  position: relative;
  border-radius: 20px;
  background: #14161d;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.lp-mockup-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.lp-mockup-icon svg { width: 26px; height: 26px; }

.lp-hero-mockup {
  width: min(1280px, calc(100% - 48px));
  margin: 56px auto 0;
  aspect-ratio: 16 / 9;
  border: 10px solid #1a1b20;
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 30px 70px -18px rgba(0,0,0,.55),
    0 10px 28px -10px rgba(0,0,0,.35);
}
.lp-hero-mockup .lp-mockup-icon { width: 92px; height: 92px; }
.lp-hero-mockup .lp-mockup-icon svg { width: 36px; height: 36px; }
.lp-hero-mockup-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }

.lp-button-lg, .primary-button.lp-button-lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 8px; }
.lp-button-outline { min-height: 56px; display: inline-flex; align-items: center; padding: 0 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--carbon); font-family: "DM Sans", sans-serif; font-size: 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(20,20,25,.04); transition: border-color .18s ease, background .18s ease, transform .18s cubic-bezier(.22,.7,.25,1), box-shadow .18s ease; }
.lp-button-outline:hover { border-color: var(--blue); background: var(--lp-tint); transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(20,20,25,.25); }
.lp-button-outline:active { transform: translateY(0) scale(.98); }

/* Section rhythm */
.lp-section { position: relative; width: min(1340px, calc(100% - 48px)); margin-inline: auto; padding: 132px 0; }
.lp-section-narrow { max-width: 880px; margin-inline: auto; }
.lp-section-body, .lp-section-head { text-align: center; }
.lp-section-body > *, .lp-section-head > * { margin-left: auto; margin-right: auto; }
.lp-section-body h2, .lp-section-head h2 { margin: 0 auto; max-width: 840px; font-family: Inter, sans-serif; font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.lp-section-body p, .lp-section-head p { max-width: 680px; margin: 20px auto 0; color: var(--lp-ink-soft); font-size: 18px; line-height: 1.65; }
.lp-section-body .lp-bold-line { color: var(--carbon); font-weight: 600; }
.lp-section-body strong, .lp-section-head strong { color: var(--carbon); }
.lp-inline-link { display: inline-block; margin-top: 24px; font-size: 15.5px; font-weight: 600; }
.lp-section-cta { margin-top: 44px; text-align: center; }
.lp-section-body > .primary-button { margin-top: 32px; }
.lp-fine-print { font-size: 13.5px; }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; margin-top: 68px; }
.lp-step { text-align: left; }
.lp-step-mockup { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; margin-bottom: 28px; background: #14161d; overflow: hidden; }
.lp-step-mockup .lp-mockup-icon { width: 60px; height: 60px; }
.lp-step-mockup .lp-mockup-icon svg { width: 26px; height: 26px; }

/* Step 1 — floating system icons */
.lp-step-mockup--icons { display: block; }
.lp-float-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid var(--fi-border, transparent);
  background: var(--fi-bg, var(--blue));
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
  animation: lp-float-bob 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.lp-float-icon svg { width: 20px; height: 20px; color: #fff; }
.lp-float-icon i { font-size: 20px; line-height: 1; color: #fff; }
@keyframes lp-float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.lp-hero-top { position: relative; }
.lp-hero > * { position: relative; z-index: 1; }

/* Hero — social proof avatar badge above the title */
.lp-hero-social-proof { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 24px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.lp-social-avatars { display: flex; align-items: center; }
.lp-social-avatar { display: block; width: 28px; height: 28px; border-radius: 999px; border: 2px solid #101a52; margin-left: -8px; overflow: hidden; background: #1a1f4d; }
.lp-social-avatar:first-child { margin-left: 0; }
.lp-social-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-social-proof-text { color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 500; }
.lp-social-proof-text strong { color: #fff; }

/* Step 2 — brand editor */
.lp-step-mockup--brand { display: grid; place-items: center; padding: 22px; }
.lp-brand-card { width: 100%; max-width: 240px; background: #1d2029; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; }
.lp-brand-card-top { display: flex; align-items: center; gap: 10px; }
.lp-brand-logo { position: relative; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.08); flex-shrink: 0; }
.lp-brand-logo-fill { position: absolute; inset: 0; animation: lp-brand-logo-color 6s ease-in-out infinite; }
@keyframes lp-brand-logo-color {
  0%, 28% { background: #4b3bff; }
  33%, 61% { background: #ff7a00; }
  66%, 94% { background: #16b955; }
  100% { background: #4b3bff; }
}
.lp-brand-name { position: relative; flex: 1; height: 16px; overflow: hidden; }
.lp-brand-name span { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600; opacity: 0; animation: lp-brand-name-cycle 6s ease-in-out infinite; }
.lp-brand-name span:nth-child(1) { animation-delay: 0s; }
.lp-brand-name span:nth-child(2) { animation-delay: -4s; }
.lp-brand-name span:nth-child(3) { animation-delay: -2s; }
@keyframes lp-brand-name-cycle {
  0%, 3% { opacity: 0; }
  6%, 27% { opacity: 1; }
  31%, 100% { opacity: 0; }
}
.lp-brand-card-rows { display: grid; gap: 8px; margin: 18px 0 20px; }
.lp-brand-card-rows span { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); }
.lp-brand-card-rows span:nth-child(2) { width: 80%; }
.lp-brand-card-rows span:nth-child(3) { width: 60%; }
.lp-brand-publish { display: block; text-align: center; padding: 10px; border-radius: 8px; background: var(--blue); color: #fff; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 700; animation: lp-publish-pulse 2s ease-in-out infinite; }
@keyframes lp-publish-pulse {
  0%, 78% { transform: scale(1); filter: brightness(1); }
  86% { transform: scale(.94); filter: brightness(1.3); }
  93%, 100% { transform: scale(1); filter: brightness(1); }
}

/* Step 3 — pricing checkout */
.lp-step-mockup--price { display: grid; place-items: center; }
.lp-price-card { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lp-price-label { color: rgba(255,255,255,.55); font-size: 13px; font-family: "DM Sans", sans-serif; }
.lp-price-amount { position: relative; width: 160px; height: 56px; }
.lp-price-amount span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: "DM Sans", sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.02em; opacity: 0; transform: scale(.85); animation: lp-price-cycle 6s cubic-bezier(.2,.8,.3,1.2) infinite; }
.lp-price-amount span:nth-child(1) { animation-delay: 0s; }
.lp-price-amount span:nth-child(2) { animation-delay: -4.5s; }
.lp-price-amount span:nth-child(3) { animation-delay: -3s; }
.lp-price-amount span:nth-child(4) { animation-delay: -1.5s; }
@keyframes lp-price-cycle {
  0%, 2% { opacity: 0; transform: scale(.85); }
  6% { opacity: 1; transform: scale(1); }
  22%, 100% { opacity: 0; transform: scale(.85); }
}
.lp-price-sub { color: rgba(255,255,255,.5); font-size: 12.5px; font-family: "DM Sans", sans-serif; }
.lp-step h3 { margin: 0; color: var(--carbon); font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.lp-step p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.lp-step .lp-bold-line { color: var(--carbon); font-weight: 600; }
.lp-step .lp-inline-link { margin-top: 16px; font-size: 15.5px; }

/* Highlights — elevated cards */
.lp-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 60px 0 0; }
.lp-highlight { padding: 0 22px; text-align: center; }
.lp-highlight strong { display: block; font-size: 38px; font-weight: 600; letter-spacing: -.02em; color: var(--blue); }
.lp-highlight span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Stats — plain, no card */
.lp-stats-plain { display: flex; justify-content: center; margin: 64px auto 0; }
.lp-stat-plain { flex: 1 1 0; max-width: 280px; padding: 0 44px; text-align: center; }
.lp-stat-plain + .lp-stat-plain { border-left: 1px solid var(--lp-hairline); }
.lp-stat-value { display: block; font-size: clamp(56px, 7vw, 84px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--carbon); }
.lp-stat-label { display: block; margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Option cards (flexible pricing) */
.lp-option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; text-align: left; }
.lp-option-card { padding: 0; background: transparent; }
.lp-option-card .lp-feature-icon { display: inline-flex; width: auto; height: auto; margin-bottom: 22px; border-radius: 0; border: 0; background: transparent; justify-content: flex-start; }
.lp-option-card .lp-feature-icon svg { width: 30px; height: 30px; }
.lp-option-card .lp-feature-icon[class*="lp-feature-icon--"] svg { color: var(--blue); }
.lp-option-card h3 { margin: 0; font-size: 20px; font-weight: 600; }
.lp-option-card p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Premium pricing-example table */
.lp-table-premium { position: relative; }
.lp-table-premium thead th { background: var(--lp-tint); color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--lp-hairline); }
.lp-table-premium tbody td { padding: 20px 26px; font-size: 16.5px; }
.lp-table-premium tbody td:last-child { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 18px; color: var(--blue); }

/* Systems feature list */
.lp-features-list { display: grid; gap: 24px; margin-top: 68px; text-align: left; }
.lp-feature-block { padding: 64px 0; }
.lp-feature-block + .lp-feature-block { border-top: 1px solid var(--lp-hairline); }
.lp-feature-top { display: flex; align-items: center; gap: 68px; }
.lp-feature-text { flex: 1 1 400px; }
.lp-feature-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 28px; border-radius: 18px; border: 2px solid var(--fi-border, transparent); background: var(--fi-bg, var(--paper)); }
.lp-feature-icon svg { width: 30px; height: 30px; color: var(--blue); }
.lp-feature-icon[class*="lp-feature-icon--"] svg { color: #fff; }
.lp-feature-icon i { font-size: 34px; line-height: 1; color: var(--blue); }
.lp-feature-icon[class*="lp-feature-icon--"] i { color: #fff; }

.lp-feature-icon--blue { --fi-bg: #4b3bff; --fi-border: #3527c2; }
.lp-feature-icon--purple { --fi-bg: #7c1fe6; --fi-border: #5313a8; }
.lp-feature-icon--orange { --fi-bg: #ff7a00; --fi-border: #c25900; }
.lp-feature-icon--turquoise { --fi-bg: #00c2d1; --fi-border: #037c87; }
.lp-feature-icon--navy { --fi-bg: #1a35b0; --fi-border: #0f2170; }
.lp-feature-icon--green { --fi-bg: #16b955; --fi-border: #0d7c39; }
.lp-feature-icon--yellow { --fi-bg: #f5a800; --fi-border: #b87900; }
.lp-feature-icon--indigo { --fi-bg: #4b3ef2; --fi-border: #2c1fb0; }
.lp-feature-icon--coral { --fi-bg: #ff4433; --fi-border: #c22518; }
.lp-feature-icon--teal { --fi-bg: #00b39a; --fi-border: #036f60; }

.lp-feature-text h3 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.lp-feature-text > p { max-width: 520px; margin: 20px 0 0; color: var(--lp-ink-soft); font-size: 17.5px; line-height: 1.65; }
.lp-feature-text .lp-inline-link { margin-top: 28px; font-size: 16.5px; }
.lp-feature-mockup { flex: 1.1 1 440px; aspect-ratio: 16 / 10; }
.lp-feature-mockup .lp-mockup-icon { width: 60px; height: 60px; }
.lp-feature-block:nth-child(even) .lp-feature-text { order: 2; }
.lp-feature-block:nth-child(even) .lp-feature-mockup { order: 1; }
.lp-feature-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.lp-feature-points h4 { margin: 0; font-size: 17px; font-weight: 600; }
.lp-feature-points p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Tables */
.lp-table-wrap { margin: 56px auto 0; max-width: 800px; overflow: hidden; border-radius: 18px; border: 1px solid var(--lp-hairline); }
.lp-table-wrap:has(.lp-table-compare) { max-width: 100%; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.lp-table th, .lp-table td { padding: 18px 24px; text-align: right; border-bottom: 1px solid var(--lp-hairline); }
.lp-table th:first-child, .lp-table td:first-child { text-align: left; }
.lp-table thead th { background: var(--lp-tint); color: var(--blue); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--lp-hairline); }
.lp-table tbody td { font-family: "DM Sans", sans-serif; }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table tbody tr:hover td { background: rgba(75,59,255,.025); }

.lp-glass-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp-stripe-wall {
  position: relative;
  margin: 56px auto 0;
  width: 100%;
  height: 640px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #100a26 0%, #1c1140 45%, #0d0920 100%);
}
.lp-stripe-wall::before {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: 0;
  background:
    radial-gradient(36% 30% at 16% 10%, rgba(255,178,112,.6), transparent 70%),
    radial-gradient(32% 26% at 90% 6%, rgba(255,122,190,.48), transparent 70%),
    radial-gradient(46% 40% at 80% 94%, rgba(122,102,255,.55), transparent 70%),
    radial-gradient(40% 36% at 8% 90%, rgba(78,190,255,.4), transparent 70%);
  filter: blur(80px) saturate(1.1);
  opacity: .9;
}
.lp-stripe-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 85% at 50% 108%, rgba(0,0,0,.4), transparent 55%);
  pointer-events: none;
}
.lp-stripe-feed {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}
.lp-stripe-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif;
  box-shadow: 0 6px 6px rgba(0, 0, 0, .2), 0 0 20px rgba(0, 0, 0, .1);
  animation: lp-toast-in .4s cubic-bezier(.16,.9,.24,1.06) forwards;
  flex-shrink: 0;
  will-change: transform;
}
.lp-stripe-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  isolation: isolate;
}
.lp-stripe-toast::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(255,255,255,.22);
  box-shadow: inset 2px 2px 1px 0 rgba(255,255,255,.5), inset -1px -1px 1px 1px rgba(255,255,255,.4);
}
.lp-stripe-toast-icon {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.lp-stripe-toast-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-stripe-toast-text { position: relative; z-index: 2; min-width: 0; flex: 1; }
.lp-stripe-toast-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 2px; }
.lp-stripe-toast-head strong { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.94); }
.lp-stripe-toast-head span { font-size: 12.5px; color: rgba(255,255,255,.55); }
.lp-stripe-toast-body { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; color: rgba(255,255,255,.96); line-height: 1.35; }
.lp-stripe-toast-body .lp-stripe-amount { font-weight: 600; }
.lp-stripe-toast-body .lp-stripe-from { font-weight: 400; font-size: 13.5px; color: rgba(255,255,255,.62); }
.lp-stripe-toast.lp-toast-instant { animation: none; opacity: 1; transform: none; }
.lp-stripe-toast.lp-toast-leaving { animation: lp-toast-out .32s ease forwards; }
@keyframes lp-toast-in {
  0% { opacity: 0; transform: translateY(-26px) scale(.9); box-shadow: 0 6px 6px rgba(0,0,0,.2), 0 0 20px rgba(0,0,0,.1), 0 0 0 0 rgba(255,255,255,0); }
  55% { opacity: 1; transform: translateY(2px) scale(1.015); box-shadow: 0 6px 6px rgba(0,0,0,.2), 0 0 20px rgba(0,0,0,.1), 0 0 0 3px rgba(255,255,255,.16); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 6px 6px rgba(0,0,0,.2), 0 0 20px rgba(0,0,0,.1), 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes lp-toast-out {
  from { opacity: 1; transform: scale(1); max-height: 110px; margin-bottom: 16px; }
  to { opacity: 0; transform: scale(.9); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
}

@media (max-width: 640px) {
  .lp-stripe-wall { height: 560px; }
  .lp-stripe-feed { padding: 24px 14px; gap: 12px; }
  .lp-stripe-toast { padding: 16px 18px; gap: 12px; border-radius: 18px; }
  .lp-stripe-toast-icon { width: 38px; height: 38px; border-radius: 10px; }
  .lp-stripe-toast-head strong { font-size: 14px; }
  .lp-stripe-toast-body { font-size: 13.5px; }
}

.lp-table-compare th, .lp-table-compare td { text-align: center; font-size: 15px; }
.lp-table-compare th:first-child, .lp-table-compare td:first-child { text-align: left; font-family: "DM Sans", sans-serif; font-weight: 600; color: var(--carbon); }
.lp-table-compare thead th { background: var(--paper); text-transform: none; letter-spacing: 0; font-size: 15px; padding: 22px 24px; }
.lp-table-compare thead th:first-child { background: var(--paper); }
.lp-table-compare tbody td:nth-child(3) { color: var(--muted); }
.lp-table-brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 15px; color: var(--carbon); }
.lp-table-brand-icon { width: 22px; height: 22px; border-radius: 6px; }
.lp-table-compare th:nth-child(2), .lp-table-compare td:nth-child(2) { background: var(--lp-tint); font-weight: 600; color: var(--carbon); }
.lp-table-compare thead th:nth-child(2) { border-bottom: 1px solid var(--lp-hairline); }
.lp-table-compare tbody tr:hover td:nth-child(2) { background: var(--lp-tint); }

.lp-highlight-block { margin: 60px auto 0; padding: 48px; max-width: 700px; border-radius: 20px; background: var(--lp-tint); text-align: center; }
.lp-highlight-block h3 { margin: 0; font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.lp-highlight-block p { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.lp-highlight-block .primary-button { margin-top: 22px; }


/* Stack visual — bar chart */
.lp-bar-chart { margin: 56px auto 0; max-width: 720px; }
.lp-bar-chart-track { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; height: 240px; padding: 0 4px; border-bottom: 1px solid var(--lp-hairline); }
.lp-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.lp-bar { width: 100%; max-width: 84px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #7d70ff, var(--blue)); display: flex; align-items: flex-start; justify-content: center; padding-top: 12px; }
.lp-bar-value { color: #fff; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 14px; }
.lp-bar-chart-labels { display: flex; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 0 4px; }
.lp-bar-chart-labels span { flex: 1; max-width: 84px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 13.5px; }
.lp-highlight-line { max-width: 700px; margin: 36px auto 0; font-size: 25px; font-weight: 600; letter-spacing: -.015em; line-height: 1.4; text-align: center; }

/* Calculator */
.lp-calculator { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 60px auto 0; max-width: 960px; border-radius: 24px; border: 1px solid var(--lp-hairline); background: var(--paper); box-shadow: 0 40px 80px -36px rgba(15, 15, 15, .18); overflow: hidden; text-align: left; }
.lp-calc-inputs { display: grid; gap: 26px; align-content: center; padding: 56px; }
.lp-field { display: grid; gap: 8px; }
.lp-field span { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.lp-field-wrap { position: relative; display: flex; align-items: center; }
.lp-field-prefix { position: absolute; left: 16px; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 18px; pointer-events: none; }
.lp-field input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--lp-hairline); border-radius: 10px; background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 18px; color: var(--carbon); transition: border-color .15s ease, box-shadow .15s ease; }
.lp-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(75,59,255,.14); }
.lp-field-wrap .lp-field-prefix + input { padding-left: 28px; }
.lp-calc-results { display: grid; align-content: center; gap: 20px; padding: 56px; background: linear-gradient(165deg, var(--lp-tint), #efedff); }
.lp-calc-revenue strong { display: block; font-family: "DM Sans", sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.02em; color: var(--carbon); }
.lp-calc-revenue span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.lp-calc-cost { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--lp-hairline); border-bottom: 1px solid var(--lp-hairline); font-size: 14.5px; }
.lp-calc-cost span { color: var(--muted); }
.lp-calc-cost strong { font-family: "DM Sans", sans-serif; color: var(--carbon); font-weight: 600; }
.lp-calc-diff { padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .55); }
.lp-calc-diff strong { display: block; font-family: "DM Sans", sans-serif; font-size: 36px; font-weight: 700; color: var(--blue); }
.lp-calc-diff span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.lp-calc-disclaimer { max-width: 640px; margin: 22px auto 0; text-align: center; }

/* Pricing card */
.lp-pricing-card { display: flex; justify-content: center; margin-top: 60px; }
.lp-pricing-inner { position: relative; width: min(480px, 100%); padding: 40px; border-radius: 20px; background: var(--paper); text-align: left; overflow: hidden; }
.lp-plan-name { display: block; color: var(--carbon); font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.lp-plan-price { display: block; margin-top: 26px; font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.lp-plan-features { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--lp-hairline); }
.lp-includes { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.lp-includes li { padding: 13px 0; border-bottom: 1px solid var(--lp-hairline); color: var(--carbon); font-size: 15.5px; }
.lp-includes li:last-child { border-bottom: 0; }
.lp-includes-tag { display: inline-block; margin: 0 0 16px; padding: 7px 14px; border-radius: 8px; background: var(--lp-tint); color: var(--carbon); font-size: 13.5px; font-weight: 700; }
.lp-pricing-inner .primary-button { width: 100%; margin-top: 24px; justify-content: center; }
.lp-pricing-inner .lp-microcopy { text-align: center; }

.lp-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 0; margin-top: 60px; border-radius: 20px; overflow: hidden; border: 1px solid var(--lp-hairline); }
.lp-pricing-grid .lp-pricing-inner { width: 100%; border-radius: 0; }
.lp-pricing-grid .lp-pricing-inner + .lp-pricing-inner { border-left: 1px solid var(--lp-hairline); }
.lp-plan-desc { margin: 10px 0 0; min-height: 44px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lp-plan-period { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.lp-plan-badge { position: absolute; top: 30px; right: 30px; padding: 5px 12px; border-radius: 6px; background: var(--carbon); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp-pricing-featured { background: var(--lp-tint); }
.lp-pricing-featured .lp-includes-tag { background: var(--paper); }
.lp-pricing-footnote { text-align: center; margin-top: 36px; font-size: 15px; }

/* FAQ */
.lp-faq { display: grid; gap: 14px; margin-top: 56px; text-align: left; }
.lp-faq-item { padding: 28px 0; border-bottom: 1px solid var(--lp-hairline); }
.lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--lp-tint); color: var(--blue); font-weight: 600; font-size: 15px; transition: transform .2s ease; }
.lp-faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.lp-faq-item p { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Final CTA — dark */
.lp-final-cta { width: 100%; margin-top: 40px; padding: 150px 0; background: var(--paper); border-top: 1px solid var(--lp-hairline); text-align: center; }
.lp-final-cta > div { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.lp-final-cta h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; letter-spacing: -.03em; color: var(--carbon); }
.lp-final-cta p { max-width: 580px; margin: 20px auto 0; color: #5a5a5a; font-size: 18px; line-height: 1.6; }
.lp-final-cta .lp-hero-ctas { justify-content: center; margin-top: 32px; }
.lp-final-cta .lp-microcopy { text-align: center; color: var(--muted); }

/* Footer — light */
.lp-footer { width: 100%; padding: 132px 0 56px; background: #fff; border-top: 1px solid var(--lp-hairline); }
.lp-footer-inner { width: min(1340px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
body.landing .lp-footer .brand { color: var(--carbon); font-size: 22px; }
.lp-footer-brand p { max-width: 340px; margin: 20px 0 0; color: #6b6b6b; font-size: 17px; line-height: 1.65; }
.lp-footer-col { display: grid; gap: 18px; align-content: start; }
.lp-footer-col strong { color: var(--carbon); font-size: 15px; font-weight: 600; }
.lp-footer-col a { color: #6b6b6b; font-size: 16.5px; }
.lp-footer-col a:hover { color: var(--carbon); }
.lp-footer-disclaimer { width: min(1340px, calc(100% - 48px)); margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--lp-hairline); color: #8b8b8b; font-size: 14px; line-height: 1.7; }
.lp-footer-copy { width: min(1340px, calc(100% - 48px)); margin: 18px auto 0; color: #8b8b8b; font-size: 15px; }
.lp-footer-brand .brand-logo { height: 40px; }

@media (max-width: 900px) {
  .lp-steps, .lp-highlights, .lp-option-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-bar-chart-track { height: 180px; }
  .lp-calculator { grid-template-columns: 1fr; }
  .lp-calc-results { padding-top: 0; }
  .lp-footer-inner { grid-template-columns: 1fr 1fr; }
  .lp-feature-top { flex-wrap: wrap; gap: 32px; }
  .lp-feature-mockup { flex-basis: 100%; }
  .lp-feature-block:nth-child(even) .lp-feature-text, .lp-feature-block:nth-child(even) .lp-feature-mockup { order: 0; }
  .lp-feature-points { grid-template-columns: 1fr 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .lp-pricing-featured { transform: none; }
  .lp-stat-plain { padding: 0 22px; }
  .lp-stat-value { font-size: clamp(38px, 8vw, 52px); }
}

@media (max-width: 620px) {
  .lp-hero { padding: 36px 0 0; }
  .lp-hero-mockup { margin-top: 32px; }
  .lp-steps, .lp-highlights, .lp-option-grid { grid-template-columns: 1fr; }
  .lp-stats-plain { flex-direction: column; gap: 24px; align-items: center; }
  .lp-stat-plain + .lp-stat-plain { border-left: 0; padding-top: 24px; border-top: 1px solid var(--lp-hairline); }
  .lp-section { padding: 76px 0; }
  .lp-header-actions { gap: 12px; }
  .lp-footer-inner { grid-template-columns: 1fr; }
  .lp-calc-inputs, .lp-calc-results { padding: 30px; }
  .lp-feature-block { padding: 28px; }
  .lp-feature-points { grid-template-columns: 1fr; }
  .lp-bar-chart-track { height: 150px; gap: 12px; }
  .lp-bar-value { font-size: 12px; }
}

/* Secondary marketing pages (Pricing / Blog / Support / Contact) */
.lp-page-hero { position: relative; width: min(860px, calc(100% - 48px)); margin-inline: auto; padding: 110px 0 24px; text-align: center; }
.lp-page-hero h1 { margin: 0; font-size: clamp(40px, 5.8vw, 64px); letter-spacing: -.035em; }
.lp-page-hero p { max-width: 580px; margin: 22px auto 0; color: var(--lp-ink-soft); font-size: 19px; line-height: 1.6; }

.lp-empty-premium { width: min(800px, calc(100% - 48px)); margin: 20px auto 0; padding: 84px 48px; border-radius: 24px; background: var(--lp-tint); text-align: center; }
.lp-empty-premium .lp-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 16px; background: var(--lp-tint); color: var(--blue); }
.lp-empty-premium .lp-empty-icon svg { width: 26px; height: 26px; }
.lp-empty-premium h2 { margin: 0; font-size: 25px; font-weight: 600; }
.lp-empty-premium p { max-width: 440px; margin: 14px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.lp-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: min(1100px, calc(100% - 48px)); margin: 64px auto 0; }
.lp-help-card { padding: 36px; border-radius: 20px; background: var(--lp-tint); text-align: left; }
.lp-help-card .lp-mega-icon { margin-bottom: 16px; width: 40px; height: 40px; border-radius: 11px; }
.lp-help-card .lp-mega-icon svg { width: 19px; height: 19px; }
.lp-help-card h3 { margin: 0; font-size: 19px; font-weight: 600; }
.lp-help-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.lp-help-card a.text-link { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; }

.lp-contact-card { width: min(620px, calc(100% - 48px)); margin: 64px auto 0; padding: 56px; border-radius: 24px; background: var(--lp-tint); text-align: center; }
.lp-contact-card .lp-mega-icon { width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 14px; }
.lp-contact-card .lp-mega-icon svg { width: 24px; height: 24px; }
.lp-contact-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: var(--carbon); }
.lp-contact-email:hover { color: var(--blue); }
.lp-contact-card p { margin: 18px auto 0; max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.lp-contact-card .primary-button { margin-top: 26px; }

@media (max-width: 900px) {
  .lp-help-grid { grid-template-columns: 1fr; }
}
