:root {
    --bg: #fbfbfd;
    --surface: #ffffff;
    --surface-soft: #f4f6f8;
    --text: #1d1d1f;
    --muted: #62666d;
    --line: #e4e7ec;
    --accent: #2474e8;
    --accent-dark: #1657b8;
    --shadow: 0 18px 45px rgba(29, 29, 31, 0.08);
    --radius: 8px;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: 0;
}

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

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

a:hover {
    color: var(--accent-dark);
}

.container {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
}

.narrow {
    width: min(100% - 40px, 760px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 251, 253, 0.86);
    border-bottom: 1px solid rgba(228, 231, 236, 0.8);
    backdrop-filter: saturate(180%) blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 650;
}

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

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(29, 29, 31, 0.14);
}

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

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover {
    color: var(--text);
}

.hero {
    min-height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: 48px;
    padding: 76px 0 88px;
}

.hero-copy {
    max-width: 650px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-device {
    width: min(100%, 360px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.98;
    font-weight: 760;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 720;
}

h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 17px;
}

.hero-subtitle {
    max-width: 570px;
    margin-top: 22px;
    font-size: 22px;
    line-height: 1.42;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 650;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

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

.button-primary:hover {
    background: var(--accent-dark);
    color: #ffffff;
}

.button-secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
}

.button-secondary:hover {
    border-color: #c8ced8;
    color: var(--text);
}

.fine-print,
.policy-date {
    font-size: 14px;
    color: #7b8088;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 34px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    min-height: 190px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.feature-number {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.screenshot-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.screenshot-card h3,
.screenshot-card p {
    margin-bottom: 0;
}

.device-frame {
    padding: 16px;
    border: 1px solid rgba(29, 29, 31, 0.05);
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
    box-shadow: 0 12px 28px rgba(29, 29, 31, 0.07);
}

.app-shot {
    width: 100%;
    border-radius: 20px;
}

.app-shot-today {
    object-position: top center;
}

.feature-card p,
.faq-item p,
.policy p {
    font-size: 16px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.text-link {
    display: inline-flex;
    align-items: center;
    font-weight: 650;
}

.page-main {
    padding: 72px 0 88px;
}

.page-hero {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.04;
}

.content-section,
.policy section {
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.content-section h2,
.policy h2 {
    font-size: 28px;
}

.faq-item {
    padding: 20px 0;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--line);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    margin: 0;
    font-size: 14px;
}

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

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

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-device {
        max-width: 340px;
    }
}

@media (max-width: 620px) {
    .container,
    .narrow {
        width: min(100% - 28px, var(--max-width));
    }

    .nav {
        min-height: 58px;
        gap: 14px;
    }

    .brand span {
        max-width: 118px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links,
    .footer-links {
        gap: 14px;
    }

    .nav-links a,
    .footer-links a {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(38px, 13vw, 52px);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 64px 0;
    }

    .feature-card {
        min-height: auto;
        padding: 22px;
    }

    .footer-inner {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}
