.is-app {
    --paper: #f5f7fa;
    --ink: #14283e;
    --muted: #576779;
    --line: rgb(20 40 62 / 0.1);
    --accent: #2864c9;
    --card: #eaf0f7;
    background: linear-gradient(145deg, #fff 0%, var(--paper) 45%, #dfe8f3 100%);
    min-height: 100dvh;
}
.is-app .page {
    max-width: 1200px;
}
.is-app .header {
    margin: 16px 32px 0;
    padding: 8px 0;
    max-width: none;
}
.is-app .wordmark {
    color: var(--ink);
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.04em;
}
.is-app .wordmark img {
    border-radius: 8px;
}
.is-app .header nav {
    gap: 8px;
}
.is-app .header nav a {
    border-radius: 8px;
    padding: 8px 12px;
    transition-property: background-color, transform;
}
.is-app .header nav a[aria-current] {
    color: var(--ink);
    background: var(--card);
    text-decoration: none;
}
.app-hero {
    display: grid;
    gap: 32px;
    padding: 64px 32px 32px;
}
.app-intro {
    max-width: 680px;
}
.app-intro h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--ink);
}
.app-summary {
    max-width: 400px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--muted);
}
.is-app .button,
.is-app .account-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 48px;
    padding: 12px 16px;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition-property: background-color, transform;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}
.app-button {
    display: inline-flex;
    border-radius: 8px;
    transition-property: opacity, transform;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}
.app-button img {
    display: block;
    width: 180px;
    height: auto;
}
.app-button:active,
.is-app .button:active,
.is-app .account-form button:active {
    transform: scale(0.96);
}
.app-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
.app-availability {
    font-size: 12px;
    line-height: 20px;
    color: var(--muted);
}
.app-devices {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 32px;
}
.app-device img {
    display: block;
    width: 100%;
    height: auto;
}
.app-device-phone {
    width: 176px;
}
.app-device-duo {
    width: 288px;
}
.app-device-ipad {
    width: 368px;
}
.app-device figcaption {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: var(--muted);
}
.is-app .document-heading {
    max-width: 800px;
    padding: 48px 32px 16px;
}
.is-app .prose {
    max-width: calc(65ch + 64px);
    padding-inline: 32px;
}
.is-app .document-heading h1 {
    font-size: 48px;
    line-height: 1;
}
.is-app .document-heading a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.is-app .prose h2 {
    font-size: 24px;
    line-height: 32px;
}
.is-app .prose p {
    line-height: 28px;
}
.is-app .about-maker {
    max-width: none;
    padding: 0 32px;
    margin: 64px 0;
    gap: 64px;
}
.is-app .maker-portrait {
    border-radius: 16px;
}
.is-app .maker-copy h1,
.is-app .invitation h1 {
    font-size: 48px;
    line-height: 1;
}
.is-app .maker-copy p {
    max-width: 600px;
    font-size: 16px;
    line-height: 24px;
    color: var(--muted);
}
.maker-copy a,
.maker-products a,
.maker-personal a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 4px;
    transition-property: color, text-decoration-color;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
}
.maker-work {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 64px;
    margin: 0 32px 64px;
}
.maker-section-intro h2,
.maker-personal h2 {
    font-size: 24px;
    line-height: 32px;
}
.maker-section-intro p {
    margin-top: 16px;
}
.maker-section-intro p,
.maker-personal p {
    color: var(--muted);
}
.maker-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
}
.maker-products dt {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.maker-products dd {
    margin: 8px 0 0;
    color: var(--muted);
    text-wrap: pretty;
}
.maker-personal {
    display: grid;
    grid-template-columns: 256px minmax(0, 600px);
    gap: 64px;
    margin: 0 32px 64px;
}
.is-app .invitation {
    padding-top: 48px;
}
.is-app .invitation .small-note a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.is-app .copy-row input,
.is-app .copy-row button,
.is-app .account-form input {
    border-radius: 8px;
}
.is-app .copy-row input {
    font-size: 16px;
    line-height: 24px;
}
.is-app .copy-row button {
    border-color: var(--line);
    background: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}
.is-app .footer {
    margin: 0 32px;
    padding: 24px 0 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
/* Touch screens fire :hover on tap and leave it stuck; only fine pointers get hover. */
@media (hover: hover) and (pointer: fine) {
    .is-app .header nav a:hover {
        background: #dfe8f3;
    }
    .app-button:hover {
        opacity: 0.8;
    }
    .is-app .button:hover,
    .is-app .account-form button:hover {
        background: color-mix(in oklch, var(--accent) 85%, black);
    }
    .maker-copy a:hover,
    .maker-products a:hover,
    .maker-personal a:hover {
        color: var(--accent);
        text-decoration-color: currentColor;
    }
    .is-app .copy-row button:hover {
        color: var(--ink);
        background: #dfe8f3;
    }
    .is-app .footer a:hover {
        color: var(--accent);
    }
}
@media (max-width: 1000px) {
    .app-hero {
        gap: 32px;
        padding: 48px 32px 32px;
    }
    .app-intro h1 {
        font-size: 48px;
    }
    .app-device-phone {
        width: 20%;
    }
    .app-device-duo {
        width: 29%;
    }
    .app-device-ipad {
        width: 42%;
    }
    .app-devices {
        gap: 24px;
    }
}
@media (max-width: 700px) {
    .is-app .header {
        margin: 8px 24px 0;
        gap: 8px;
    }
    .is-app .wordmark {
        font-size: 18px;
    }
    .is-app .header nav {
        gap: 0;
    }
    .is-app .header nav a {
        padding: 8px 12px;
        font-size: 14px;
    }
    .app-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 24px 32px;
    }
    .app-intro h1 {
        font-size: 48px;
    }
    .app-summary {
        margin: 24px 0 0;
        font-size: 16px;
        line-height: 24px;
    }
    .app-devices {
        flex-wrap: wrap;
        gap: 32px 16px;
        margin-top: 16px;
    }
    .app-device-phone {
        width: 37%;
    }
    .app-device-duo {
        width: 54%;
    }
    .app-device-ipad {
        width: 80%;
    }
    .is-app .document-heading {
        padding: 32px 24px 16px;
    }
    .is-app .document-heading h1 {
        font-size: 36px;
        line-height: 40px;
    }
    .is-app .about-maker {
        gap: 32px;
        margin: 32px 24px 48px;
        padding: 0;
    }
    .is-app .maker-copy h1,
    .is-app .invitation h1 {
        font-size: 36px;
        line-height: 40px;
    }
    .maker-work {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 0 24px 48px;
    }
    .maker-products {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .maker-personal {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 24px 48px;
    }
    .is-app .prose {
        padding-inline: 24px;
    }
    /* Stack so the whole 32-character code stays visible at 16px. */
    .is-app .copy-row {
        flex-direction: column;
    }
    .is-app .copy-row input {
        text-align: center;
    }
    .is-app .footer {
        margin: 0 24px;
        padding: 24px 0;
        gap: 16px;
    }
}
@media (max-width: 360px) {
    .is-app .header {
        margin-inline: 16px;
    }
    .is-app .wordmark img {
        width: 24px;
        height: 24px;
    }
    .app-hero,
    .is-app .invitation {
        padding-inline: 16px;
    }
    .app-intro h1 {
        font-size: 36px;
        line-height: 40px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .is-app *,
    .is-app *::before,
    .is-app *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
