:root {
    --green: #25d366;
    --green-deep: #075e54;
    --green-mid: #128c7e;
    --mint: #dcf8c6;
    --ink: #07110f;
    --ink-2: #101918;
    --graphite: #17211f;
    --steel: #6f827d;
    --line: #dce7e3;
    --paper: #f7fbf8;
    --white: #ffffff;
    --amber: #f4b44b;
    --shadow: 0 24px 80px rgba(7, 17, 15, 0.18);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

    body.nav-open {
        overflow: hidden;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 32px;
    background: rgba(7, 17, 15, 0.9);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.site-nav a,
.button,
.signal-item,
.phone-top,
.purchase-row,
.nav-toggle {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-mark,
.phone-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
    overflow: hidden;
}

.brand-mark {
    background: #111716;
    border: 1px solid rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2), 0 0 18px rgba(124, 92, 255, 0.34);
}

    .brand-mark img,
    .phone-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .brand-mark img {
        padding: 4px;
        object-fit: contain;
    }

.site-nav {
    gap: 8px;
}

    .site-nav a {
        justify-content: center;
        min-height: 42px;
        padding: 0 14px;
        color: rgba(255, 255, 255, 0.78);
        border-radius: var(--radius);
        font-weight: 650;
        transition: color 160ms ease, background 160ms ease;
    }

        .site-nav a:hover,
        .site-nav a:focus-visible {
            color: var(--white);
            background: rgba(255, 255, 255, 0.08);
        }

    .site-nav .nav-cta {
        margin-left: 8px;
        color: var(--ink);
        background: var(--green);
    }

        .site-nav .nav-cta:hover,
        .site-nav .nav-cta:focus-visible {
            color: var(--ink);
            background: #4be083;
        }

.nav-toggle {
    display: none;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-fallback {
    position: relative;
    display: block;
    width: 19px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

    .menu-fallback::before {
        position: absolute;
        top: 4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        content: "";
    }

body.icons-ready .menu-fallback {
    display: none;
}

.nav-toggle svg,
.button svg,
.signal-item svg,
.signal-arrow,
.feature-card svg,
.summary-points svg,
.purchase-row svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.hero {
    position: relative;
    min-height: 600px;
    height: min(780px, calc(100svh - 108px));
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    z-index: -2;
    background-image: url("tiao-hero.png");
    background-size: cover;
    background-position: center right;
}

.hero-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.86) 34%, rgba(7, 17, 15, 0.36) 72%), linear-gradient(0deg, rgba(7, 17, 15, 0.58) 0%, rgba(7, 17, 15, 0) 32%), rgba(7, 17, 15, 0.08);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 390px);
    gap: 44px;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 1160px;
}

.hero-copy-panel {
    min-width: 0;
    padding-bottom: 0.2rem;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: var(--green);
    font-weight: 800;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.15);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: 5.4rem;
    line-height: 0.95;
    font-weight: 900;
}

h2 {
    margin-bottom: 18px;
    font-size: 3.1rem;
    line-height: 1.04;
    font-weight: 900;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.2;
}

p {
    color: rgba(7, 17, 15, 0.72);
    line-height: 1.65;
}

.hero-copy {
    width: min(760px, 100%);
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.55;
}

.hero-statement {
    width: min(760px, 100%);
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.18rem;
    line-height: 1.04;
    font-weight: 850;
}

.hero-copy-panel h1 {
    width: min(920px, 100%);
    margin-bottom: 14px;
    font-size: clamp(3.35rem, 4.6vw, 4.25rem);
    line-height: 0.92;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.button {
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius);
    font-weight: 850;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

    .button:hover,
    .button:focus-visible {
        transform: translateY(-1px);
    }

.button-primary {
    color: var(--ink);
    background: var(--green);
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.26);
}

    .button-primary:hover,
    .button-primary:focus-visible {
        background: #4be083;
    }

