/* ============================================================================
   NowAbout.me — public site
   "Obsidian launch" design system: pure black void, hairline borders,
   electric violet → cyan light. Every color lives in a custom property —
   nothing is hardcoded in markup or deeper in this file.
   ========================================================================= */

:root {
    /* ---- base palette ------------------------------------------------- */
    --c-bg: #000000;
    --c-bg-raise: #0b0b11;
    --c-surface: rgba(255, 255, 255, 0.04);
    --c-surface-2: rgba(255, 255, 255, 0.07);
    --c-border: rgba(255, 255, 255, 0.10);
    --c-border-strong: rgba(255, 255, 255, 0.18);
    --c-text: #f4f4f8;
    --c-text-dim: rgba(244, 244, 248, 0.58);
    --c-text-faint: rgba(244, 244, 248, 0.34);

    /* ---- brand light -------------------------------------------------- */
    --c-violet: #8b3dff;
    --c-violet-deep: #5b18d6;
    --c-cyan: #00e5ff;
    --c-cyan-soft: #6ef3ff;
    --c-glow-violet: rgba(139, 61, 255, 0.35);
    --c-glow-cyan: rgba(0, 229, 255, 0.22);

    /* ---- composites ---------------------------------------------------- */
    --grad-brand: linear-gradient(100deg, var(--c-violet) 0%, var(--c-cyan) 50%, var(--c-violet) 100%);
    --grad-btn: linear-gradient(135deg, var(--c-violet-deep), var(--c-violet) 45%, var(--c-cyan));
    --shadow-btn: 0 4px 24px var(--c-glow-violet), 0 1px 6px var(--c-glow-cyan);
    --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.7);

    /* ---- type ----------------------------------------------------------- */
    --font-body: "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", "SF Mono", "Consolas", monospace;

    /* ---- rhythm --------------------------------------------------------- */
    --radius: 16px;
    --radius-lg: 28px;
    --header-h: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================ RESET / BASE =============================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

::selection {
    background: var(--c-violet);
    color: var(--c-text);
}

/* ========================== AMBIENT BACKGROUND =========================== */

.site-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

/* faint perspective grid that breathes */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(var(--c-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
    animation: grid-breathe 9s ease-in-out infinite alternate;
}

@keyframes grid-breathe {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* slow drifting color wash */
.bg-aurora {
    position: fixed;
    inset: -25%;
    z-index: -4;
    background:
        radial-gradient(38% 30% at 22% 18%, var(--c-glow-violet), transparent 70%),
        radial-gradient(30% 26% at 78% 12%, var(--c-glow-cyan), transparent 70%),
        radial-gradient(40% 34% at 60% 88%, rgba(139, 61, 255, 0.16), transparent 70%);
    filter: blur(48px);
    animation: aurora-drift 26s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
    to { transform: translate3d(2.5%, 2%, 0) scale(1.08); }
}

/* particle canvas (drawn by site.js; empty + invisible if JS/motion is off) */
#nam-stars {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ============================== HEADER =================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(16px, 4vw, 48px);
    background: color-mix(in srgb, var(--c-bg) 72%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--c-border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    /* The emblem is a self-contained purple tile — no white badge/padding
       (that framed it with a white border). */
}

.brand-mark-accent { fill: var(--c-cyan); }

.brand-accent {
    background: var(--grad-brand);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-slide 6s linear infinite;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Action pills group. Inline on desktop (lang + buttons on one row); on narrow
   mobile it wraps to a full-width second line (see the max-width:560 block). */
.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ============================== BUTTONS ================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    /* No will-change/translateZ here: permanently promoting the button to its
       own compositor layer is what makes the rounded pill edge render with a
       faint colored fringe / jagged anti-aliasing. Kept on the main layer the
       edge stays crisp, and the hover lift still animates via the transition
       below. */
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;   /* pill labels (e.g. "Get the app") must never wrap to 2 lines */
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    /* Solid violet fill — NOT a gradient. Any violet→cyan (or deep-blue→cyan)
       gradient puts a contrasting colored rim on the pill's edges (blue on the
       left, cyan on the right/bottom). A flat brand-violet keeps every edge
       uniform and clean. The soft violet/cyan glow stays on the box-shadow
       (a diffuse halo, not a hard edge). */
    background: var(--c-violet);
    color: var(--c-text);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    box-shadow: 0 8px 36px var(--c-glow-violet), 0 2px 12px var(--c-glow-cyan);
}

.btn-ghost {
    background: var(--c-surface);
    border-color: var(--c-border);
    color: var(--c-text);
}

.btn-ghost:hover {
    border-color: var(--c-border-strong);
    background: var(--c-surface-2);
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Language selector (static-SSR <details> dropdown) ---------- */
.site-lang { position: relative; }
.site-lang > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.site-lang > summary::-webkit-details-marker { display: none; }
.site-lang > summary:hover { border-color: var(--c-border-strong); background: var(--c-surface-2); }
.site-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    z-index: 100;   /* above the header's own controls so the open menu is never covered */
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: #15151c;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.site-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--c-text);
    text-decoration: none;
    font-size: 0.9rem;
}
.site-lang-item:hover { background: var(--c-surface-2); }
.site-lang-item.active { background: var(--c-surface-2); }
.site-lang-item-code {
    width: 22px;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--c-text-dim);
}
.btn-lg { padding: 15px 34px; font-size: 1.08rem; }

/* ============================ MAIN / SECTIONS ============================ */

.site-main { flex: 1; }

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(64px, 11vh, 130px) clamp(16px, 4vw, 48px);
}

