:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-blue: #eff6ff;
    --border: #e5eaf2;
    --border-strong: #d5deea;
    --text: #0f172a;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #dbeafe;
    --primary-ring: rgba(37, 99, 235, 0.14);
    --sidebar: #0f172a;
    --sidebar-hover: #1e293b;
    --sidebar-text: #cbd5f5;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --orange: #ea580c;
    --orange-soft: #ffedd5;
    --violet: #7c3aed;
    --violet-soft: #ede9fe;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --focus: 0 0 0 4px var(--primary-ring);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #f5f7fb;
}

::selection {
    background: var(--primary-soft);
    color: var(--text);
}

button,
input,
select {
    font: inherit;
}

svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark svg,
.nav-icon svg,
.stat-icon svg,
.icon-btn svg {
    display: block;
    flex: 0 0 auto;
    fill: none !important;
    stroke: currentColor !important;
}

.mobile-menu-toggle,
.sidebar-backdrop {
    display: none;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 232px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    background: var(--sidebar);
    border-right: 1px solid rgba(203, 213, 245, 0.10);
    box-shadow: 18px 0 46px rgba(15, 23, 42, 0.18);
    overflow-y: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 22px;
    margin-bottom: 8px;
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--primary);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.brand-mark svg {
    width: 18px !important;
    height: 18px !important;
}

.logo {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
}

.logo span {
    color: #60a5fa;
}

.brand-subtitle {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.25;
}

.menu {
    display: grid;
    gap: 7px;
}

.menu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.menu a:hover {
    background: var(--sidebar-hover);
    color: #ffffff;
    transform: translateX(2px);
}

.menu a.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.30);
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: currentColor;
    opacity: 0.94;
}

.nav-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.sidebar-footer {
    margin-top: auto;
    padding: 16px 8px 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(203, 213, 245, 0.12);
}

.sidebar-footer form {
    margin-left: auto;
}

.logout-btn {
    width: 32px;
    min-height: 32px;
    color: #cbd5f5;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--sidebar);
    font-size: 12px;
    font-weight: 900;
}

.sidebar-footer strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.sidebar-footer span {
    display: block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}

.main {
    margin-left: 232px;
    padding: 30px 36px 44px;
    max-width: 1500px;
}

.top,
.section-title,
.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.app-header {
    min-height: 44px;
    margin-bottom: 24px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: 0;
}

.page-subtitle {
    max-width: 640px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

h2 {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: 0;
}

h3 {
    letter-spacing: 0;
}

p {
    color: var(--muted);
    line-height: 1.6;
}

.header-actions,
.filters,
.actions,
.actions form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.actions {
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.btn,
button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
button:hover {
    background: var(--primary-dark);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

.btn.small,
button.btn.small {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
}

.btn.secondary {
    background: #ffffff;
    color: #334155;
    border-color: var(--border);
    box-shadow: none;
}

.btn.secondary:hover {
    background: var(--surface-soft);
    border-color: var(--border-strong);
}

.danger-btn {
    background: #ffffff;
    color: var(--red);
    border-color: #fecaca;
    box-shadow: none;
}

.danger-btn:hover {
    background: var(--red-soft);
    color: var(--red);
}

.onboarding-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(3px);
}

.tour-active {
    position: relative;
    z-index: 61 !important;
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(147, 197, 253, 0.20), 0 20px 38px rgba(15, 23, 42, 0.24) !important;
}

.tour-parent {
    z-index: 60;
}

.onboarding-spotlight {
    position: fixed;
    z-index: 59;
    border: 2px solid #bfdbfe;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.18), 0 0 34px rgba(147, 197, 253, 0.50);
    pointer-events: none;
    transition: left 0.24s ease, top 0.24s ease, width 0.24s ease, height 0.24s ease;
}

.onboarding-dialog {
    position: fixed;
    z-index: 62;
    width: min(320px, calc(100vw - 28px));
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(213, 222, 234, 0.9);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
    transition: left 0.24s ease, top 0.24s ease;
}

.onboarding-dialog::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 26px;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(213, 222, 234, 0.9);
    border-bottom: 1px solid rgba(213, 222, 234, 0.9);
    background: #ffffff;
}

.onboarding-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    border-color: var(--border);
    box-shadow: none;
}

.onboarding-close:hover {
    background: var(--surface-soft);
    color: var(--text);
    box-shadow: none;
}

.onboarding-close svg {
    width: 16px;
    height: 16px;
}

.onboarding-header {
    padding-right: 34px;
}

.onboarding-step-count {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 850;
}

.onboarding-header h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.onboarding-header p {
    margin-bottom: 0;
    color: #475569;
    font-size: 14px;
}

.onboarding-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-soft);
}

.onboarding-progress::before {
    content: "";
    display: block;
    width: var(--tour-progress, 20%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--green));
    transition: width 0.24s ease;
}

.onboarding-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.onboarding-actions .btn {
    flex: 1 1 auto;
    min-width: 92px;
    padding-right: 11px;
    padding-left: 11px;
}

.onboarding-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.danger-solid {
    background: var(--red);
    color: #ffffff;
    border-color: var(--red);
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.18);
}

.danger-solid:hover {
    background: #b91c1c;
    color: #ffffff;
    border-color: #b91c1c;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24);
}

.success-btn {
    background: var(--green);
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.18);
}

.success-btn:hover {
    background: #15803d;
}

.trial-banner,
.limit-box {
    border: 1px solid #d8e0ea;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #172033;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.trial-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trial-banner strong {
    padding-right: 4px;
    color: #172033;
}

.trial-banner span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.trial-banner a {
    margin-left: auto;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.icon-btn {
    width: 36px;
    min-height: 36px;
    padding: 0;
    background: #ffffff;
    color: #0f172a;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
    background: var(--surface-soft);
    box-shadow: var(--shadow-sm);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.card,
.section {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.card {
    min-height: 122px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: #cfe0f8;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.stat-card h3 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.stat-card p {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
}

.stat-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.stat-icon.blue {
    color: var(--primary);
    background: var(--primary-soft);
}

.stat-icon.green {
    color: var(--green);
    background: var(--green-soft);
}

.stat-icon.violet {
    color: var(--violet);
    background: var(--violet-soft);
}

.stat-icon.orange {
    color: var(--orange);
    background: var(--orange-soft);
}

.trend {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.trend.positive {
    color: var(--green);
}

.trend.negative {
    color: var(--red);
}

.section {
    padding: 22px;
}

.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    border-color: #fecaca;
    background: #fffafa;
}

.danger-zone h2 {
    color: #991b1b;
}

.danger-zone p {
    max-width: 620px;
    margin: 8px 0 0;
    font-size: 13px;
}

.danger-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.danger-actions form {
    margin: 0;
}

.clients-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 22px;
}

.clients-hero {
    min-height: 260px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0 34%, rgba(255, 255, 255, 0.70) 34% 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #38bdf8 100%);
    box-shadow: 0 28px 70px rgba(37, 99, 235, 0.18);
    overflow: hidden;
}

.clients-hero::before,
.clients-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.clients-hero::before {
    right: -70px;
    top: 34px;
    width: 320px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(-12deg);
    animation: clientRibbon 8s ease-in-out infinite;
}

.clients-hero::after {
    right: 72px;
    bottom: -44px;
    width: 240px;
    height: 110px;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0 22%, transparent 22% 28%, rgba(255, 255, 255, 0.30) 28% 100%);
    transform: rotate(7deg);
    animation: clientCardFloat 6.5s ease-in-out infinite;
}

.clients-title {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.eyebrow {
    width: fit-content;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.clients-header h1 {
    max-width: 720px;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 0.98;
    font-weight: 950;
}

.clients-hero .page-subtitle {
    max-width: 620px;
    color: #334155;
    font-size: 16px;
}

.clients-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.clients-hero-metrics span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    color: #475569;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.clients-hero-metrics strong {
    color: #0f172a;
    font-size: 17px;
}

.clients-header-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.client-search {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.client-search input {
    min-width: 0;
    height: 46px;
    border-color: rgba(255, 255, 255, 0.74);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

.client-search .btn {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 14px;
}

.clients-header-actions > .btn {
    min-height: 46px;
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
}

.clients-header-actions > .btn:hover {
    background: #020617;
}

.clients-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.43fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.client-create-panel,
.client-list-panel {
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.09);
}

.client-create-panel {
    position: sticky;
    top: 24px;
    padding: 22px;
}

.marketing-panel {
    position: sticky;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
        linear-gradient(135deg, #dbeafe, #eff6ff 44%, #e0f2fe);
}

.marketing-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8, #60a5fa);
    background-size: 220% 100%;
    animation: clientGradientSlide 5s ease-in-out infinite;
}

.client-create-panel .section-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.panel-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.client-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.client-form .field-wide,
.client-form button {
    grid-column: 1 / -1;
}

.client-form button {
    margin-top: 2px;
    min-height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #38bdf8);
    background-size: 180% 100%;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24);
    animation: clientButtonGlow 4.8s ease-in-out infinite;
}

.client-list-panel {
    padding: 0;
    overflow: hidden;
}

.client-list-toolbar {
    min-height: 72px;
    padding: 20px 22px;
    margin: 0;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(239, 246, 255, 0.94), rgba(224, 242, 254, 0.92)),
        #ffffff;
}

.client-list-toolbar p {
    margin: 5px 0 0;
    font-size: 13px;
}

.client-table-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.client-table thead th {
    background: #111827;
    color: #e5e7eb;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.client-table th,
.client-table td {
    padding: 14px 16px;
}

.client-table tbody tr:hover {
    background: #f8fbff;
}

.client-identity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.client-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb 58%, #38bdf8);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.client-identity strong,
.client-identity em,
.client-contact span,
.client-contact small {
    display: block;
}

.client-identity strong {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.client-identity em,
.client-contact small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.client-contact span {
    color: #334155;
    font-weight: 700;
}

.client-actions {
    flex-wrap: nowrap;
}

.icon-action {
    width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    box-shadow: none;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-action:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
}

.icon-action.primary {
    color: var(--primary);
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border-color: #bfdbfe;
}

.icon-action.danger {
    color: var(--red);
    border-color: #fecaca;
}

.icon-action.danger:hover {
    background: #fff1f2;
    color: var(--red);
}

.icon-action svg {
    width: 17px !important;
    height: 17px !important;
}

@keyframes clientRibbon {
    0%, 100% { transform: translateY(0) rotate(-12deg); }
    50% { transform: translateY(14px) rotate(-8deg); }
}

@keyframes clientCardFloat {
    0%, 100% { transform: translateY(0) rotate(7deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes clientGradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes clientButtonGlow {
    0%, 100% { background-position: 0% 50%; box-shadow: 0 18px 38px rgba(37, 99, 235, 0.24); }
    50% { background-position: 100% 50%; box-shadow: 0 22px 44px rgba(6, 182, 212, 0.28); }
}

.quotes-hero {
    position: relative;
    min-height: 286px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 18px;
    padding: 32px;
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 38%, rgba(255, 255, 255, 0.74) 38% 100%),
        radial-gradient(circle at 78% 12%, rgba(147, 197, 253, 0.72), transparent 28%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 48%, #38bdf8 100%);
    box-shadow: 0 30px 76px rgba(37, 99, 235, 0.18);
    overflow: hidden;
}

.quotes-hero::before {
    content: "";
    position: absolute;
    right: -84px;
    top: -42px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    border: 42px solid rgba(255, 255, 255, 0.18);
    animation: quoteOrbit 9s ease-in-out infinite;
}

.quotes-hero-copy,
.quotes-hero-card {
    position: relative;
    z-index: 1;
}

.quotes-hero h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: clamp(34px, 4.7vw, 58px);
    line-height: 0.98;
    font-weight: 950;
}

.quotes-hero .page-subtitle {
    max-width: 640px;
    color: #334155;
    font-size: 16px;
}

.quotes-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.quotes-hero-actions .btn {
    min-height: 46px;
    border-radius: 14px;
}

.quotes-hero-actions .btn:first-child {
    background: #111827;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
}

.quotes-hero-actions .btn.secondary {
    background: rgba(255, 255, 255, 0.88);
}

.quotes-hero-card {
    display: grid;
    gap: 22px;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    animation: quoteCardFloat 6.8s ease-in-out infinite;
}

.quote-preview-top,
.quote-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quote-preview-top span,
.quote-preview-footer span {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.quote-preview-top strong {
    color: #1d4ed8;
    font-size: 24px;
}

.quote-preview-lines {
    display: grid;
    gap: 11px;
}

.quote-preview-lines i {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #bfdbfe);
}

.quote-preview-lines i:nth-child(1) { width: 92%; }
.quote-preview-lines i:nth-child(2) { width: 70%; }
.quote-preview-lines i:nth-child(3) { width: 84%; }

.quote-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.quote-stats article {
    position: relative;
    min-height: 100px;
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92)),
        #ffffff;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.08);
    overflow: hidden;
}

.quote-stats article::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -28px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
}

.quote-stats span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.quote-stats strong {
    position: relative;
    z-index: 1;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
}

.quote-create-panel,
.quote-list-panel {
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.quote-create-panel {
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
}

.quote-create-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8, #60a5fa);
    background-size: 220% 100%;
    animation: clientGradientSlide 5s ease-in-out infinite;
}

.quote-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quote-icon {
    background: linear-gradient(135deg, #1e3a8a, #2563eb 58%, #38bdf8);
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quote-form .field-wide {
    grid-column: span 2;
}

.quote-form .form-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 0.45fr) minmax(240px, 0.55fr);
    gap: 10px;
}

.quote-form .form-actions button {
    min-height: 46px;
    border-radius: 14px;
}

.quote-form .form-actions button:first-child {
    background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #38bdf8);
    background-size: 180% 100%;
    animation: clientButtonGlow 4.8s ease-in-out infinite;
}

.quote-download-btn {
    background: #ffffff;
}

.quote-list-panel {
    padding: 0;
    overflow: hidden;
}

.quote-list-toolbar {
    align-items: flex-end;
    min-height: 92px;
    padding: 20px 22px;
    margin: 0;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(239, 246, 255, 0.94), rgba(224, 242, 254, 0.92)),
        #ffffff;
}

.quote-filters {
    justify-content: flex-end;
}

.quote-filters input,
.quote-filters select {
    min-height: 42px;
    border-radius: 13px;
}

.quote-table-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.quote-table thead th {
    background: #111827;
    color: #e5e7eb;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quote-table th,
.quote-table td {
    padding: 15px 16px;
}

.quote-table tbody tr:hover {
    background: #f8fbff;
}

.quote-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb 58%, #38bdf8);
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.quote-identity strong,
.quote-client,
.quote-description,
.quote-identity em,
.quote-amounts strong,
.quote-amounts span {
    display: block;
}

.quote-identity strong,
.quote-client {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.quote-identity em,
.quote-description,
.quote-amounts span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.quote-description {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-amounts strong {
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.quote-actions {
    flex-wrap: nowrap;
}

.icon-action.invoice {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

@keyframes quoteOrbit {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(18px) scale(1.04); }
}

@keyframes quoteCardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

.blue-hero {
    position: relative;
    min-height: 276px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 18px;
    padding: 32px;
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 38%, rgba(255, 255, 255, 0.74) 38% 100%),
        radial-gradient(circle at 78% 12%, rgba(147, 197, 253, 0.72), transparent 28%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 48%, #38bdf8 100%);
    box-shadow: 0 30px 76px rgba(37, 99, 235, 0.18);
    overflow: hidden;
}

.blue-hero::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -46px;
    width: 310px;
    height: 310px;
    border-radius: 999px;
    border: 44px solid rgba(255, 255, 255, 0.18);
    animation: quoteOrbit 9s ease-in-out infinite;
}

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

.blue-hero h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: clamp(34px, 4.7vw, 58px);
    line-height: 0.98;
    font-weight: 950;
}

.blue-hero .page-subtitle {
    max-width: 650px;
    color: #334155;
    font-size: 16px;
}

.blue-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.blue-hero-actions .btn {
    min-height: 46px;
    border-radius: 14px;
}

.blue-hero-actions .btn:not(.secondary) {
    background: #111827;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
}

.catalog-preview,
.invoice-preview,
.payment-preview {
    display: grid;
    gap: 14px;
    min-height: 196px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    animation: quoteCardFloat 6.8s ease-in-out infinite;
}

.catalog-preview span,
.invoice-preview span,
.payment-preview span,
.invoice-preview small,
.payment-preview small {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.catalog-preview strong,
.invoice-preview strong,
.payment-preview strong {
    color: #1d4ed8;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.catalog-preview div,
.invoice-preview div,
.payment-preview div {
    display: grid;
    gap: 10px;
}

.catalog-preview i {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #bfdbfe);
}

.catalog-preview i:nth-child(1) { width: 92%; }
.catalog-preview i:nth-child(2) { width: 72%; }
.catalog-preview i:nth-child(3) { width: 84%; }

.invoice-preview div,
.payment-preview div {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbeafe;
}

.invoice-preview i,
.payment-preview i {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8);
}

.blue-create-panel,
.blue-list-panel {
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.blue-create-panel {
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
}

.blue-create-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8, #60a5fa);
    background-size: 220% 100%;
    animation: clientGradientSlide 5s ease-in-out infinite;
}

.blue-list-panel {
    padding: 0;
    overflow: hidden;
    margin-bottom: 18px;
}

.catalog-form .form-actions {
    grid-column: 1 / -1;
}

.catalog-table .quote-description,
.payment-table .quote-description {
    max-width: 280px;
}

.invoice-actions {
    align-items: center;
}

.invoice-status-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.invoice-status-form select {
    min-width: 116px;
    min-height: 34px;
    border-radius: 9px;
}

.recurring-panel {
    margin-top: 18px;
}

.payment-dashboard-grid {
    align-items: start;
}

.blue-method-panel {
    border: 0;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.94)),
        #ffffff;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.blue-methods div {
    border-color: #dbeafe;
    border-radius: 16px;
    background: #ffffff;
}

.blue-methods div.selected {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10);
}

.blue-methods .payment-icon {
    color: #1d4ed8;
    background: #dbeafe;
}

.form-section {
    margin-bottom: 18px;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.9fr);
    gap: 18px;
    margin-bottom: 18px;
}

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.report-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    margin-bottom: 18px;
}

