:root {
    color-scheme: light;
    --bg: #f8f9fb;
    --surface: #ffffff;
    --ink: #18202a;
    --muted: #5a6675;
    --line: #d9dee7;
    --teal: #166c65;
    --teal-dark: #0e4d49;
    --gold: #b76b16;
    --shadow: 0 18px 50px rgba(24, 32, 42, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
}

a {
    color: var(--teal-dark);
    text-underline-offset: 0.18em;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

.brand img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(24, 32, 42, 0.14);
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
    font-weight: 650;
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--teal-dark);
}

main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: center;
    min-height: min(680px, calc(100vh - 112px));
    padding: 52px 0 72px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: 0;
}

h3 {
    margin: 22px 0 6px;
    font-size: 0.98rem;
    line-height: 1.3;
    letter-spacing: 0;
}

p {
    margin: 0;
}

.lede {
    max-width: 650px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.15rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
}

.button.primary {
    border-color: var(--teal);
    background: var(--teal);
    color: #ffffff;
}

.button.secondary {
    background: var(--surface);
    color: var(--ink);
}

.availability {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.app-signal {
    display: grid;
    place-items: center;
    gap: 18px;
    min-height: 320px;
    padding: 36px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}

.app-signal img {
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(24, 32, 42, 0.20);
}

.app-signal p {
    color: var(--teal-dark);
    font-weight: 800;
}

.details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.details article {
    min-height: 180px;
    padding: 24px;
    background: var(--surface);
}

.details p,
.plain-section p,
.plain-section li {
    color: var(--muted);
}

.screenshots {
    margin-top: 64px;
}

.section-heading {
    max-width: 680px;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

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

figure {
    margin: 0;
}

.screenshot-grid figure {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.screenshot-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(24, 32, 42, 0.10);
}

figcaption {
    margin-top: 12px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
}

.marketing-note {
    max-width: 760px;
    margin-top: 56px;
}

.narrow-page {
    max-width: 760px;
    padding-top: 62px;
    padding-bottom: 72px;
}

.contact-line {
    margin-top: 22px;
    font-size: 1.4rem;
    font-weight: 800;
}

.plain-section {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

footer {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 24px 42px;
    color: var(--muted);
    font-size: 0.92rem;
}

footer p + p {
    margin-top: 6px;
}

.public-url {
    overflow-wrap: anywhere;
}

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

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding-top: 26px;
    }

    .app-signal {
        min-height: 240px;
    }

    .details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .narrow-page {
        padding-top: 32px;
    }
}

@media (max-width: 520px) {
    .details,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}
