:root {
    --glass: rgba(255, 255, 255, 0.045);
    --glass2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --text: rgba(255, 255, 255, 0.88);
    --muted: rgba(255, 255, 255, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
}

body {
    min-height: 100vh;
    background: radial-gradient(900px 600px at 20% 10%, rgba(120, 120, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 80% 90%, rgba(255, 120, 200, 0.10), transparent 60%),
    linear-gradient(135deg, #0b1020, #0e1628);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover,
a:focus-visible {
    color:var(--muted);
}

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

.logo {
    max-width: 520px;
    resize: both;
}

.logo svg {
    width: 95%;
    height: 95%;
}

/* NAV */
nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
}

nav li {
    display: flex;
    align-items: center;
}
nav li.current a,
nav li.section a {
    color:var(--muted);
}

nav li:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: #2f3544;
}

nav.control-nav li:not(:last-child) {
    margin: 0 0 6px;
}

nav.control-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toy-help-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav.control-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    nav.control-nav li {
        justify-content: center;
        width: 100%;
        padding: 10px 0;
    }

    nav.control-nav li:not(:first-child) {
        border-top: 1px solid var(--border);
    }

    nav.control-nav li:not(:last-child)::after {
        display: none;
    }

    nav.control-nav li:not(:last-child) {
        margin: 0;
    }

    nav.control-nav li a {
        display: inline-block;
        padding: 0;
        text-align: center;
    }
}

@media (max-width: 380px) {
    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    nav li {
        justify-content: center;
        width: 100%;
        padding: 10px 0;
    }

    nav li:not(:first-child) {
        border-top: 1px solid var(--border);
    }

    nav li:not(:last-child)::after {
        display: none;
    }

    nav li a {
        display: inline-block;
        padding: 0;
        text-align: center;
    }
}

/* CARD */
.card {
    width: min(1280px, 100%);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, var(--glass2), var(--glass));
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.card-menu {
    margin-top: 0;
    margin-bottom: 2rem;
}
.card-menu,
.card-content,
.card-login {
    grid-template-columns: 1.2fr;
}

.card-content {
    margin-bottom: 40px;
}

.card-login {
    width: min(460px,100%);
}

.center {
    text-align: center;
}

@media (max-width: 820px) {
    .card {
        grid-template-columns: 1fr;
    }

    .logo {
        max-width: 330px;
    }
}

.panel {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.title {
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.control-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.control-panel {
    text-align: left;
}

.control-panel h3 {
    margin: 0 0 14px;
}

.control-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.control-heading .title {
    margin: 0;
    text-align: left;
}

.muted {
    color: var(--muted);
}

.dashboard-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    position: static;
    flex: 0 0 auto;
    white-space: nowrap;
}

.status-online {
    color: #0e2c1f;
    background: #61e7a8;
}

.status-offline {
    color: #fff;
    background: rgba(255, 90, 95, 0.72);
}

.control-stats {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.control-stats div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.control-stats span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .82rem;
}

.control-stats strong {
    font-size: 1rem;
}

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

.command-grid button,
.speak-form button {
    width: 100%;
}

.js-command-form.is-sending button {
    opacity: 0.7;
    cursor: progress;
}

.speak-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.speak-counter {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: .85rem;
    text-align: right;
}

.help-event-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.help-event-list li {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.help-event-list strong,
.help-event-list span {
    display: block;
}

.help-event-list span {
    margin-top: 6px;
    color: var(--muted);
    font-size: .86rem;
}

.help-event-list .is-active strong {
    color: #fff;
}

.help-event-list .is-dismissed {
    opacity: .62;
}

.help-event-list .is-dismissed strong {
    color: var(--muted);
    font-weight: 500;
}

.help-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 9, 19, 0.72);
    backdrop-filter: blur(8px);
}

.help-modal[hidden] {
    display: none;
}

.help-modal-dialog {
    width: min(440px, 100%);
    padding: 24px;
    border-radius: 18px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.help-modal-dialog h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.help-modal-dialog p {
    margin: 0 0 18px;
}

.toy-photo {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.command-history {
    grid-column: 1 / -1;
    overflow-x: auto;
}

@media (max-width: 820px) {
    .control-dashboard,
    .control-stats,
    .command-grid {
        grid-template-columns: 1fr;
    }

    .control-heading {
        flex-direction: column;
    }
}

/* FORM */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    outline: none;
    color: var(--muted);
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    background: rgb(255 255 255 / 7%);
    border: 1px solid var(--border);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 1px solid var(--muted);
}

textarea {
    min-height: 110px;
    resize: vertical;
    font: inherit;
}

input[type="submit"],
button {
    background-color: #2563eb;
    border-radius: 28px;
    border: 1px solid #143e6a;
    display: inline-block;
    cursor: pointer;
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: 17px;
    padding: 16px 31px;
    text-decoration: none;
    transition: background-color 0.2s;
}

input[type="submit"]:hover,
button:hover {
    background-color: #1d4ed8;
}

.command-button {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.command-vibrate {
    background-color: #2563eb;
}

.command-vibrate:hover {
    background-color: #1d4ed8;
}

.command-led {
    background-color: #0891b2;
}

.command-led:hover {
    background-color: #0e7490;
}

.command-meow {
    background-color: #db2777;
}

.command-meow:hover {
    background-color: #be185d;
}

.command-picture {
    background-color: #d97706;
}

.command-picture:hover {
    background-color: #b45309;
}

.command-speak {
    background-color: #7c3aed;
}

.command-speak:hover {
    background-color: #6d28d9;
}

.header-actions .command-speak {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.header-actions .command-speak:hover,
.header-actions .command-speak:focus-visible {
    background-color: #6d28d9;
    border-color: #6d28d9;
}

input[type="submit"]:active,
button:active {
    transform: none;
}

form .button-holder {
    margin-top: 20px;
    text-align: center;
}
form .message {
    border-radius: 6px;
    padding: 8px;
    margin: 0;
}
form .message.bad,
form .message.error,
form .message.required {
    border: 1px solid #e54545;
}

/* Login Form Begin */
#MemberLoginForm_LoginForm fieldset,
#LostPasswordForm_lostPasswordForm fieldset,
#ChangePasswordForm_ChangePasswordForm fieldset
{
    border: none;
    padding: 25px;
    margin: 0;
}
@media (max-width: 560px) {
    #MemberLoginForm_LoginForm fieldset,
    #LostPasswordForm_lostPasswordForm fieldset,
    #ChangePasswordForm_ChangePasswordForm fieldset
    {
        padding: 15px;
    }
}
#MemberLoginForm_LoginForm .btn-toolbar,
#LostPasswordForm_lostPasswordForm .btn-toolbar,
#ChangePasswordForm_ChangePasswordForm .btn-toolbar
{
    margin-top: 20px;
    text-align: center;
}
#MemberLoginForm_LoginForm_Email_Holder,
#MemberLoginForm_LoginForm_Password_Holder,
#ChangePasswordForm_ChangePasswordForm_NewPassword2_Holder
{
    margin-top: 20px;
}
label[for="MemberLoginForm_LoginForm_Email"],
label[for="MemberLoginForm_LoginForm_Password"],
label[for="LostPasswordForm_lostPasswordForm_Email"],
label[for="ChangePasswordForm_ChangePasswordForm_NewPassword1"],
label[for="ChangePasswordForm_ChangePasswordForm_NewPassword2"]
{
    display: block;
    padding-bottom: 5px;
}
#MemberLoginForm_LoginForm_Remember_Holder {
    text-align: left;
    margin-top: 20px;
}
/* Login Form End */

/* Table Begin */
.panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.panel table thead th {
    text-align: center;
    padding: 12px 14px;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    background: linear-gradient(180deg, rgb(17 22 45 / 36%), rgb(34 29 52 / 36%));
    border-bottom: 1px solid var(--border);
}

.panel table tbody td {
    text-align: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.panel table tbody tr:nth-child(even) {
    background: rgb(23 30 47 / 16%);
}
.panel table tbody tr {
    transition: background-color 0.2s;
}
.panel table tbody tr:hover {
    background: rgba(73, 159, 120, 0.14);
}

.panel table td:nth-child(2),
.panel table td:nth-child(3) {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
    .panel table {
        border: 0;
        background: transparent;
    }

    .panel table thead {
        display: none;
    }

    .panel table tbody tr {
        display: block;
        margin-top: 12px;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.03);
    }

    .panel table tbody td {
        text-align: right;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .panel table tbody td:last-child {
        border-bottom: 0;
    }

    .panel table tbody td::before {
        text-align: left;
        font-size: .8rem;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--muted);
        content: "";
    }

    .panel table tbody td:nth-child(1)::before {
        content: "ID";
    }

    .panel table tbody td:nth-child(2)::before {
        content: "Type";
    }

    .panel table tbody td:nth-child(3)::before {
        content: "Status";
    }

    .panel table tbody td:nth-child(4)::before {
        content: "Result";
    }

    .panel table tbody td:nth-child(5)::before {
        content: "Created";
    }

    .panel table td:nth-child(2),
    .panel table td:nth-child(3) {
        text-align: left;
    }

}

/* Table End */

/* Graph Begin */
.panel canvas {
    width: 100%;
    margin-top: 12px;
}
.chart-wrap {
    height: 650px;
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 560px){
    .chart-wrap {
        height: 400px;
    }
}
/* Graph End */

/* DASHBOARD BITS */
.temp {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    opacity: .85;
}

.primary-metric {
    margin-top: 10px;
    font-size: clamp(4.2rem, 9vw, 6.8rem);
    font-weight: 700;
    opacity: .92;
}

.metric-unit {
    font-size: 1rem;
    letter-spacing: .06em;
    color: var(--muted);
}

.time {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--muted);
}

.date {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 600;
    opacity: .85;
}

.kv {
    overflow: visible;
    cursor: default;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    margin-top: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.tds-tip-icon {
    cursor: help;
}

.k {
    color: var(--muted);
}

.tds-tip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 9999;
    padding: 10px 12px;
    background: rgb(42 49 65);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: none;
}

.tds-tip::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 14px;
    width: 12px;
    height: 12px;
    background: rgb(42 49 65);
    transform: rotate(45deg);
}

.tds-tip-table {
    border-collapse: collapse !important;
    font-size: 13px;
    margin-top: 0 !important;
}

.tds-tip-table th,
.tds-tip-table td {
    padding: 6px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    white-space: nowrap;
}

.tds-tip-table th {
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.tds-tip-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Tooltip row colors */
.tds-tip-table tr.tds-excellent td {
    color: #2ecc71; /* green */
}

.tds-tip-table tr.tds-very-good td {
    color: #6adf9b; /* light green */
}

.tds-tip-table tr.tds-good td {
    color: #f1c40f; /* yellow */
}

.tds-tip-table tr.tds-acceptable td {
    color: #f39c12; /* orange */
}

.tds-tip-table tr.tds-poor td {
    color: #e67e22; /* dark orange */
}

.tds-tip-table tr.tds-very-poor td {
    color: #e74c3c; /* red */
}

.tds-tip-table tr.tds-unsafe td {
    color: #ff3b3b; /* strong red */
    font-weight: 600;
}

.TDSRating.tds-excellent { color: #2ecc71; }
.TDSRating.tds-very-good { color: #6adf9b; }
.TDSRating.tds-good { color: #f1c40f; }
.TDSRating.tds-acceptable { color: #f39c12; }
.TDSRating.tds-poor { color: #e67e22; }
.TDSRating.tds-very-poor { color: #e74c3c; }
.TDSRating.tds-unsafe { color: #ff3b3b; font-weight: 600; }
.CO2Rating.tds-excellent { color: #2ecc71; }
.CO2Rating.tds-very-good { color: #6adf9b; }
.CO2Rating.tds-good { color: #f1c40f; }
.CO2Rating.tds-acceptable { color: #f39c12; }
.CO2Rating.tds-poor { color: #e67e22; }
.CO2Rating.tds-very-poor { color: #e74c3c; }
.CO2Rating.tds-unsafe { color: #ff3b3b; font-weight: 600; }

.v {
    font-weight: 600;
    opacity: .9;
}

.footer {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--muted);
}
.footer small {
    display: block;
    text-align: center;
}

.get-app-holder {
    display: block;
    margin: 20px 0;
    text-align: center;
}

.get-app-svg {
    width: 100%;
    max-width: 130px;
    height: auto;
}

/* Pagination Begin */
.pagination-wrapper {
    margin-top: 20px;
}

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.pagination-btn:hover:not(.pagination-btn-disabled) {
    background: rgba(73, 159, 120, 0.15);
    border-color: rgba(73, 159, 120, 0.3);
    color: var(--text);
}

.pagination-btn:active:not(.pagination-btn-disabled) {
    transform: translateY(0);
}

.pagination-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

.pagination-info-center {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.pagination-info-text {
    font-size: 0.85rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-info-text strong {
    color: var(--text);
    font-weight: 600;
}

.pagination-info-separator {
    color: var(--muted);
    opacity: 0.6;
}

/* Mobile Responsive - 380px and below */
@media (max-width: 380px) {
    .pagination-wrapper {
        margin-top: 16px;
    }

    .pagination-nav {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .pagination-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.85rem;
        justify-content: center;
    }

    .pagination-btn-text {
        display: none;
    }

    .pagination-btn i {
        font-size: 1.2rem;
    }

    .pagination-info-center {
        order: -1;
        width: 100%;
    }

    .pagination-info-text {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 4px;
    }

    .pagination-info-separator {
        display: none;
    }
}

/* Tablet and small screens - 560px and below */
@media (max-width: 560px) {
    .pagination-nav {
        gap: 12px;
    }

    .pagination-btn {
        padding: 10px 14px;
    }

    .pagination-btn-text {
        display: none;
    }

    .pagination-info-text {
        font-size: 0.8rem;
    }
}
/* Pagination End */

/* Typography Begin */
.typography p {
    line-height: 1.6em;
}
.typography img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.typography p {
    line-height: 1.6em;
}
.typography img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.typography .image-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}
@media (min-width: 768px) {
    .typography .image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .typography .image-grid img {
        max-width: none;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
}
@media (max-width: 767px) {
    .typography .image-grid {
        grid-template-columns: 1fr;
    }
}
.typography .image-grid > p {
    margin: 0;
}
/* Typography End */

/* Mindapta landing */
.site-header {
    width: min(1280px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto 24px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.brand-logo {
    display: block;
    width: clamp(180px, 22vw, 260px);
    height: auto;
}

.brand-symbol {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    color: #fff;
    font-weight: 800;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 1.35rem;
    line-height: 1;
}

.brand-copy small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.header-actions::after {
    display: none;
}

.header-link {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    color: #fff;
}

.button-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.button-secondary,
.button-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.button-light {
    background: #fff;
    border-color: #fff;
    color: #1d4ed8;
}

.button-light:hover,
.button-light:focus-visible {
    color: #1d4ed8;
    background: #eff6ff;
}

.button-large {
    min-height: 52px;
    padding: 0 24px;
}

body.landing-page {
    font-family: "DM Sans", Inter, system-ui, sans-serif;
    background: #0f172a;
    color: #f8fafc;
}

.landing-page .wrap {
    min-height: 100vh;
    display: block;
    padding: 0;
}

.landing-page .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    padding: 22px 24px;
    margin-bottom: 0;
}

.landing-page .header-link {
    display: none;
}

.landing-page .brand-logo {
    width: clamp(190px, 20vw, 270px);
}

.landing-page .button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 1rem;
}

.landing-page .button-large {
    min-height: 52px;
    padding: 0 24px;
}

.landing-main {
    overflow: hidden;
}

.landing-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.narrow-container {
    width: min(1024px, calc(100% - 48px));
}

.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 104px 0 76px;
    background:
        radial-gradient(circle at 72% 20%, rgba(79, 70, 229, 0.3), transparent 34%),
        radial-gradient(circle at 14% 68%, rgba(37, 99, 235, 0.18), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%),
        #0f172a;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.98fr;
    align-items: center;
    gap: 54px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 18px;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #a5b4fc;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow.dark {
    border-color: rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.hero-copy h1,
.section-heading h2,
.vision-section h2,
.cta-section h2 {
    margin: 0;
    color: inherit;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 470px;
    font-size: 1.58rem;
    line-height: 1.22;
    font-weight: 800;
}

.hero-lede {
    max-width: 510px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.82);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-actions.centered {
    justify-content: center;
}

.hero-media {
    position: relative;
}

.hero-media img,
.vision-grid img,
.image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-media img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 70px rgba(79, 70, 229, 0.2);
}

.status-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.status-pill-top {
    top: -12px;
    left: -14px;
}

.status-pill-bottom {
    right: -12px;
    bottom: -10px;
}

.section {
    padding: 78px 0;
}

.light-section {
    background: #fff;
    color: #0f172a;
}

.dark-section {
    background: #0f172a;
    color: #f8fafc;
}

.accent-section {
    background: #4f46e5;
    color: #f8fafc;
}

.outcome-section {
    background: #7c3aed;
    color: #fff;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2,
.vision-section h2,
.cta-section h2 {
    font-size: 1.52rem;
    line-height: 1.18;
    font-weight: 800;
}

.section-heading p:not(.eyebrow),
.vision-section p,
.cta-section p {
    margin: 16px auto 0;
    color: inherit;
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.74;
}

.image-compare-grid,
.comparison-grid,
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.image-card img {
    height: 288px;
}

.image-card span {
    position: absolute;
    inset: auto 0 0;
    padding: 18px;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.86));
    color: #fff;
    font-weight: 700;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.process-row article,
.feature-card,
.outcome-grid article,
.comparison-card {
    border-radius: 10px;
}

.process-row article,
.feature-card,
.outcome-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

.process-row article {
    min-height: 68px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 12px;
    text-align: center;
}

.process-row i,
.feature-card i,
.outcome-grid i {
    font-size: 1.3rem;
}

.process-row span {
    font-size: 1rem;
    font-weight: 700;
}

.tag-cloud {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tag-cloud span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 500;
}

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

.feature-card {
    min-height: 150px;
    padding: 24px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature-card h3,
.outcome-grid h3,
.comparison-card h3 {
    margin: 14px 0 0;
    color: inherit;
    font-size: 1.18rem;
}

.feature-card p,
.outcome-grid p {
    margin: 10px 0 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 1rem;
    line-height: 1.6;
}

.comparison-card {
    position: relative;
    padding: 28px;
    border: 1px solid #e2e8f0;
}

.muted-card {
    background: #f8fafc;
}

.preferred-card {
    background: #fff;
    border: 2px solid #2563eb;
    box-shadow: none;
}

.comparison-card h3 {
    margin-top: 0;
}

.comparison-card ul {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    margin: 18px 0 0;
    color: #334155;
    font-size: 1rem;
    line-height: 1.55;
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 10px;
    border-radius: 0 6px 0 8px;
    background: #2563eb;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

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

.outcome-grid article {
    min-height: 150px;
    padding: 24px 18px;
    text-align: center;
}

.vision-grid {
    align-items: center;
}

.vision-grid p {
    max-width: 620px;
}

.vision-grid img {
    height: 320px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.cta-section {
    padding: 78px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.site-footer {
    width: 100%;
    background: #0b1120;
    color: rgba(255, 255, 255, 0.72);
    padding: 42px 24px;
    box-sizing: border-box;
}

.site-footer-inner {
    width: min(1280px, 100%);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
}

.site-footer strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
}

.site-footer p {
    margin: 6px 0 0;
    font-size: 0.92rem;
}

.site-footer nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer nav::after {
    display: none;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer small {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .landing-page .site-header {
        position: relative;
        background: #0f172a;
        padding: 18px 24px;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .hero-section {
        min-height: 0;
        padding-top: 58px;
    }

    .hero-grid,
    .image-compare-grid,
    .comparison-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 1.8rem;
    }

    .process-row,
    .feature-grid,
    .outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
        gap: 8px;
    }

    .header-link {
        display: none;
    }

    .header-actions .button {
        flex: 1 1 130px;
    }

    .landing-container,
    .narrow-container {
        width: min(100% - 32px, 1280px);
    }

    .hero-section,
    .section,
    .cta-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: 1.72rem;
    }

    .hero-lede,
    .section-heading p:not(.eyebrow),
    .vision-section p,
    .cta-section p {
        font-size: 1rem;
    }

    .section-heading h2,
    .vision-section h2,
    .cta-section h2 {
        font-size: 1.45rem;
    }

    .process-row,
    .feature-grid,
    .outcome-grid {
        grid-template-columns: 1fr;
    }

    .image-card img,
    .vision-grid img {
        height: 260px;
    }

    .status-pill {
        position: static;
        margin-top: 10px;
        margin-right: 8px;
    }

    .site-footer nav {
        gap: 12px;
    }
}