.section-title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* animated gradient text (hero + accents) */
.gradient-text {
    background: var(--grad-brand);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-slide 7s linear infinite;
    /* background-clip:text paints only the padding box — without this the
       descenders (y/g/p) of the last line are cut off. */
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

@keyframes gradient-slide {
    to { background-position: 220% center; }
}

/* ================================ HERO =================================== */

.hero {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(64px, 13vh, 150px) clamp(16px, 4vw, 48px) clamp(48px, 9vh, 110px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    min-height: calc(92vh - var(--header-h));
}

.hero-eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-text-faint);
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.hero-sub {
    margin: 26px 0 0;
    max-width: 34em;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--c-text-dim);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.hero-badges { margin-top: 30px; }

/* floating QR visual */
.hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-motif {
    position: relative;
    width: clamp(200px, 24vw, 300px);
    aspect-ratio: 1;
    animation: qr-float 7s ease-in-out infinite alternate;
}

.qr-motif-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--c-border-strong);
    box-shadow: var(--shadow-card);
}

.qr-bg { fill: var(--c-bg-raise); }
.qr-dot { fill: var(--c-text); }

.qr-motif-glow {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-glow-violet), var(--c-glow-cyan) 55%, transparent 72%);
    filter: blur(30px);
    animation: glow-pulse 5s ease-in-out infinite alternate;
}

.qr-hero-echo {
    position: absolute;
    width: clamp(120px, 13vw, 170px);
    right: -4%;
    bottom: -6%;
    opacity: 0.5;
    animation-duration: 9s;
    animation-delay: -3s;
}

@keyframes qr-float {
    from { transform: translateY(-12px) rotate(-2deg); }
    to { transform: translateY(14px) rotate(2.5deg); }
}

@keyframes glow-pulse {
    from { opacity: 0.65; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1.06); }
}

/* scroll hint */
.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid var(--c-border-strong);
    border-radius: 14px;
}

.hero-scroll-hint span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--c-cyan);
    animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================ HOW IT WORKS =============================== */

.how-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 38px;
}

.how-card {
    position: relative;
    flex: 1 1 280px;
    max-width: 340px;
    padding: 34px 28px 30px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.how-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-border-strong);
}

.how-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad-brand);
    background-size: 300% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s var(--ease-out);
    animation: gradient-slide 5s linear infinite;
}

.how-card:hover::before { opacity: 1; }

.how-num {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    color: var(--c-text-faint);
}

.how-icon {
    display: block;
    width: 38px;
    height: 38px;
    margin: 20px 0 16px;
    color: var(--c-cyan);
    fill: currentColor;
}

.how-card p {
    margin: 0;
    color: var(--c-text-dim);
}

/* ===================== PHONE MOCKUP + FEATURES =========================== */

.phone-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
}

.phone-stage {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone {
    position: relative;
    width: clamp(230px, 24vw, 290px);
    aspect-ratio: 9 / 19;
    border-radius: 42px;
    border: 1px solid var(--c-border-strong);
    background: linear-gradient(160deg, var(--c-surface-2), var(--c-bg-raise) 65%);
    box-shadow: var(--shadow-card);
    transform: rotateY(-10deg) rotateX(4deg);
    animation: phone-float 8s ease-in-out infinite alternate;
}

@keyframes phone-float {
    from { transform: rotateY(-12deg) rotateX(4deg) translateY(-8px); }
    to { transform: rotateY(-7deg) rotateX(2deg) translateY(10px); }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    height: 18px;
    border-radius: 10px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    z-index: 2;
}

.phone-screen {
    position: absolute;
    inset: 8px;
    border-radius: 34px;
    background: var(--c-bg);
    overflow: hidden;
    padding: 48px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.phone-glow {
    position: absolute;
    inset: -14%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-glow-violet), transparent 65%);
    filter: blur(34px);
    animation: glow-pulse 6s ease-in-out infinite alternate;
}

