@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --page_background: #1e1e1d;
    --foreground: #ededed;
    --secondary: #aaa9a4;
    --tertiary: #82817c;
    --border: rgb(237 237 237 / 10%);
    --font_family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page_background);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page_background);
    color: var(--foreground);
    font: 400 16px/1.65 var(--font_family);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

button:not(:disabled) {
    cursor: pointer;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--foreground);
    outline-offset: 5px;
}

::selection {
    background: var(--foreground);
    color: var(--page_background);
}

.wrap {
    width: min(1120px, calc(100% - 80px));
    margin-inline: auto;
}

.site-header,
.nav {
    width: 100%;
}

.header-inner,
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    min-height: 44px;
    color: var(--foreground);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.045em;
    text-decoration: none;
}

.brand img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.release-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1.5;
}

.release-note::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b7b7a6;
    content: "";
}

.release-note > .status-dot,
.release-note > .dot {
    display: none;
}

.hero {
    padding-top: 44px;
    padding-bottom: 42px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 940px;
    margin-inline: auto;
    text-align: center;
}

.eyebrow,
.label {
    margin: 0 0 20px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .035em;
    line-height: 1.5;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6.2vw, 76px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.025;
}

.hero h1 span {
    display: inline-block;
    color: var(--secondary);
    white-space: nowrap;
}

.intro {
    margin: 25px 0 0;
    color: var(--secondary);
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -.025em;
}

.hero-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 27px;
}

.platform-note a {
    color: var(--secondary);
}

.platform-note a:hover {
    color: var(--foreground);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.button.primary {
    border-color: var(--foreground);
    background: var(--foreground);
    color: var(--page_background);
}

.button:hover {
    border-color: rgb(237 237 237 / 25%);
    background: rgb(237 237 237 / 5%);
}

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

.button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.button-small {
    min-height: 44px;
    padding: 9px 15px;
    font-size: 13px;
}

.platform-note {
    margin: 13px 0 0;
    color: var(--tertiary);
    font-size: 11px;
    line-height: 1.6;
}

.device-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 1.7;
    margin: 48px auto 72px;
    isolation: isolate;
}

.device-ipad,
.device-iphone {
    position: absolute;
    margin: 0;
}

.device-ipad {
    z-index: 1;
    top: 0;
    left: 2%;
    width: 70%;
    max-width: 780px;
}

.device-iphone {
    z-index: 2;
    top: 5.5%;
    right: 3%;
    width: 22%;
    max-width: 230px;
}

.device-shell {
    position: relative;
    padding: clamp(5px, 1.07vw, 12px);
    border: 2px solid #626360;
    border-radius: clamp(15px, 2.77vw, 31px);
    background: #101110;
    box-shadow: 0 1px 0 rgb(255 255 255 / 16%) inset, 0 18px 32px rgb(0 0 0 / 23%), 0 3px 6px rgb(0 0 0 / 35%);
}

.device-ipad .device-shell::before {
    position: absolute;
    top: -4px;
    right: 13%;
    width: 7%;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: #666763;
    content: "";
}

.screen-surface {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: clamp(9px, 1.6vw, 18px);
    background: #0b0c0b;
}

.app-capture {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.device-ipad .screen-surface {
    aspect-ratio: 2778 / 1940;
}

.device-ipad .app-capture {
    aspect-ratio: 2778 / 1940;
}

.camera-dot {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: clamp(2px, .36vw, 4px);
    width: clamp(2px, .36vw, 4px);
    height: clamp(2px, .36vw, 4px);
    border: 1px solid #282a29;
    border-radius: 50%;
    background: #070909;
    transform: translateY(-50%);
}

.device-iphone .device-shell {
    padding: clamp(4px, .72vw, 8px);
    border-color: #6d6e69;
    border-radius: clamp(19px, 3.48vw, 39px);
    box-shadow: 0 1px 0 rgb(255 255 255 / 19%) inset, 0 20px 36px rgb(0 0 0 / 30%), 0 4px 8px rgb(0 0 0 / 40%);
}

.device-iphone .device-shell::before,
.device-iphone .device-shell::after {
    position: absolute;
    width: 3px;
    border-radius: 2px;
    background: #676862;
    content: "";
}

.device-iphone .device-shell::before {
    top: 23%;
    left: -4px;
    height: 14%;
}

.device-iphone .device-shell::after {
    top: 29%;
    right: -4px;
    height: 11%;
}

.device-iphone .screen-surface {
    aspect-ratio: 1206 / 2622;
    border-radius: clamp(14px, 2.59vw, 29px);
}

.device-iphone .app-capture {
    aspect-ratio: 1206 / 2622;
}

.device-island {
    position: absolute;
    z-index: 3;
    top: 2.4%;
    left: 50%;
    width: 28%;
    height: 3.25%;
    border-radius: 20px;
    background: #020303;
    transform: translateX(-50%);
    pointer-events: none;
}

.device-showcase figcaption {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    bottom: auto;
    left: 0;
    color: var(--tertiary);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.preview-playback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin: 0 0 0 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--secondary);
    font-size: 12px;
}

