/* Beatitude — Impressive Minimal */

:root {
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
    --white: #fff;
    --white-80: rgba(255,255,255,0.8);
    --white-60: rgba(255,255,255,0.6);
    --white-40: rgba(255,255,255,0.4);
    --white-20: rgba(255,255,255,0.2);
    --white-10: rgba(255,255,255,0.1);
    --white-05: rgba(255,255,255,0.05);
    --black: #000;
}

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

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--white);
    background: var(--black);
    min-height: 100dvh;
}

/* ========================================
   Home Page
   ======================================== */

.home {
    background: var(--black);
}

.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

/* Content */
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: content-in 1s ease-out 0.2s both;
}

@keyframes content-in {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon */
.hero__icon-wrap {
    margin: 0 0 3rem;
    position: relative;
    border-radius: 32px;
}

.hero__icon {
    display: block;
    border-radius: 31px;
    box-shadow: 
        0 0 0 1px var(--white-10),
        0 30px 60px -15px rgba(0,0,0,0.95);
}

/* Shine effect */
.hero__shine {
    position: absolute;
    inset: 0;
    border-radius: 31px;
    overflow: hidden;
    pointer-events: none;
}

.hero__shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 80%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 35%,
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.03) 60%,
        transparent 65%,
        transparent 100%
    );
    animation: shine 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 3s;
}

@keyframes shine {
    0% { 
        left: -100%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    35% { 
        left: 150%;
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Typography */
.hero__title {
    margin: 0;
    font-size: clamp(3rem, 11vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--white);
}

.hero__tagline {
    margin: 1rem 0 0;
    font-size: clamp(1rem, 3vw, 1.1875rem);
    font-weight: 400;
    color: var(--white-40);
    letter-spacing: 0;
}

/* Footer nav */
.hero__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    display: flex;
    justify-content: center;
    animation: fade-in 1s ease-out 0.8s both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__nav {
    display: flex;
    gap: 3rem;
}

.hero__nav a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white-40);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.hero__nav a:hover {
    color: var(--white);
}

.hero__nav a:focus-visible {
    outline: 1px solid var(--white-40);
    outline-offset: 6px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--white);
    color: var(--black);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* Responsive */
@media (max-width: 600px) {
    .hero__icon { 
        width: 112px; 
        height: 112px;
        border-radius: 25px;
    }
    .hero__shine { border-radius: 25px; }
    .hero__icon-wrap { 
        margin-bottom: 2.5rem;
        border-radius: 26px;
    }
    .hero__nav { gap: 2rem; }
    .hero__footer { padding: 2rem; }
}

@media (max-height: 650px) {
    .hero { 
        justify-content: flex-start; 
        padding-top: 15vh;
    }
    .hero__footer { 
        position: static; 
        margin-top: auto;
        padding-top: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__nav a { transition: none; }
    .hero__shine::after { animation: none; }
    .hero__line { animation: none; height: 15vh; opacity: 1; }
    .hero__content { animation: none; opacity: 1; transform: none; }
    .hero__footer { animation: none; opacity: 1; }
}

/* ========================================
   Content Pages (Privacy, Terms, Support)
   ======================================== */

.page {
    min-height: 100dvh;
    background: var(--black);
    color: var(--white);
}

.page a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--white-20);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.page a:hover { text-decoration-color: var(--white-60); }
.page a:focus-visible { outline: 1px solid var(--white-40); outline-offset: 2px; }

.page__header {
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--white-05);
    z-index: 100;
}

.page__header-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page__logo {
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.page__nav {
    display: flex;
    gap: 1.5rem;
}

.page__nav a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white-40);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.page__nav a:hover { color: var(--white); }

.page__content {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.page__content h1 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.page__content h2 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 4rem 0 1.25rem;
    color: var(--white);
}

.page__content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 2rem 0 0.5rem;
}

.page__content p {
    color: var(--white-60);
    margin: 0 0 1rem;
    line-height: 1.75;
}

.page__content ul,
.page__content ol {
    color: var(--white-60);
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    line-height: 1.75;
}

.page__content li {
    margin-bottom: 0.625rem;
}

.page__content li::marker {
    color: var(--white-20);
}

.page__content strong {
    color: var(--white);
    font-weight: 600;
}

.page__content code {
    font-family: "SF Mono", ui-monospace, monospace;
    font-size: 0.85em;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.page__date {
    color: var(--white-40);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

.page__footer {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--white-05);
}

.page__footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.page__footer-links a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white-40);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.page__footer-links a:hover { color: var(--white); }

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 9999;
}

/* FAQ */
.faq-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--white-05);
}
.faq-item:first-of-type { border-top: 1px solid var(--white-05); }
.faq-question {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.faq-answer {
    color: var(--white-60);
    margin: 0;
}
.faq-answer ul, .faq-answer ol { margin-top: 0.5rem; }

/* Contact */
.contact-box {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}
.contact-box p { margin-bottom: 0.25rem; }
.contact-box p:last-child { margin-bottom: 0; }

/* Utilities */
.text-secondary { color: var(--white-60); }

@media (max-width: 600px) {
    .page__content { padding: 3rem 1.5rem 4rem; }
    .page__content h1 { font-size: 1.875rem; }
    .page__nav { gap: 1rem; }
}

@media print {
    .page__header, .page__footer, .grain { display: none; }
    .page { background: #fff; color: #000; }
    .page a { color: #000; }
    .page__content code { background: #f5f5f5; border-color: #ddd; }
}