/* skeleton profile inside the screen */
.mock-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto;
    background: var(--grad-btn);
    background-size: 250% auto;
    animation: gradient-slide 6s linear infinite;
}

.mock-name {
    width: 56%;
    height: 13px;
    margin: 0 auto;
    border-radius: 7px;
    background: var(--c-surface-2);
}

.mock-chips {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mock-chips span {
    width: 52px;
    height: 20px;
    border-radius: 999px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
}

.mock-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.mock-link {
    height: 38px;
    border-radius: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}

.mock-link::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--c-surface-2), transparent);
    animation: shimmer 2.6s ease-in-out infinite;
}

.mock-link:nth-child(2)::after { animation-delay: 0.35s; }
.mock-link:nth-child(3)::after { animation-delay: 0.7s; }

@keyframes shimmer {
    60%, 100% { transform: translateX(100%); }
}

.mock-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
}

.mock-photos span {
    aspect-ratio: 1;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--c-glow-violet), var(--c-glow-cyan));
    opacity: 0.55;
}

.features-col {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vh, 44px);
}

.feature-title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    width: fit-content;
}

.feature p {
    margin: 0;
    color: var(--c-text-dim);
    max-width: 36em;
}

/* =============================== PRICING ================================= */

.pricing-section { text-align: center; }

.pricing-trial {
    margin: 0 0 36px;
    color: var(--c-text-dim);
    font-size: 1.05rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 22px;
}

.pricing-card {
    padding: 38px 32px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-border-strong);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 40px var(--c-glow-violet);
}

.pricing-card h3 {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-text-faint);
}

.price { margin: 18px 0 26px; }

.price-amount {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.price-period { color: var(--c-text-dim); }

/* ============================ MERCH / SHIRT ============================== */

.merch-section { text-align: center; }

.merch-sub {
    margin: 0 0 30px;
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text-dim);
}

.merch-actions {
    display: flex;
    justify-content: center;
}

/* =============================== DOWNLOAD ================================ */

.download-section { text-align: center; }

.download-tagline {
    margin: 0 0 30px;
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text-dim);
}

.download-badges { justify-content: center; }

/* ============================ STORE BADGES =============================== */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-badge {
    display: inline-block;
    width: 170px;
    transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 18px var(--c-glow-violet));
}

.store-badge svg { width: 100%; height: auto; display: block; }

.badge-bg {
    fill: var(--c-bg-raise);
    stroke: var(--c-border-strong);
    stroke-width: 1.5;
}

.badge-icon { fill: var(--c-text); color: var(--c-text); }

.badge-small {
    fill: var(--c-text-dim);
    font-family: var(--font-body);
    font-size: 9.5px;
    letter-spacing: 0.04em;
}

.badge-big {
    fill: var(--c-text);
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ========================= PROFILE TEASER CARD =========================== */

.teaser-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(36px, 8vh, 90px) clamp(16px, 4vw, 32px);
}

.teaser-card {
    position: relative;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface) 40%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: 44px 28px 36px;
    text-align: center;
}

.teaser-card::before {
    content: "";
    position: absolute;
    top: -45%;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    aspect-ratio: 2;
    background: radial-gradient(ellipse at center, var(--c-glow-violet), transparent 65%);
    pointer-events: none;
}

.teaser-head { position: relative; }

.teaser-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    margin: 0 auto 18px;
    object-fit: cover;
    border: 2px solid var(--c-border-strong);
    box-shadow: 0 0 0 6px var(--c-surface), 0 0 36px var(--c-glow-violet);
}

.teaser-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--grad-btn);
    background-size: 250% auto;
    animation: gradient-slide 6s linear infinite;
    color: var(--c-text);
}

.teaser-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.teaser-about {
    margin: 12px auto 0;
    max-width: 30em;
    color: var(--c-text-dim);
    font-size: 0.98rem;
}

.teaser-stats {
    margin: 14px 0 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--c-text-faint);
}

.teaser-stats strong { color: var(--c-text-dim); }

.teaser-stats-dot { margin: 0 8px; }

/* blurred, unreadable preview */
.teaser-blur {
    margin-top: 26px;
    filter: blur(7px) saturate(1.2);
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
}

.teaser-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.teaser-chip {
    height: 28px;
    border-radius: 999px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border-strong);
}

