:root {
    --page-bg: #f2f3f7;
    --page-bg-2: #e8ebf2;
    --text: #1c1c1e;
    --muted: #6e6e73;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-border: rgba(28, 28, 30, 0.08);
    --button-bg: #050505;
    --button-text: #ffffff;
    --link: #4b4f58;
    --link-hover: #111111;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(170deg, var(--page-bg) 0%, var(--page-bg-2) 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.landing {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.card {
    width: min(430px, 100%);
    text-align: center;
    padding: 36px 24px 28px;
    border-radius: 28px;
    border: 1px solid var(--panel-border);
    background: var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
}

.app-icon {
    display: block;
    margin: 0 auto 22px;
    width: 112px;
    height: 112px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3.8vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin: 10px auto 28px;
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

.app-store-button {
    width: fit-content;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    background: var(--button-bg);
    color: var(--button-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.app-store-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.app-store-button:focus-visible {
    outline: 3px solid #0066ff;
    outline-offset: 3px;
}

.apple-logo {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    flex: 0 0 auto;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

.button-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.01em;
}

.button-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.legal-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.86rem;
}

.legal-links a {
    color: var(--link);
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

@media (max-width: 420px) {
    .card {
        padding: 30px 18px 24px;
        border-radius: 24px;
    }

    .app-icon {
        width: 96px;
        height: 96px;
        border-radius: 21px;
    }
}
