:root {
    --ink: #111c3d;
    --blue: #2467e8;
    --purple: #6d49eb;
    --gold: #f2b92b;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: #fbfcff;
    font-family:
        "Inter",
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-optical-sizing: auto;
}
button,
input {
    font: inherit;
}
.site-header {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    padding: 0 28px;
    margin: auto;
    background: #fff;
}
.brand {
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.brand strong {
    color: #366dea;
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #31a5f3, #6452ee);
    box-shadow: 0 5px 12px #426ce04d;
}
.brand-mark svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}
.header-note {
    color: #67718a;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-note i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 4px #f59e0b20;
    transition: 0.2s;
}
.header-note.is-paired i {
    background: #53cf99;
    box-shadow: 0 0 0 4px #53cf9920;
}
.hero {
    min-height: 610px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 72px max(7vw, 32px) 82px;
    color: white;
    background:
        radial-gradient(circle at 70% 30%, #7266f4 0, transparent 34%),
        linear-gradient(120deg, #087ee7 0%, #286ce9 46%, #634ce8 100%);
}
.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(transparent, #e4ecff2e);
}
.stars {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to right, black, transparent 70%);
}
.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 680px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #d8e6ff;
    margin-bottom: 22px;
}
.eyebrow svg {
    width: 17px;
    fill: none;
    stroke-width: 1.5;
}
.pairing-indicator {
    stroke: #f59e0b;
    filter: drop-shadow(0 0 4px #f59e0b66);
    transition:
        stroke 0.2s,
        filter 0.2s;
}
.pairing-indicator.is-paired {
    stroke: #53cf99;
    filter: drop-shadow(0 0 4px #53cf9966);
}
h1 {
    margin: 0;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -3px;
    font-weight: 760;
}
h1 em {
    color: #ffdc54;
    font-style: normal;
}
.intro {
    max-width: 600px;
    color: #e4edff;
    font-size: 17px;
    line-height: 1.65;
    margin: 22px 0 30px;
}
.question-form label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    margin: 0 0 10px 5px;
}
.question-field {
    display: flex;
    background: white;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 35px #17238340;
    max-width: 650px;
}
.question-field input {
    min-width: 0;
    flex: 1;
    padding: 15px 17px;
    border: 0;
    outline: 0;
    color: #17213e;
    background: transparent;
}
.question-field input::placeholder {
    color: #9ba4b7;
}
.question-field:focus-within {
    outline: 3px solid #ffffff4d;
}
.question-field button {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #1595ed, #5b4deb);
    box-shadow: 0 5px 11px #435ddb4f;
    transition: 0.2s;
}
.question-field button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.question-field button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.ball-wrap {
    z-index: 2;
    position: relative;
    width: min(38vw, 440px);
    aspect-ratio: 1;
    justify-self: center;
    display: grid;
    place-items: center;
}
.oracle-ball {
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    background: radial-gradient(
        circle at 34% 27%,
        #6675a7 0,
        #1c2857 19%,
        #080d25 57%,
        #02040e 76%
    );
    box-shadow:
        inset -35px -25px 55px #000c,
        inset 16px 14px 26px #b4caff27,
        0 32px 45px #17227370;
}
.ball-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3, transparent 35%);
    filter: blur(5px);
}
.ball-window {
    width: 48%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(
        circle,
        #fbfdff 0,
        #dde7f9 60%,
        #7281a5 68%,
        #080b1a 72%
    );
    box-shadow:
        inset 0 0 25px #7890c880,
        0 0 25px #7999ff4d;
}
.eight {
    color: #111a37;
    font-family: Georgia, serif;
    font-size: clamp(70px, 8vw, 112px);
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 3px 2px #fff;
}
.orbit {
    position: absolute;
    inset: 3%;
    border: 1px solid #dbeaff40;
    border-radius: 50%;
    transform: rotate(-25deg) scaleY(0.52);
}
.orbit-two {
    inset: -4%;
    transform: rotate(45deg) scaleY(0.72);
    border-style: dashed;
}
.spark {
    position: absolute;
    color: #ffe679;
    font-size: 24px;
    text-shadow: 0 0 15px #fff77d;
}
.spark-one {
    left: 7%;
    top: 20%;
}
.spark-two {
    right: 3%;
    top: 42%;
    font-size: 15px;
}
.spark-three {
    left: 17%;
    bottom: 12%;
    font-size: 12px;
}
.ball-shadow {
    position: absolute;
    z-index: -1;
    bottom: 3%;
    width: 66%;
    height: 10%;
    border-radius: 50%;
    background: #06133b78;
    filter: blur(12px);
}
.answer-card {
    max-width: 650px;
    padding: 24px 28px;
    border: 1px solid #ffffff38;
    border-radius: 15px;
    background: #14277b45;
    backdrop-filter: blur(12px);
    text-align: center;
    animation: reveal 0.45s ease-out;
}
.answer-card[hidden] {
    display: none;
}
.question-form.is-hidden {
    display: none;
}
.your-question {
    margin: 0;
    color: #cbdcff;
    font-size: 13px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.answer-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 13px 0;
}
.answer-divider span {
    height: 1px;
    flex: 1;
    background: #ffffff30;
}
.answer-divider svg {
    width: 16px;
    fill: none;
    stroke: #ffe16d;
}
.answer {
    font-family: Georgia, serif;
    font-size: clamp(27px, 3vw, 39px);
    margin: 0 0 17px;
    color: #ffdf62;
}
.ask-again {
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.ask-again span {
    margin-left: 5px;
    text-decoration: none;
}
.ask-again:hover {
    color: #ffdf62;
}
.how-it-works {
    max-width: 1120px;
    margin: auto;
    padding: 70px 30px 75px;
    text-align: center;
}
.section-kicker {
    color: #3971e7;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 750;
    margin: 0 0 12px;
}
.how-it-works h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    margin: 0 0 45px;
    font-weight: 500;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}