.button-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(760px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

    .hero-metrics div {
        min-height: 104px;
        padding: 18px;
        background: rgba(7, 17, 15, 0.54);
    }

    .hero-metrics strong {
        display: block;
        margin-bottom: 6px;
        color: var(--green);
        font-size: 1.35rem;
    }

    .hero-metrics span {
        display: block;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.45;
    }

.signal-strip {
    background: var(--green-deep);
    color: var(--white);
}

.signal-grid {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 96px;
}

.signal-item {
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.signal-arrow {
    color: var(--green);
}

.section {
    padding: 96px 0;
}

.intro-section,
.feature-section {
    background: var(--paper);
}

.authority-section {
    background: var(--white);
}

.authority-shell {
    display: grid;
    gap: 34px;
}

.authority-copy {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 1.06rem;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.authority-card {
    min-height: 180px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.03)), #fbfdfc;
    box-shadow: 0 18px 44px rgba(7, 17, 15, 0.05);
}

    .authority-card strong {
        display: block;
        margin-bottom: 10px;
        color: var(--green-deep);
        font-size: 1.45rem;
        line-height: 1.08;
    }

    .authority-card span {
        display: block;
        color: rgba(7, 17, 15, 0.74);
        line-height: 1.5;
        font-weight: 700;
    }

.intro-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 64px;
    align-items: start;
}

.intro-copy {
    display: grid;
    gap: 12px;
}

    .intro-copy p {
        margin-bottom: 0;
        font-size: 1.06rem;
    }

.how-section {
    background: var(--white);
}

.two-column,
.result-grid,
.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    gap: 72px;
    align-items: center;
}

    .section-copy > p:not(.section-kicker),
    .result-copy > p,
    .cta-grid > div > p {
        font-size: 1.06rem;
    }

.steps {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
}

    .step span {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: var(--ink);
        background: var(--green);
        font-weight: 900;
    }

    .step p {
        margin-bottom: 0;
    }

.how-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .how-highlight span {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 16px;
        border: 1px solid rgba(18, 140, 126, 0.16);
        border-radius: 999px;
        color: var(--green-deep);
        background: rgba(37, 211, 102, 0.08);
        font-weight: 800;
    }

.how-summary {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.08), rgba(18, 140, 126, 0.04)), #fbfdfc;
}

.tiao-contact-art {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center top;
}

    .how-summary h3 {
        margin-bottom: 12px;
        font-size: 1.45rem;
    }

    .how-summary p {
        margin-bottom: 24px;
    }

.summary-points {
    display: grid;
    gap: 14px;
}

    .summary-points div {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
        align-items: start;
        color: rgba(7, 17, 15, 0.74);
        font-weight: 700;
        line-height: 1.45;
    }

    .summary-points svg {
        width: 22px;
        height: 22px;
        color: var(--green-deep);
    }