.teaser-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.teaser-tile {
    aspect-ratio: 1;
    border-radius: 10px;
}

.teaser-tile-0 { background: linear-gradient(135deg, var(--c-glow-violet), var(--c-surface-2)); }
.teaser-tile-1 { background: linear-gradient(225deg, var(--c-glow-cyan), var(--c-surface-2)); }
.teaser-tile-2 { background: linear-gradient(45deg, var(--c-glow-cyan), var(--c-glow-violet)); }
.teaser-tile-3 { background: var(--c-surface-2); }

/* lock overlay */
.teaser-lock {
    position: relative;
    margin-top: -64px;
    padding: 76px 12px 0;
    background: linear-gradient(180deg, transparent, var(--c-bg) 38%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lock-icon {
    width: 40px;
    height: 40px;
    color: var(--c-cyan);
    fill: currentColor;
    filter: drop-shadow(0 0 12px var(--c-glow-cyan));
}

.lock-text {
    margin: 0;
    max-width: 24em;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.teaser-badges { justify-content: center; }

.vcard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--c-text-dim);
    border-bottom: 1px solid transparent;
    transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.vcard-link:hover {
    color: var(--c-text);
    border-color: var(--c-border-strong);
}

.vcard-link svg {
    width: 17px;
    height: 17px;
    color: var(--c-cyan);
}

.teaser-trial {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--c-text-faint);
}

/* Secondary "curious about the service" on-ramp under the profile CTA. */
.teaser-pitch {
    width: 100%;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.teaser-pitch-eyebrow {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.teaser-pitch-sub {
    margin: 0 0 10px;
    max-width: 26em;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--c-text-dim);
}

.teaser-pitch-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* ===================== PANELS (unclaimed / 404) ========================== */

.panel-page {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(48px, 10vh, 110px) clamp(16px, 4vw, 32px);
}

.panel-card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: var(--c-surface);
    box-shadow: var(--shadow-card);
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.panel-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    width: fit-content;
}

.panel-body {
    margin: 0;
    color: var(--c-text-dim);
    max-width: 30em;
}

.panel-code,
.ref-code {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    letter-spacing: 0.3em;
    padding: 10px 22px 10px calc(22px + 0.3em);
    border-radius: 12px;
    border: 1px dashed var(--c-border-strong);
    background: var(--c-bg-raise);
    color: var(--c-cyan-soft);
}

.panel-badges { justify-content: center; }

.qr-panel {
    width: 130px;
    animation: none;
}

.notfound-mark {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    width: fit-content;
}

/* ========================= INFLUENCER LANDING ============================ */

.ref-code-box {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ref-code-hint {
    margin: 0;
    color: var(--c-text-dim);
}

/* ============================ LEGAL PAGES ================================ */

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(48px, 8vh, 90px) clamp(16px, 4vw, 32px);
}

.legal-draft {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--c-cyan-soft);
    border: 1px dashed var(--c-border-strong);
    border-radius: 10px;
    padding: 10px 16px;
    background: var(--c-surface);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 24px 0 4px;
    width: fit-content;
}

.legal-updated {
    color: var(--c-text-faint);
    font-size: 0.9rem;
    margin: 0 0 36px;
}

.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 38px 0 10px;
}

.legal-page p,
.legal-page li {
    color: var(--c-text-dim);
    font-size: 0.98rem;
}

.legal-page ul { padding-left: 22px; }
.legal-page ol { padding-left: 22px; }

.legal-page strong { color: var(--c-text); }

.legal-page h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 22px 0 8px;
}

/* Multilingual "English only — by subscribing you confirm you understand it" notice. */
.legal-langnote {
    border: 1px solid var(--c-border-strong);
    border-radius: 12px;
    background: var(--c-surface);
    padding: 14px 18px;
    margin-bottom: 28px;
}
.legal-langnote p {
    margin: 0 0 8px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--c-text-dim);
}
.legal-langnote p:last-child { margin-bottom: 0; }
.legal-langnote strong { color: var(--c-text); }

/* Operator identity block. */
.legal-id {
    border-left: 3px solid var(--c-violet);
    background: var(--c-surface);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 0 0 24px;
}
.legal-id p { margin: 0 0 8px; }
.legal-id p:last-child { margin-bottom: 0; }

.legal-lead { margin: 0 0 12px; }

/* Company name (the <CoName /> component). The real letters are present as text
   — so the name is accessible to screen readers, selectable/copyable, and shown
   even if CSS fails — but interleaved with hidden decoy characters so a naive
   scrape of the page source returns a garbled string, not the clean name. The
   legal pages are also noindex, so the name is not search-indexed. */
