:root {
    --ink: #0D1B2A;
    --ink-soft: #1C2B3A;
    --muted: #667085;
    --line: #e4e9f1;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --accent: #6C5CE7;
    --accent-dark: #5142C7;
    --accent-soft: #F0EEFF;
    --success: #0f9f6e;
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, .13);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--ink);
    background: var(--surface);
    font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
}

.container-public {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .15em;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    content: "";
    background: currentColor;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 168px;
    max-width: 100%;
    height: auto;
}

.auth-brand .brand-logo {
    width: 172px;
}

.brand-footer .brand-logo {
    width: 150px;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(79, 70, 229, .15);
}

.brand-mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-word {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.brand-word span {
    color: var(--accent);
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

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

.button-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 30px rgba(11, 18, 32, .17);
}

.button-primary:hover {
    background: var(--accent);
    box-shadow: 0 15px 34px rgba(79, 70, 229, .25);
}

.button-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .8);
    color: var(--ink);
}

.button-ghost:hover {
    border-color: #cdd5e2;
    background: #fff;
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14px;
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
}

.public-nav-wrap {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(228, 233, 241, .8);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
}

.public-nav {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.public-nav-links > a:not(.button) {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.public-nav-links > a:not(.button):hover {
    color: var(--ink);
}

.public-nav-links .nav-login {
    padding-left: 20px;
    border-left: 1px solid var(--line);
    color: var(--ink) !important;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--ink);
}

.hero-section {
    position: relative;
    min-height: 710px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.hero-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .35;
    background-image:
        linear-gradient(rgba(15, 23, 42, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
}

.hero-glow-one {
    top: 50px;
    right: 3%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(99, 102, 241, .15), transparent 67%);
}

.hero-glow-two {
    bottom: 10px;
    left: -130px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(14, 165, 233, .08), transparent 70%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 710px;
    align-items: center;
    grid-template-columns: .9fr 1.1fr;
    gap: 62px;
    padding-top: 50px;
    padding-bottom: 70px;
}

.hero-copy h1 {
    max-width: 660px;
    margin: 21px 0 24px;
    color: var(--ink);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .99;
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy > p {
    max-width: 600px;
    margin: 0;
    color: #5c6678;
    font-size: 18px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 33px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
    color: #475467;
    font-size: 13px;
    font-weight: 750;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(15, 159, 110, .1);
}

.hero-visual {
    position: relative;
    min-width: 0;
    perspective: 1400px;
}

.mock-shell {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 28px;
    background: #f3f6fa;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-4deg) rotateX(2deg);
    transform-origin: center;
}

.mock-topbar {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: var(--ink);
    color: #fff;
}

.mock-brand {
    display: flex;
    flex-direction: column;
}

.mock-brand b {
    font-size: 18px;
}

.mock-brand small {
    color: #98a2b3;
    font-size: 11px;
}

.mock-user {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--accent);
    font-size: 11px;
    font-weight: 900;
}

.mock-content {
    padding: 22px;
}

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

.mock-stat-grid article,
.mock-card {
    border: 1px solid #e9edf3;
    border-radius: 18px;
    background: #fff;
}

.mock-stat-grid article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 16px;
}

.mock-stat-grid small,
.mock-card small,
.mock-row small {
    color: #98a2b3;
    font-size: 10px;
}

.mock-stat-grid strong {
    margin: 8px 0 4px;
    font-size: 20px;
    letter-spacing: -.04em;
}

.mock-stat-grid span {
    color: #667085;
    font-size: 9px;
}

.mock-stat-grid .trend-positive {
    color: var(--success);
}

.mock-lower-grid {
    display: grid;
    grid-template-columns: 1.07fr .93fr;
    gap: 12px;
    margin-top: 12px;
}

.mock-card {
    min-height: 220px;
    padding: 16px;
}

.mock-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mock-card-head div {
    display: flex;
    flex-direction: column;
}

.mock-card-head b {
    font-size: 12px;
}

.mock-card-head > span {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;
}

.bars {
    display: flex;
    height: 140px;
    align-items: flex-end;
    gap: 8px;
    padding-top: 24px;
}

.bars i {
    flex: 1;
    height: var(--h);
    min-height: 18px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #818cf8, var(--accent));
}

.mock-row {
    display: grid;
    align-items: center;
    grid-template-columns: 34px 1fr auto;
    gap: 9px;
    padding: 13px 0;
    border-bottom: 1px solid #eef1f5;
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-row div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.mock-row b,
.mock-row strong {
    font-size: 10px;
}

.row-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(228, 233, 241, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.floating-card div,
.floating-order {
    flex-direction: column;
}

.floating-card small {
    color: #667085;
    font-size: 9px;
}

.floating-card strong {
    font-size: 11px;
}

.floating-stock {
    right: -22px;
    bottom: 76px;
    padding: 13px 16px;
}

.floating-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #e7f8f1;
    color: var(--success);
    font-weight: 900;
}

.floating-order {
    top: 104px;
    left: -34px;
    align-items: flex-start;
    padding: 14px 16px;
}

.numbers-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.numbers-grid > div {
    display: flex;
    min-height: 118px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
    border-right: 1px solid var(--line);
}

.numbers-grid > div:first-child {
    border-left: 1px solid var(--line);
}

.numbers-grid strong {
    margin-bottom: 5px;
    font-size: 18px;
    letter-spacing: -.03em;
}

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

.features-section,
.workflow-section,
.cta-section {
    padding: 112px 0;
}

.features-section {
    background: #fff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.section-heading h2,
.workflow-copy h2,
.cta-card h2 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.section-heading p,
.workflow-copy > p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

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

.feature-card {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--surface-soft);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #d4dbea;
    box-shadow: var(--shadow-md);
}

.feature-large {
    grid-column: span 2;
    background: linear-gradient(135deg, #f5f7ff, #fff);
}

.feature-dark {
    background: var(--ink);
    color: #fff;
}

.feature-number {
    position: absolute;
    top: 27px;
    right: 28px;
    color: #b1bac8;
    font-size: 12px;
    font-weight: 850;
}

.feature-dark .feature-number {
    color: #667085;
}

.feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 52px;
    place-items: center;
    border: 1px solid #dce3ef;
    border-radius: 15px;
    background: #fff;
    color: var(--accent);
    font-size: 21px;
    font-weight: 900;
}

.feature-dark .feature-icon {
    border-color: #344054;
    background: #1b2638;
    color: #a5b4fc;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -.04em;
}

.feature-card p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.feature-dark p {
    color: #aeb7c6;
}

.mini-sale-ui {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: 230px;
    padding: 16px;
    border: 1px solid #e2e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .08);
}

.mini-sale-ui > span {
    color: #667085;
    font-size: 10px;
}

.mini-sale-ui div {
    display: flex;
    gap: 7px;
    margin: 13px 0;
}

.mini-sale-ui i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eef2ff;
}

.mini-sale-ui b {
    display: block;
    padding: 9px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 9px;
    text-align: center;
}

.report-lines {
    display: flex;
    height: 62px;
    align-items: flex-end;
    gap: 9px;
    margin-top: 28px;
}

.report-lines i {
    width: 13%;
    border-radius: 6px 6px 2px 2px;
    background: #6366f1;
}

.report-lines i:nth-child(1) { height: 34%; }
.report-lines i:nth-child(2) { height: 57%; }
.report-lines i:nth-child(3) { height: 45%; }
.report-lines i:nth-child(4) { height: 82%; }

.workflow-section {
    overflow: hidden;
    background: var(--surface-soft);
}

.workflow-grid {
    display: grid;
    align-items: center;
    grid-template-columns: .92fr 1.08fr;
    gap: 90px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
}

.text-link span {
    color: var(--accent);
}

.workflow-steps {
    position: relative;
}

.workflow-steps::before {
    position: absolute;
    top: 48px;
    bottom: 48px;
    left: 29px;
    width: 1px;
    content: "";
    background: #ccd4e1;
}

.workflow-step {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.workflow-step > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: var(--ink);
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.workflow-step h3 {
    margin: 0 0 4px;
    font-size: 20px;
    letter-spacing: -.03em;
}

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

.cta-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.cta-card {
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    padding: 58px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 85% 10%, rgba(99, 102, 241, .35), transparent 38%),
        var(--ink);
    color: #fff;
}

.cta-card .eyebrow {
    color: #a5b4fc;
}

.cta-card h2 {
    max-width: 690px;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    min-width: 190px;
    flex-direction: column;
    gap: 12px;
}

.public-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    display: grid;
    min-height: 140px;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
}