.phone-demo {
    display: flex;
    flex-direction: column;
    width: min(100%, 410px);
    height: min(620px, 76svh);
    min-height: 520px;
    margin-left: auto;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(7, 94, 84, 0.16);
    border-radius: 26px;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.hero-phone-demo {
    justify-self: end;
    width: min(100%, 390px);
    height: min(540px, 66svh);
    min-height: 470px;
    background: rgba(7, 17, 15, 0.94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.phone-top {
    gap: 12px;
    min-height: 64px;
    padding: 0 12px 12px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .phone-top span:not(.phone-avatar) {
        display: block;
        color: rgba(255, 255, 255, 0.56);
        font-size: 0.9rem;
    }

.chat-thread {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 18px 8px 8px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
}

.bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 8px;
    overflow-wrap: anywhere;
    line-height: 1.45;
    font-size: 0.95rem;
    animation: chat-message-in 220ms ease both;
}

.bubble-user {
    align-self: flex-end;
    color: var(--ink);
    background: var(--mint);
}

.bubble-agent {
    align-self: flex-start;
    color: var(--white);
    background: #1f2d2a;
}

.bubble a {
    color: #53b7ff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bubble a:hover,
.bubble a:focus-visible {
    color: #8ed0ff;
}

.typing-indicator {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    max-width: 88%;
    margin-top: auto;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: #1f2d2a;
    font-size: 0.88rem;
    line-height: 1.3;
    animation: chat-message-in 180ms ease both;
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
}

    .typing-dots span {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: currentColor;
        animation: typing-dot 900ms ease-in-out infinite;
    }

        .typing-dots span:nth-child(2) {
            animation-delay: 120ms;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: 240ms;
        }

@keyframes typing-dot {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@keyframes chat-message-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-row {
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin-top: 6px;
    color: var(--ink);
    border-radius: var(--radius);
    background: var(--green);
    font-weight: 850;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(7, 17, 15, 0.06);
}

    .feature-card svg {
        width: 30px;
        height: 30px;
        margin-bottom: 26px;
        color: var(--green-deep);
    }

    .feature-card p {
        margin-bottom: 0;
    }

.future-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: center;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(7, 17, 15, 0.06);
}

    .future-panel .section-kicker {
        margin-bottom: 10px;
    }

    .future-panel h3 {
        margin-bottom: 0;
        font-size: 1.45rem;
    }

.future-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .future-items span {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        color: var(--ink);
        background: linear-gradient(180deg, rgba(37, 211, 102, 0.18), rgba(18, 140, 126, 0.08));
        font-weight: 800;
    }

.cases-section {
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-card {
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(7, 17, 15, 0.02), rgba(37, 211, 102, 0.06));
    box-shadow: 0 18px 50px rgba(7, 17, 15, 0.06);
}

.case-tag {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--green-deep);
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-user {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.45;
}

.case-answer {
    margin-bottom: 0;
}

.result-section {
    color: var(--white);
    background: var(--ink);
}

    .result-section p {
        color: rgba(255, 255, 255, 0.72);
    }

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.impact-card {
    min-height: 320px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

    .impact-card span {
        display: block;
        margin-bottom: 18px;
        color: rgba(255, 255, 255, 0.62);
        font-weight: 750;
    }

    .impact-card strong {
        display: block;
        margin-bottom: 18px;
        font-size: 1.9rem;
        line-height: 1.1;
    }

.impact-losses {
    background: #222c2a;
}

.impact-gains {
    color: var(--ink);
    background: var(--green);
}

    .impact-gains span,
    .impact-gains .impact-list li {
        color: rgba(7, 17, 15, 0.72);
    }

.impact-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .impact-list li {
        position: relative;
        padding-left: 18px;
        color: rgba(255, 255, 255, 0.76);
        font-weight: 700;
        line-height: 1.45;
    }

.impact-losses .impact-list li::before,
.impact-gains .impact-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    content: "-";
}

.impact-gains .impact-list li::before {
    content: "+";
}

.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 72px;
    align-items: center;
}

    .pricing-grid > div > p:not(.section-kicker) {
        font-size: 1.06rem;
    }

.pricing-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.05)), #fbfdfc;
    box-shadow: 0 18px 50px rgba(7, 17, 15, 0.08);
}

    .pricing-card .button {
        width: 100%;
    }

.pricing-label {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--green-deep);
    font-weight: 850;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ink);
}

    .price span {
        font-size: 1.5rem;
        font-weight: 900;
    }

    .price strong {
        font-size: 4rem;
        line-height: 1;
        font-weight: 950;
    }

    .price small {
        color: var(--steel);
        font-size: 1.05rem;
        font-weight: 800;
    }

.pricing-card p {
    margin-bottom: 24px;
}

.pricing-emphasis {
    color: var(--green-deep);
    font-weight: 800;
}

.faq-section {
    background: var(--paper);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: start;
}

    .faq-grid .section-heading {
        position: sticky;
        top: 108px;
        margin-bottom: 0;
    }

    .faq-grid .section-heading p:not(.section-kicker) {
        font-size: 1.06rem;
    }

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.faq-item {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 42px rgba(7, 17, 15, 0.05);
}

    .faq-item h3 {
        margin-bottom: 10px;
        color: var(--ink);
    }

    .faq-item p {
        margin-bottom: 0;
    }

.cta-section {
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.14), rgba(18, 140, 126, 0.1)), var(--paper);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

    .lead-form label {
        display: grid;
        gap: 8px;
        color: var(--graphite);
        font-weight: 800;
    }

    .lead-form input {
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        border: 1px solid #cbd9d5;
        border-radius: var(--radius);
        color: var(--ink);
        background: #fbfdfc;
        outline: none;
    }

        .lead-form input:focus {
            border-color: var(--green-mid);
            box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
        }

.form-button {
    width: 100%;
    margin-top: 6px;
}

.form-feedback {
    min-height: 26px;
    margin: 0;
    color: var(--green-deep);
    font-weight: 750;
}

    .form-feedback.is-error {
        color: #a54020;
    }