.coname .d { display: none; }

/* ================================ FOOTER ================================= */

.site-footer {
    border-top: 1px solid var(--c-border);
    background: color-mix(in srgb, var(--c-bg) 85%, transparent);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px clamp(16px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--c-text-faint);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: var(--c-text-dim);
    transition: color 0.3s var(--ease-out);
}

.footer-links a:hover { color: var(--c-text); }

/* ========================== SCROLL REVEALS =============================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: calc(var(--reveal-delay, 0) * 110ms);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* no-JS / crawler fallback: site.js adds .js-on to <html>; without it
   everything stays fully visible. */
html:not(.js-on) [data-reveal] {
    opacity: 1;
    transform: none;
}

/* ==================== HERO IMAGE (replaces QR motif) ==================== */

.hero-img-wrap {
    position: relative;
    width: clamp(260px, 30vw, 380px);
    animation: qr-float 7s ease-in-out infinite alternate;
}

.hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border-strong);
    box-shadow: var(--shadow-card);
}

.hero-img-glow {
    position: absolute;
    inset: -12%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-glow-violet), var(--c-glow-cyan) 55%, transparent 72%);
    filter: blur(34px);
    animation: glow-pulse 5s ease-in-out infinite alternate;
}

/* ===================== HOW-IT-WORKS CARD IMAGES ========================= */

/* Image bleeds to the card's top edges (negative margins cancel the card's
   top/side padding); the card's overflow:hidden + radius clip the corners. */
.how-img-wrap {
    margin: -34px -28px 18px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.how-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.how-card:hover .how-img { transform: scale(1.04); }

/* ============================== BENEFITS ================================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
}

.benefit-card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-border-strong);
}

.benefit-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.benefit-card:hover .benefit-img { transform: scale(1.05); }

.benefit-title {
    margin: 22px 26px 8px;
    font-size: 1.25rem;
}

.benefit-card p {
    margin: 0 26px 26px;
    color: var(--c-text-dim);
}

/* ===================== MERCH GRID (image + copy) ======================== */

.merch-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    text-align: left;
}

.merch-visual {
    position: relative;
    justify-self: center;
}

.merch-img {
    position: relative;
    z-index: 1;
    width: clamp(260px, 30vw, 380px);
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border-strong);
    box-shadow: var(--shadow-card);
}

.merch-img-glow {
    position: absolute;
    inset: -10%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-glow-violet), var(--c-glow-cyan) 55%, transparent 72%);
    filter: blur(34px);
}

.merch-copy .merch-sub { margin-top: 16px; }
.merch-copy .merch-actions { justify-content: flex-start; }

/* ============================== RESPONSIVE =============================== */

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .merch-grid { grid-template-columns: 1fr; text-align: center; }
    .merch-visual { order: -1; }
    .merch-copy .merch-sub { margin-inline: auto; }
    .merch-copy .merch-actions { justify-content: center; }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        /* min-height is now auto, so the tall top padding (up to 13vh) is just a
           gap under the sticky header on mobile — tighten it. */
        padding-top: clamp(20px, 5vh, 52px);
    }

    .hero-sub { margin-inline: auto; }
    .hero-actions, .hero-badges, .store-badges { justify-content: center; }
    .hero-visual { order: -1; min-height: 240px; }
    .qr-hero-echo { display: none; }
    .hero-scroll-hint { display: none; }

    .how-grid { grid-template-columns: 1fr; }

    .phone-section { grid-template-columns: 1fr; }
    .features-col { text-align: center; }
    .feature-title { margin-inline: auto; }
    .feature p { margin-inline: auto; }

    .pricing-grid { grid-template-columns: minmax(0, 360px); }

    .ref-code-box { align-items: center; }
}

@media (max-width: 560px) {
    .benefits-grid { grid-template-columns: 1fr; }

    /* Too narrow for one row: keep brand + language switcher on the first line
       and wrap the action pills onto a full-width second line. */
    .site-header {
        height: auto;
        min-height: var(--header-h);
        align-items: center;
        gap: 8px 10px;
        padding: 10px 14px;
    }
    .brand { font-size: 1rem; gap: 6px; min-width: 0; }
    .brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
    /* Brand wordmark ellipsizes if ever needed so the language switcher stays put. */
    .brand > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .header-nav { flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .header-actions { flex-basis: 100%; justify-content: flex-end; }
    .btn-sm { padding: 8px 14px; font-size: 0.85rem; }
}

/* ========================= REDUCED MOTION ================================ */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .bg-aurora, .bg-grid { animation: none; }
    #nam-stars { display: none; }
}
