:root {
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --text: #1c1c1e;
    --text-soft: #6b6f76;
    --accent: #5b5bd6;
    --accent-soft: #ececfb;
    --border: #e7e8ec;
    --radius: 18px;
    --max: 1080px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 15px;
}
.brand img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--text-soft); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
    text-align: center;
    padding: 96px 0 72px;
}
.hero .squid {
    height: 120px;
    width: auto;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero .tagline {
    font-size: clamp(18px, 2.6vw, 22px);
    color: var(--text-soft);
    margin: 20px auto 0;
    max-width: 560px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
}
.subnote {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-soft);
}

/* Phone frame + carousel */
.phone-frame {
    background: #1c1c1e;
    padding: 12px;
    border-radius: 56px;
    display: inline-block;
    box-shadow:
        0 18px 38px -18px rgba(0, 0, 0, 0.16),
        0 6px 14px -8px rgba(0, 0, 0, 0.06);
}
.phone-frame img {
    display: block;
    width: 100%;
    border-radius: 44px;
}

.carousel {
    max-width: 300px;
    margin: 0 auto;
}
.carousel-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Bottom padding so the phone's drop shadow isn't clipped by the scroll
       container; the shadow only extends downward, so no top padding needed. */
    padding: 0 4px 40px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
    text-align: center;
}


.carousel-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    /* Negative to pull the dots up into the track's bottom padding (which exists
       so the phone's drop shadow isn't clipped) without making them too distant. */
    margin-top: -12px;
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.dot:hover { background: var(--text-soft); }
.dot.is-active { background: var(--accent); transform: scale(1.15); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section .lead {
    text-align: center;
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 auto 48px;
    font-size: 18px;
}

/* Feature grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.section-alt .feature { background: #fff; }
.feature .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--text-soft); font-size: 15px; }

/* Privacy highlight */
.privacy-highlight {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.privacy-highlight p { font-size: 18px; color: var(--text-soft); margin-top: 16px; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    color: var(--text-soft);
    font-size: 14px;
}
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer .footer-links { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 64px 0 80px; max-width: 760px; }
.legal h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--text-soft); margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { color: #2c2c2e; font-size: 16px; }
.legal ul { margin: 12px 0 12px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }

@media (max-width: 820px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}
@media (max-width: 540px) {
    .features { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 48px; }
    .carousel { max-width: 250px; }
    .phone-frame { padding: 10px; border-radius: 46px; }
    .phone-frame img { border-radius: 36px; }
}