.brand-footer .brand-mark {
    box-shadow: none;
}

.footer-inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
}

.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: none;
}

/* AUTH */
.auth-page {
    overflow-x: hidden;
    background: #f3f6fa;
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(410px, .9fr) minmax(520px, 1.1fr);
}

.auth-brand-panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    padding: 42px clamp(36px, 5vw, 76px);
    background:
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, .32), transparent 30%),
        radial-gradient(circle at 0 90%, rgba(14, 165, 233, .15), transparent 36%),
        var(--ink);
    color: #fff;
}

.auth-brand-panel::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(135deg, #000, transparent 70%);
}

.auth-brand-panel > * {
    position: relative;
    z-index: 1;
}

.auth-brand {
    color: #fff;
}

.auth-brand .brand-mark {
    background: rgba(255, 255, 255, .96);
}

.auth-brand-copy {
    max-width: 590px;
    margin: auto 0 38px;
}

.auth-brand-copy .eyebrow {
    color: #a5b4fc;
}

.auth-brand-copy h1 {
    margin: 20px 0;
    font-size: clamp(45px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1.02;
}

.auth-brand-copy p {
    max-width: 510px;
    margin: 0;
    color: #b9c2d0;
    font-size: 17px;
    line-height: 1.7;
}

.auth-mini-dashboard {
    max-width: 520px;
    margin-bottom: auto;
    padding: 19px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
}

.auth-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #dce2ec;
    font-size: 12px;
}