.steps article {
    display: flex;
    gap: 17px;
    padding: 22px;
    border: 1px solid #e7eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px #33416c0a;
}
.steps article > span {
    flex: none;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    color: #3470e7;
    font-weight: 800;
    font-size: 12px;
}
.steps h3 {
    margin: 1px 0 6px;
    font-size: 15px;
}
.steps p {
    margin: 0;
    color: #788096;
    font-size: 13px;
    line-height: 1.55;
}
footer {
    height: 66px;
    border-top: 1px solid #e9ebf1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #8a91a4;
    font-size: 12px;
}
footer span:first-child {
    color: #26324f;
    font-weight: 700;
}
.footer-star {
    color: #eebf38;
}
.frequently-asked {
    padding: 72px 30px 64px;
    border-top: 1px solid #e7eaf2;
    background: #f7f9fc;
}
.frequently-asked-inner {
    max-width: 980px;
    margin: auto;
}
.frequently-asked h2 {
    margin: 0 0 38px;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.5px;
}
.frequently-asked-list {
    display: grid;
    gap: 24px;
}
.frequently-asked-card {
    min-height: 130px;
    padding: 27px 30px;
    border-radius: 16px;
    box-shadow: 0 9px 22px #24335f18;
}
.frequently-asked-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}
.frequently-asked-card p {
    max-width: 880px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
.frequently-asked-card--blue {
    color: #fff;
    background: linear-gradient(120deg, #2879e9, #5b4de8);
}
.frequently-asked-card--blue p {
    color: #ecf3ff;
}
.frequently-asked-card--light {
    color: var(--ink);
    border: 1px solid #dde2ec;
    background: #fff;
    box-shadow: 0 4px 12px #24335f0d;
}
.frequently-asked-card--light p {
    color: #606a82;
}
.frequently-asked-card--gold {
    color: #fff;
    background: linear-gradient(120deg, #e9a51e, #f2b92b);
}
.frequently-asked-card--gold p {
    color: #fffdf5;
}
.site-footer {
    min-height: 142px;
    height: auto;
    padding: 32px 30px;
    border-top: 1px solid #e1e5ed;
    background: #fff;
}
.site-footer-inner {
    width: 100%;
    max-width: 1110px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.footer-about {
    max-width: 500px;
}
.footer-about a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}
.footer-about a:hover {
    color: var(--blue);
}
.footer-about p {
    margin: 7px 0 0;
    color: #687188;
    font-size: 13px;
    line-height: 1.55;
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.footer-links a {
    color: #465069;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--blue);
}
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 800px) {
    .header-note {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 58px;
    }
    .hero-copy {
        margin: auto;
    }
    .intro {
        margin-inline: auto;
    }
    .question-form label {
        text-align: left;
    }
    .ball-wrap {
        width: min(80vw, 380px);
        margin: 20px auto 0;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    h1 {
        letter-spacing: -2px;
    }
    .how-it-works {
        padding-top: 55px;
    }
    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}
@media (max-width: 520px) {
    .site-header {
        height: 64px;
        padding: 0 12px;
        gap: 10px;
    }
    .brand {
        gap: 8px;
        font-size: 15px;
    }
    .brand-mark {
        width: 36px;
        height: 36px;
    }
    .header-note {
        flex: none;
        gap: 6px;
        font-size: 11px;
    }
    .hero {
        padding: 44px 18px 60px;
    }
    .question-field {
        display: block;
    }
    .question-field button {
        width: 100%;
        height: 48px;
        justify-content: center;
    }
    .question-field input {
        width: 100%;
        height: 54px;
    }
    .ball-wrap {
        width: 80vw;
    }
    .steps article {
        padding: 18px;
    }
    .frequently-asked {
        padding: 55px 18px 50px;
    }
    .frequently-asked-card {
        padding: 24px 21px;
    }
    .site-footer {
        padding: 30px 22px;
    }
    .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Signed-in mobile dashboard */
.app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: #eaf0ff;
    background:
        radial-gradient(circle at 50% 0, #11234b 0, transparent 30%), #04091c;
}
.dashboard-header {
    height: 96px;
    padding: 0 max(5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #273047;
    background: #050a1cdd;
}
.app-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}
.app-logo > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #76d6ff;
    font-size: 24px;
    background: #063253;
}
.app-logo strong,
.app-logo small {
    display: block;
}
.app-logo strong {
    font-size: 19px;
}
.app-logo small {
    margin-top: 4px;
    color: #8e9bb8;
}
.logout-button {
    padding: 11px 17px;
    color: #dae3f5;
    border: 1px solid #34405b;
    border-radius: 11px;
    cursor: pointer;
    background: transparent;
}
.dashboard-main {
    width: min(100% - 36px, 980px);
    margin: 0 auto;
    padding: 64px 0 80px;
    flex: 1 0 auto;
}
.app-kicker {
    color: #76d6ff;
    letter-spacing: 2px;
    text-align: center;
}
.dashboard-card {
    padding: 30px;
    border: 1px solid #29334a;
    border-radius: 24px;
    background: #091126e6;
    box-shadow: 0 18px 50px #0003;
}
.profile-card {
    margin: 34px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.profile-card > div {
    display: flex;
    align-items: center;
    gap: 17px;
}
.profile-card h1 {
    font-size: 25px;
    letter-spacing: -0.5px;
}
.profile-card p {
    margin: 7px 0 0;
    color: #8996b1;
}
.avatar {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #071127;
    font-weight: 800;
    background: #76d6ff;
}
.active-pill {
    padding: 9px 14px;
    border-radius: 30px;
    color: #9af1cf;
    background: #0e493f;
}
.active-pill i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 50%;
    background: #35d3a1;
}
.connection-card {
    margin-bottom: 24px;
    text-align: center;
}
.connection-card .card-label {
    color: #9aa8c5;
    font-size: 14px;
}
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    color: #50dfa9;
    font-size: 11px;
    letter-spacing: 0.7px;
    vertical-align: middle;
}
.live-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px #50dfa922;
}
.live-status.is-disconnected {
    color: #f0ad68;
}
.connection-pill {
    width: fit-content;
    margin: 22px auto 16px;
    padding: 12px 22px;
    border-radius: 999px;
    color: #ffe8ed;
    background: #42162d;
}
.connection-pill i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: #ff7188;
    box-shadow: 0 0 0 4px #ff718822;
}
.connection-pill.is-paired {
    color: #b9f7df;
    background: #103d36;
}
.connection-pill.is-paired i {
    background: #50dfa9;
    box-shadow: 0 0 0 4px #50dfa922;
}
.connection-card > p:not(.card-label) {
    margin: 0;
    color: #8d9ab4;
}
.connection-card a {
    color: #70e7c0;
    font-weight: 750;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.connection-card a:hover {
    text-decoration: underline;
}
.refresh-status {
    margin-top: 20px;
    padding: 10px 17px;
    color: #dce5f7;
    border: 1px solid #34405b;
    border-radius: 999px;
    cursor: pointer;
    background: transparent;
}
.refresh-status span {
    display: inline-block;
    margin-right: 6px;
    font-size: 18px;
}
.refresh-status:hover {
    border-color: #76d6ff;
    color: #76d6ff;
}
.refresh-status:disabled {
    cursor: wait;
    opacity: 0.6;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}
.dashboard-card h2 {
    margin: 5px 0 9px;
    font-size: 21px;
}
.dashboard-card > p:not(.card-label) {
    color: #8d9ab4;
    line-height: 1.6;
}
.card-label {
    margin: 0;
    color: #76d6ff;
    font-size: 12px;
    letter-spacing: 1.7px;
}
.stack-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}
.stack-form label {
    color: #b7c2d8;
    font-size: 13px;
    font-weight: 650;
}
.stack-form input {
    display: block;
    width: 100%;
    margin-top: 9px;
    padding: 15px;
    color: #edf3ff;
    border: 1px solid #34405b;
    border-radius: 12px;
    outline: none;
    background: #050a1c;
}
.stack-form input:focus {
    border-color: #68cfff;
    box-shadow: 0 0 0 3px #68cfff1c;
}
.stack-form button {
    padding: 15px 18px;
    border: 0;
    border-radius: 12px;
    color: #041023;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, #69d4ff, #69e7bb);
}
.form-error {
    margin: 0;
    color: #ff8b9b !important;
    font-size: 13px;
}
.success-message {
    color: #7be0b9 !important;
}
.card-heading {
    display: flex;
    justify-content: space-between;
}
.card-heading > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #73d6ff;
    background: #102640;
}
.question-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.question-list > div {
    padding: 15px 17px;
    border: 1px solid #29354e;
    border-radius: 13px;
    background: #10192e;
}
.question-list p {
    margin: 0;
}
.question-list time {
    display: block;
    margin-top: 7px;
    color: #7f8ca7;
    font-size: 12px;
}
.empty-state {
    color: #7f8ca7;
}
.question-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    color: #8e9ab2;
    font-size: 13px;
}
.question-pagination a {
    padding: 9px 13px;
    border: 1px solid #34405b;
    border-radius: 10px;
    color: #73d6ff;
    text-decoration: none;
}
.question-pagination a:hover {
    border-color: #68cfff;
    background: #102640;
}
.question-pagination a[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
}
.question-pagination[hidden] {
    display: none;
}
.dashboard-footer {
    height: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
    text-align: center;
    color: #77849e;
}
.dashboard-footer p {
    margin: 0;
}
.dashboard-footer span {
    color: #ff7188;
}
.auth-page {
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-card {
    width: min(100%, 430px);
    padding: 38px;
    border: 1px solid #29334a;
    border-radius: 25px;
    background: #091126;
    box-shadow: 0 30px 80px #0007;
}
.login-card .app-logo {
    justify-content: center;
}
.login-card .app-kicker {
    margin-top: 32px;
}
.login-card h1 {
    margin: 12px 0 8px;
    font-size: 36px;
    letter-spacing: -1px;
    text-align: center;
}
.login-card > p:not(.app-kicker) {
    color: #8d9ab4;
    line-height: 1.55;
    text-align: center;
}
.back-link {
    display: block;
    margin-top: 25px;
    color: #8d9ab4;
    text-align: center;
    text-decoration: none;
}
@media (max-width: 700px) {
    .dashboard-header {
        height: 82px;
    }
    .app-logo > span {
        width: 42px;
        height: 42px;
    }
    .dashboard-main {
        padding-top: 40px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-card {
        padding: 23px;
        border-radius: 20px;
    }
    .profile-card {
        align-items: flex-start;
    }
    .profile-card .active-pill {
        font-size: 0;
    }
    .profile-card .active-pill i {
        margin: 0;
    }
    .logout-button {
        padding: 9px 12px;
    }
    .dashboard-footer {
        font-size: 12px;
    }
    .login-card {
        padding: 28px 22px;
    }
}
.notification-card {
    position: relative;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
}
.notification-card h2 {
    margin: 5px 0 7px;
}
.notification-card p {
    margin: 0;
    color: #8d9ab4;
    line-height: 1.5;
}
.notification-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aab7d0;
}
.notification-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.notification-toggle span {
    width: 52px;
    height: 29px;
    padding: 3px;
    border: 1px solid #44506a;
    border-radius: 999px;
    background: #1a2338;
    transition: 0.2s;
}
.notification-toggle span:after {
    content: "";
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #8995ad;
    transition: 0.2s;
}
.notification-toggle input:checked + span {
    border-color: #50dfa9;
    background: #103d36;
}
.notification-toggle input:checked + span:after {
    transform: translateX(23px);
    background: #50dfa9;
}
.notification-toggle input:focus-visible + span {
    outline: 3px solid #68cfff55;
}
.notification-toggle input:disabled + span {
    opacity: 0.5;
}
.notification-card .notification-message {
    grid-column: 1/-1;
    color: #7be0b9;
    font-size: 13px;
}
.pairing-notification-copy {
    grid-column: 1;
    border-top: 1px solid #273149;
    padding-top: 18px;
}
@media (max-width: 700px) {
    .notification-card {
        grid-template-columns: 1fr;
    }
    .notification-toggle {
        justify-self: start;
    }
}

/* Dashboard navigation and focused settings pages */
.dashboard-main {
    width: min(100% - 36px, 760px);
    padding-top: 58px;
}
.page-heading {
    margin-bottom: 30px;
    text-align: center;
}
.page-heading .app-kicker {
    margin: 0 0 10px;
    font-size: 11px;
}
.page-heading h1 {
    font-size: clamp(32px, 5vw, 46px);
    letter-spacing: -1.5px;
}
.page-heading > p:last-child {
    margin: 10px auto 0;
    color: #8d9ab4;
    line-height: 1.6;
}
.instruction-box {
    max-width: 570px;
    margin: 22px auto 0;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid #263b58;
    border-radius: 14px;
    color: #a9b7d0;
    background: #0c1930;
    text-align: left;
    line-height: 1.55;
}
.instruction-box > span {
    flex: none;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071127;
    font-family: Georgia, serif;
    font-weight: bold;
    background: #76d6ff;
}
.instruction-box p {
    margin: 0;
}
.menu-button {
    width: 44px;
    height: 44px;
    padding: 11px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid #34405b;
    border-radius: 11px;
    cursor: pointer;
    background: transparent;
}
.menu-button span {
    display: block;
    height: 2px;
    border-radius: 4px;
    background: #cbd5e8;
}
.menu-button:hover {
    border-color: #76d6ff;
}
.menu-backdrop {
    position: fixed;
    z-index: 20;
    inset: 0;
    background: #010513b8;
    backdrop-filter: blur(2px);
}
.menu-backdrop[hidden] {
    display: none;
}
.dashboard-menu {
    position: fixed;
    z-index: 21;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #202b43;
    color: #dce5f7;
    background: #050a1c;
    box-shadow: -24px 0 60px #0008;
    transform: translateX(105%);
    visibility: hidden;
    transition:
        transform 0.25s ease,
        visibility 0.25s;
}
.dashboard-menu.is-open {
    transform: none;
    visibility: visible;
}
.menu-heading {
    height: 82px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #202b43;
}
.menu-heading strong {
    font-size: 14px;
}
.menu-heading button {
    width: 38px;
    height: 38px;
    border: 1px solid #34405b;
    border-radius: 10px;
    color: #cbd5e8;
    cursor: pointer;
    font-size: 27px;
    line-height: 1;
    background: transparent;
}
.dashboard-menu nav {
    padding: 20px 17px;
    display: grid;
    gap: 5px;
}
.dashboard-menu nav a {
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 11px;
    color: #b9c4d9;
    text-decoration: none;
    font-size: 14px;
}
.dashboard-menu nav a > span {
    width: 22px;
    color: #91a2c0;
    font-size: 19px;
    text-align: center;
}
.dashboard-menu nav a:hover,
.dashboard-menu nav a.is-active {
    color: #fff;
    background: #101a31;
}
.dashboard-menu nav a.is-active > span {
    color: #76d6ff;
}
.menu-account {
    margin-top: auto;
    padding: 25px 24px;
    border-top: 1px solid #202b43;
}
.menu-account small {
    color: #76d6ff;
    font-size: 10px;
    letter-spacing: 0.8px;
}
.menu-account p {
    margin: 9px 0 18px;
    color: #c0cbdd;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.menu-account .logout-button {
    width: 100%;
}
.menu-account .logout-button span {
    margin-right: 7px;
}
.menu-is-open {
    overflow: hidden;
}
.setting-card,
.recent-card {
    margin-inline: auto;
}
@media (max-width: 700px) {
    .dashboard-header {
        padding-inline: 18px;
    }
    .app-logo strong {
        font-size: 16px;
    }
    .dashboard-main {
        padding-top: 36px;
    }
}
