:root {
    --yellow: #ffe600;
    --yellow-soft: #fff7b8;
    --blue: #3483fa;
    --blue-dark: #1f4e8c;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f5f6f8;
    --white: #ffffff;
    --red: #d93025;
    --green: #0f9d58;
    --radius: 8px;
    --shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
    font: inherit;
}

.app-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #111827;
    color: var(--white);
    padding: 22px 16px;
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--yellow);
    color: #111827;
    font-weight: 900;
}

.brand-mark.large {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
}

.brand small,
.eyebrow,
.muted {
    color: var(--muted);
}

.brand small {
    display: block;
    color: #cbd5e1;
    margin-top: 2px;
}

.nav {
    display: grid;
    gap: 6px;
}

.nav a {
    border-radius: var(--radius);
    color: #d1d5db;
    padding: 12px 14px;
}

.nav a:hover,
.nav a.is-active {
    background: rgba(255, 230, 0, 0.14);
    color: var(--white);
}

.nav-sub {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 3px;
    margin: 0 0 8px 16px;
    padding-left: 10px;
}

.nav-sub a {
    font-size: 0.9rem;
    padding: 8px 10px;
}

.main {
    min-width: 0;
    padding: 24px;
}

.topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
}

.topbar h1 {
    margin: 4px 0 0;
    font-size: 1.8rem;
}

.topbar form {
    align-items: center;
    display: flex;
    gap: 10px;
}

.user-chip {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
}

.button.primary {
    background: var(--blue);
    color: var(--white);
}

.button.ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.button.full {
    width: 100%;
}

.button.compact {
    min-height: 34px;
    padding: 0 10px;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

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

.metric-card,
.panel,
.login-card,
.ticket-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.metric-card {
    border-top: 4px solid var(--line);
    padding: 18px;
}

.metric-card span {
    color: var(--muted);
    display: block;
    margin-bottom: 10px;
}

.metric-card strong {
    font-size: 2rem;
}

.accent-yellow {
    border-top-color: var(--yellow);
}

.accent-blue {
    border-top-color: var(--blue);
}

.accent-red {
    border-top-color: var(--red);
}

.content-grid {
    display: grid;
    gap: 18px;
}

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

.panel {
    overflow: hidden;
}

.panel-header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.panel-header h2 {
    font-size: 1rem;
    margin: 0;
}

.panel-header p {
    color: var(--muted);
    margin: 4px 0 0;
}

.panel-header a {
    color: var(--blue);
    font-weight: 700;
}

.list {
    display: grid;
}

.list-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 18px;
}

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

.list-row p,
td p {
    color: var(--muted);
    margin: 5px 0 0;
}

.badge {
    background: #eef2ff;
    border-radius: 999px;
    color: var(--blue-dark);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 9px;
    white-space: nowrap;
}

.badge.danger {
    background: #fee2e2;
    color: var(--red);
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f9fafb;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.empty-cell,
.empty-inline {
    color: var(--muted);
    padding: 22px;
    text-align: center;
}

.empty-inline.compact {
    padding: 14px;
}

.board {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 14px;
    overflow-x: auto;
}

.board-column {
    background: #eef2f7;
    border-radius: var(--radius);
    min-height: 420px;
    padding: 12px;
}

.board-column header {
    font-weight: 900;
    margin-bottom: 12px;
}

.ticket-card {
    box-shadow: none;
    display: grid;
    gap: 7px;
    margin-bottom: 10px;
    padding: 13px;
}

.ticket-card span,
.ticket-card p,
.ticket-card small {
    color: var(--muted);
}

.ticket-card p {
    margin: 0;
}

.ticket-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255, 230, 0, 0.92), rgba(255, 230, 0, 0.74)),
        linear-gradient(90deg, #fff7b8, #eaf2ff);
    display: grid;
    place-items: center;
    padding: 24px;
}

.landing-page {
    background: #f6f7f3;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 78px;
    scroll-behavior: smooth;
}

