:root {
    --felt-deep: #0a1f24;
    --felt-mid: #123a42;
    --felt-glow: #1a5c4a;
    --ink: #f4f7f5;
    --ink-muted: rgba(244, 247, 245, 0.72);
    --accent: #ff6b4a;
    --accent-hot: #ffd166;
    --phone-bezel: #101820;
    --phone-glow: rgba(255, 209, 102, 0.18);
    --focus-ring: #7ee0c7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Nunito", "Segoe UI", sans-serif;
    font-weight: 400;
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 209, 102, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(30, 140, 110, 0.28), transparent 50%),
        radial-gradient(ellipse 60% 45% at 10% 70%, rgba(18, 90, 110, 0.35), transparent 50%),
        linear-gradient(165deg, var(--felt-deep) 0%, var(--felt-mid) 48%, #0d2a30 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}

a {
    color: var(--accent-hot);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    font-weight: 700;
}

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

a:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
}

.page {
    position: relative;
    z-index: 10;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 3.5rem 1.25rem 2.5rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
    align-items: center;
    min-height: calc(100vh - 5rem);
}

.hero-copy {
    text-align: left;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.brand-mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 22%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.headline {
    font-family: "Fredoka", ui-rounded, sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--accent-hot);
    margin: 0;
}

.tagline {
    font-family: "Fredoka", ui-rounded, sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0.85rem 0 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--ink-muted);
    margin: 1.1rem 0 0;
    max-width: 28rem;
}

.appstore-badge {
    margin: 1.75rem 0 0;
}

.appstore-badge a {
    display: inline-block;
    text-decoration: none;
}

.appstore-badge img {
    height: 54px;
    width: auto;
    display: block;
}

.proof {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    color: var(--ink-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.phone {
    position: relative;
    width: min(100%, 280px);
    border-radius: 2rem;
    padding: 0.55rem;
    background: linear-gradient(160deg, #2a3440, var(--phone-bezel));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 30px 60px rgba(0, 0, 0, 0.45),
        0 0 80px var(--phone-glow);
    transform: rotate(-2deg);
    animation: phone-float 6s ease-in-out infinite;
}

.phone--secondary {
    width: min(42%, 180px);
    transform: rotate(4deg) translateY(1.5rem);
    opacity: 0.92;
    animation-delay: -2s;
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.55rem;
}

@keyframes phone-float {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

.site-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lang-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.lang-nav a {
    text-decoration: none;
    color: var(--ink-muted);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.lang-nav a:hover {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.lang-nav a[aria-current="page"] {
    color: var(--felt-deep);
    background: var(--accent-hot);
    border-color: var(--accent-hot);
}

.footer-links {
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent-hot);
}

/* Privacy pages */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    background: rgba(8, 24, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal .headline {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
}

.legal .meta {
    text-align: center;
    color: var(--ink-muted);
    margin: 0.75rem 0 1.5rem;
}

.legal h2 {
    font-family: "Fredoka", ui-rounded, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.5rem;
    color: var(--accent-hot);
}

.legal p,
.legal li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.legal p {
    margin: 0 0 1rem;
}

.feature-list {
    padding-left: 1.35rem;
    margin: 0 0 1.25rem;
}

.feature-list li {
    margin-bottom: 0.45rem;
}

.legal-back {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
        text-align: center;
    }

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

    .brand-row {
        justify-content: center;
    }

    .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .appstore-badge {
        display: flex;
        justify-content: center;
    }

    .phone--secondary {
        display: none;
    }

    .phone {
        width: min(70vw, 260px);
        transform: none;
    }
}

@media (max-width: 600px) {
    .page {
        padding-top: 3rem;
    }

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

    .lang-nav {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phone,
    .phone--secondary {
        animation: none;
    }
}