.section-title,
.list-toolbar {
    margin-bottom: 18px;
}

.filters {
    flex-wrap: wrap;
}

.filters input,
.filters select {
    min-width: 260px;
}

.filters button {
    min-width: 96px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 7px;
}

.field span {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.field-wide {
    grid-column: span 2;
}

.checkbox-field {
    align-content: start;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
}

.inline-check input {
    width: 16px;
    min-height: 16px;
    height: 16px;
    padding: 0;
    flex: 0 0 auto;
}

.inline-check span {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

.form-actions .btn,
.form-actions button {
    width: 100%;
}

input,
select {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:disabled,
select:disabled {
    cursor: not-allowed;
    background: #f8fafc;
    color: var(--muted-2);
}

input::placeholder {
    color: var(--muted-2);
}

input:hover,
select:hover {
    border-color: var(--border-strong);
}

input:focus,
select:focus {
    border-color: #93c5fd;
    box-shadow: var(--focus);
}

select.compact {
    width: auto;
    min-width: 128px;
}

.company-logo-preview {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.company-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.company-preview-logo {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
}

.company-preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #ffffff;
}

.company-preview div:last-child {
    display: grid;
    gap: 5px;
}

.company-preview strong {
    color: var(--text);
    font-size: 16px;
}

.company-preview span {
    color: var(--muted);
    font-size: 13px;
}

.chart {
    position: relative;
    height: 218px;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.055), rgba(37, 99, 235, 0)),
        #ffffff;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #e8eef6;
}

.grid-line:nth-child(1) {
    top: 28%;
}

.grid-line:nth-child(2) {
    top: 52%;
}

.grid-line:nth-child(3) {
    top: 76%;
}

.chart-line {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 44px;
    height: 96px;
    background:
        linear-gradient(135deg, transparent 0 7%, var(--primary) 7% 8%, transparent 8% 20%),
        linear-gradient(25deg, transparent 0 18%, var(--primary) 18% 19%, transparent 19% 34%),
        linear-gradient(150deg, transparent 0 31%, var(--primary) 31% 32%, transparent 32% 48%),
        linear-gradient(28deg, transparent 0 46%, var(--primary) 46% 47%, transparent 47% 64%),
        linear-gradient(145deg, transparent 0 62%, var(--primary) 62% 63%, transparent 63% 80%),
        linear-gradient(28deg, transparent 0 78%, var(--primary) 78% 79%, transparent 79% 100%);
}

.point {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.p1 { left: 10%; top: 68%; }
.p2 { left: 22%; top: 48%; }
.p3 { left: 36%; top: 60%; }
.p4 { left: 52%; top: 42%; }
.p5 { left: 68%; top: 28%; }
.p6 { left: 86%; top: 20%; }

.months {
    display: flex;
    justify-content: space-between;
    padding: 10px 6px 0;
    color: var(--muted);
    font-size: 12px;
}

.recent-list {
    display: grid;
    gap: 2px;
}

.recent-item {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 13px;
}

.recent-item:last-child {
    border-bottom: 0;
}

.recent-item strong,
.recent-item span,
.recent-item time {
    white-space: nowrap;
}

.recent-item div span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.muted-line {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.payment-panel {
    align-self: start;
}

.payment-methods {
    display: grid;
    gap: 12px;
}

.payment-methods div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 2px 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.payment-methods div.selected {
    border-color: #bfdbfe;
    background: var(--surface-blue);
}

.payment-methods strong {
    color: var(--text);
    font-size: 13px;
}

.payment-methods div > span:last-child {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.payment-icon {
    width: 34px;
    height: 34px;
    display: grid;
    grid-row: span 2;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--primary);
}

.report-bars {
    display: grid;
    gap: 13px;
}

.report-bar {
    display: grid;
    grid-template-columns: 92px minmax(120px, 1fr) 110px;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.report-bar div {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.report-bar i {
    display: block;
    height: 100%;
    min-width: 10px;
    border-radius: inherit;
    background: var(--primary);
}

.report-bar strong {
    color: var(--text);
    text-align: right;
    white-space: nowrap;
}

.status-list {
    display: grid;
    gap: 10px;
}

.status-list h3 {
    margin: 6px 0 0;
    color: #334155;
    font-size: 13px;
}

.status-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.status-list div:last-child {
    border-bottom: 0;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 13px;
}

.table-shell {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

thead th {
    background: var(--surface-soft);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

th,
td {
    padding: 14px 13px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
}

td {
    color: #475569;
}

td strong,
.amount {
    color: var(--text);
    font-weight: 850;
}

.amount {
    white-space: nowrap;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #fbfdff;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.badge {
    min-width: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.badge.brouillon {
    background: #f1f5f9;
    color: #475569;
}

.badge.envoye {
    background: var(--orange-soft);
    color: var(--orange);
}

.badge.accepte,
.badge.paye,
.badge.actif,
.badge.service {
    background: var(--green-soft);
    color: var(--green);
}

.badge.refuse,
.badge.impaye,
.badge.inactif {
    background: var(--red-soft);
    color: var(--red);
}

.badge.en-attente,
.badge.attente,
.badge.produit {
    background: var(--orange-soft);
    color: var(--orange);
}

.badge.bronze,
.badge.client {
    background: #ffedd5;
    color: #9a3412;
}

.badge.argent,
.badge.a_choisir,
.badge.a_abonner {
    background: #e0f2fe;
    color: #0369a1;
}

.badge.or,
.badge.admin {
    background: var(--violet-soft);
    color: var(--violet);
}

.badge.entreprise,
.badge.owner {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge.member {
    background: #f1f5f9;
    color: #475569;
}

.empty-state {
    padding: 18px;
    border: 1px dashed var(--border-strong);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--muted);
    text-align: center;
    font-weight: 700;
}

.flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.flash::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: currentColor;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.link:hover {
    text-decoration: underline;
}

.strong {
    color: var(--text);
}

.details {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
}

.details div {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfdff;
}

.details span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.details strong {
    display: block;
    line-height: 1.4;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-shell {
    width: min(100%, 460px);
}

.auth-panel,
.pricing-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.auth-panel.wide {
    width: min(100vw - 48px, 720px);
}

.auth-brand {
    padding: 0;
    margin: 0 0 24px;
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 800;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
}

.login-body {
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    background: #074e79;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 28px clamp(20px, 8vw, 64px) 42px;
}

.login-logo {
    width: fit-content;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 32px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
    text-decoration: none;
}

.login-logo span {
    color: #7fc5bf;
}

.login-panel {
    width: min(100%, 408px);
    align-self: center;
    justify-self: center;
    padding: 0 0 36px;
    text-align: center;
}

.login-panel h1 {
    margin: 0 0 24px;
    color: #7fc5bf;
    font-size: clamp(52px, 8vw, 62px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
}

.login-intro {
    margin: 0 auto 28px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.login-intro strong {
    display: block;
    font-weight: 900;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-field {
    position: relative;
    display: block;
    margin: 0;
}

.login-field span {
    position: absolute;
    inset: 0 auto auto 24px;
    height: 36px;
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.login-field input {
    width: 100%;
    height: 36px;
    padding: 7px 54px 7px 24px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
    font-size: 16px;
}

.login-field input:focus-visible {
    box-shadow: 0 0 0 4px rgba(127, 197, 191, 0.28);
}

.login-field:focus-within span,
.login-field input:not(:placeholder-shown) + span {
    opacity: 0;
}

.password-field input {
    padding-right: 58px;
}

.password-toggle {
    position: absolute;
    inset: 0 16px auto auto;
    width: 34px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #26358c;
    box-shadow: none;
}

.password-toggle:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.password-toggle svg {
    width: 28px !important;
    height: 28px !important;
}

.forgot-password {
    justify-self: start;
    margin: -8px 0 8px 13px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.forgot-password:hover,
.login-links a:hover {
    text-decoration: underline;
}

.login-help {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.login-submit {
    width: 86%;
    min-height: 35px;
    justify-self: center;
    margin-top: 0;
    border: 0;
    border-radius: 8px;
    background: #1385cf;
    color: #ffffff;
    box-shadow: none;
    font-size: 18px;
    font-weight: 900;
}

.login-submit:hover {
    background: #0f75b8;
    box-shadow: none;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 800;
}

.login-links a {
    color: #ffffff;
    text-decoration: none;
}

.login-panel .flash {
    margin-bottom: 18px;
    color: #073b5f;
    background: #ffffff;
}

.login-showcase-body {
    min-height: 100vh;
    color: #11264a;
    background:
        radial-gradient(circle at 12% 18%, rgba(79, 158, 255, 0.34), transparent 26%),
        radial-gradient(circle at 30% 72%, rgba(12, 102, 238, 0.22), transparent 25%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px),
        linear-gradient(115deg, #07306f 0%, #0752aa 38%, #e4edf8 38.1%, #f8fbff 100%);
    overflow-x: hidden;
}

.login-showcase-body .login-shell {
    position: relative;
    grid-template-columns: minmax(360px, 0.86fr) minmax(620px, 1.24fr);
    grid-template-rows: auto 1fr;
    gap: clamp(34px, 5vw, 80px);
    align-items: center;
    padding: clamp(30px, 4vw, 58px) clamp(26px, 5vw, 72px);
}

.login-showcase-body .login-logo {
    grid-column: 1 / -1;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 40px);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.login-showcase-body .login-logo span {
    color: #6da8ff;
}

.login-showcase-body .login-panel {
    width: min(100%, 560px);
    min-height: 640px;
    align-self: center;
    justify-self: center;
    padding: 38px 52px 34px;
    border: 1px solid rgba(220, 231, 247, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(0, 28, 73, 0.24);
    color: #102a56;
    text-align: left;
}

.login-lock {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #e9f2ff;
    color: #1476ee;
}

.login-lock svg,
.login-support svg,
.login-showcase-body .login-field > svg,
.login-showcase-body .password-toggle svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-showcase-body .login-panel h1 {
    margin: 0 0 12px;
    color: #102a56;
    font-size: 38px;
    line-height: 1.08;
    text-align: center;
}

.login-showcase-body .login-intro {
    max-width: 390px;
    margin: 0 auto 30px;
    color: #36506f;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
    text-align: center;
}

.login-showcase-body .login-intro strong {
    display: inline;
    color: #106eff;
    font-weight: 800;
}

.login-showcase-body .login-form {
    gap: 18px;
}

.login-showcase-body .login-field {
    display: grid;
    gap: 10px;
}

.login-showcase-body .login-field span {
    position: static;
    height: auto;
    display: block;
    color: #102a56;
    font-size: 14px;
    font-weight: 800;
    opacity: 1;
    transform: none;
}

.login-showcase-body .login-field > svg {
    position: absolute;
    left: 18px;
    bottom: 14px;
    width: 22px;
    height: 22px;
    color: #9aa9bd;
    pointer-events: none;
}

.login-showcase-body .login-field input {
    height: 52px;
    padding: 0 56px 0 56px;
    border: 1px solid #d4deec;
    border-radius: 8px;
    background: #ffffff;
    color: #102a56;
    box-shadow: 0 6px 18px rgba(20, 41, 75, 0.04);
    font-size: 16px;
}

.login-showcase-body .login-field input:focus-visible {
    border-color: #1675f3;
    box-shadow: 0 0 0 4px rgba(22, 117, 243, 0.14);
}

.login-showcase-body .login-field:focus-within span,
.login-showcase-body .login-field input:not(:placeholder-shown) + span {
    opacity: 1;
}

.login-showcase-body .password-toggle {
    inset: auto 14px 7px auto;
    width: 38px;
    min-height: 38px;
    color: #8798ad;
}

.login-showcase-body .password-toggle svg {
    width: 22px !important;
    height: 22px !important;
}

.login-showcase-body .forgot-password {
    justify-self: start;
    margin: -4px 0 2px;
    color: #096df2;
    font-size: 14px;
    font-weight: 800;
}

.login-showcase-body .login-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1682ff, #195df1);
    box-shadow: 0 16px 34px rgba(22, 104, 243, 0.28);
    font-size: 16px;
}

.login-showcase-body .login-submit:hover {
    background: linear-gradient(135deg, #0d74ee, #134fd2);
    box-shadow: 0 18px 38px rgba(22, 104, 243, 0.34);
}

.login-showcase-body .login-links {
    align-items: center;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #dbe4f0;
    color: #36506f;
    font-size: 14px;
    font-weight: 500;
}

.login-showcase-body .login-links a,
.login-support a {
    color: #096df2;
    font-weight: 800;
    text-decoration: none;
}

.login-support {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #dbe4f0;
    color: #36506f;
    font-size: 14px;
    line-height: 1.45;
}

.login-support > span {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f2ff;
    color: #1675f3;
}

.login-support p {
    margin: 0;
}

.login-showcase-body .login-panel .flash {
    color: #102a56;
    background: #e9f7ef;
    border: 1px solid #bde8cd;
}

.login-preview {
    position: relative;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: 700px;
    align-self: stretch;
    margin: 2vh -20vw -4vh 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: rgba(250, 253, 255, 0.82);
    box-shadow: 0 35px 90px rgba(12, 53, 111, 0.28);
    overflow: hidden;
    transform: perspective(1300px) rotateY(-7deg) rotateZ(-1.4deg);
    transform-origin: left center;
}

.preview-sidebar {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 28px;
    padding: 34px 22px;
    border-right: 1px solid rgba(199, 214, 235, 0.64);
    background: linear-gradient(180deg, rgba(232, 242, 255, 0.95), rgba(214, 229, 246, 0.72));
}

.preview-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #123c72;
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.preview-mark span {
    color: #57a2ff;
}

.preview-sidebar nav {
    display: grid;
    align-content: start;
    gap: 10px;
}

.preview-sidebar nav span,
.preview-settings {
    padding: 12px 14px;
    border-radius: 7px;
    color: #1d3860;
    font-size: 13px;
    font-weight: 800;
}

.preview-sidebar nav .active {
    color: #ffffff;
    background: #1579f4;
    box-shadow: 0 10px 20px rgba(21, 121, 244, 0.26);
}

.preview-content {
    min-width: 0;
    padding: 42px 38px 34px;
}

.preview-content h2 {
    margin: 0 0 24px;
    color: #102a56;
    font-size: 24px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.preview-stats article,
.preview-card,
.preview-bottom article {
    border: 1px solid rgba(220, 231, 247, 0.84);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 15px 36px rgba(14, 46, 87, 0.12);
}

.preview-stats article {
    min-height: 112px;
    padding: 20px;
}

.preview-stats span,
.preview-card h3 {
    color: #17315a;
    font-size: 13px;
    font-weight: 900;
}

.preview-stats strong {
    display: block;
    margin: 14px 0 8px;
    color: #102a56;
    font-size: 29px;
}

.preview-stats small {
    color: #27a979;
    font-size: 13px;
    font-weight: 800;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
}

.preview-card {
    padding: 20px;
}

.preview-card h3 {
    margin: 0 0 18px;
}

.invoice-card {
    display: grid;
    grid-template-columns: 148px 1fr;
    align-items: center;
    gap: 20px;
}

.invoice-card h3 {
    grid-column: 1 / -1;
}

.donut {
    width: 140px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#35c987 0 65%, #ffab3d 65% 82%, #f45a54 82% 100%);
}

.donut span {
    width: 82px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #102a56;
    font-size: 20px;
    font-weight: 950;
}

.donut small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.invoice-card ul {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.invoice-card li,
.payment-card p,
.quote-card p,
.client-card p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1d3860;
    font-size: 13px;
    font-weight: 700;
}

.invoice-card li strong,
.payment-card p strong,
.quote-card p strong {
    margin-left: auto;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.dot.green {
    background: #35c987;
}

.dot.amber {
    background: #ffab3d;
}

.dot.red {
    background: #f45a54;
}

.payment-card i {
    display: block;
    height: 8px;
    margin: 9px 0 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color) 0 var(--value), #e9edf4 var(--value) 100%);
}

.quote-card,
.client-card {
    display: grid;
    gap: 16px;
}

.quote-card p {
    display: grid;
    grid-template-columns: 100px 1fr auto;
}

.client-card p {
    display: grid;
    grid-template-columns: 38px 1fr;
}

.client-card p span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #1579f4;
    font-weight: 950;
}

.client-card p small {
    color: #60718b;
}

.preview-bottom {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 22px;
    margin-top: 22px;
}

.preview-bottom article {
    min-height: 82px;
    padding: 20px;
    color: #f5a300;
    font-weight: 950;
}

.preview-bottom span {
    display: block;
    margin-top: 8px;
    color: #36506f;
    font-size: 13px;
    font-weight: 700;
}

.preview-bottom strong {
    display: block;
    color: #106eff;
}

.signup-body {
    background:
        linear-gradient(135deg, rgba(127, 197, 191, 0.14) 0 1px, transparent 1px 42px),
        linear-gradient(160deg, #063f68 0%, #07567f 46%, #043753 100%);
    overflow-x: hidden;
}

.signup-shell {
    position: relative;
    padding-bottom: 32px;
}

.signup-shell::before {
    content: "";
    position: absolute;
    inset: 96px 5vw auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(127, 197, 191, 0.45), transparent);
    pointer-events: none;
}

.signup-panel {
    position: relative;
    overflow: hidden;
    width: min(100%, 820px);
    align-self: center;
    justify-self: center;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 34px;
    align-items: center;
    padding: 40px 42px 36px;
    border: 1px solid rgba(158, 214, 210, 0.30);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
        rgba(3, 55, 86, 0.58);
    box-shadow: 0 34px 110px rgba(0, 18, 32, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    animation: signup-panel-in 0.7s ease both;
}

.signup-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.10) 42%, transparent 70%);
    transform: translateX(-100%);
    animation: signup-sheen 5.8s ease-in-out infinite;
    pointer-events: none;
}

.signup-copy {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
    animation: signup-copy-in 0.65s ease 0.08s both;
}

.signup-kicker {
    width: fit-content;
    margin: 0 0 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(127, 197, 191, 0.22);
    color: #b9eee8;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(127, 197, 191, 0.16);
}

.signup-copy h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 48px;
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 16px 34px rgba(0, 18, 32, 0.24);
}

.signup-copy p {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.signup-benefits {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 850;
    list-style: none;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.signup-benefits span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #ffffff;
    color: #07567f;
    font-size: 12px;
    font-weight: 950;
}

.signup-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    animation: signup-form-in 0.65s ease 0.16s both;
}

.signup-field {
    display: grid;
    gap: 8px;
    color: #ffffff;
    text-align: left;
}

.signup-field span {
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.signup-field input {
    width: 100%;
    height: 50px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 12px 28px rgba(0, 18, 32, 0.10);
    font-size: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.signup-field input::placeholder {
    color: #7c8ba6;
}

.signup-field input:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(127, 197, 191, 0.28), 0 16px 34px rgba(0, 18, 32, 0.15);
}

.signup-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, #24a4df, #0c78c3);
    box-shadow: 0 18px 42px rgba(7, 120, 195, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.signup-submit:hover {
    background: linear-gradient(135deg, #31b4ed, #0f86d6);
    box-shadow: 0 22px 48px rgba(7, 120, 195, 0.40);
    transform: translateY(-2px);
}

.signup-note {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    width: fit-content;
    justify-self: center;
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.signup-footer {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
}

.signup-footer a {
    color: #b9eee8;
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

.signup-panel .flash {
    grid-column: 1 / -1;
    margin: 0;
    color: #073b5f;
    background: #ffffff;
}

.signup-body {
    min-height: 100vh;
    color: #06173d;
    background:
        radial-gradient(circle at 42% 100%, rgba(255, 255, 255, 0.48) 0 16%, transparent 16.2%),
        radial-gradient(circle at 42% 86%, transparent 0 18%, rgba(255, 255, 255, 0.62) 18.2% 18.45%, transparent 18.7%),
        linear-gradient(105deg, #d8ecff 0%, #c4e0ff 43%, #f8fbff 43.1%, #ffffff 100%);
    overflow-x: hidden;
}

.signup-shell {
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1fr);
    grid-template-rows: auto 1fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(34px, 5vw, 58px) clamp(34px, 5vw, 76px);
}

.signup-shell::before {
    display: none;
}

.signup-logo {
    grid-column: 1 / -1;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #06173d;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    font-weight: 950;
    text-decoration: none;
}

.signup-logo > span:first-child {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #127eff, #0956e8);
    color: #ffffff;
    font-size: 38px;
    box-shadow: 0 16px 30px rgba(18, 126, 255, 0.28);
}

.signup-logo > span:last-child {
    color: #1476ee;
}

.signup-panel {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 1680px;
    display: grid;
    grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: center;
    justify-self: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
    overflow: visible;
}

.signup-panel::before {
    display: none;
}

.signup-copy {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: auto;
    padding: 0 0 0 14px;
    color: #06173d;
    animation: none;
}

.signup-copy h1 {
    max-width: 560px;
    margin: 0;
    color: #06173d;
    font-size: clamp(54px, 5.8vw, 82px);
    line-height: 1.04;
    text-shadow: none;
}

.signup-copy i {
    width: 76px;
    height: 6px;
    display: block;
    margin: 34px 0 34px 8px;
    border-radius: 999px;
    background: #0d72f6;
    box-shadow: 0 8px 20px rgba(13, 114, 246, 0.2);
}

.signup-copy p {
    max-width: 570px;
    color: #10254c;
    font-size: clamp(20px, 1.65vw, 28px);
    line-height: 1.34;
    font-weight: 500;
}

.signup-benefits {
    gap: 22px;
    margin: 62px 0 0;
    color: #10254c;
    font-size: clamp(20px, 1.55vw, 27px);
    font-weight: 500;
}

.signup-benefits li {
    gap: 26px;
}

.signup-benefits span {
    width: 78px;
    height: 78px;
    background: rgba(255, 255, 255, 0.96);
    color: #0d72f6;
    box-shadow: 0 18px 36px rgba(28, 91, 164, 0.12);
}

.signup-benefits svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signup-form {
    grid-column: 2;
    width: min(100%, 830px);
    justify-self: center;
    display: grid;
    gap: 24px;
    padding: clamp(44px, 5vw, 68px);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.13);
    animation: none;
}

.signup-avatar {
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    justify-self: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #e9f2ff;
    color: #0d72f6;
}

.signup-avatar svg,
.signup-field > svg,
.signup-password-toggle svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signup-field {
    position: relative;
    display: grid;
    gap: 12px;
    color: #06173d;
}

.signup-field span {
    color: #06173d;
    font-size: 20px;
    font-weight: 950;
}

.signup-field > svg {
    position: absolute;
    left: 26px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    color: #7d8ba0;
    pointer-events: none;
}

.signup-field input {
    height: 74px;
    padding: 0 70px 0 82px;
    border: 1px solid #c9d4e2;
    border-radius: 10px;
    background: #ffffff;
    color: #06173d;
    box-shadow: none;
    font-size: 20px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.signup-field input::placeholder {
    color: #8491a6;
}

.signup-field input:focus-visible {
    transform: none;
    border-color: #0d72f6;
    box-shadow: 0 0 0 4px rgba(13, 114, 246, 0.13);
}

.signup-password-toggle {
    position: absolute;
    inset: auto 22px 17px auto;
    width: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7d8ba0;
    box-shadow: none;
}

.signup-password-toggle:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.signup-password-toggle svg {
    width: 28px !important;
    height: 28px !important;
}

.signup-submit {
    min-height: 72px;
    margin-top: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #087dff, #075dea);
    box-shadow: 0 18px 34px rgba(7, 102, 240, 0.24);
    font-size: 24px;
    font-weight: 950;
}

.signup-submit:hover {
    background: linear-gradient(135deg, #0874ed, #064ecb);
    box-shadow: 0 22px 40px rgba(7, 102, 240, 0.3);
    transform: translateY(-1px);
}

.signup-footer {
    grid-column: auto;
    color: #10254c;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.signup-footer a {
    color: #096df2;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.signup-panel .flash {
    grid-column: 2;
    width: min(100%, 830px);
    justify-self: center;
    margin-bottom: -28px;
    color: #102a56;
    background: #e9f7ef;
    border: 1px solid #bde8cd;
}

@keyframes signup-panel-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes signup-copy-in {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes signup-form-in {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes signup-sheen {
    0%, 58% {
        transform: translateX(-100%);
    }
    82%, 100% {
        transform: translateX(100%);
    }
}

.plan-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.plan-preview div {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft);
}

.plan-preview strong,
.plan-preview span {
    display: block;
}

.plan-preview span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.pricing-shell {
    width: min(100%, 1050px);
}

.pricing-head {
    margin-bottom: 18px;
    text-align: center;
}

.pricing-head p {
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 18px;
}

.pricing-card {
    display: grid;
    gap: 14px;
}

.pricing-card strong {
    color: var(--text);
    font-size: 36px;
    line-height: 1;
}

.pricing-card small {
    color: var(--muted);
    font-size: 13px;
}

.pricing-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.subscription-body {
    display: block;
    min-height: 100vh;
    padding: 0;
    color: #061753;
    background:
        radial-gradient(circle at 7% 17%, rgba(113, 169, 255, 0.34) 0 7%, transparent 7.2%),
        radial-gradient(circle at 97% 94%, rgba(85, 151, 255, 0.36) 0 9%, transparent 9.2%),
        radial-gradient(circle at 82% 2%, rgba(83, 147, 242, 0.22) 0 5%, transparent 5.2%),
        linear-gradient(145deg, #edf6ff 0%, #ffffff 38%, #d8ebff 100%);
    overflow-x: hidden;
}

.subscription-body::before,
.subscription-body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.subscription-body::before {
    inset: 78px auto auto 0;
    width: 260px;
    height: 260px;
    background-image: radial-gradient(circle, rgba(13, 114, 246, 0.14) 0 2px, transparent 2px);
    background-size: 18px 18px;
    mask-image: radial-gradient(circle, #000 0 58%, transparent 72%);
}

.subscription-body::after {
    right: -120px;
    bottom: -130px;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: inset 0 0 0 36px rgba(85, 151, 255, 0.08);
}

.subscription-topbar {
    position: relative;
    z-index: 1;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 clamp(26px, 5vw, 54px);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 34px rgba(30, 83, 154, 0.13);
    backdrop-filter: blur(14px);
}

.subscription-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #061753;
    text-decoration: none;
}

.subscription-brand span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #2a92ff, #0e63ef);
    color: #ffffff;
    font-size: 23px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(14, 99, 239, 0.26);
}

.subscription-brand strong {
    font-size: 23px;
    line-height: 1;
    font-weight: 950;
}

.subscription-secure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #075dea;
    font-size: 15px;
    font-weight: 900;
}

.subscription-secure svg,
.subscription-benefits svg,
.subscription-data svg,
.pricing-card svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.subscription-secure svg,
.subscription-data svg {
    width: 18px;
    height: 18px;
}

.subscription-body .pricing-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 44px, 1320px);
    margin: 0 auto;
    padding: 28px 0 28px;
}

.subscription-body .pricing-head {
    margin: 0 auto 24px;
    text-align: center;
}

.subscription-body .pricing-head h1 {
    margin: 0 0 10px;
    color: #061753;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: 0;
}

.subscription-body .pricing-head p {
    margin: 0;
    color: #0751b8;
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 500;
}

.subscription-body .pricing-head p strong,
.subscription-body .pricing-head p b {
    color: #061753;
}

.subscription-body .flash {
    width: min(100%, 890px);
    margin: 0 auto 26px;
    padding: 15px 22px;
    border: 1px solid rgba(25, 168, 115, 0.28);
    border-radius: 20px;
    background: rgba(237, 255, 249, 0.82);
    color: #08784e;
    box-shadow: 0 14px 30px rgba(24, 129, 88, 0.08);
    font-size: 16px;
    font-weight: 850;
}

.subscription-body .flash::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border-radius: 50%;
    background: #12966c;
    color: #ffffff;
    font-size: 13px;
}

.trial-later-card {
    width: min(100%, 890px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: -8px auto 26px;
    padding: 14px 18px;
    border: 1px solid rgba(13, 114, 246, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 34px rgba(30, 83, 154, 0.1);
}

.trial-later-card span {
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #075dea;
    font-size: 14px;
    font-weight: 950;
}

.trial-later-card strong {
    color: #061753;
    font-size: 15px;
    font-weight: 850;
}

.trial-later-card button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #075dea;
    border-radius: 10px;
    background: transparent;
    color: #075dea;
    box-shadow: none;
    font-size: 14px;
    font-weight: 950;
}

.trial-later-card button:hover {
    background: #075dea;
    color: #ffffff;
    transform: translateY(-1px);
}

.subscription-body .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.subscription-body .pricing-card {
    position: relative;
    min-height: 492px;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr auto;
    justify-items: center;
    gap: 14px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(130, 180, 245, 0.46);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 54px rgba(30, 83, 154, 0.12);
}

.subscription-body .pricing-card.or {
    border: 2px solid #087dff;
    box-shadow: 0 24px 60px rgba(7, 102, 240, 0.18);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    background: #087dff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(7, 102, 240, 0.26);
}

.plan-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf3ff;
    color: #087dff;
}

.plan-icon svg {
    width: 42px;
    height: 42px;
}

.pricing-card.bronze .plan-icon,
.pricing-card.bronze p {
    background: #fff0e9;
    color: #bd4b0c;
}

.pricing-card.or .plan-icon,
.pricing-card.or p {
    background: #fff4dd;
    color: #f0a000;
}

.pricing-card.entreprise .plan-icon,
.pricing-card.entreprise p {
    background: #f0eaff;
    color: #6d36e8;
}

.plan-name {
    color: #075dea;
    font-size: 23px;
    font-weight: 950;
}

.pricing-card.bronze .plan-name {
    color: #bd4b0c;
}

.pricing-card.or .plan-name {
    color: #f0a000;
}

.pricing-card.entreprise .plan-name {
    color: #6d36e8;
}

.subscription-body .pricing-card strong {
    color: #061753;
    font-size: 44px;
    line-height: 1;
    font-weight: 950;
}

.subscription-body .pricing-card small {
    margin-left: 4px;
    color: #061753;
    font-size: 14px;
    font-weight: 850;
}

.subscription-body .pricing-card p {
    margin: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #075dea;
    font-size: 14px;
    font-weight: 850;
}

.subscription-body .pricing-card ul {
    width: 100%;
    display: grid;
    gap: 10px;
    align-content: start;
    margin: 8px 0 12px;
    padding: 0 0 0 14px;
    color: #061753;
    font-size: 15px;
    font-weight: 750;
    list-style: none;
}

.subscription-body .pricing-card li {
    position: relative;
    padding-left: 30px;
}

.subscription-body .pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 2px solid #0d72f6;
    border-radius: 50%;
    color: #0d72f6;
    font-size: 12px;
    line-height: 1;
}

.subscription-body .pricing-card button {
    width: 100%;
    min-height: 50px;
    border: 2px solid currentColor;
    border-radius: 10px;
    background: transparent;
    color: #075dea;
    box-shadow: none;
    font-size: 16px;
    font-weight: 950;
}

.subscription-body .pricing-card.bronze button {
    color: #bd4b0c;
}

.subscription-body .pricing-card.entreprise button {
    color: #6d36e8;
}

.subscription-body .pricing-card.or button {
    border-color: transparent;
    background: linear-gradient(135deg, #1385ff, #075dea);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(7, 102, 240, 0.22);
}

.subscription-body .pricing-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(30, 83, 154, 0.16);
}

.subscription-benefits {
    width: min(100%, 1040px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 22px auto 16px;
    padding: 18px 24px;
    border: 1px solid rgba(130, 180, 245, 0.58);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 44px rgba(30, 83, 154, 0.1);
}

.subscription-benefits article {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    border-right: 1px solid rgba(13, 114, 246, 0.18);
}

.subscription-benefits article:last-child {
    border-right: 0;
}

.subscription-benefits svg {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: #075dea;
}

.subscription-benefits strong,
.subscription-benefits span {
    display: block;
}

.subscription-benefits strong {
    color: #061753;
    font-size: 15px;
    font-weight: 950;
}

.subscription-benefits span {
    margin-top: 4px;
    color: #075dea;
    font-size: 14px;
    font-weight: 650;
}

.subscription-data {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #075dea;
    font-size: 15px;
    font-weight: 800;
}

.subscription-body .center-action {
    margin-top: 14px;
}

.inline-admin-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.admin-body {
    min-height: 100vh;
    background: #eef2f7;
    color: #0f172a;
}

.admin-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    border-right: 1px solid #dbe3ef;
    background: #0f172a;
    color: #cbd5e1;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 8px 18px;
    color: #ffffff;
    text-decoration: none;
}

.admin-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: var(--primary);
    font-weight: 950;
}

.admin-brand strong,
.admin-brand em {
    display: block;
}

.admin-brand strong {
    font-size: 14px;
    line-height: 1.1;
}

.admin-brand em {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
    font-weight: 750;
}

.admin-nav {
    display: grid;
    gap: 5px;
}

.admin-nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #1e293b;
    color: #ffffff;
}

.admin-nav a.active {
    box-shadow: inset 3px 0 0 #60a5fa;
}

.admin-nav svg {
    width: 17px;
    height: 17px;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 14px 8px 2px;
    border-top: 1px solid rgba(203, 213, 225, 0.14);
}

.admin-sidebar-footer span,
.admin-sidebar-footer strong {
    display: block;
}

.admin-sidebar-footer span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-sidebar-footer strong {
    margin-top: 6px;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.admin-hero {
    max-width: 760px;
}

.admin-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-topbar h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.05;
    letter-spacing: 0;
}

.admin-topbar p {
    max-width: 680px;
    margin: 9px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.admin-session {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 330px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: none;
}

.admin-avatar,
.admin-user-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 950;
    box-shadow: none;
}

.admin-avatar {
    width: 42px;
    height: 42px;
    font-size: 13px;
}

.admin-session div {
    display: grid;
    gap: 3px;
    text-align: left;
}

.admin-session strong {
    color: #0f172a;
}

.admin-session span,
.admin-panel p,
.admin-stats small {
    color: #64748b;
    font-size: 13px;
}

.admin-main {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px 28px 42px;
}

.admin-flash {
    border-color: rgba(34, 197, 94, 0.42);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-stats article,
.admin-panel {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.admin-stats article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 14px;
    min-height: 104px;
}

.admin-stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #dbeafe;
}

.admin-stat-icon svg {
    width: 22px;
    height: 22px;
}

.admin-stat-icon.green { background: #ecfdf5; color: #059669; border-color: #bbf7d0; }
.admin-stat-icon.orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.admin-stat-icon.violet { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.admin-stat-icon.teal { background: #f0fdfa; color: #0f766e; border-color: #99f6e4; }

.admin-stats article > div {
    min-width: 0;
}

.admin-stats article > div > span {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.admin-stats strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
}

.admin-panel {
    margin-bottom: 14px;
    padding: 18px;
}

.admin-grid,
.admin-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 14px;
    align-items: stretch;
}

.admin-panel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.admin-panel h2 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.admin-panel p {
    margin: 6px 0 0;
}

.admin-create-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    align-items: end;
    gap: 12px;
}

.admin-create-form button {
    min-height: 46px;
}

.admin-attention-list {
    display: grid;
    gap: 10px;
}

.admin-attention-list a,
.admin-empty-compact {
    display: grid;
    gap: 4px;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
}

.admin-attention-list a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.admin-attention-list strong {
    color: #0f172a;
    font-size: 14px;
}

.admin-attention-list span,
.admin-empty-compact {
    color: #64748b;
    font-size: 13px;
}

.admin-attention-list em {
    width: fit-content;
    margin-top: 3px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.admin-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 1fr)) auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.admin-filters label {
    display: grid;
    gap: 7px;
}

.admin-filters label span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.admin-filters input,
.admin-filters select,
.admin-create-form input,
.admin-create-form select,
.inline-admin-form select {
    border-color: rgba(148, 163, 184, 0.22);
    background: #ffffff;
    color: #0f172a;
}

.admin-rules {
    display: grid;
    gap: 12px;
}

.admin-rules div {
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
}

.admin-rules strong,
.admin-rules span {
    display: block;
}

.admin-rules strong {
    color: #ffffff;
    font-size: 14px;
}

.admin-rules span {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 13px;
}

.admin-table-shell {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.admin-table {
    min-width: 1420px;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    color: #475569;
    padding: 13px 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-table td {
    padding: 13px 12px;
    border-bottom-color: #edf2f7;
    color: #334155;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.18s ease;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td strong {
    color: #0f172a;
}

.admin-table td > span:not(.badge):not(.admin-user-avatar):not(.admin-status-dot):not(.admin-date) {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.admin-user-list {
    display: grid;
    gap: 10px;
}

.admin-user-card {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(110px, 0.55fr) minmax(280px, 1fr) minmax(220px, 0.9fr) 104px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.admin-user-card:hover {
    border-color: #cbd5e1;
    background: #fbfdff;
}

.admin-user-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-user-main > div {
    min-width: 0;
}

.admin-user-main strong,
.admin-user-main em,
.admin-user-main small {
    display: block;
}

.admin-user-main strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-main em {
    margin-top: 3px;
    overflow: hidden;
    color: #475569;
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-main small {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.admin-user-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-user-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.admin-user-metrics span {
    min-height: 48px;
    display: grid;
    align-content: center;
    padding: 8px 9px;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
}

.admin-user-metrics strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
}

.admin-user-security {
    display: grid;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
}

.admin-user-manage {
    position: relative;
    justify-self: end;
}

.admin-user-manage summary {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    list-style: none;
}

.admin-user-manage summary::-webkit-details-marker {
    display: none;
}

.admin-user-manage[open] summary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.admin-user-manage[open] {
    z-index: 3;
}

.admin-user-manage[open] .inline-admin-form,
.admin-user-manage[open] .admin-row-actions {
    position: absolute;
    right: 0;
    width: 360px;
    padding: 12px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.admin-user-manage[open] .inline-admin-form {
    top: 44px;
    border-radius: 10px 10px 0 0;
}

.admin-user-manage[open] .admin-row-actions {
    top: 202px;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.admin-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 12px;
}

.admin-user-cell em {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}

.admin-user-cell small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.admin-activity {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 7px;
    min-width: 210px;
}

.admin-activity span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.admin-activity strong {
    grid-column: 1 / -1;
    margin-top: 4px;
    color: #0f172a;
    font-size: 18px;
}

.admin-status-dot {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 900;
}

.admin-status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.10);
}

.admin-status-dot.ok {
    color: #16a34a;
}

.admin-status-dot.wait {
    color: #d97706;
}

.admin-date {
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
}

.admin-row-actions {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-row-actions form {
    margin: 0;
}

.inline-admin-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(106px, 1fr));
    align-items: center;
    gap: 8px;
    margin: 0;
}

.inline-admin-form button {
    grid-column: 1 / -1;
}

.admin-self {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.team-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 16px;
    margin-bottom: 18px;
}

.team-summary {
    display: grid;
    gap: 16px;
}

.team-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.team-meter {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-soft);
}

.team-meter::before {
    content: "";
    display: block;
    width: var(--team-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--green));
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.team-stats div {
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 10px;
    background: var(--surface-soft);
}

.team-stats strong {
    color: var(--text);
    font-size: 26px;
}

.team-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.team-create-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.team-list {
    display: grid;
    gap: 10px;
}

.team-member {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) minmax(320px, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
}

.team-member-status {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.team-member-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
}

.landing-body {
    min-height: 100vh;
    background: #f7f9fc;
}

.landing-nav {
    width: min(1180px, calc(100% - 36px));
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
}

.landing-logo,
.landing-nav nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-logo {
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
}

.landing-logo > span:last-child span {
    color: var(--primary);
}

.landing-nav nav a {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.landing-hero {
    width: min(1180px, calc(100% - 36px));
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    align-items: center;
    gap: 52px;
    margin: 0 auto;
    padding: 28px 0 72px;
}

.landing-copy h1 {
    margin: 12px 0 16px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 0.95;
    letter-spacing: 0;
}

.landing-copy p {
    max-width: 560px;
    color: #475569;
    font-size: 18px;
}

.landing-kicker {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: var(--surface-blue);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.product-preview {
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.preview-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.preview-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.preview-top strong {
    margin-left: auto;
    color: #334155;
    font-size: 13px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.preview-grid div,
.preview-table p {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
}

.preview-grid small,
.preview-grid strong {
    display: block;
}

.preview-grid small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.preview-grid strong {
    margin-top: 8px;
    color: var(--text);
}

.preview-chart {
    height: 210px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff, #f8fafc);
}

.preview-chart i {
    flex: 1;
    min-height: 18px;
    border-radius: 9px 9px 3px 3px;
    background: var(--primary);
}

.preview-table {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.preview-table p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    color: #334155;
    font-size: 13px;
}

.landing-section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 56px 0;
}

.landing-section-title {
    margin-bottom: 22px;
}

.landing-section-title h2 {
    font-size: 28px;
}

.feature-grid,
.landing-pricing {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-grid div,
.landing-pricing div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.feature-grid strong,
.feature-grid span,
.landing-pricing strong,
.landing-pricing p {
    display: block;
}

.feature-grid span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.landing-pricing strong {
    margin-top: 16px;
    color: var(--text);
    font-size: 32px;
}

.landing-pricing p {
    margin: 10px 0 0;
    font-size: 13px;
}

/* Premium public landing */
.lp-body {
    min-height: 100vh;
    color: #111827;
    background:
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 8% 5%, rgba(37, 99, 235, 0.16), transparent 28%),
        radial-gradient(circle at 82% 4%, rgba(14, 165, 233, 0.13), transparent 30%),
        radial-gradient(circle at 52% 42%, rgba(16, 185, 129, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #f6f8fb 100%);
    background-size: 54px 54px, 54px 54px, auto, auto, auto;
    animation: lpGridDrift 18s linear infinite;
}

.lp-nav-wrap {
    position: sticky;
    top: 14px;
    z-index: 50;
    width: min(1160px, calc(100% - 32px));
    margin: 14px auto 0;
}

.lp-nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px 10px 18px;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(18px);
    animation: lpDropIn 0.7s ease both;
}

.lp-logo,
.lp-nav-links,
.lp-nav-menu,
.lp-hero-actions,
.lp-hero-trust,
.lp-dashboard-top,
.lp-card-head,
.lp-wide-header,
.lp-footer,
.lp-footer nav {
    display: flex;
    align-items: center;
}

.lp-logo {
    gap: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.lp-logo > span:last-child span {
    color: #2563eb;
}

.lp-logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.30);
}

.lp-logo-mark svg {
    width: 18px !important;
    height: 18px !important;
}

.lp-nav-links {
    gap: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.64);
}

.lp-nav-menu {
    flex: 1;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.lp-mobile-toggle {
    display: none;
}

.lp-nav a,
.lp-footer a {
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lp-nav a:hover,
.lp-footer a:hover {
    color: #2563eb;
}

.lp-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8 58%, #0f172a);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
    background-size: 180% 180%;
    animation: lpGradientShift 5s ease infinite;
}

.lp-btn-primary:hover {
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.32);
}

.lp-btn-primary.lp-btn-lg {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(37, 99, 235, 0.34);
}

.lp-btn-primary.lp-btn-lg::after {
    content: "";
    position: absolute;
    inset: -70% auto -70% -35%;
    width: 34%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    animation: lpCtaShine 4.2s ease-in-out infinite;
}

.lp-btn-secondary {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.86);
    border-color: #dbe5f2;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.lp-btn-lg {
    min-height: 50px;
    padding: 14px 22px;
    font-size: 14px;
}

.lp-hero {
    width: min(1160px, calc(100% - 32px));
    min-height: calc(100vh - 92px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    align-items: center;
    gap: 60px;
    margin: 0 auto;
    padding: 76px 0 88px;
}

.lp-pill,
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.lp-pill {
    padding: 8px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.92);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.lp-pill span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.lp-hero h1 {
    max-width: 760px;
    margin: 20px 0 18px;
    color: #111827;
    font-size: clamp(46px, 7vw, 78px);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: 0;
}

.lp-hero h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 8px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #22c55e);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.20);
}

.lp-hero-copy > p {
    max-width: 600px;
    margin-bottom: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.lp-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.lp-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.lp-hero-proof span::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #2563eb;
}

.lp-microcopy {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.lp-hero-copy > * {
    animation: lpRevealUp 0.72s ease both;
}

.lp-hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.lp-hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.lp-hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.lp-hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
.lp-hero-copy > *:nth-child(6) { animation-delay: 0.30s; }
.lp-hero-copy > *:nth-child(7) { animation-delay: 0.36s; }

.lp-hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.lp-hero-trust {
    gap: 28px;
    margin-top: 32px;
}

.lp-hero-trust div {
    display: grid;
    gap: 4px;
    min-width: 116px;
    padding: 14px 16px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.lp-hero-trust strong {
    color: #111827;
    font-size: 18px;
}

.lp-hero-trust span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.lp-hero-visual {
    position: relative;
    isolation: isolate;
}

.lp-hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% -7% -10% 7%;
    z-index: -1;
    border-radius: 44px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(14, 165, 233, 0.09)),
        radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.22), transparent 30%);
    filter: blur(8px);
}

.lp-dashboard,
.lp-product-wide {
    border: 1px solid rgba(203, 213, 225, 0.94);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.86));
    box-shadow: 0 38px 100px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(20px);
}

.lp-dashboard {
    position: relative;
    overflow: hidden;
    padding: 18px;
    animation: lpMockupEnter 0.9s ease 0.16s both, lpMockupBreathe 7s ease-in-out 1.1s infinite;
}

.lp-dashboard::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.lp-dashboard::before,
.lp-product-wide::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -45%;
    width: 42%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.60), transparent);
    animation: lpSheen 5.8s ease-in-out infinite;
    pointer-events: none;
}

.lp-product-wide {
    position: relative;
}

.lp-dashboard-top {
    justify-content: space-between;
    padding: 4px 4px 16px;
}

.lp-dashboard-top div {
    display: flex;
    gap: 7px;
}

.lp-dashboard-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.lp-dashboard-top strong,
.lp-card-head strong {
    color: #111827;
}

.lp-dashboard-top em,
.lp-card-head span {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.lp-dashboard-stats {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-dashboard-stats article,
.lp-chart-card,
.lp-list-card,
.lp-wide-grid article,
.lp-wide-table {
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.lp-dashboard-stats article:hover,
.lp-chart-card:hover,
.lp-list-card:hover,
.lp-wide-grid article:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

.lp-dashboard-stats article {
    padding: 16px;
}

.lp-dashboard-stats span,
.lp-dashboard-stats small,
.lp-wide-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.lp-dashboard-stats strong,
.lp-wide-grid strong {
    display: block;
    margin: 8px 0 5px;
    color: #111827;
    font-size: 24px;
}

.lp-dashboard-main {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 12px;
}

.lp-chart-card,
.lp-list-card {
    padding: 16px;
}

.lp-card-head {
    justify-content: space-between;
    margin-bottom: 18px;
}

.lp-bars {
    height: 220px;
    display: flex;
    align-items: end;
    gap: 13px;
    padding: 18px;
    border-radius: 16px;
    background:
        linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #f8fbff, #f1f5f9);
    background-size: 100% 25%, 42px 100%, auto;
}

.lp-bars i {
    flex: 1;
    min-height: 26px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    transform-origin: bottom;
    animation: lpBarGrow 0.95s cubic-bezier(.2,.8,.2,1) both;
}

.lp-bars i:nth-child(2) { animation-delay: 0.08s; }
.lp-bars i:nth-child(3) { animation-delay: 0.16s; }
.lp-bars i:nth-child(4) { animation-delay: 0.24s; }
.lp-bars i:nth-child(5) { animation-delay: 0.32s; }
.lp-bars i:nth-child(6) { animation-delay: 0.40s; }

.lp-list-card p,
.lp-wide-table p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    color: #475569;
    font-size: 13px;
    animation: lpSoftPulse 4.8s ease-in-out infinite;
}

.lp-list-card p:nth-child(3),
.lp-wide-table p:nth-child(3) { animation-delay: 0.6s; }
.lp-list-card p:nth-child(4),
.lp-wide-table p:nth-child(4) { animation-delay: 1.2s; }

.lp-list-card p:last-child,
.lp-wide-table p:last-child {
    border-bottom: 0;
}

.lp-list-card b,
.lp-wide-table em {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
}

.ok { background: #dcfce7; color: #15803d; }
.wait { background: #ffedd5; color: #c2410c; }
.late { background: #fee2e2; color: #b91c1c; }

.lp-float-card {
    position: absolute;
    z-index: 2;
    width: 168px;
    padding: 14px;
    border: 1px solid rgba(219, 229, 242, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    animation: lpFloat 5s ease-in-out infinite;
}

.lp-offer-card {
    position: absolute;
    z-index: 3;
    left: 28px;
    top: -28px;
    width: 220px;
    padding: 16px;
    border: 1px solid rgba(187, 247, 208, 0.95);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.92));
    box-shadow: 0 24px 58px rgba(22, 163, 74, 0.16);
    backdrop-filter: blur(16px);
    animation: lpFloat 5.6s ease-in-out infinite;
}

.lp-offer-card span,
.lp-offer-card small {
    display: block;
    color: #15803d;
    font-size: 12px;
    font-weight: 900;
}

.lp-offer-card strong {
    display: block;
    margin: 6px 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.05;
}

.lp-float-left {
    left: -32px;
    bottom: 54px;
}

.lp-float-right {
    right: -26px;
    top: 70px;
    animation-delay: -1.8s;
}

.lp-float-card span,
.lp-float-card small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.lp-float-card strong {
    display: block;
    margin: 6px 0;
    color: #111827;
    font-size: 24px;
}

@keyframes lpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.lp-live-feed {
    width: min(100%, 520px);
    display: flex;
    gap: 8px;
    margin-top: 20px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lp-live-feed span {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #334155;
    font-size: 12px;
    font-weight: 850;
    animation: lpFeedMove 8s linear infinite;
}

.lp-section,
.lp-final-cta,
.lp-footer {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.lp-section {
    padding: 88px 0;
}

.lp-section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.lp-section-head .lp-eyebrow {
    padding: 7px 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.70);
}

.lp-section-head h2,
.lp-final-cta h2 {
    margin: 10px 0 12px;
    color: #111827;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.05;
    font-weight: 950;
}

.lp-section-head p,
.lp-final-cta p {
    max-width: 670px;
    color: #64748b;
    font-size: 16px;
}

.lp-logo-cloud {
    overflow: hidden;
    padding: 28px 0 68px;
}

.lp-marquee {
    display: flex;
    gap: 12px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-marquee div {
    min-width: max-content;
    display: flex;
    gap: 12px;
    animation: lpMarquee 24s linear infinite;
}

.lp-logo-cloud span {
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 0 22px;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.lp-feature-grid,
.lp-pricing-grid,
.lp-testimonials {
    display: grid;
    gap: 18px;
}

.lp-feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.lp-feature-grid article,
.lp-pricing-grid article,
.lp-testimonials article,
.lp-workflow-grid article {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    animation: lpRevealUp 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
}

.lp-feature-grid article::before,
.lp-pricing-grid article::before,
.lp-workflow-grid article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #22c55e);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.lp-feature-grid article {
    padding: 24px;
}

.lp-feature-grid article:hover,
.lp-pricing-grid article:hover,
.lp-testimonials article:hover,
.lp-workflow-grid article:hover {
    border-color: #bfdbfe;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.10);
    transform: translateY(-5px);
}

.lp-feature-grid article:hover::before,
.lp-pricing-grid article:hover::before,
.lp-workflow-grid article:hover::before {
    opacity: 1;
}

.lp-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff, #dbeafe);
    color: #2563eb;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.14);
}

.lp-icon svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.9;
}

.lp-icon.invoice {
    border-color: rgba(14, 165, 233, 0.18);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0284c7;
}

.lp-icon.payment {
    border-color: rgba(22, 163, 74, 0.18);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #15803d;
}

.lp-icon.pdf {
    border-color: rgba(220, 38, 38, 0.16);
    background: linear-gradient(135deg, #fff7ed, #fee2e2);
    color: #dc2626;
}

.lp-icon.analytics {
    border-color: rgba(124, 58, 237, 0.18);
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    color: #7c3aed;
}

.lp-icon.clients {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    color: #0f766e;
}

.lp-feature-grid h3,
.lp-testimonials strong {
    margin: 0 0 9px;
    color: #111827;
}

.lp-feature-grid p,
.lp-testimonials p,
.lp-testimonials span {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.lp-product-wide {
    display: grid;
    grid-template-columns: 210px 1fr;
    overflow: hidden;
    animation: lpRevealUp 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.lp-product-wide aside {
    padding: 26px;
    background:
        radial-gradient(circle at 20% 0%, rgba(96, 165, 250, 0.30), transparent 36%),
        linear-gradient(180deg, #0f172a, #111827);
    color: #ffffff;
}

.lp-product-wide aside strong {
    display: block;
    margin-bottom: 28px;
}

.lp-product-wide aside span {
    display: block;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.10);
}

.lp-product-wide aside span.active {
    background: #2563eb;
}

.lp-product-wide > div {
    padding: 26px;
}

.lp-wide-header {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.lp-wide-header h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.lp-wide-header p {
    margin: 0;
    font-size: 13px;
}

.lp-wide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.lp-wide-grid article {
    padding: 18px;
}

.lp-wide-table {
    padding: 8px 18px;
}

.lp-wide-table p {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 0.7fr;
}

.lp-pricing-grid {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    align-items: stretch;
    gap: 16px;
}

.lp-pricing-grid article {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.lp-pricing-grid article.featured {
    border-color: #93c5fd;
    background:
        radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.14), transparent 28%),
        linear-gradient(180deg, #ffffff, #eff6ff);
    box-shadow: 0 28px 74px rgba(37, 99, 235, 0.18);
    transform: translateY(-10px);
}

.lp-pricing-grid article:first-child {
    border-color: #bbf7d0;
    background:
        radial-gradient(circle at 90% 0%, rgba(34, 197, 94, 0.14), transparent 28%),
        rgba(255, 255, 255, 0.88);
}

.lp-best {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.lp-plan {
    color: #2563eb;
    font-size: 13px;
    font-weight: 950;
}

.lp-pricing-grid h3 {
    margin: 0;
    color: #111827;
    font-size: 44px;
}

.annual-discount {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    font-weight: 750;
}

.annual-discount strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.annual-price {
    width: fit-content;
    display: inline-flex;
    margin-top: -6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
}

.lp-pricing-grid small {
    color: #64748b;
    font-size: 15px;
}

.lp-pricing-grid p {
    margin: 0;
    color: #64748b;
}

.lp-pricing-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #334155;
    font-size: 14px;
}

.lp-pricing-grid li::before {
    content: "✓";
    margin-right: 8px;
    color: #16a34a;
    font-weight: 950;
}

.pricing-page-hero {
    padding-top: 150px;
}

.pricing-page-hero .lp-section-head {
    max-width: 920px;
}

.pricing-page-hero h1 {
    margin: 0 0 22px;
    max-width: 960px;
    color: #111827;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
}

.pricing-page-faq {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 42px;
    align-items: start;
    padding-top: 54px;
}

.pricing-page-faq .lp-section-head {
    position: sticky;
    top: 112px;
    max-width: none;
    margin: 0;
    padding-left: 22px;
    border-left: 4px solid #2563eb;
    text-align: left;
}

.pricing-page-faq .lp-section-head h2 {
    font-size: clamp(30px, 3.4vw, 44px);
}

.pricing-page-faq .lp-section-head p {
    max-width: 390px;
}

.lp-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    counter-reset: faq;
}

.lp-faq-grid details {
    counter-increment: faq;
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-faq-grid details[open] {
    border-color: rgba(37, 99, 235, 0.36);
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.09);
}

.lp-faq-grid summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 20px 22px;
    color: #111827;
    cursor: pointer;
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 950;
    line-height: 1.25;
    list-style: none;
}

.lp-faq-grid summary::-webkit-details-marker {
    display: none;
}

.lp-faq-grid summary::before {
    content: counter(faq, decimal-leading-zero);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
}

.lp-faq-grid summary::after {
    content: "+";
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 12px;
    background: #ffffff;
    color: #2563eb;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lp-faq-grid details[open] summary::after {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: rotate(45deg);
}

.lp-faq-grid p {
    margin: -4px 74px 22px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .pricing-page-faq {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 36px;
    }

    .pricing-page-faq .lp-section-head {
        position: static;
        padding-left: 16px;
    }

    .lp-faq-grid summary {
        padding: 16px;
        gap: 10px;
    }

    .lp-faq-grid summary::before,
    .lp-faq-grid summary::after {
        width: 32px;
        height: 32px;
    }

    .lp-faq-grid p {
        margin: -2px 16px 18px 58px;
    }
}

.lp-testimonials {
    grid-template-columns: repeat(3, 1fr);
}

.lp-workflow-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-workflow-grid::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bfdbfe, transparent);
}

.lp-workflow-grid article {
    min-height: 280px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
}

.lp-step {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.lp-workflow-grid strong {
    display: block;
    margin-bottom: 12px;
    color: #111827;
    font-size: 19px;
}

.lp-workflow-grid p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.lp-workflow-grid span {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.lp-testimonials article {
    padding: 24px;
}

.lp-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.lp-testimonials p {
    min-height: 92px;
    margin-bottom: 16px;
    color: #334155;
    font-size: 15px;
}

.lp-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding: 42px;
    border: 1px solid #bfdbfe;
    border-radius: 32px;
    background:
        radial-gradient(circle at 88% 18%, rgba(34, 197, 94, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(14, 165, 233, 0.08)),
        #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
    animation: lpRevealUp 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
}

.lp-final-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.lp-footer {
    justify-content: space-between;
    gap: 18px;
    padding: 42px 0 54px;
    color: #64748b;
}

.lp-footer nav {
    gap: 18px;
}

.lp-footer p {
    margin: 0;
    font-size: 13px;
}

/* Distinctive home refresh */
.lp-body {
    color: #172033;
    background:
        linear-gradient(154deg, transparent 0 58%, rgba(23, 32, 51, 0.055) 58% 58.5%, transparent 58.5%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(115deg, rgba(255, 255, 255, 0.82) 0 39%, transparent 39%),
        radial-gradient(circle at 14% 16%, rgba(245, 158, 11, 0.15), transparent 24%),
        radial-gradient(circle at 82% 22%, rgba(20, 184, 166, 0.16), transparent 25%),
        linear-gradient(135deg, #f7fbff 0%, #eef6f2 48%, #f8f3ea 100%);
    background-size: auto, 74px 74px, 74px 74px, auto, auto, auto, auto;
    animation: none;
}

.lp-nav {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 50px rgba(35, 45, 72, 0.12);
}

.lp-logo-mark {
    background: #172033;
    box-shadow: 0 12px 24px rgba(23, 32, 51, 0.18);
}

.lp-logo > span:last-child span,
.lp-nav a:hover,
.lp-footer a:hover {
    color: #0f766e;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #172033, #1f3a5f 54%, #0f766e);
    box-shadow: 0 16px 34px rgba(23, 32, 51, 0.20);
    animation: none;
}

.lp-btn-primary:hover {
    box-shadow: 0 22px 44px rgba(23, 32, 51, 0.28);
}

.lp-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
    gap: 54px;
    padding-top: 68px;
    align-items: end;
}

.lp-pill,
.lp-eyebrow {
    color: #0f766e;
}

.lp-pill {
    border-color: rgba(15, 118, 110, 0.20);
    background: rgba(240, 253, 250, 0.82);
}

.lp-pill span {
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.15);
}

.lp-hero h1 {
    color: #172033;
    font-size: clamp(44px, 6.4vw, 74px);
    line-height: 0.98;
}

.lp-hero h1::after {
    width: 128px;
    height: 7px;
    background: linear-gradient(90deg, #172033, #0f766e 58%, #f59e0b);
}

.lp-hero-copy > p {
    color: #41516b;
}

.lp-hero-proof span {
    border-color: rgba(23, 32, 51, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.lp-hero-proof span::before {
    background: #0f766e;
}

.lp-hero-trust {
    gap: 12px;
}

.lp-hero-trust div {
    min-width: 132px;
    border-radius: 14px;
    border-color: rgba(23, 32, 51, 0.10);
    background: rgba(255, 255, 255, 0.72);
}

.lp-live-feed span {
    border-color: rgba(15, 118, 110, 0.18);
    border-radius: 12px;
}

.lp-context-card {
    width: min(100%, 460px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid #f59e0b;
    border-radius: 0 18px 18px 0;
    background: rgba(255, 251, 235, 0.74);
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.08);
}

.lp-context-card strong {
    color: #172033;
    font-size: 22px;
    line-height: 1;
}

.lp-context-card span {
    color: #52627a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.lp-hero-visual::before {
    inset: 8% -3% -7% 8%;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.22), rgba(245, 158, 11, 0.12)),
        radial-gradient(circle at 70% 14%, rgba(23, 32, 51, 0.20), transparent 34%);
    filter: blur(4px);
}

.lp-desk {
    position: relative;
    min-height: 640px;
    padding: 82px 38px 38px;
    border: 1px solid rgba(23, 32, 51, 0.10);
    border-radius: 10px 34px 34px 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.80)),
        repeating-linear-gradient(90deg, rgba(23, 32, 51, 0.035) 0 1px, transparent 1px 28px);
    box-shadow: 0 38px 100px rgba(23, 32, 51, 0.16);
    overflow: hidden;
    animation: lpMockupEnter 0.9s ease 0.16s both, lpMockupBreathe 7s ease-in-out 1.1s infinite;
}

.lp-desk::before {
    content: "";
    position: absolute;
    inset: auto 34px 34px 34px;
    height: 118px;
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(23, 32, 51, 0.08), transparent),
        linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(15, 118, 110, 0.10));
}

.lp-desk::after {
    content: "Devisexpress workspace";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid rgba(23, 32, 51, 0.08);
    background: rgba(23, 32, 51, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.lp-client-thread {
    position: absolute;
    top: 15px;
    right: 18px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.lp-client-thread span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 900;
}

.lp-client-thread span:last-child {
    background: #f59e0b;
    color: #172033;
}

.lp-document {
    position: relative;
    z-index: 1;
    width: min(430px, 78%);
    min-height: 520px;
    padding: 30px;
    border: 1px solid rgba(23, 32, 51, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(23, 32, 51, 0.14);
    transform: rotate(-2deg);
}

.lp-doc-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf4;
}

.lp-doc-head span,
.lp-doc-row span,
.lp-doc-total span,
.lp-side-panel span,
.lp-note-card span,
.lp-note-card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.lp-doc-head strong {
    color: #172033;
    font-size: 15px;
}

.lp-doc-lines {
    display: grid;
    gap: 13px;
    margin-bottom: 34px;
}

.lp-doc-lines i {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #edf3f7;
}

.lp-doc-lines i:nth-child(1) { width: 78%; }
.lp-doc-lines i:nth-child(2) { width: 92%; }
.lp-doc-lines i:nth-child(3) { width: 54%; }

.lp-doc-row,
.lp-doc-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.lp-doc-row {
    padding: 16px 0;
    border-bottom: 1px solid #edf3f7;
}

.lp-doc-row strong {
    color: #172033;
}

.lp-doc-total {
    align-items: center;
    margin-top: 28px;
    padding: 20px;
    border-radius: 16px;
    background: #f0fdfa;
}

.lp-doc-total strong {
    color: #0f766e;
    font-size: 28px;
}

.lp-side-panel {
    position: absolute;
    top: 74px;
    right: 28px;
    z-index: 2;
    width: 230px;
    display: grid;
    gap: 12px;
}

.lp-side-panel div,
.lp-note-card {
    border: 1px solid rgba(23, 32, 51, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 48px rgba(23, 32, 51, 0.12);
    backdrop-filter: blur(16px);
}

.lp-side-panel div {
    display: grid;
    gap: 5px;
    padding: 15px;
}

.lp-side-panel strong {
    color: #172033;
    font-size: 15px;
}

.lp-note-card {
    position: absolute;
    z-index: 3;
    right: 44px;
    bottom: 82px;
    width: 210px;
    padding: 18px;
    animation: lpFloat 5s ease-in-out infinite;
}

.lp-note-card strong {
    display: block;
    margin: 7px 0;
    color: #172033;
    font-size: 30px;
}

.lp-mini-ledger {
    position: absolute;
    left: 52px;
    bottom: 36px;
    z-index: 3;
    width: 220px;
    padding: 12px 16px;
    border: 1px solid rgba(23, 32, 51, 0.10);
    border-radius: 16px;
    background: rgba(23, 32, 51, 0.92);
    box-shadow: 0 24px 54px rgba(23, 32, 51, 0.20);
}

.lp-mini-ledger p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 850;
}

.lp-mini-ledger p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-mini-ledger strong {
    color: #ffffff;
}

.lp-stamp {
    position: absolute;
    left: 80px;
    bottom: 134px;
    z-index: 2;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(245, 158, 11, 0.72);
    border-radius: 999px;
    color: #b45309;
    font-size: 23px;
    font-weight: 950;
    transform: rotate(-13deg);
    background: rgba(255, 251, 235, 0.70);
}

.lp-situations {
    display: grid;
    grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 70px;
}

.lp-situation-head {
    position: sticky;
    top: 110px;
    align-self: start;
    padding: 24px 0;
}

.lp-situation-head span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 950;
}

.lp-situation-head strong {
    display: block;
    color: #172033;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.02;
    font-weight: 950;
}

.lp-situation-grid {
    display: grid;
    gap: 14px;
}

.lp-situation-grid article {
    position: relative;
    min-height: 160px;
    display: grid;
    align-content: center;
    padding: 26px 30px 26px 96px;
    border: 1px solid rgba(23, 32, 51, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.07);
}

.lp-situation-grid article::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 42px;
    border-radius: 999px;
    background:
        linear-gradient(#172033 0 0) center 16px / 10px 10px no-repeat,
        linear-gradient(#0f766e 0 0) center / 2px 100% no-repeat,
        #f0fdfa;
}

.lp-situation-grid article:nth-child(2)::before {
    background:
        linear-gradient(#172033 0 0) center 16px / 10px 10px no-repeat,
        linear-gradient(#f59e0b 0 0) center / 2px 100% no-repeat,
        #fffbeb;
}

.lp-situation-grid article:nth-child(3)::before {
    background:
        linear-gradient(#ffffff 0 0) center 16px / 10px 10px no-repeat,
        linear-gradient(#f59e0b 0 0) center / 2px 100% no-repeat,
        #172033;
}

.lp-situation-grid span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 950;
}

.lp-situation-grid strong {
    display: block;
    max-width: 620px;
    margin: 8px 0;
    color: #172033;
    font-size: 24px;
    line-height: 1.15;
}

.lp-situation-grid p {
    max-width: 620px;
    margin: 0;
    color: #52627a;
    font-size: 14px;
}

.lp-section-head .lp-eyebrow {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(240, 253, 250, 0.72);
}

.lp-section-head h2,
.lp-final-cta h2 {
    color: #172033;
}

.lp-section-head p,
.lp-final-cta p,
.lp-feature-grid p,
.lp-testimonials p,
.lp-testimonials span {
    color: #52627a;
}

.lp-feature-grid article,
.lp-pricing-grid article,
.lp-testimonials article,
.lp-workflow-grid article,
.lp-faq-grid article {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.lp-feature-grid article::before,
.lp-pricing-grid article::before,
.lp-workflow-grid article::before {
    background: linear-gradient(90deg, #172033, #0f766e, #f59e0b);
}

.lp-icon {
    border-radius: 14px;
}

.lp-product-wide,
.lp-dashboard {
    border-radius: 22px;
}

.lp-product-wide aside {
    background:
        radial-gradient(circle at 20% 0%, rgba(20, 184, 166, 0.30), transparent 36%),
        linear-gradient(180deg, #172033, #25324a);
}

.lp-workflow-grid::before {
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.36), transparent);
}

.lp-step {
    border-radius: 14px;
    background: #172033;
}

.lp-workflow-grid span {
    border-radius: 12px;
    background: #f0fdfa;
    color: #0f766e;
}

.lp-final-cta {
    border-color: rgba(15, 118, 110, 0.22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(23, 32, 51, 0.06)),
        #ffffff;
}

/* Acquisition landing, inspired by modern French fintech campaign pages */
.lp-body {
    color: #10221e;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 196, 87, 0.48), transparent 24%),
        radial-gradient(circle at 20% 12%, rgba(168, 234, 205, 0.58), transparent 28%),
        linear-gradient(180deg, #f2fbf5 0%, #fff8e7 48%, #f7fbf3 100%);
}

.lp-nav-wrap {
    width: min(1180px, calc(100% - 32px));
}

.lp-nav {
    border: 1px solid rgba(16, 34, 30, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 36px rgba(16, 34, 30, 0.08);
}

.lp-logo-mark {
    border-radius: 999px;
    background: #0f6b4f;
    box-shadow: none;
}

.lp-logo > span:last-child span,
.lp-nav a:hover,
.lp-footer a:hover {
    color: #0f6b4f;
}

.lp-btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
}

.lp-btn-primary {
    color: #ffffff !important;
    background: #10221e;
    box-shadow: 0 16px 32px rgba(16, 34, 30, 0.18);
}

.lp-btn-primary:hover {
    background: #0f6b4f;
    box-shadow: 0 18px 40px rgba(15, 107, 79, 0.24);
}

.lp-btn-secondary {
    color: #10221e !important;
    border-color: rgba(16, 34, 30, 0.12);
    background: rgba(255, 255, 255, 0.78);
}

.lp-campaign-hero {
    width: min(1180px, calc(100% - 32px));
    min-height: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 42px;
    padding: 76px 0 54px;
}

.lp-campaign-hero::before {
    content: "";
    position: absolute;
    left: max(16px, calc((100vw - 1180px) / 2));
    right: max(16px, calc((100vw - 1180px) / 2));
    top: 112px;
    height: min(690px, calc(100vh - 120px));
    z-index: -1;
    border-radius: 34px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 210, 110, 0.78), transparent 24%),
        linear-gradient(135deg, #dcf8e9 0%, #fff4c7 100%);
}

.lp-pill {
    min-height: 38px;
    padding: 9px 14px;
    border-color: rgba(15, 107, 79, 0.18);
    background: #ffffff;
    color: #0f6b4f;
    box-shadow: none;
}

.lp-pill span {
    background: #ffbd38;
    box-shadow: 0 0 0 5px rgba(255, 189, 56, 0.18);
}

.lp-hero h1 {
    max-width: 620px;
    margin-top: 22px;
    color: #10221e;
    font-size: clamp(46px, 6.4vw, 82px);
    line-height: 0.96;
}

.lp-hero h1::after {
    display: none;
}

.lp-hero-copy > p {
    max-width: 560px;
    color: #31524a;
    font-size: 18px;
    line-height: 1.65;
}

.lp-hero-proof {
    gap: 8px;
}

.lp-hero-proof span {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #10221e;
    box-shadow: none;
}

.lp-hero-proof span::before {
    background: #0f6b4f;
}

.lp-microcopy {
    color: #31524a;
}

.lp-hero-visual::before {
    display: none;
}

.lp-campaign-card {
    position: relative;
    min-height: 600px;
    display: grid;
    align-items: end;
}

.lp-campaign-card::before {
    content: "";
    position: absolute;
    inset: 54px 18px 18px 86px;
    border-radius: 40px;
    background: #0f6b4f;
    transform: rotate(4deg);
    box-shadow: 0 30px 70px rgba(16, 34, 30, 0.16);
}

.lp-app-window {
    position: relative;
    z-index: 1;
    width: min(100%, 610px);
    margin-left: auto;
    padding: 22px;
    border: 1px solid rgba(16, 34, 30, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 34px 90px rgba(16, 34, 30, 0.18);
    animation: lpMockupEnter 0.8s ease both;
}

.lp-app-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 6px 4px 18px;
    border-bottom: 1px solid #e6eee8;
}

.lp-app-top strong {
    color: #10221e;
    font-size: 20px;
}

.lp-app-top span {
    color: #70857d;
    font-size: 13px;
    font-weight: 850;
}

.lp-app-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.lp-app-stats article {
    min-height: 126px;
    display: grid;
    align-content: end;
    padding: 18px;
    border-radius: 18px;
    background: #f3fbf6;
}

.lp-app-stats article:nth-child(2) {
    background: #fff8df;
}

.lp-app-stats article:nth-child(3) {
    background: #eef7ff;
}

.lp-app-stats span,
.lp-app-table b {
    color: #70857d;
    font-size: 12px;
    font-weight: 900;
}

.lp-app-stats strong {
    margin-top: 8px;
    color: #10221e;
    font-size: 30px;
}

.lp-app-table {
    display: grid;
    gap: 0;
    padding: 10px 16px;
    border: 1px solid #e6eee8;
    border-radius: 18px;
    background: #ffffff;
}

.lp-app-table p {
    display: grid;
    grid-template-columns: 0.85fr 1.2fr 0.7fr;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #eef3ef;
    color: #31524a;
    font-size: 13px;
}

.lp-app-table p:last-child {
    border-bottom: 0;
}

.lp-app-table em {
    justify-self: end;
    padding: 6px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
}

.lp-offer-bubble {
    position: absolute;
    top: 26px;
    left: 20px;
    z-index: 2;
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 20px;
    border-radius: 999px;
    background: #ffbd38;
    color: #10221e;
    box-shadow: 0 24px 54px rgba(128, 86, 0, 0.18);
    transform: rotate(-8deg);
    text-align: center;
}

.lp-offer-bubble span,
.lp-offer-bubble small {
    font-size: 12px;
    font-weight: 950;
}

.lp-offer-bubble strong {
    font-size: 56px;
    line-height: 0.92;
    font-weight: 950;
}

.lp-benefit-band {
    width: min(1180px, calc(100% - 32px));
    padding: 34px 0 74px;
}

.lp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-benefit-grid article {
    min-height: 260px;
    display: grid;
    align-content: space-between;
    padding: 26px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(16, 34, 30, 0.08);
}

.lp-benefit-grid article:nth-child(2) {
    background: #10221e;
}

.lp-benefit-grid article:nth-child(2) strong,
.lp-benefit-grid article:nth-child(2) p {
    color: #ffffff;
}

.lp-benefit-grid span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #dcf8e9;
    color: #0f6b4f;
    font-weight: 950;
}

.lp-benefit-grid article:nth-child(2) span {
    background: #ffbd38;
    color: #10221e;
}

.lp-benefit-grid strong {
    display: block;
    margin: 40px 0 10px;
    color: #10221e;
    font-size: 24px;
    line-height: 1.15;
}

.lp-benefit-grid p {
    margin: 0;
    color: #516861;
    font-size: 14px;
}

.lp-section {
    width: min(1180px, calc(100% - 32px));
}

.lp-section-head {
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.lp-section-head .lp-eyebrow {
    border-color: transparent;
    background: #dcf8e9;
    color: #0f6b4f;
}

.lp-section-head h2,
.lp-final-cta h2 {
    color: #10221e;
}

.lp-feature-grid article,
.lp-workflow-grid article,
.lp-product-wide,
.lp-final-cta {
    border-radius: 28px;
}

/* Blue photo landing refresh */
.lp-body {
    color: #102033;
    background:
        radial-gradient(circle at 86% 10%, rgba(96, 165, 250, 0.34), transparent 24%),
        radial-gradient(circle at 12% 14%, rgba(219, 234, 254, 0.88), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f8fbff 100%);
}

.lp-logo-mark {
    background: #2563eb;
}

.lp-logo > span:last-child span,
.lp-nav a:hover,
.lp-footer a:hover,
.lp-pill,
.lp-eyebrow {
    color: #2563eb;
}

.lp-btn-primary {
    background: #2563eb;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.lp-btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.lp-campaign-hero::before {
    background:
        radial-gradient(circle at 78% 18%, rgba(147, 197, 253, 0.72), transparent 25%),
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 58%, #ffffff 100%);
}

.lp-pill {
    border-color: rgba(37, 99, 235, 0.16);
}

.lp-pill span,
.lp-offer-bubble {
    background: #2563eb;
    color: #ffffff;
}

.lp-pill span {
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.14);
}

.lp-hero h1 {
    color: #102033;
}

.lp-hero-copy > p,
.lp-microcopy {
    color: #475569;
}

.lp-hero-proof span::before {
    background: #2563eb;
}

.lp-campaign-card {
    min-height: 620px;
    align-items: stretch;
}

.lp-campaign-card::before {
    inset: 34px 10px 18px 70px;
    background: #1d4ed8;
    transform: rotate(3deg);
}

.lp-hero-photo {
    position: absolute;
    inset: 0 34px 72px 0;
    z-index: 1;
    width: calc(100% - 34px);
    height: calc(100% - 72px);
    object-fit: cover;
    object-position: center;
    border-radius: 32px;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18);
}

.lp-hero-photo::selection {
    background: transparent;
}

.lp-campaign-card .lp-app-window {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: min(520px, 82%);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.lp-offer-bubble {
    top: 28px;
    left: 26px;
    z-index: 4;
    box-shadow: 0 24px 54px rgba(37, 99, 235, 0.26);
}

.lp-app-stats article {
    background: #eff6ff;
}

.lp-app-stats article:nth-child(2) {
    background: #ecfeff;
}

.lp-app-stats article:nth-child(3) {
    background: #f8fafc;
}

.lp-app-stats strong,
.lp-app-top strong {
    color: #102033;
}

.lp-photo-proof {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
    padding: 58px 0 44px;
}

.lp-photo-proof-media {
    position: relative;
    min-height: 440px;
}

.lp-photo-proof-media::before {
    content: "";
    position: absolute;
    inset: 42px -18px -18px 42px;
    border-radius: 30px;
    background: #2563eb;
}

.lp-photo-proof-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.lp-photo-proof-copy {
    padding: 18px 0 18px 28px;
}

.lp-photo-proof-copy h2 {
    margin: 12px 0 16px;
    color: #102033;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.02;
    font-weight: 950;
}

.lp-photo-proof-copy p {
    max-width: 560px;
    color: #475569;
    font-size: 16px;
}

.lp-proof-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.lp-proof-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #102033;
    font-size: 14px;
    font-weight: 900;
}

.lp-proof-list span::before {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 5px #dbeafe;
}

.lp-benefit-grid article:nth-child(2) {
    background: #1e3a8a;
}

.lp-benefit-grid span,
.lp-section-head .lp-eyebrow {
    background: #dbeafe;
    color: #2563eb;
}

.lp-benefit-grid article:nth-child(2) span {
    background: #93c5fd;
    color: #102033;
}

.lp-feature-grid article::before,
.lp-pricing-grid article::before,
.lp-workflow-grid article::before {
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #22c55e);
}

.lp-product-wide aside,
.lp-step {
    background: #1e3a8a;
}

.lp-workflow-grid span {
    background: #dbeafe;
    color: #1d4ed8;
}

.lp-final-cta {
    border-color: #bfdbfe;
    background:
        radial-gradient(circle at 88% 18%, rgba(147, 197, 253, 0.32), transparent 28%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(14, 165, 233, 0.07)),
        #ffffff;
}

/* Tighter marketing rhythm */
.lp-section {
    padding: 62px 0;
}

.lp-section-head {
    margin-bottom: 22px;
}

.lp-section-head h2,
.lp-final-cta h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.08;
}

.lp-section-head p,
.lp-final-cta p {
    font-size: 15px;
    line-height: 1.6;
}

.lp-hero {
    gap: 38px;
    min-height: auto;
    padding: 54px 0 64px;
}

.lp-hero-actions {
    margin-top: 22px;
}

.lp-hero-trust {
    gap: 14px;
    margin-top: 22px;
}

.lp-hero-trust div {
    padding: 12px 14px;
    border-radius: 14px;
}

.lp-campaign-card {
    min-height: 540px;
}

.lp-photo-proof {
    gap: 28px;
    padding: 44px 0 30px;
}

.lp-photo-proof-media {
    min-height: 380px;
}

.lp-photo-proof-media img {
    height: 380px;
}

.lp-benefit-band {
    padding: 24px 0 52px;
}

.lp-benefit-grid article {
    min-height: 220px;
}

.lp-benefit-grid strong {
    margin-top: 28px;
}

.lp-feature-grid,
.lp-pricing-grid,
.lp-testimonials,
.lp-workflow-grid,
.lp-benefit-grid {
    gap: 14px;
}

.lp-feature-grid article,
.lp-testimonials article,
.lp-workflow-grid article {
    padding: 22px;
}

.lp-workflow-grid article {
    min-height: 230px;
}

.lp-step {
    margin-bottom: 18px;
}

.pricing-page-hero {
    padding-top: 112px;
    padding-bottom: 54px;
}

.pricing-page-hero h1 {
    margin-bottom: 16px;
}

.pricing-page-faq {
    padding-top: 30px;
}

.lp-final-cta {
    margin-top: 26px;
    padding: 32px;
    border-radius: 24px;
}

.lp-footer {
    padding: 30px 0 38px;
}

@keyframes lpGridDrift {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 54px 54px, 54px 54px, 0 0, 0 0, 0 0; }
}

@keyframes lpDropIn {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lpRevealUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lpMockupEnter {
    from { opacity: 0; transform: translateY(26px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lpMockupBreathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes lpGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes lpCtaShine {
    0%, 52% { transform: translateX(0) rotate(18deg); opacity: 0; }
    62% { opacity: 1; }
    100% { transform: translateX(430%) rotate(18deg); opacity: 0; }
}

@keyframes lpSheen {
    0%, 55% { transform: translateX(0) rotate(18deg); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(430%) rotate(18deg); opacity: 0; }
}

@keyframes lpBarGrow {
    from { transform: scaleY(0.12); opacity: 0.25; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes lpSoftPulse {
    0%, 100% { background: transparent; }
    50% { background: rgba(239, 246, 255, 0.72); }
}

@keyframes lpFeedMove {
    from { transform: translateX(0); }
    to { transform: translateX(-108%); }
}

@keyframes lpMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 12px)); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-body,
    .lp-nav,
    .lp-hero-copy > *,
    .lp-dashboard,
    .lp-float-card,
    .lp-bars i,
    .lp-list-card p,
    .lp-wide-table p,
    .lp-live-feed span,
    .lp-marquee div,
    .lp-feature-grid article,
    .lp-pricing-grid article,
    .lp-testimonials article,
    .lp-workflow-grid article,
    .lp-product-wide,
    .lp-final-cta,
    .lp-btn-primary,
    .clients-hero::before,
    .clients-hero::after,
    .marketing-panel::before,
    .client-form button,
    .quotes-hero::before,
    .quotes-hero-card,
    .quote-create-panel::before,
    .quote-form .form-actions button:first-child,
    .blue-hero::before,
    .catalog-preview,
    .invoice-preview,
    .payment-preview,
    .blue-create-panel::before {
        animation: none !important;
    }
}

@media (max-width: 1180px) {
    .blue-hero {
        grid-template-columns: 1fr 1fr;
    }

    .quotes-hero,
    .quote-form {
        grid-template-columns: 1fr 1fr;
    }

    .quote-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-header,
    .clients-layout {
        grid-template-columns: 1fr;
    }

    .client-create-panel {
        position: static;
    }

    .admin-app {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 12px;
    }

    .admin-brand {
        padding-bottom: 10px;
    }

    .admin-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-sidebar-footer {
        display: none;
    }

    .cards,
    .dashboard-grid,
    .team-overview,
    .payment-grid,
    .lp-feature-grid,
    .lp-testimonials,
    .lp-faq-grid,
    .lp-workflow-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-page-hero .lp-pricing-grid {
        grid-template-columns: repeat(5, minmax(210px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .pricing-page-hero .lp-pricing-grid article {
        padding: 20px;
    }

    .lp-hero,
    .lp-product-wide {
        grid-template-columns: 1fr;
    }

    .admin-topbar,
    .admin-session {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-session {
        min-width: 0;
        width: 100%;
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid,
    .admin-command-grid,
    .team-create-form,
    .team-member,
    .admin-create-form {
        grid-template-columns: 1fr;
    }

    .admin-user-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .admin-user-manage {
        justify-self: stretch;
    }

    .admin-user-manage summary {
        width: 100%;
    }

    .admin-user-manage[open] .inline-admin-form,
    .admin-user-manage[open] .admin-row-actions {
        position: static;
        width: auto;
        box-shadow: none;
    }

    .admin-user-manage[open] .inline-admin-form {
        margin-top: 10px;
        border-radius: 10px 10px 0 0;
    }

    .lp-float-card {
        display: none;
    }

    .lp-desk {
        min-height: 600px;
    }

    .lp-document {
        width: 72%;
    }

    .lp-side-panel {
        width: 210px;
        right: 18px;
    }

    .lp-offer-card {
        left: 18px;
        top: -18px;
    }

    .lp-campaign-hero,
    .lp-benefit-grid,
    .lp-situations {
        grid-template-columns: 1fr;
    }

    .lp-campaign-hero::before {
        height: auto;
        bottom: 28px;
    }

    .lp-campaign-card {
        min-height: 520px;
    }

    .lp-photo-proof {
        grid-template-columns: 1fr;
    }

    .lp-photo-proof-copy {
        padding-left: 0;
    }

    .lp-situation-head {
        position: static;
        padding-bottom: 0;
    }
}

@media (max-width: 860px) {
    .admin-main {
        padding: 18px 14px 34px;
    }

    .admin-nav {
        grid-template-columns: 1fr 1fr;
    }

    body.menu-open {
        overflow: hidden;
        overscroll-behavior: contain;
    }

    .mobile-menu-toggle {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 48;
        width: 42px;
        min-height: 42px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-sm);
        cursor: pointer;
    }

    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 45;
        display: block;
        background: rgba(15, 23, 42, 0.46);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    body.menu-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar {
        z-index: 46;
        width: min(292px, calc(100vw - 44px));
        transform: translateX(-104%);
        transition: transform 0.24s ease;
        border-right: 1px solid rgba(203, 213, 245, 0.10);
        box-shadow: 18px 0 46px rgba(15, 23, 42, 0.22);
        overscroll-behavior: contain;
    }

    body.menu-open .sidebar {
        transform: translateX(0);
    }

    .menu {
        grid-template-columns: 1fr;
    }

    .sidebar-footer {
        margin-top: auto;
    }

    .main {
        margin-left: 0;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
        padding: 72px 20px 20px;
    }

    .table-shell {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-actions,
    .actions,
    .danger-actions,
    .blue-hero-actions,
    .quotes-hero-actions {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .header-actions .btn,
    .danger-actions .btn,
    .blue-hero-actions .btn,
    .quotes-hero-actions .btn {
        max-width: 100%;
        white-space: normal;
    }

    .clients-header {
        align-items: stretch;
    }

    .clients-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .client-search {
        width: 100%;
    }

    .clients-header-actions > .btn {
        width: 100%;
    }

    .client-form {
        grid-template-columns: 1fr;
    }

    .client-table {
        min-width: 760px;
    }

    .quotes-hero,
    .quote-form,
    .quote-form .form-actions {
        grid-template-columns: 1fr;
    }

    .quotes-hero {
        padding: 24px;
    }

    .quotes-hero-card {
        min-height: 180px;
    }

    .quote-stats {
        grid-template-columns: 1fr 1fr;
    }

    .quote-form .field-wide {
        grid-column: auto;
    }

    .quote-list-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-filters {
        align-items: stretch;
        width: 100%;
    }

    .quote-filters input,
    .quote-filters select,
    .quote-filters button {
        width: 100%;
        min-width: 0;
    }

    .quote-table {
        min-width: 860px;
    }

    .blue-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .catalog-preview,
    .invoice-preview,
    .payment-preview {
        min-height: 170px;
    }

    .catalog-form .form-actions {
        grid-column: auto;
    }

    .admin-topbar {
        padding: 22px 18px;
    }

    .admin-main {
        width: min(100% - 24px, 1440px);
    }

    .login-shell {
        padding: 26px 20px 34px;
    }

    .login-panel {
        align-self: start;
        padding-top: 18vh;
    }

    .login-submit {
        width: 100%;
    }

    .login-links {
        flex-direction: column;
        gap: 8px;
    }

    .signup-panel {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px;
    }

    .signup-copy {
        padding-right: 0;
        text-align: center;
    }

    .signup-kicker {
        margin-right: auto;
        margin-left: auto;
    }

    .signup-copy h1 {
        font-size: 34px;
    }

    .signup-copy p {
        max-width: none;
    }

    .signup-benefits {
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .signup-note {
        width: 100%;
        border-radius: 10px;
    }

    .cards,
    .dashboard-grid,
    .payment-grid,
    .report-grid,
    .pricing-grid,
    .admin-stats,
    .plan-preview,
    .lp-logo-cloud,
    .lp-feature-grid,
    .lp-pricing-grid,
    .lp-testimonials,
    .lp-faq-grid,
    .lp-workflow-grid,
    .lp-dashboard-stats,
    .lp-dashboard-main,
    .lp-wide-grid,
    .landing-hero,
    .preview-grid,
    .feature-grid,
    .landing-pricing,
    .form-grid,
    .details {
        grid-template-columns: 1fr;
    }

    .admin-table {
        min-width: 1180px;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .inline-admin-form {
        grid-template-columns: 1fr;
    }

    .team-member-form {
        grid-template-columns: 1fr;
    }

    .landing-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .landing-nav nav {
        flex-wrap: wrap;
    }

    .landing-hero {
        min-height: auto;
        gap: 28px;
        padding-top: 24px;
    }

    .lp-body {
        overflow-x: clip;
    }

    .lp-nav-wrap {
        top: 8px;
        width: min(100% - 24px, 1180px);
        margin-top: 8px;
    }

    .lp-nav {
        position: relative;
        min-height: 58px;
        align-items: center;
        gap: 12px;
        padding: 8px 10px;
        border-radius: 18px;
    }

    .lp-logo {
        min-width: 0;
    }

    .lp-logo > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lp-mobile-toggle {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        display: grid;
        place-items: center;
        margin-left: auto;
        padding: 0;
        border: 1px solid rgba(203, 213, 225, 0.9);
        border-radius: 999px;
        background: #ffffff;
        color: #102033;
        box-shadow: none;
    }

    .lp-mobile-toggle svg {
        width: 20px;
        height: 20px;
    }

    .lp-nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        z-index: 5;
        display: grid;
        gap: 8px;
        padding: 10px;
        border: 1px solid rgba(203, 213, 225, 0.92);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .public-menu-open .lp-nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .lp-nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0;
        background: transparent;
    }

    .lp-nav-links a {
        min-height: 38px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        border-radius: 12px;
        background: #f8fafc;
    }

    .lp-nav .lp-btn {
        width: 100%;
        min-height: 40px;
        padding: 10px 13px;
        white-space: normal;
    }

    .lp-hero {
        min-height: auto;
        gap: 26px;
        padding: 26px 0 36px;
    }

    .lp-campaign-hero::before {
        top: 132px;
        border-radius: 24px;
    }

    .lp-hero h1 {
        max-width: 100%;
        font-size: clamp(32px, 9.2vw, 48px);
        line-height: 1.08;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .lp-hero-copy,
    .lp-hero-visual,
    .lp-campaign-card,
    .lp-photo-proof-media,
    .lp-product-wide,
    .lp-final-cta {
        min-width: 0;
        max-width: 100%;
    }

    .lp-hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lp-hero-proof span {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .lp-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-hero-actions .lp-btn {
        width: 100%;
        white-space: normal;
    }

    .pricing-page-hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .pricing-page-hero h1 {
        font-size: clamp(28px, 7.4vw, 38px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .pricing-page-hero .lp-pricing-grid,
    .subscription-body .pricing-grid {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .pricing-page-hero .lp-pricing-grid article,
    .subscription-body .pricing-card {
        width: 100%;
        min-width: 0;
    }

    .lp-offer-card {
        position: static;
        width: auto;
        margin-bottom: 16px;
    }

    .lp-hero-trust,
    .lp-final-cta,
    .lp-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-dashboard,
    .lp-desk,
    .lp-product-wide > div,
    .lp-product-wide aside {
        padding: 16px;
    }

    .lp-desk {
        min-height: auto;
        overflow: visible;
    }

    .lp-desk::before,
    .lp-desk::after,
    .lp-stamp {
        display: none;
    }

    .lp-client-thread {
        position: static;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .lp-client-thread span {
        background: #eff6ff;
        color: #172033;
    }

    .lp-client-thread span:last-child {
        background: #f59e0b;
    }

    .lp-document {
        width: 100%;
        min-height: auto;
        padding: 22px;
        transform: none;
    }

    .lp-side-panel,
    .lp-note-card {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .lp-side-panel {
        grid-template-columns: 1fr;
    }

    .lp-mini-ledger {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .lp-context-card {
        grid-template-columns: 1fr;
    }

    .lp-campaign-card {
        min-height: auto;
        overflow: hidden;
        border-radius: 28px;
    }

    .lp-campaign-card::before {
        inset: 44px 0 0 18px;
        border-radius: 26px;
        transform: rotate(2deg);
    }

    .lp-hero-photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: 320px;
        border-radius: 24px;
    }

    .lp-campaign-card .lp-app-window {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 12px);
        margin: -54px 0 0 auto;
    }

    .lp-offer-bubble {
        position: relative;
        top: auto;
        left: auto;
        width: 138px;
        height: 138px;
        margin: 0 0 -54px 12px;
        transform: rotate(-7deg);
    }

    .lp-offer-bubble strong {
        font-size: 40px;
    }

    .lp-app-window {
        padding: 16px;
        border-radius: 22px;
    }

    .lp-app-stats,
    .lp-benefit-grid {
        grid-template-columns: 1fr;
    }

    .lp-app-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lp-app-table p {
        min-width: 0;
        grid-template-columns: minmax(88px, 0.9fr) minmax(116px, 1fr) auto;
        align-items: center;
        min-height: 40px;
    }

    .lp-photo-proof {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .lp-photo-proof-media {
        min-height: auto;
    }

    .lp-photo-proof-media::before {
        inset: 28px 0 -10px 28px;
        border-radius: 24px;
    }

    .lp-photo-proof-media img {
        height: 300px;
        border-radius: 24px;
    }

    .lp-situation-grid article {
        min-height: auto;
        padding: 24px;
    }

    .lp-situation-grid article::before {
        position: static;
        width: 42px;
        height: 42px;
        margin-bottom: 18px;
        background:
            linear-gradient(#172033 0 0) center / 10px 10px no-repeat,
            #f0fdfa;
    }

    .lp-product-wide aside {
        display: none;
    }

    .lp-wide-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-wide-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lp-wide-table p {
        min-width: 0;
        grid-template-columns: minmax(110px, 1.1fr) minmax(80px, 0.9fr) minmax(72px, 0.8fr) auto;
        gap: 8px;
    }

    .lp-workflow-grid::before {
        display: none;
    }

    .lp-pricing-grid article.featured {
        transform: none;
    }

    .lp-final-cta {
        margin-top: 18px;
        padding: 22px;
    }

    .field-wide {
        grid-column: span 1;
    }

    .top,
    .section-title,
    .list-toolbar,
    .danger-zone,
    .filters {
        align-items: stretch;
        flex-direction: column;
    }

    .filters input {
        min-width: 0;
    }

    .onboarding-dialog {
        width: auto;
        padding: 22px;
    }

    .onboarding-dialog::before {
        display: none;
    }

    .onboarding-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .onboarding-actions .btn {
        width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .lp-nav-wrap,
    .lp-campaign-hero,
    .lp-benefit-band,
    .lp-section,
    .lp-final-cta,
    .lp-footer {
        width: min(100% - 24px, 1180px);
    }

    .lp-nav-wrap {
        top: 6px;
        margin-top: 6px;
    }

    .lp-nav {
        min-height: 56px;
        padding: 7px 8px 7px 10px;
    }

    .lp-logo-mark {
        width: 32px;
        height: 32px;
    }

    .lp-mobile-toggle {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .lp-nav-menu {
        gap: 7px;
        padding: 9px;
    }

    .lp-nav-links a {
        min-height: 36px;
        padding: 8px 10px;
        text-align: left;
    }

    .lp-campaign-hero {
        gap: 24px;
        padding: 20px 0 30px;
    }

    .lp-campaign-hero::before {
        left: 12px;
        right: 12px;
        top: 118px;
        bottom: 18px;
        border-radius: 20px;
    }

    .lp-pill {
        max-width: 100%;
        white-space: normal;
    }

    .lp-hero h1 {
        margin-top: 16px;
        font-size: clamp(30px, 8.8vw, 38px);
        line-height: 1.1;
    }

    .lp-hero-copy > p {
        font-size: 15px;
        line-height: 1.62;
    }

    .lp-hero-copy > p:not(.lp-microcopy) {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp-proof-list span {
        align-items: flex-start;
        line-height: 1.35;
    }

    .lp-proof-list span::before {
        margin-top: 3px;
    }

    .lp-hero-photo {
        height: auto;
        aspect-ratio: 1.18;
    }

    .lp-campaign-card .lp-app-window {
        width: 100%;
        margin-top: -34px;
    }

    .lp-offer-bubble {
        left: auto;
        right: 14px;
        width: 112px;
        height: 112px;
        margin-bottom: -36px;
        padding: 12px;
    }

    .lp-offer-bubble strong {
        font-size: 32px;
    }

    .lp-app-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .lp-app-table p {
        min-width: 0;
        grid-template-columns: minmax(76px, 0.8fr) minmax(92px, 1fr) auto;
        align-items: center;
        min-height: 38px;
        gap: 8px;
        font-size: 12px;
    }

    .lp-photo-proof,
    .lp-section {
        padding-top: 30px;
        padding-bottom: 26px;
    }

    .pricing-page-hero {
        padding-top: 24px;
        padding-bottom: 26px;
    }

    .pricing-page-hero h1,
    .lp-photo-proof-copy h2,
    .lp-section-head h2,
    .lp-final-cta h2 {
        font-size: clamp(25px, 7.4vw, 32px);
        line-height: 1.12;
    }

    .lp-photo-proof-media img {
        height: 240px;
    }

    .lp-benefit-band {
        padding: 18px 0 34px;
    }

    .lp-benefit-grid article,
    .lp-feature-grid article,
    .lp-workflow-grid article {
        min-height: auto;
        padding: 20px;
        border-radius: 20px;
    }

    .lp-benefit-grid strong {
        margin-top: 22px;
        font-size: 21px;
    }

    .lp-product-wide > div {
        padding: 18px;
    }

    .lp-wide-header .lp-btn,
    .lp-final-cta .lp-btn {
        width: 100%;
        white-space: normal;
    }

    .lp-wide-table p {
        min-width: 0;
        grid-template-columns: minmax(88px, 1fr) minmax(70px, 0.82fr) minmax(62px, 0.72fr) auto;
        font-size: 12px;
    }

    .lp-final-cta {
        padding: 20px;
    }

    .pricing-page-hero .lp-pricing-grid,
    .lp-pricing-grid {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .lp-pricing-grid article {
        width: 100%;
        min-width: 0;
    }

    .lp-pricing-grid .lp-btn {
        width: 100%;
        white-space: normal;
    }

    .lp-body .chatbot-widget {
        right: 12px !important;
        bottom: 16px !important;
        left: auto !important;
    }

    .lp-body .chatbot-toggle {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
    }

    .lp-body .chatbot-toggle svg {
        width: 21px !important;
        height: 21px !important;
    }

    .lp-body .chatbot-notification {
        width: 19px !important;
        height: 19px !important;
        font-size: 10px;
    }

    .lp-body .chatbot-panel {
        right: 0 !important;
        left: auto !important;
        width: min(340px, calc(100vw - 24px)) !important;
        max-height: calc(100vh - 92px) !important;
    }

    .lp-footer nav {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .signup-copy h1 {
        font-size: 30px;
    }

    .signup-panel {
        padding: 20px;
    }

    .signup-benefits {
        width: 100%;
    }

    .onboarding-overlay {
        padding: 0;
    }

    .onboarding-header {
        padding-right: 36px;
    }

    .onboarding-header h2 {
        font-size: 21px;
    }
}

@media (max-width: 1180px) {
    .login-showcase-body {
        background:
            radial-gradient(circle at 12% 18%, rgba(79, 158, 255, 0.34), transparent 26%),
            radial-gradient(circle at 30% 72%, rgba(12, 102, 238, 0.22), transparent 25%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px),
            linear-gradient(115deg, #07306f 0%, #0752aa 52%, #e4edf8 52.1%, #f8fbff 100%);
    }

    .login-showcase-body .login-shell {
        grid-template-columns: minmax(330px, 500px) minmax(460px, 1fr);
        gap: 28px;
        padding-right: 26px;
    }

    .login-preview {
        grid-template-columns: 170px minmax(0, 1fr);
        min-height: 620px;
        margin-right: -280px;
        transform: perspective(1200px) rotateY(-9deg) rotateZ(-1.4deg) scale(0.92);
    }

    .preview-content {
        padding: 34px 28px;
    }

    .preview-grid,
    .preview-bottom {
        grid-template-columns: 1fr;
    }

    .invoice-card {
        grid-template-columns: 130px 1fr;
    }

    .donut {
        width: 126px;
    }
}

@media (max-width: 900px) {
    .login-showcase-body {
        background:
            radial-gradient(circle at 8% 70%, rgba(34, 128, 255, 0.24) 0 2px, transparent 3px 22px),
            linear-gradient(155deg, #05245b 0%, #063b83 100%);
    }

    .login-showcase-body .login-shell {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 28px 18px 42px;
    }

    .login-showcase-body .login-logo {
        justify-self: start;
    }

    .login-showcase-body .login-panel {
        min-height: auto;
        padding: 30px clamp(20px, 6vw, 42px);
    }

    .login-preview {
        width: min(100%, 620px);
        min-height: auto;
        grid-template-columns: 1fr;
        justify-self: center;
        margin: 0;
        transform: none;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-content {
        padding: 24px;
    }

    .preview-stats {
        grid-template-columns: 1fr;
    }

    .preview-grid,
    .preview-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .login-showcase-body .login-panel {
        padding: 26px 18px;
        border-radius: 14px;
    }

    .login-showcase-body .login-panel h1 {
        font-size: 32px;
    }

    .login-showcase-body .login-intro {
        font-size: 15px;
    }

    .login-support,
    .login-showcase-body .login-links {
        align-items: flex-start;
    }

    .login-support {
        gap: 12px;
    }

    .login-preview {
        display: none;
    }
}

@media (max-width: 1180px) {
    .signup-shell {
        grid-template-columns: 1fr;
    }

    .signup-panel {
        grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1fr);
        gap: 34px;
    }

    .signup-copy h1 {
        font-size: clamp(42px, 5vw, 62px);
    }

    .signup-copy p,
    .signup-benefits {
        font-size: 20px;
    }

    .signup-form {
        padding: 42px;
    }
}

@media (max-width: 900px) {
    .signup-body {
        background:
            radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.5) 0 22%, transparent 22.2%),
            linear-gradient(180deg, #d8ecff 0%, #eef6ff 46%, #ffffff 46.1%, #ffffff 100%);
    }

    .signup-shell {
        display: grid;
        gap: 28px;
        padding: 26px 18px 40px;
    }

    .signup-logo {
        font-size: 30px;
    }

    .signup-logo > span:first-child {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 30px;
    }

    .signup-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .signup-copy,
    .signup-form,
    .signup-panel .flash {
        grid-column: 1;
        grid-row: auto;
    }

    .signup-copy {
        padding: 0;
        text-align: left;
    }

    .signup-copy h1 {
        font-size: clamp(38px, 10vw, 54px);
    }

    .signup-copy i {
        margin: 24px 0;
    }

    .signup-copy p {
        max-width: 620px;
        font-size: 18px;
    }

    .signup-benefits {
        width: auto;
        margin: 30px 0 0;
        font-size: 18px;
    }

    .signup-benefits li {
        gap: 16px;
    }

    .signup-benefits span {
        width: 56px;
        height: 56px;
    }

    .signup-benefits svg {
        width: 28px;
        height: 28px;
    }

    .signup-form {
        width: 100%;
        padding: 30px clamp(18px, 5vw, 34px);
        border-radius: 20px;
    }

    .signup-panel .flash {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 560px) {
    .signup-copy h1 {
        font-size: 38px;
    }

    .signup-form {
        gap: 18px;
        padding: 24px 18px;
    }

    .signup-avatar {
        width: 76px;
        height: 76px;
    }

    .signup-avatar svg {
        width: 36px;
        height: 36px;
    }

    .signup-field span {
        font-size: 16px;
    }

    .signup-field input {
        height: 58px;
        padding-left: 54px;
        padding-right: 54px;
        font-size: 16px;
    }

    .signup-field > svg {
        left: 18px;
        bottom: 15px;
        width: 24px;
        height: 24px;
    }

    .signup-password-toggle {
        inset: auto 12px 9px auto;
    }

    .signup-submit {
        min-height: 58px;
        font-size: 18px;
    }

    .signup-footer {
        font-size: 16px;
    }
}

@media (max-width: 1180px) {
    .subscription-body .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subscription-benefits {
        width: min(100%, 760px);
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .subscription-benefits article {
        padding: 0;
        border-right: 0;
    }
}

@media (max-width: 720px) {
    .subscription-topbar {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .subscription-body .pricing-shell {
        width: min(100% - 28px, 520px);
        padding-top: 24px;
    }

    .subscription-body .pricing-head h1 {
        font-size: 40px;
    }

    .subscription-body .pricing-head p {
        font-size: 17px;
    }

    .subscription-body .pricing-grid {
        grid-template-columns: 1fr;
    }

    .trial-later-card {
        grid-template-columns: 1fr;
        justify-items: start;
        margin-top: 0;
    }

    .subscription-body .pricing-card {
        min-height: auto;
    }

    .subscription-benefits {
        padding: 18px;
    }
}