.preview-playback:hover {
    color: var(--foreground);
    background: rgb(237 237 237 / 4%);
}

.preview-playback[hidden] {
    display: none;
}

.site-footer {
    margin-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
    color: var(--tertiary);
    font-size: 11px;
    line-height: 1.6;
}

.footer-inner nav,
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-inner a,
.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    transition: color .18s ease;
}

.footer-inner a:hover,
.nav-links a:hover {
    color: var(--foreground);
}

.nav-links {
    color: var(--secondary);
    font-size: 13px;
}

.doc {
    max-width: 760px;
    padding-top: 64px;
    padding-bottom: 84px;
}

.doc h1 {
    margin: 0 0 30px;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.2;
}

.doc h2 {
    margin: 38px 0 12px;
    color: var(--foreground);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.45;
}

.doc p,
.doc ul,
.doc ol {
    margin: 0 0 20px;
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.85;
}

.doc li + li {
    margin-top: 8px;
}

.doc ul,
.doc ol {
    padding-left: 23px;
}

.doc a {
    color: var(--foreground);
    overflow-wrap: anywhere;
}

.doc strong {
    color: var(--foreground);
    font-weight: 600;
}

.download-panel {
    margin: 0 0 44px;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.download-panel .platform-note {
    margin-top: 14px;
    font-size: 12px;
}

.release-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 20px;
    margin: 18px 0 0;
    color: var(--tertiary);
    font-size: 12px;
    line-height: 1.6;
}

.release-facts dt {
    color: var(--secondary);
}

.release-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.release-facts code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

.doc ol.steps {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.doc ol.steps > li {
    position: relative;
    margin: 0;
    padding: 0 0 26px 52px;
    counter-increment: step;
}

.doc ol.steps > li + li {
    margin-top: 0;
}

.doc ol.steps > li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    content: counter(step);
}

.doc ol.steps > li:not(:last-child)::after {
    position: absolute;
    top: 40px;
    bottom: 8px;
    left: 16px;
    width: 1px;
    background: var(--border);
    content: "";
}

.doc ol.steps h2 {
    margin: 3px 0 6px;
}

.doc ol.steps p {
    margin-bottom: 10px;
}

.doc .settings-path {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 13px;
    line-height: 1.6;
}

.doc .settings-path span {
    color: var(--tertiary);
}

.doc .doc-lead {
    margin-bottom: 30px;
    font-size: 17px;
}

@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .header-inner,
    .nav-inner {
        min-height: 80px;
        gap: 14px;
    }

    .hero {
        padding-top: 43px;
        padding-bottom: 32px;
    }

    .hero h1 {
        font-size: clamp(60px, 10vw, 76px);
    }

    .device-showcase {
        aspect-ratio: 1.65;
        margin-top: 52px;
    }

    .device-ipad {
        top: 4%;
        left: 0;
        width: 76%;
    }

    .device-iphone {
        top: 10%;
        right: 0;
        width: 25%;
    }

    .nav-links {
        gap: 14px;
        font-size: 12px;
    }

    .doc {
        padding-top: 42px;
        padding-bottom: 54px;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 8px;
        font-size: 15px;
    }

    .release-note {
        font-size: 11px;
    }

    .eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: clamp(38px, 13.5vw, 60px);
    }

    .intro {
        max-width: 280px;
        margin: 22px auto 0;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-action {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 24px auto 0;
    }

    .download-panel {
        padding: 22px 20px;
    }

    .release-facts {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .release-facts dd + dt {
        margin-top: 8px;
    }

    .platform-note {
        margin-top: 12px;
    }

    .device-showcase {
        aspect-ratio: auto;
        margin-top: 44px;
        margin-bottom: 72px;
    }

    .device-ipad,
    .device-iphone {
        position: relative;
    }

    .device-ipad {
        top: auto;
        width: 100%;
    }

    .device-iphone {
        top: auto;
        right: auto;
        width: 48%;
        margin: 28px auto 0;
    }

    .device-shell {
        border-width: 1px;
    }

    .device-showcase figcaption {
        top: calc(100% + 12px);
        bottom: auto;
        font-size: 11px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        min-height: 110px;
        padding-block: 15px;
        font-size: 10px;
    }

    .footer-inner nav {
        gap: 22px;
    }

    .nav-links {
        display: none;
    }

    .nav-action {
        margin-left: auto;
    }

    .doc p,
    .doc ul,
    .doc ol {
        font-size: 14px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--foreground);
    color: var(--page_background);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: none;
}
