:root {
    color-scheme: dark;
    --background: #010208;
    --background-raised: #070b18;
    --surface: rgba(12, 18, 38, 0.58);
    --surface-strong: rgba(18, 27, 52, 0.78);
    --surface-soft: rgba(255, 255, 255, 0.055);
    --text: #f7f8ff;
    --muted: #a9b1c8;
    --quiet: #727b96;
    --primary: #758fff;
    --secondary: #38dbe6;
    --violet: #cf73ff;
    --line: rgba(190, 206, 255, 0.15);
    --line-strong: rgba(190, 206, 255, 0.26);
    --glow: 0 28px 90px rgba(26, 53, 126, 0.24);
    --radius: 28px;
    font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 75% 25%, rgba(76, 98, 210, 0.11), transparent 32rem),
        linear-gradient(145deg, #080a1a 0%, #03050d 52%, #000000 100%);
    color: var(--text);
    font-size: 17px;
    line-height: 1.66;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 78%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 78%);
}

.ambient-canvas {
    position: fixed;
    z-index: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    pointer-events: none;
}

.document-page .ambient-canvas,
.support-page .ambient-canvas {
    opacity: 0.58;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

a {
    color: #9eb0ff;
    text-decoration-color: rgba(158, 176, 255, 0.44);
    text-underline-offset: 0.2em;
}

a:hover {
    color: #c3ceff;
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(56, 219, 230, 0.72);
    outline-offset: 4px;
}

.site-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 9, 23, 0.64);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 760;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    background:
        radial-gradient(circle, #ffffff 0 7%, #8da1ff 12%, rgba(56, 219, 230, 0.44) 31%, transparent 55%),
        #080d20;
    box-shadow: 0 0 26px rgba(117, 143, 255, 0.32), inset 0 0 16px rgba(255, 255, 255, 0.08);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    border: 1px solid rgba(173, 191, 255, 0.46);
    border-radius: 50%;
    content: "";
}

.brand-mark::before {
    width: 22px;
    height: 22px;
}