.cta-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

    .cta-proof span {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 16px;
        border: 1px solid rgba(18, 140, 126, 0.16);
        border-radius: 999px;
        color: var(--green-deep);
        background: rgba(255, 255, 255, 0.62);
        font-weight: 800;
    }

.site-footer {
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: 112px;
    padding: 24px 0;
}

.footer-brand,
.footer-nav {
    display: inline-flex;
    align-items: center;
}

.footer-brand {
    gap: 10px;
    font-weight: 850;
}

.footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .footer-nav a {
        padding: 9px 11px;
        color: rgba(255, 255, 255, 0.68);
        border-radius: var(--radius);
        font-weight: 700;
        transition: color 160ms ease, background 160ms ease;
    }

        .footer-nav a:hover,
        .footer-nav a:focus-visible {
            color: var(--white);
            background: rgba(255, 255, 255, 0.08);
        }

.footer-trademark {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 1040px) {
    .hero-copy-panel h1 {
        font-size: clamp(3rem, 5.4vw, 3.8rem);
    }

    h2 {
        font-size: 2.55rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .authority-grid,
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 350px);
        gap: 28px;
    }

    .hero-phone-demo {
        width: min(100%, 350px);
        height: min(500px, 62svh);
    }

    .two-column,
    .result-grid,
    .cta-grid,
    .pricing-grid,
    .faq-grid,
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .future-panel {
        grid-template-columns: 1fr;
    }

    .faq-grid .section-heading {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-trademark {
        text-align: left;
    }

    .phone-demo {
        margin: 0;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 680px);
    }

    .site-header {
        min-height: 64px;
        padding: 0 14px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset: 64px 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        background: rgba(7, 17, 15, 0.97);
        box-shadow: var(--shadow);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a,
    .site-nav .nav-cta {
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
        padding: 0 12px;
    }

    .hero {
        height: auto;
        min-height: calc(100svh - 88px);
        max-height: none;
        padding: 30px 0 24px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        align-content: center;
    }

    .hero-phone-demo {
        justify-self: center;
        width: min(100%, 360px);
        height: 260px;
        min-height: 260px;
        padding: 10px;
    }

    .hero-phone-demo .phone-top {
        min-height: 52px;
        padding-bottom: 10px;
    }

    .hero-phone-demo .chat-thread {
        gap: 8px;
        padding: 12px 6px 6px;
    }

    .hero-phone-demo .bubble {
        padding: 9px 11px;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .hero-phone-demo .typing-indicator {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .hero-image {
        background-position: 64% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.88) 52%, rgba(7, 17, 15, 0.54) 100%), linear-gradient(0deg, rgba(7, 17, 15, 0.72) 0%, rgba(7, 17, 15, 0) 36%);
    }

    .eyebrow,
    .section-kicker {
        margin-bottom: 12px;
    }

    h1 {
        margin-bottom: 12px;
        font-size: 3.35rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .hero-copy {
        margin-bottom: 18px;
        font-size: 1rem;
    }

    .hero-statement {
        margin-bottom: 0.35rem;
        font-size: 1.05rem;
    }

    .hero-copy-panel h1 {
        margin-bottom: 14px;
        font-size: 2.7rem;
    }

    .hero-actions {
        gap: 10px;
        margin-bottom: 20px;
    }

    .button {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
    }

    .hero-metrics {
        display: none;
    }

    .signal-grid {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .signal-arrow {
        display: none;
    }

    .section {
        padding: 68px 0;
    }

    .feature-grid,
    .faq-list,
    .impact-grid,
    .authority-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .authority-card,
    .case-card,
    .impact-card {
        min-height: auto;
    }

    .faq-item {
        min-height: auto;
    }

    .price strong {
        font-size: 3.3rem;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        padding-top: 30px;
    }

    .hero-phone-demo {
        height: 240px;
        min-height: 240px;
    }

    .phone-demo,
    .lead-form {
        border-radius: var(--radius);
    }
}

.site-nav .nav-login {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.site-nav .nav-login:hover,
.site-nav .nav-login:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.auth-page-shell,
.private-page-shell {
    min-height: 100svh;
    background:
        radial-gradient(circle at top right, rgba(37, 211, 102, 0.16), transparent 24%),
        linear-gradient(180deg, #081311 0%, #0b1613 100%);
}

.auth-header {
    position: sticky;
}

.auth-header-actions,
.private-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.auth-header-link {
    min-height: 42px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    font-weight: 650;
}

.auth-header-link:hover,
.auth-header-link:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.auth-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    min-height: calc(100svh - 76px);
}

.auth-visual-panel {
    position: relative;
    min-height: 640px;
    padding: 56px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-visual-backdrop,
.auth-visual-image {
    position: absolute;
    inset: 0;
}

.auth-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-visual-backdrop {
    background:
        linear-gradient(90deg, rgba(7, 17, 15, 0.92) 0%, rgba(7, 17, 15, 0.76) 48%, rgba(7, 17, 15, 0.46) 100%),
        linear-gradient(0deg, rgba(7, 17, 15, 0.62) 0%, rgba(7, 17, 15, 0.18) 44%);
    z-index: 1;
}

.auth-visual-copy {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: end;
    min-height: 100%;
    max-width: 620px;
}

.auth-visual-copy h1,
.private-card h1 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 0.96;
}

.auth-visual-copy p,
.private-copy {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.auth-visual-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.auth-visual-points div {
    padding: 14px 16px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    font-weight: 700;
}

.auth-card-panel,
.private-main {
    display: grid;
    place-items: center;
    padding: 48px 24px;
}

.auth-card,
.private-card,
.modal-card {
    width: min(100%, 520px);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.private-card {
    width: min(100%, 980px);
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.08), rgba(255, 255, 255, 0.96));
}

.auth-card h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 2.25rem;
}

.auth-card-copy {
    margin-bottom: 24px;
    color: rgba(7, 17, 15, 0.7);
}

.auth-card-copy.compact {
    margin: 0 0 16px;
    font-size: 0.96rem;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 8px;
    color: var(--graphite);
    font-weight: 800;
}

.auth-field input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #cbd9d5;
    border-radius: var(--radius);
    color: var(--ink);
    background: #fbfdfc;
    outline: none;
}

.auth-field input:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.auth-field input:disabled {
    color: rgba(7, 17, 15, 0.52);
    background: #eef4f1;
}

.auth-submit,
.private-logout-button {
    width: 100%;
}

.auth-link-button {
    width: fit-content;
    padding: 0;
    color: var(--green-deep);
    border: 0;
    background: transparent;
    font-weight: 850;
    cursor: pointer;
}

.auth-link-button:hover,
.auth-link-button:focus-visible {
    text-decoration: underline;
}

.auth-feedback {
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.45;
}

.auth-feedback.is-error {
    color: #8d371b;
    background: rgba(195, 78, 20, 0.14);
}

.auth-feedback.is-info {
    color: #0c5b52;
    background: rgba(18, 140, 126, 0.12);
}

.auth-feedback.is-success {
    color: #0c5b52;
    background: rgba(37, 211, 102, 0.14);
}

.loading-indicator {
    display: flex;
    justify-content: center;
}

.loading-indicator.is-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: rgba(7, 17, 15, 0.16);
    border-radius: inherit;
}