.auth-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.auth-mini-stats i {
    height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
}

.auth-mini-chart {
    display: flex;
    height: 64px;
    align-items: flex-end;
    gap: 10px;
}

.auth-mini-chart span {
    width: 13%;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #818cf8, #4f46e5);
}

.auth-mini-chart span:nth-child(1) { height: 30%; }
.auth-mini-chart span:nth-child(2) { height: 46%; }
.auth-mini-chart span:nth-child(3) { height: 38%; }
.auth-mini-chart span:nth-child(4) { height: 72%; }
.auth-mini-chart span:nth-child(5) { height: 58%; }
.auth-mini-chart span:nth-child(6) { height: 88%; }

.auth-brand-footer {
    margin-top: 38px;
    color: #7f8da2;
    font-size: 12px;
}

.auth-form-panel {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 44px clamp(28px, 6vw, 90px);
    background: #fff;
}

.auth-form-wrap {
    width: 100%;
    max-width: 470px;
}

.auth-form-wide {
    max-width: 650px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 46px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-back:hover {
    color: var(--ink);
}

.auth-heading {
    margin-bottom: 30px;
}

.auth-heading h2 {
    margin: 0 0 9px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.045em;
}

.auth-heading p {
    margin: 0;
    color: var(--muted);
}

.auth-mobile-logo {
    display: none;
}

.auth-form {
    display: grid;
    gap: 19px;
}

.field-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group > span:first-child {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.field-control {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border: 1px solid #d8dee8;
    border-radius: 13px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.field-control:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .09);
}

.field-control svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: #98a2b3;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.field-control input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ink);
}

.field-control input::placeholder {
    color: #a9b2c0;
}

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

.password-toggle {
    flex: 0 0 auto;
    padding: 7px 2px;
    border: none;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
}

.auth-options > a,
.auth-switch a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.check-control {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #475467;
    cursor: pointer;
}

.check-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-control span {
    position: relative;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid #cdd5df;
    border-radius: 6px;
    background: #fff;
}

.check-control input:checked + span {
    border-color: var(--accent);
    background: var(--accent);
}

.check-control input:checked + span::after {
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    transform: rotate(-45deg) translateY(-1px);
}

.auth-submit {
    width: 100%;
    min-height: 55px;
    margin-top: 3px;
}

.auth-submit b {
    margin-left: auto;
    font-size: 18px;
}

.auth-submit.is-loading {
    pointer-events: none;
    opacity: .75;
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 22px;
    color: #98a2b3;
    font-size: 11px;
}

.auth-separator::before,
.auth-separator::after {
    height: 1px;
    flex: 1;
    content: "";
    background: var(--line);
}

.auth-switch {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.auth-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-alert-danger {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.auth-alert-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.auth-alert-success {
    border-color: #a7f3d0;
    background: #ecfdf3;
    color: #067647;
}

.form-note {
    margin: -4px 0 0;
    color: #98a2b3;
    font-size: 11px;
}

.register-benefits {
    display: grid;
    gap: 13px;
    margin-bottom: auto;
}

.register-benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d6dce6;
    font-size: 14px;
}

.register-benefits i {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 8px;
    background: rgba(99, 102, 241, .22);
    color: #c7d2fe;
    font-style: normal;
    font-weight: 900;
}

.simple-auth-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px 20px;
    background:
        radial-gradient(circle at 50% 0, rgba(99, 102, 241, .12), transparent 32%),
        #f4f7fb;
}

