:root {
    /* Backgrounds — cool gray */
    --bg-main: #f5f6f8;
    --bg-soft: #eceef1;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Text — near-black with blue-gray tint */
    --text-primary: #1a1d23;
    --text-secondary: #5c6370;

    /* Accent — steel blue from app icon */
    --accent: #2e6b9e;
    --accent-hover: #3b82b8;
    --accent-soft: rgba(46, 107, 158, 0.08);

    /* Typography — macOS system font stack */
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, sans-serif;

    /* Shadows — cool-toned, subtle */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-screenshot: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

:focus:not(:focus-visible) {
    outline: none;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding-inline: clamp(1rem, 2.6vw, 1.75rem);
}

h1,
h2,
h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* ─── Buttons ─── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 3px rgba(46, 107, 158, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(46, 107, 158, 0.25);
}

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

.btn-outline:hover {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.02);
}

.btn-large {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.hero-text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    transition: color 0.15s ease;
    padding: 0.5rem 0;
}

.hero-text-link:hover {
    color: var(--accent-hover);
}

.hero-text-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Navbar ─── */

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    z-index: 100;
    border-radius: 12px;
    padding: 10px 0;
    background: rgba(245, 246, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.brand-name {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Hero ─── */

.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    min-height: min(900px, calc(100svh - 20px));
    padding-top: clamp(7rem, 12svh, 9rem);
    padding-bottom: clamp(3rem, 7svh, 5rem);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
    animation: fade-up 0.72s ease-out;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    animation: fade-up 0.72s ease-out 0.04s both;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: clamp(0.75rem, 2vw, 1.2rem);
    max-width: 18ch;
    text-wrap: balance;
    animation: fade-up 0.85s ease-out 0.08s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    color: var(--text-secondary);
    max-width: 48ch;
    margin-bottom: 1.75rem;
    line-height: 1.65;
    animation: fade-up 0.9s ease-out 0.16s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
    animation: fade-up 0.95s ease-out 0.24s both;
}

.requirements-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    opacity: 0.7;
    animation: fade-up 1s ease-out 0.3s both;
}

.hero-visual {
    animation: fade-up 1s ease-out 0.36s both;
    max-width: 340px;
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-screenshot);
}

/* ─── Features ─── */

.features {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: clamp(0.96rem, 1.5vw, 1.06rem);
    max-width: 56ch;
    margin-inline: auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
    max-width: 860px;
    margin-inline: auto;
}

.feature-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.feature-emoji {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ─── Showcase ─── */

.showcase {
    padding-block: clamp(4rem, 8vw, 6rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.showcase-content h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 0.85rem;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: clamp(0.96rem, 1.5vw, 1.06rem);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.check-icon {
    color: #2ea043;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.showcase-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow-screenshot);
}

/* ─── CTA ─── */

.cta {
    margin: clamp(2rem, 6vw, 4rem) auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 0.6rem;
}

.cta p {
    color: var(--text-secondary);
    font-size: clamp(0.96rem, 1.5vw, 1.06rem);
    margin-bottom: 1.5rem;
}

/* ─── Footer ─── */

.footer {
    border-top: 1px solid var(--border-color);
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 2.6vw, 1.5rem);
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ─── Animations ─── */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

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

/* ─── Responsive ─── */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-visual {
        max-width: 320px;
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-visual {
        max-width: 560px;
        margin-inline: auto;
    }

    .benefit-list {
        align-items: center;
    }

    .benefit-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