.loading-indicator-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--ink);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 38px rgba(7, 17, 15, 0.1);
    font-weight: 800;
}

.loading-indicator-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(18, 140, 126, 0.18);
    border-top-color: var(--green-mid);
    border-radius: 50%;
    animation: auth-spin 900ms linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    padding: 24px;
    background: rgba(7, 17, 15, 0.58);
    backdrop-filter: blur(8px);
}

.modal-backdrop.is-open {
    display: grid;
    place-items: center;
}

.auth-modal-card {
    width: min(100%, 560px);
}

.modal-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
}

.auth-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.private-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.private-summary-grid article {
    padding: 20px;
    border: 1px solid rgba(7, 17, 15, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
}

.private-summary-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--green-deep);
    font-weight: 800;
}

.private-summary-grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1.22rem;
}

.private-summary-grid p {
    margin-bottom: 0;
}

.logged-page-shell {
    min-height: 100svh;
    background:
        radial-gradient(circle at top center, rgba(86, 236, 145, 0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(37, 211, 102, 0.08), transparent 24%),
        linear-gradient(180deg, #081311 0%, #0d1714 100%);
}

.logged-page-content {
    width: min(1480px, calc(100% - 15px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.logged-topbar-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.logged-header-button {
    width: auto;
}

.logged-page-title {
    margin-bottom: 28px;
}

.logged-page-title h1 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(2.3rem, 4vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.logged-page-title p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.04rem;
}

.logged-shell {
    display: grid;
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 22px;
    border: 1px solid rgba(120, 255, 174, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
        rgba(8, 19, 17, 0.7);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.logged-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(120, 255, 174, 0.09);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(24, 36, 33, 0.92), rgba(14, 24, 22, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.logged-brand {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
}

.logged-brand-badge {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    overflow: hidden;
    background: #111716;
    border: 1px solid rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.18), 0 0 18px rgba(124, 92, 255, 0.26);
}

.logged-brand-badge img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.logged-brand-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    font-size: 1.02rem;
    overflow-wrap: anywhere;
}

.logged-brand-copy span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.94rem;
    overflow-wrap: anywhere;
}

.logged-nav {
    display: grid;
    gap: 10px;
}

.logged-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(120, 255, 174, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    font-weight: 800;
}

.logged-nav-item.is-active {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(86, 236, 145, 0.98), rgba(37, 211, 102, 0.94));
}

.logged-sidebar-note {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
}

.logged-usage-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(120, 255, 174, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.logged-usage-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.logged-usage-header strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    font-size: 0.96rem;
}

.logged-usage-header span,
.logged-usage-note {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.88rem;
    line-height: 1.5;
}

.logged-usage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.logged-usage-bar {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.logged-usage-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 180ms ease;
}

.logged-usage-pill.is-healthy,
.logged-usage-bar-fill.is-healthy {
    color: #7ef0ae;
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.94), rgba(86, 236, 145, 0.98));
}

.logged-usage-pill.is-warning {
    color: #ffd58a;
    background: rgba(255, 198, 92, 0.16);
}

.logged-usage-bar-fill.is-warning {
    background: linear-gradient(90deg, rgba(255, 198, 92, 0.94), rgba(255, 156, 92, 0.98));
}

.logged-usage-pill.is-critical {
    color: #ffb0a7;
    background: rgba(255, 120, 105, 0.16);
}

.logged-usage-bar-fill.is-critical {
    background: linear-gradient(90deg, rgba(255, 120, 105, 0.96), rgba(255, 168, 94, 0.98));
}

.logged-payment-note {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.55;
}

.logged-main {
    display: grid;
    min-width: 0;
    gap: 20px;
}

.logged-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid rgba(120, 255, 174, 0.09);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(28, 41, 37, 0.92), rgba(20, 31, 28, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.logged-topbar > div:first-child {
    min-width: 0;
}

.logged-topbar h3 {
    margin-bottom: 6px;
    color: var(--white);
    font-size: 1.45rem;
    overflow-wrap: anywhere;
}

.logged-topbar p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
    overflow-wrap: anywhere;
}

.logged-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    color: var(--ink);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(86, 236, 145, 0.98), rgba(37, 211, 102, 0.94));
    font-weight: 900;
    white-space: nowrap;
}