.brand-mark::after {
    width: 30px;
    height: 30px;
    border-style: dashed;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.site-nav a {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.hero {
    display: grid;
    min-height: calc(100vh - 110px);
    align-items: center;
    padding: 70px 0 90px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: clamp(48px, 8vw, 110px);
}

.hero-content {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    color: #b7c3ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 22px;
    height: 1px;
    margin-right: 10px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    box-shadow: 0 0 10px var(--secondary);
    content: "";
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.04em;
}

h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(3.3rem, 7vw, 6.6rem);
}

.home-page h1 {
    color: transparent;
    background: linear-gradient(118deg, #ffffff 8%, #dbe3ff 52%, #9acff0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-wrap: balance;
}

h2 {
    margin: 2.9rem 0 0.9rem;
    font-size: clamp(1.55rem, 4vw, 2.2rem);
}

h3 {
    margin: 1.9rem 0 0.5rem;
    font-size: 1.1rem;
}

.hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid rgba(203, 214, 255, 0.24);
    border-radius: 16px;
    background: linear-gradient(135deg, #748cff, #536be5);
    box-shadow: 0 12px 34px rgba(70, 92, 214, 0.32), inset 0 1px rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 740;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 17px 42px rgba(70, 92, 214, 0.42), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button.secondary {
    border-color: var(--line-strong);
    background: rgba(13, 21, 44, 0.48);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
    color: #dfe5ff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.app-preview {
    position: relative;
    display: flex;
    min-height: 560px;
    padding: 24px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(177, 194, 255, 0.2);
    border-radius: 46px;
    background:
        radial-gradient(circle at 50% 43%, rgba(117, 143, 255, 0.2), transparent 38%),
        linear-gradient(150deg, rgba(13, 19, 44, 0.84), rgba(1, 4, 12, 0.78));
    box-shadow: 0 38px 100px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.app-preview::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    content: "";
    inset: 7px;
    pointer-events: none;
}

.preview-topline {
    position: absolute;
    display: flex;
    top: 24px;
    right: 24px;
    left: 24px;
    align-items: center;
    justify-content: space-between;
    color: var(--quiet);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #cbd3eb;
    gap: 7px;
}

.status-pill span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 12px var(--secondary);
}

.knock-core {
    position: relative;
    width: 280px;
    height: 280px;
    animation: core-breathe 3.2s ease-in-out infinite;
}

.core-ring,
.core-orbit,
.core-dot {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.core-ring {
    border: 1.5px dashed rgba(141, 162, 255, 0.62);
    box-shadow: 0 0 12px rgba(117, 143, 255, 0.16);
}

.ring-one {
    width: 150px;
    height: 150px;
    animation: ring-spin 11s linear infinite;
}

.ring-two {
    width: 214px;
    height: 214px;
    border-color: rgba(56, 219, 230, 0.42);
    animation: ring-spin-reverse 17s linear infinite;
}

.ring-three {
    width: 274px;
    height: 274px;
    border-color: rgba(141, 162, 255, 0.22);
    animation: ring-spin 24s linear infinite;
}

.core-orbit {
    width: 98px;
    height: 98px;
    background: radial-gradient(circle, rgba(56, 219, 230, 0.5), rgba(56, 219, 230, 0.06) 46%, transparent 68%);
    filter: blur(2px);
    animation: core-orbit 8s linear infinite;
}

.core-dot {
    width: 132px;
    height: 132px;
    background: radial-gradient(circle, #ffffff 0 5%, #cad4ff 9%, rgba(117, 143, 255, 0.94) 25%, rgba(56, 219, 230, 0.27) 56%, transparent 72%);
    box-shadow: 0 0 58px rgba(117, 143, 255, 0.52), 0 0 110px rgba(56, 219, 230, 0.17);
}

.preview-prompt {
    position: absolute;
    right: 24px;
    bottom: 84px;
    left: 24px;
    margin: 0;
    color: #d9def1;
    font-size: 0.92rem;
    font-weight: 650;
    text-align: center;
}

.preview-dock {
    position: absolute;
    display: flex;
    bottom: 23px;
    left: 50%;
    min-width: 124px;
    justify-content: center;
    padding: 12px 17px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    translate: -50% 0;
    gap: 21px;
}

.preview-dock span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #68718a;
}

.preview-dock .active {
    background: #aebcff;
    box-shadow: 0 0 12px rgba(117, 143, 255, 0.9);
}

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

.feature-card,
.support-card,
.document,
.privacy-banner {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(18, 26, 54, 0.64), rgba(6, 10, 24, 0.6));
    box-shadow: var(--glow), inset 0 1px rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(24px) saturate(128%);
    -webkit-backdrop-filter: blur(24px) saturate(128%);
}

.feature-card,
.support-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    overflow: hidden;
    border-radius: var(--radius);
}

.feature-card::before,
.support-card::before {
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 54px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 18px rgba(56, 219, 230, 0.38);
    content: "";
}

.feature-card:nth-child(2)::before,
.support-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary), #70ffc7);
}

.feature-card:nth-child(3)::before,
.support-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--violet), var(--primary));
}

.feature-card h2,
.support-card h2 {
    margin: 0;
    font-size: 1.35rem;
}

.feature-card p,
.support-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.privacy-banner {
    display: grid;
    align-items: center;
    margin-bottom: 110px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 34px;
    grid-template-columns: 0.85fr 1.2fr auto;
    gap: clamp(26px, 5vw, 64px);
}

.privacy-banner .eyebrow {
    margin-bottom: 10px;
}

.privacy-banner h2 {
    margin: 0;
}

.privacy-banner > p {
    margin: 0;
    color: var(--muted);
}

.privacy-banner > a {
    white-space: nowrap;
    font-weight: 720;
    text-decoration: none;
}