.simple-auth-card {
    width: 100%;
    max-width: 500px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.simple-auth-brand {
    margin-bottom: 42px;
}

.simple-auth-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 17px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 23px;
    font-weight: 900;
}

.simple-auth-icon-danger {
    background: #fff1f2;
    color: #d92d20;
}

.simple-auth-card h1 {
    margin: 0 0 10px;
    font-size: 32px;
    letter-spacing: -.04em;
}

.simple-auth-card > p {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.65;
}

.simple-back-link {
    display: block;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.simple-back-link:hover {
    color: var(--ink);
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(44px, 6vw, 64px);
    }

    .floating-card {
        display: none;
    }

    .auth-shell {
        grid-template-columns: minmax(350px, .82fr) minmax(480px, 1.18fr);
    }
}

@media (max-width: 900px) {
    .public-nav-links {
        position: fixed;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 18px 20px 24px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 18px 36px rgba(15, 23, 42, .1);
    }

    .public-nav-links.is-open {
        display: flex;
    }

    .public-nav-links > a:not(.button) {
        padding: 13px 4px;
    }

    .public-nav-links .nav-login {
        margin-top: 4px;
        padding-left: 4px;
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .public-nav-links .button {
        margin-top: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 84px;
        padding-bottom: 90px;
    }

    .hero-copy {
        max-width: 720px;
        text-align: center;
    }

    .hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-proof {
        justify-content: center;
    }

    .hero-visual {
        width: min(680px, 100%);
        margin: 10px auto 0;
    }

    .mock-shell {
        transform: none;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid > div:first-child,
    .numbers-grid > div {
        border-left: none;
    }

    .numbers-grid > div:nth-child(odd) {
        border-left: 1px solid var(--line);
    }

    .numbers-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

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

    .feature-large {
        grid-column: span 2;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-actions {
        width: 100%;
        flex-direction: row;
    }

    .cta-actions .button {
        flex: 1;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 34px 24px;
    }

    .auth-form-wrap,
    .auth-form-wide {
        max-width: 590px;
    }

    .auth-back {
        margin-bottom: 32px;
    }

    .auth-mobile-logo {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 28px;
        font-size: 19px;
        font-weight: 900;
    }

    .auth-mobile-logo img {
        width: 142px;
        height: auto;
    }
}

@media (max-width: 640px) {
    .container-public {
        width: min(100% - 28px, 1180px);
    }

    .public-nav {
        min-height: 70px;
    }

    .public-nav-links {
        top: 70px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .brand-mark img {
        width: 30px;
        height: 30px;
    }

    .brand-word {
        font-size: 20px;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-copy h1 {
        margin-top: 17px;
        font-size: 43px;
        letter-spacing: -.055em;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof {
        gap: 11px 16px;
    }

    .mock-content {
        padding: 12px;
    }

    .mock-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mock-stat-grid article:last-child {
        display: none;
    }

    .mock-stat-grid strong {
        font-size: 17px;
    }

    .mock-lower-grid {
        grid-template-columns: 1fr;
    }

    .mock-list {
        display: none;
    }

    .mock-card {
        min-height: 185px;
    }

    .bars {
        height: 115px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .numbers-grid > div,
    .numbers-grid > div:nth-child(odd),
    .numbers-grid > div:first-child {
        min-height: 88px;
        padding: 18px 20px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .numbers-grid > div:last-child {
        border-bottom: none;
    }

    .features-section,
    .workflow-section,
    .cta-section {
        padding: 76px 0;
    }

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

    .section-heading h2,
    .workflow-copy h2,
    .cta-card h2 {
        font-size: 37px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: auto;
    }

    .feature-card {
        min-height: 285px;
        padding: 24px;
    }

    .mini-sale-ui {
        position: static;
        width: 100%;
        margin-top: 24px;
    }

    .cta-card {
        min-height: auto;
        padding: 34px 24px;
        border-radius: 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .auth-form-panel {
        align-items: start;
        padding: 24px 18px 40px;
    }

    .auth-back {
        margin-bottom: 24px;
    }

    .auth-heading h2 {
        font-size: 32px;
    }

    .field-grid-two {
        grid-template-columns: 1fr;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .simple-auth-shell {
        padding: 14px;
    }

    .simple-auth-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .simple-auth-brand {
        margin-bottom: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}