.logged-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.24fr) minmax(290px, 1fr);
    align-items: start;
    gap: 20px;
}

.logged-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(120, 255, 174, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03)),
        rgba(18, 28, 26, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.logged-card h4 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 1.1rem;
}

.logged-inline-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.08)), rgba(255, 255, 255, 0.96);
}

.logged-inline-alert-copy {
    min-width: 0;
}

.logged-inline-alert-copy h4 {
    margin-bottom: 6px;
}

.logged-inline-alert-copy p {
    margin-bottom: 0;
    color: rgba(7, 17, 15, 0.72);
}

.logged-list,
.logged-users {
    display: grid;
    gap: 12px;
}

.logged-users {
    align-content: start;
}

.logged-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.logged-list li {
    display: grid;
    grid-template-columns: minmax(118px, 140px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(120, 255, 174, 0.08);
}

.logged-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.logged-label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.92rem;
    font-weight: 800;
}

.logged-value {
    color: var(--white);
    font-weight: 850;
    text-align: right;
    justify-self: end;
    overflow-wrap: anywhere;
}

.logged-inline-button {
    padding: 0;
    color: #7ef0ae;
    border: 0;
    background: transparent;
    font-weight: 850;
    cursor: pointer;
}

.logged-inline-button:hover,
.logged-inline-button:focus-visible {
    text-decoration: underline;
}

