/* Angry Nona: Night Shift — shared styles for the landing, privacy, and support pages. */
:root {
    --night: #1d1846;
    --night-2: #2a2368;
    --plum: #3a3189;
    --moon: #ffdf86;
    --moon-dark: #f4c24f;
    --pink: #f48fb1;
    --page: #fff9f0;
    --card: #ffffff;
    --ink: #1f1a3d;
    --ink-soft: #545079;
    --ink-muted: #7d7a9c;
    --line: #e8e0f3;
    --on-night: #ffffff;
    --on-night-soft: rgba(255, 255, 255, 0.78);
    --shadow: rgba(29, 24, 70, 0.18);
    --font-heading: 'Fredoka', 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Nav */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(29, 24, 70, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--on-night);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 19px; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; font-weight: 700; color: var(--on-night-soft); }
.nav-links a:hover { color: var(--moon); }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--on-night);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 223, 134, 0.22) 0, rgba(255, 223, 134, 0) 28%),
        linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 12% 22%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 30% 70%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 48% 14%, var(--moon) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 66% 82%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 90% 56%, #fff 50%, transparent 51%);
    opacity: 0.6;
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 72px 0 84px;
}
.hero-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); margin-bottom: 26px; }
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--moon);
    margin-bottom: 14px;
}
h1 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 6.4vw, 78px);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 14px;
}
.subtitle { font-family: var(--font-heading); font-size: clamp(24px, 3vw, 34px); font-weight: 600; color: var(--moon); margin-bottom: 18px; }
.hero-copy { color: var(--on-night-soft); font-size: clamp(18px, 2vw, 21px); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button, .ghost-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
}
.store-button { background: var(--moon); color: var(--night); box-shadow: 0 14px 30px rgba(244, 194, 79, 0.28); }
.store-button[aria-disabled="true"] { cursor: default; }
.store-button svg { width: 20px; height: 20px; }
.ghost-button { border: 1px solid rgba(255, 255, 255, 0.34); color: var(--on-night); background: rgba(255, 255, 255, 0.06); }
.ghost-button:hover { background: rgba(255, 255, 255, 0.14); }
.hero-phone { width: min(320px, 100%); margin: 0 auto; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }

/* Sections */
section { padding: 84px 0; }
.section-label { color: var(--plum); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--font-heading); font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; line-height: 1.08; margin-bottom: 16px; }
.section-copy { color: var(--ink-soft); font-size: 20px; max-width: 680px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(29, 24, 70, 0.06);
}
.feature-card h3 { font-family: var(--font-heading); font-size: 21px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 16px; }

/* Screenshots */
.screens { background: var(--night); color: var(--on-night); }
.screens .section-label { color: var(--moon); }
.screens .section-copy { color: var(--on-night-soft); }
.shot-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.shot-strip figure { scroll-snap-align: center; display: grid; gap: 12px; }
.shot-strip img { width: 100%; border-radius: 22px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); }
.shot-strip figcaption { color: var(--on-night-soft); font-size: 15px; font-weight: 700; text-align: center; }

/* Privacy strip */
.privacy-strip {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 44px;
}
.privacy-strip p { color: var(--ink-soft); }
.privacy-points { display: grid; gap: 12px; font-weight: 800; color: var(--plum); }
.privacy-points span::before { content: "\2713"; color: var(--moon-dark); margin-right: 10px; }

.cta { text-align: center; padding-top: 24px; }
.cta .section-copy { margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; }
.cta .ghost-button { color: var(--plum); border-color: var(--line); background: var(--card); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--plum); font-weight: 700; }

/* Privacy and support pages */
.doc-nav { padding: 18px 0; background: var(--night); color: var(--on-night); }
.doc-nav .container { display: flex; align-items: center; gap: 12px; max-width: 760px; }
.doc-nav img { width: 32px; height: 32px; border-radius: 8px; }
.doc-nav .nav-brand { font-family: var(--font-heading); font-weight: 600; font-size: 19px; }
.doc-nav .nav-sep { color: rgba(255, 255, 255, 0.5); }
.doc-nav .nav-page { color: var(--on-night-soft); font-size: 16px; }
.doc { max-width: 760px; padding: 64px 24px 110px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 5vw, 50px); margin-bottom: 10px; }
.doc .lead { color: var(--ink-soft); font-size: 20px; margin-bottom: 40px; }
.doc .last-updated { color: var(--ink-muted); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-family: var(--font-heading); font-size: 25px; font-weight: 600; margin: 40px 0 12px; }
.doc p, .doc ul { color: var(--ink-soft); margin-bottom: 16px; }
.doc ul { padding-left: 24px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--plum); font-weight: 700; }
.doc a:hover { text-decoration: underline; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 48px; }
.contact-card h2 { margin-top: 0; }
.contact-email {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--plum);
    color: #fff !important;
    font-weight: 800;
}
.contact-email:hover { text-decoration: none !important; background: var(--night-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--plum); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 6px; }
.faq-item ul { margin-top: -4px; }
.doc-links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
    .hero-grid, .privacy-strip { grid-template-columns: 1fr; }
    .hero-grid { padding: 48px 0 64px; gap: 40px; }
    .hero-phone { width: min(280px, 80%); }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .shot-strip { grid-auto-columns: minmax(220px, 64vw); }
    .privacy-strip { padding: 30px; }
    section { padding: 64px 0; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .nav-links a:first-child { display: none; }
    .nav-links { gap: 16px; font-size: 14px; }
    .brand span { font-size: 17px; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-icon { width: 88px; height: 88px; border-radius: 20px; }
    .doc { padding: 44px 16px 90px; }
    .doc-nav .container { padding: 0 16px; }
}
