:root {
    color-scheme: light;
    --bg: #f7f7f8;
    --surface: #ffffff;
    --text: #101114;
    --muted: #5f6368;
    --line: #e3e5e8;
    --accent: #0a84ff;
    --accent-strong: #0068d9;
    --max: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

body {
    margin: 0;
}

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

a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
}

.nav {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--max);
    padding: 18px 24px;
}

.brand {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.section {
    margin: 0 auto;
    max-width: var(--max);
    padding: 72px 24px;
}

.hero {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    min-height: 640px;
    padding-bottom: 48px;
}

.hero-copy {
    align-self: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
}

h1,
h2,
h3 {
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

h1 {
    font-size: clamp(44px, 7vw, 74px);
}

h2 {
    font-size: clamp(30px, 4vw, 44px);
}

h3 {
    font-size: 20px;
}

.lead {
    color: var(--muted);
    font-size: 20px;
    margin: 24px 0 0;
    max-width: 660px;
}

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

.button {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    min-height: 46px;
    padding: 0 18px;
}

.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.button:hover {
    text-decoration: none;
}

.product-shot {
    align-self: end;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.phone {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(20, 24, 32, 0.12);
    display: block;
    overflow: hidden;
}

.phone img {
    display: block;
    height: auto;
    width: 100%;
}

.phone:nth-child(2) {
    margin-top: 56px;
}

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

.item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.item p {
    color: var(--muted);
    margin: 12px 0 0;
}

.product-row {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 22px;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    margin-top: 32px;
    padding: 24px;
}

.app-icon {
    border-radius: 18px;
    display: block;
    height: 72px;
    width: 72px;
}

.content {
    max-width: 780px;
}

.content h1 {
    font-size: clamp(36px, 6vw, 58px);
    margin-bottom: 18px;
}

.content h2 {
    border-top: 1px solid var(--line);
    font-size: 26px;
    margin-top: 42px;
    padding-top: 32px;
}

.content h3 {
    margin-top: 28px;
}

.content p,
.content li {
    color: var(--muted);
    font-size: 17px;
}

.content ul,
.content ol {
    padding-left: 22px;
}

.meta {
    color: var(--muted);
    font-size: 15px;
    margin-top: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    margin-top: 48px;
}

.footer-inner {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--max);
    padding: 28px 24px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

@media (max-width: 820px) {
    .nav,
    .footer-inner,
    .product-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .grid,
    .product-row {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
    }

    .product-shot {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 52px 20px;
    }
}

@media (max-width: 560px) {
    .nav-links,
    .actions,
    .footer-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-shot {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .phone:nth-child(2) {
        margin-top: 0;
    }
}