.logged-user-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(120, 255, 174, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.logged-user-name,
.logged-brand-copy,
.logged-sidebar,
.logged-card {
    min-width: 0;
}

.logged-user-row.is-plus-user {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.12), rgba(255, 255, 255, 0.96));
}

.logged-user-name strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    overflow-wrap: anywhere;
}

.logged-user-name span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.93rem;
    overflow-wrap: anywhere;
}

.logged-user-plus-badge {
    display: inline-flex;
    margin-top: 8px;
    padding: 6px 10px;
    color: var(--green-deep);
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.14);
    font-size: 0.8rem;
    font-weight: 900;
}

.logged-user-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.logged-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    font-weight: 850;
    cursor: pointer;
}

.logged-action-primary {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(86, 236, 145, 0.98), rgba(37, 211, 102, 0.94));
}

.logged-action-disabled-cursor {
    color: var(--white);
    background: var(--ink);
}

.logged-action-disabled,
.logged-action:disabled {
    opacity: 0.56;
    cursor: not-allowed;
}

.logged-payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: fit-content;
    max-width: 100%;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
    justify-self: end;
}

.logged-payment-status.is-active {
    color: #7ef0ae;
    background: rgba(37, 211, 102, 0.14);
}

.logged-modal-card {
    width: min(100%, 560px);
}

@media (max-width: 1040px) {
    .logged-page-content {
        width: min(100% - 32px, 1200px);
    }

    .logged-page-title h1 {
        font-size: clamp(2.1rem, 5vw, 3rem);
    }

    .logged-shell {
        grid-template-columns: 1fr;
    }

    .logged-sidebar {
        position: static;
    }

    .logged-topbar {
        padding: 20px;
    }

    .logged-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .logged-page-content {
        width: min(100% - 28px, 720px);
        padding: 24px 0 40px;
    }

    .logged-topbar-actions {
        width: 100%;
        justify-content: stretch;
    }

    .logged-topbar-actions .auth-header-link,
    .logged-topbar-actions .logged-header-button {
        width: 100%;
    }

    .logged-topbar,
    .logged-inline-alert,
    .logged-user-row {
        flex-direction: column;
        align-items: stretch;
    }

    .logged-value,
    .logged-user-actions {
        text-align: left;
        justify-content: flex-start;
    }

    .logged-page-title h1 {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
        line-height: 1.02;
    }

    .logged-page-title p {
        font-size: 0.98rem;
    }

    .logged-sidebar,
    .logged-topbar,
    .logged-card {
        padding: 20px;
    }

    .logged-status {
        width: 100%;
    }

    .logged-list li {
        grid-template-columns: 1fr;
    }

    .logged-list li,
    .logged-user-row {
        gap: 10px;
    }

    .logged-user-actions,
    .logged-user-actions .logged-action,
    .logged-inline-alert .logged-action,
    .logged-card > .logged-action {
        width: 100%;
    }

    .logged-value {
        text-align: left;
        justify-self: start;
    }

    .logged-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .logged-page-content {
        width: min(100% - 20px, 720px);
        padding: 18px 0 32px;
    }

    .logged-sidebar,
    .logged-topbar,
    .logged-card,
    .logged-modal-card {
        padding: 18px;
        border-radius: 18px;
    }

    .logged-brand {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .logged-brand-badge {
        width: 42px;
        height: 42px;
    }

    .logged-nav-item {
        padding: 10px 12px;
    }
}

@media (max-width: 1040px) {
    .auth-main {
        grid-template-columns: 1fr;
    }

    .auth-visual-panel {
        min-height: 500px;
        padding: 32px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .private-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .auth-header-actions {
        display: none;
    }

    .auth-card,
    .private-card,
    .modal-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .auth-card h2 {
        font-size: 1.9rem;
    }

    .auth-visual-copy h1,
    .private-card h1 {
        font-size: 2.6rem;
    }

    .auth-modal-actions,
    .private-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .private-header-actions .auth-header-link,
    .private-header-actions .button,
    .auth-modal-actions .button {
        width: 100%;
    }
}