.document-wrap {
    width: min(860px, calc(100% - 40px));
    margin: 52px auto 100px;
}

.document {
    padding: clamp(30px, 7vw, 72px);
    border-radius: clamp(28px, 5vw, 44px);
}

.document h1 {
    color: transparent;
    background: linear-gradient(112deg, #ffffff, #b9c7ff 82%);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(2.7rem, 7vw, 4.9rem);
}

.document h2 {
    margin-top: 3.4rem;
    padding-top: 0.2rem;
    color: #edf0ff;
}

.document h3 {
    color: #d6ddfa;
}

.document p,
.document li {
    color: #b5bdd2;
}

.document strong {
    color: #f0f2ff;
}

.document .lede {
    max-width: 680px;
    color: #c8cee0;
    font-size: 1.09rem;
}

.document .updated {
    display: inline-flex;
    margin: 18px 0 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--quiet);
    font-size: 0.82rem;
}

.document ul {
    padding-left: 1.35rem;
}

.document li::marker {
    color: var(--secondary);
}

.document li + li {
    margin-top: 0.62rem;
}

.callout {
    position: relative;
    margin: 34px 0;
    padding: 24px 26px 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(117, 143, 255, 0.24);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(83, 107, 229, 0.16), rgba(56, 219, 230, 0.06));
    color: #cbd3e9;
}

.callout::before {
    position: absolute;
    width: 4px;
    background: linear-gradient(var(--primary), var(--secondary));
    content: "";
    inset: 0 auto 0 0;
}

.support-intro {
    padding: 100px 0 58px;
}

.support-intro h1 {
    color: transparent;
    background: linear-gradient(112deg, #ffffff, #aebdff 72%);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
}

.support-intro p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.15rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 46px;
    border-top: 1px solid var(--line);
    color: var(--quiet);
    font-size: 0.85rem;
    gap: 24px;
}

.site-footer p {
    margin: 0;
}

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

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

@keyframes core-breathe {
    0%, 100% { transform: scale(0.95); filter: brightness(0.9); }
    50% { transform: scale(1.04); filter: brightness(1.12); }
}

@keyframes core-orbit {
    from { transform: rotate(0deg) translateX(94px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(94px) rotate(-360deg); }
}

@keyframes ring-spin {
    to { rotate: 360deg; }
}

@keyframes ring-spin-reverse {
    to { rotate: -360deg; }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 90px 0;
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 720px;
    }

    .app-preview {
        width: min(520px, 100%);
        min-height: 520px;
        margin-inline: auto;
    }

    .privacy-banner {
        grid-template-columns: 1fr 1.25fr;
    }

    .privacy-banner > a {
        grid-column: 1 / -1;
    }
}

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

    .site-header {
        min-height: auto;
        padding: 15px 17px;
        border-radius: 22px;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .site-nav a {
        padding: 7px 10px;
    }

    .hero {
        padding: 68px 0 80px;
        gap: 60px;
    }

    .app-preview {
        min-height: 450px;
        border-radius: 36px;
    }

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

    .feature-card,
    .support-card {
        min-height: auto;
    }

    .feature-card::before,
    .support-card::before {
        margin-bottom: 36px;
    }

    .privacy-banner {
        grid-template-columns: 1fr;
    }

    .privacy-banner > a {
        grid-column: auto;
    }

    .document-wrap {
        margin-top: 36px;
    }

    .document {
        border-radius: 28px;
    }
}

@media (max-width: 430px) {
    .site-shell,
    .document-wrap {
        width: min(100% - 24px, 1180px);
    }

    .site-nav {
        gap: 2px;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.2rem);
    }

    .button-row,
    .button {
        width: 100%;
    }

    .app-preview {
        min-height: 410px;
        padding: 18px;
    }

    .preview-topline {
        top: 19px;
        right: 19px;
        left: 19px;
    }

    .document {
        padding: 28px 22px;
    }
}

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

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