.landing-nav {
    align-items: center;
    background: rgba(246, 247, 243, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    left: 0;
    padding: 18px max(24px, calc((100vw - 1180px) / 2 + 24px));
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 30;
}

.landing-brand,
.landing-nav-links,
.landing-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.landing-brand img {
    border-radius: var(--radius);
    height: 40px;
    width: 40px;
}

.landing-nav a:not(.landing-button) {
    color: #475569;
    font-weight: 800;
    position: relative;
}

.landing-nav a:not(.landing-button).is-active,
.landing-nav a:not(.landing-button):hover {
    color: #0f172a;
}

.landing-nav a:not(.landing-button).is-active::after {
    background: var(--yellow);
    border-radius: 999px;
    bottom: -8px;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

.landing-menu-button {
    background: #0f172a;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    display: none;
    gap: 5px;
    height: 42px;
    padding: 10px;
    width: 46px;
}

.landing-menu-button span {
    background: var(--yellow);
    border-radius: 999px;
    display: block;
    height: 3px;
    width: 100%;
}

.landing-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
}

.landing-button-primary {
    background: var(--yellow);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.landing-button-secondary {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

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

.landing-hero {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
    margin: 0 auto;
    max-width: 1180px;
    min-height: calc(100vh - 86px);
    padding: 52px 24px 92px;
}

.landing-hero,
.landing-section,
.landing-contrast,
.landing-faq {
    scroll-margin-top: 96px;
}

.landing-copy h1 {
    color: #0f172a;
    font-size: 4.65rem;
    line-height: 0.98;
    margin: 14px 0 20px;
    max-width: 820px;
}

.landing-copy p {
    color: #475569;
    font-size: 1.18rem;
    line-height: 1.65;
    margin: 0 0 26px;
    max-width: 650px;
}

.landing-kicker {
    color: #64748b;
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.landing-visual {
    background: #0f172a;
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    color: var(--white);
    display: grid;
    gap: 14px;
    padding: 22px;
}

.conversation-card,
.conversation-meta {
    background: #172033;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius);
    display: grid;
    gap: 8px;
    padding: 18px;
}

.conversation-card.answer {
    border-left-color: #ffffff;
}

.landing-visual span {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-visual strong {
    color: #f8fafc;
    line-height: 1.35;
}

.conversation-meta {
    background: var(--yellow);
    border-left-color: #0f172a;
    color: #0f172a;
}

.conversation-meta small {
    color: #334155;
    font-weight: 800;
}

.landing-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-strip strong {
    align-items: center;
    background: #fff;
    color: #0f172a;
    display: flex;
    justify-content: center;
    min-height: 82px;
    padding: 18px;
    text-align: center;
}

.landing-section,
.landing-contrast {
    margin: 0 auto;
    max-width: 1180px;
    padding: 76px 24px;
}

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

.section-heading h2,
.landing-contrast h2 {
    color: #0f172a;
    font-size: 3.2rem;
    line-height: 1.05;
    margin: 10px 0 0;
}

.feature-grid,
.pricing-grid,
.outcome-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.feature-grid article,
.pricing-grid article,
.outcome-grid article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.feature-grid article span {
    color: #0f172a;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.feature-grid article strong,
.pricing-grid article strong,
.outcome-grid article strong {
    color: #0f172a;
    font-size: 1.2rem;
}

.feature-grid p,
.pricing-grid p,
.outcome-grid p,
.landing-faq p {
    color: var(--muted);
    line-height: 1.55;
    margin: 12px 0 0;
}

.outcome-grid span {
    color: #0f172a;
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.landing-contrast {
    align-items: start;
    background: #0f172a;
    color: var(--white);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
    max-width: none;
    padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.landing-contrast h2 {
    color: var(--white);
}

.landing-contrast ul {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-contrast li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-weight: 800;
    padding: 0 0 14px;
}

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

.pricing-grid span {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 900;
}

.pricing-grid .is-featured {
    border-color: var(--yellow);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.landing-empty-plan {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 30px;
    padding: 24px;
}

.landing-faq {
    display: grid;
    gap: 30px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 76px 24px;
}

.landing-faq h2,
.landing-final h2 {
    color: #0f172a;
    font-size: 2.7rem;
    line-height: 1.08;
    margin: 10px 0 12px;
}

.faq-grid {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.landing-faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.landing-faq summary {
    align-items: center;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    gap: 14px;
    font-weight: 900;
    justify-content: space-between;
    list-style: none;
    padding: 18px 22px;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary::after {
    align-items: center;
    background: var(--yellow);
    border-radius: 999px;
    color: #0f172a;
    content: '+';
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 1.1rem;
    height: 28px;
    justify-content: center;
    line-height: 1;
    width: 28px;
}

.landing-faq details[open] {
    border-color: var(--yellow);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.landing-faq details[open] summary {
    background: #fff7cc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.landing-faq details[open] summary::after {
    background: #0f172a;
    color: var(--yellow);
    content: '-';
}

.landing-faq details p {
    margin: 0;
    padding: 18px 22px 22px;
}

.landing-final {
    align-items: center;
    background: var(--yellow);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 56px max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.landing-final h2 {
    margin: 0;
    max-width: 760px;
}

.landing-final .landing-button-primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

.landing-final .landing-button-primary:hover {
    background: #1e293b;
}

.landing-footer {
    align-items: start;
    background: #0f172a;
    color: #f8fafc;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 34px max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.landing-footer p {
    color: #cbd5e1;
    margin: 12px 0 0;
}

.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.landing-footer a {
    color: #f8fafc;
    font-weight: 800;
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(280px, 380px);
    gap: 28px;
    max-width: 860px;
    width: 100%;
}

.login-copy {
    align-self: center;
}

.login-copy h1 {
    font-size: 3rem;
    margin: 18px 0 10px;
}

.login-copy p {
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.55;
    margin: 0;
}

.login-card {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.login-card h2 {
    margin: 0;
}

.login-card label {
    color: var(--muted);
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.login-card input {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 44px;
    padding: 0 12px;
}

.alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    color: var(--red);
    padding: 11px 12px;
}

.flash {
    border-radius: var(--radius);
    margin-bottom: 16px;
    padding: 12px 14px;
}

.flash.success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: var(--green);
}

.flash.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--red);
}

.listing-header {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
}

.listing-header h2 {
    margin: 5px 0;
}

.listing-header p,
.form-hint {
    color: var(--muted);
    margin: 0;
}

.back-link {
    color: var(--blue);
    font-weight: 800;
}

.detail-grid {
    align-items: start;
    margin-bottom: 18px;
}

.knowledge-form {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.knowledge-form label {
    color: var(--muted);
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.knowledge-form textarea {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    padding: 12px;
    width: 100%;
}

.knowledge-form textarea {
    min-height: 260px;
    resize: vertical;
}

.file-upload {
    display: grid;
    gap: 8px;
}

.file-upload input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.file-upload label {
    align-items: center;
    background: #f9fafb;
    border: 1px dashed #b7c2d4;
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    gap: 13px;
    padding: 14px;
}

.file-upload label:hover {
    border-color: var(--blue);
    background: #f5f9ff;
}

.file-upload-icon {
    align-items: center;
    background: var(--yellow);
    border-radius: var(--radius);
    color: #111827;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.file-upload small,
.file-upload-name {
    color: var(--muted);
    font-weight: 600;
}

.file-upload-name {
    margin: 0;
}

.description-box {
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
}

.tabs {
    display: grid;
}

.tab-list {
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 4px;
    padding: 10px 14px 0;
}

.tab-button {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 900;
    padding: 10px 12px;
}

.tab-button.is-active {
    border-bottom-color: var(--blue);
    color: var(--ink);
}

.tab-panel[hidden] {
    display: none;
}

.description-box:last-child {
    border-bottom: 0;
}

.description-box p {
    color: var(--muted);
    line-height: 1.55;
}

.attributes-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    margin-top: 12px;
    overflow: hidden;
}

.attribute-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(120px, 0.8fr) minmax(140px, 1fr);
    padding: 11px 12px;
}

.attribute-row:last-child {
    border-bottom: 0;
}

.attribute-row span {
    color: var(--muted);
    font-weight: 700;
}

.attribute-row strong {
    font-weight: 800;
    overflow-wrap: anywhere;
}

.integration-config {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 18px;
}

.integration-config div {
    display: grid;
    gap: 6px;
}

.integration-config code {
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--blue-dark);
    overflow-wrap: anywhere;
    padding: 9px 10px;
}

.empty-state {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 60px auto;
    max-width: 520px;
    padding: 28px;
    text-align: center;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.admin-tabs a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 800;
    padding: 10px 12px;
}

.admin-tabs a.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.stack-form {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.stack-form label {
    color: var(--muted);
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 42px;
    padding: 0 11px;
}

.stack-form textarea {
    padding: 11px;
    resize: vertical;
}

.stack-form .check-row {
    align-items: center;
    color: var(--ink);
    display: flex;
    gap: 9px;
}

.stack-form .check-row input {
    min-height: auto;
}

.form-panel {
    max-width: 760px;
}

.detail-list {
    display: grid;
    gap: 0;
    padding: 18px;
}

.detail-list div {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
    padding: 13px 0;
}

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

.detail-list span {
    color: var(--muted);
    font-weight: 800;
}

.dataTables_wrapper,
.dt-container {
    padding: 16px 18px;
}

@media (max-width: 980px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

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

    .stats-grid,
    .two-columns,
    .integration-config {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .login-panel {
        grid-template-columns: 1fr;
    }

    .landing-hero,
    .landing-contrast,
    .feature-grid,
    .pricing-grid,
    .outcome-grid,
    .landing-strip,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .landing-copy h1 {
        font-size: 3.4rem;
    }

    .section-heading h2,
    .landing-contrast h2 {
        font-size: 2.5rem;
    }

    .landing-final {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .main {
        padding: 16px;
    }

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

    .topbar form,
    .stats-grid,
    .two-columns,
    .integration-config {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .stats-grid {
        display: grid;
    }

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

    .login-copy h1 {
        font-size: 2.3rem;
    }

    .landing-nav {
        align-items: center;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .landing-menu-button {
        display: grid;
    }

    .landing-nav-links {
        align-items: stretch;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        width: 100%;
    }

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

    .landing-nav-links a {
        border-radius: var(--radius);
        padding: 12px;
    }

    .landing-nav a:not(.landing-button).is-active::after {
        display: none;
    }

    .landing-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-copy h1 {
        font-size: 2.65rem;
    }

    .section-heading h2,
    .landing-contrast h2,
    .landing-faq h2,
    .landing-final h2 {
        font-size: 2rem;
    }

    .landing-hero,
    .landing-section,
    .landing-contrast,
    .landing-faq,
    .landing-final,
    .landing-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .conversation-card,
    .conversation-meta {
        padding: 14px;
    }

    .landing-footer {
        flex-direction: column;
    }
}
