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

:root {
    --purple: #7E2DE4;
    --teal: #22d3ee;
    --green: #4ade80;
    --blue: #60a5fa;
    --purple-dark: #5a1db0;
    --purple-light: #a855f7;
    --purple-glow: rgba(126, 45, 228, 0.15);
    --orange: #FF9800;
    --pink: #E36194;
    --bg: #08080a;
    --bg-elevated: #111114;
    --bg-card: #101015;
    --bg-card-hover: #121215;
    --text: #f4f4f5;
    --text-muted: #8b8b96;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 20px;
    --radius-sm: 12px;
}

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

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--purple-light);
    text-decoration: underline;
    text-decoration-color: rgba(168, 85, 247, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
    color: #c084fc;
    text-decoration-color: rgba(192, 132, 252, 0.6);
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--pink) 50%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.35em;
    margin-bottom: -0.35em;
    padding-left: 0.15em;
    margin-left: -0.15em;
    padding-right: 0.15em;
    margin-right: -0.15em;
}

.section-label {
    display: inline-flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(126, 45, 228, 0.08);
    border: 1px solid rgba(126, 45, 228, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 24px;
}

.section-label::before {
    content: '~/';
    opacity: 0.6;
    margin-right: 6px;
    color: var(--text-muted);
}

.section-label--plain::before {
    display: none;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
}

.section-title--plain {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.section-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== Nav ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(8, 8, 10, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links .nav-cta {
    background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%);
    color: white;
    padding: 8px 22px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(126, 45, 228, 0.2);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-links .nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 6px 16px rgba(126, 45, 228, 0.3);
}

/* ===== Hamburger & Mobile Drawer ===== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
}

.nav-hamburger:hover {
    border-color: rgba(126, 45, 228, 0.3);
    background: rgba(126, 45, 228, 0.06);
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    overflow-x: hidden;
}

.nav-drawer.open {
    transform: translateX(0);
}

.nav-drawer-inner {
    display: flex;
    flex-direction: column;
    padding: 80px 28px 40px;
    gap: 4px;
}

.nav-drawer-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.nav-drawer-link:hover {
    color: var(--text);
}

.nav-drawer-cta {
    margin-top: 20px;
    border: none;
    background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%);
    color: white !important;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(126, 45, 228, 0.3);
    transition: opacity 0.2s, transform 0.2s;
}

.nav-drawer-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .nav-drawer {
        display: block;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-48%);
    width: 900px;
    height: 900px;
    background: radial-gradient(ellipse at 52% 40%, rgba(126, 45, 228, 0.15) 0%, rgba(56, 189, 248, 0.04) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center top, black 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 25%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.hero-icon {
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 32px rgba(126, 45, 228, 0.25);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.5rem, 8.5vw, 6rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.07em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
}

.app-store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.app-store-badge img {
    display: block;
    height: 54px;
    width: auto;
    border-radius: 12px;
}

.hero-platform {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-phone-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 44px;
}

.hero-phone {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 68px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 40px 100px rgba(126, 45, 228, 0.2),
        0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 100px;
}

.hero-phone:hover {
    transform: translateY(-6px);
}

.hero-phone-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Marquee ===== */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.marquee-content span:not(.marquee-dot):nth-child(4n+1) {
    color: var(--text);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.55;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Silo Cards ===== */
.silos-section {
    padding: 96px 0;
}

/* Two-column layout */
.silos-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.silos-copy .section-title {
    margin-bottom: 28px;
}

/* Silo diagram widget */
.silo-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    padding: 20px;
}

.silo-diagram-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.silo-panel {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
}

/* Color accent bar at top of each silo card */
.silo-panel-accent {
    height: 3px;
}

.silo-panel--purple .silo-panel-accent { background: var(--purple-light); }
.silo-panel--orange .silo-panel-accent { background: var(--orange); }
.silo-panel--pink .silo-panel-accent { background: var(--pink); }

/* Browser chrome (URL bar) */
.silo-browser-chrome {
    padding: 7px 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.silo-url-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4px 7px;
}

.silo-lock-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.silo-url-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fake page content */
.silo-page-preview {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.silo-page-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.silo-page-line--title { height: 8px; background: rgba(255, 255, 255, 0.14); }
.silo-page-line--full { width: 100%; }
.silo-page-line--wide { width: 85%; }
.silo-page-line--medium { width: 65%; }
.silo-page-line--short { width: 40%; }

/* Proxy badge at bottom */
.silo-panel-proxy {
    padding: 6px 8px 8px;
}

.silo-proxy-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 100px;
    white-space: nowrap;
}

.silo-proxy-pill--purple {
    color: var(--purple-light);
    background: rgba(126, 45, 228, 0.15);
}

.silo-proxy-pill--orange {
    color: var(--orange);
    background: rgba(255, 152, 0, 0.12);
}

.silo-proxy-pill--pink {
    color: var(--pink);
    background: rgba(227, 97, 148, 0.12);
}

.silo-panel--teal .silo-panel-accent { background: var(--teal); }
.silo-panel--green .silo-panel-accent { background: var(--green); }

.silo-proxy-pill--teal {
    color: var(--teal);
    background: rgba(34, 211, 238, 0.12);
}

.silo-proxy-pill--green {
    color: var(--green);
    background: rgba(74, 222, 128, 0.12);
}

.silo-panel--blue .silo-panel-accent { background: var(--blue); }

.silo-proxy-pill--blue {
    color: var(--blue);
    background: rgba(96, 165, 250, 0.12);
}

.silo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 0.75rem;
    color: rgba(248, 113, 113, 0.55);
    flex-shrink: 0;
}

.silo-diagram-footer {
    margin-top: 14px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(248, 113, 113, 0.6);
    letter-spacing: 0.04em;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.silo-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.silo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 36px;
    text-align: left;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
}

.silo-card--wide {
    grid-column: span 12;
}

.silo-card--half {
    grid-column: span 6;
}

.silo-card:hover {
    border-color: rgba(126, 45, 228, 0.5);
    background: var(--bg-card-hover);
    box-shadow: inset 0 0 30px rgba(126, 45, 228, 0.05), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.silo-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(126, 45, 228, 0.1);
    color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.silo-card-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
}

.silo-card-icon.pink {
    background: rgba(227, 97, 148, 0.1);
    color: var(--pink);
}

.silo-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.silo-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Showcase Sections ===== */
.showcase-section,
.proxy-section,
.pwa-section {
    padding: 120px 0;
    position: relative;
}

.proxy-section {
    overflow: hidden;
}

.proxy-glow {
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(126, 45, 228, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-grid.reverse {
    direction: rtl;
}

.showcase-grid.reverse > * {
    direction: ltr;
}

.showcase-text p {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.showcase-text p strong {
    color: var(--text);
    font-weight: 600;
}

.showcase-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    max-width: 300px;
    width: 100%;
    border-radius: 62px;
    overflow: hidden;
    position: relative;
    border: 8px solid rgba(126, 45, 228, 0.05);
    background: var(--bg-card);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(126, 45, 228, 0.15);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s, border-color 0.5s;
}

.phone-frame:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(126, 45, 228, 0.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(126, 45, 228, 0.25);
}

.phone-frame.light {
    border-color: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(126, 45, 228, 0.12);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(126, 45, 228, 0.08);
    border: 1px solid rgba(126, 45, 228, 0.12);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.01em;
}

.proxy-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.region {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
}

.region:hover {
    border-color: rgba(126, 45, 228, 0.15);
    background: var(--bg-card-hover);
}

.region-more {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--purple-light);
}

/* PWA Pills */
.pwa-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pwa-pill {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.12);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
}

/* ===== Location Demo ===== */
.demo-section {
    padding: 96px 0;
    position: relative;
}

.demo-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Ambient glow behind the widget */
.demo-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(227, 97, 148, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.demo-section .container {
    position: relative;
    z-index: 1;
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-widget {
    max-width: 560px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 1.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-widget--revealed {
    border-color: rgba(227, 97, 148, 0.28);
    box-shadow: 0 0 80px rgba(227, 97, 148, 0.08), 0 0 0 1px rgba(227, 97, 148, 0.06);
}

.demo-panel {
    background: var(--bg-card);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.demo-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.demo-panel-network {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.03) 0%, var(--bg-card) 100%);
}

.demo-panel-network .demo-panel-header {
    color: var(--teal);
}

.demo-panel + .demo-panel {
    border-top: 1px solid var(--border);
}

.demo-panel-exposed .demo-panel-header {
    color: var(--pink);
}

.demo-panel-hidden .demo-panel-header {
    color: #f59e0b;
}

.demo-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-bottom: 8px;
}

.demo-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.demo-row:last-child {
    border-bottom: none;
}

.demo-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.demo-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    text-align: right;
    font-variant-numeric: tabular-nums;
    min-height: 1.2em;
}

.demo-skeleton {
    display: inline-block;
    width: 120px;
    height: 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.demo-redacted {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.demo-redacted-bar {
    display: inline-block;
    width: 80px;
    height: 12px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.22);
}

.demo-redacted-bar.short {
    width: 40px;
}

.demo-verdict {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 24px 20px;
    background: rgba(227, 97, 148, 0.06);
    border: 1px solid rgba(227, 97, 148, 0.12);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    line-height: 1.45;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-skeleton--verdict {
    width: 200px;
    height: 20px;
}

.demo-verdict .demo-flag {
    font-size: 1.8rem;
    margin-right: 8px;
    vertical-align: middle;
}

.demo-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 28px auto 0;
    line-height: 1.75;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.demo-caption strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 5px;
}

@media (max-width: 480px) {
    .demo-panel {
        padding: 28px 20px;
    }
    .demo-caption {
        padding: 16px 18px;
    }
}

/* ===== Features Grid ===== */
.features-grid-section {
    padding: 96px 0;
    text-align: center;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 36px;
    text-align: left;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    grid-column: span 4;
}

.feature-card--wide {
    grid-column: span 8;
}

.feature-card--square {
    grid-column: span 4;
}

.feature-card--half {
    grid-column: span 6;
}

.feature-card:hover {
    border-color: rgba(126, 45, 228, 0.3);
    background: radial-gradient(ellipse at top left, rgba(126, 45, 228, 0.08) 0%, var(--bg-card-hover) 65%);
    box-shadow: inset 0 0 20px rgba(126, 45, 228, 0.03), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(126, 45, 228, 0.1);
    color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
}

.feature-icon.pink {
    background: rgba(227, 97, 148, 0.1);
    color: var(--pink);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== About ===== */
.about-section {
    padding: 48px 0 80px;
}

.about-card {
    background: linear-gradient(145deg, rgba(126, 45, 228, 0.06), rgba(227, 97, 148, 0.03), rgba(255, 152, 0, 0.02));
    border: 1px solid rgba(126, 45, 228, 0.1);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
}

.about-text {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.about-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.about-social a:hover {
    background: rgba(126, 45, 228, 0.12);
    border-color: rgba(126, 45, 228, 0.2);
    color: var(--purple-light);
    transform: translateY(-2px);
}

/* ===== Download CTA ===== */
.download-section {
    padding: 64px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(126, 45, 228, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(126, 45, 228, 0.04);
    border: 1px solid rgba(126, 45, 228, 0.14);
    border-radius: 32px;
    padding: 60px 48px;
    max-width: 560px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.download-icon {
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(126, 45, 228, 0.3);
}

.download-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.download-content > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.footer-brand img {
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-copy a {
    color: var(--purple-light);
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

/* ===== Fingerprinting Section ===== */
.fingerprint-section {
    padding: 96px 0;
    position: relative;
}

.fingerprint-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Two-column layout */
.fp-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 72px;
}

/* Copy column */
.fp-copy .section-title {
    margin-bottom: 28px;
}

.fp-hook {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.72;
    margin-bottom: 20px;
}

.fp-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.78;
}

/* Profile widget */
.fp-profile-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    min-width: 0;
}

/* Tabs */
.fp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.fp-tab {
    flex: 1;
    padding: 13px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}

.fp-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.fp-tab--active {
    color: var(--text);
    box-shadow: inset 0 -2px 0 var(--purple);
}

/* Panel crossfade wrapper */
.fp-panels-wrapper {
    display: grid;
    grid-template-rows: 1fr;
}

.fp-panels-wrapper > .fp-profile-panel {
    grid-area: 1 / 1;
    min-width: 0;
}

/* Panel */
.fp-profile-panel {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-profile-panel--hidden {
    opacity: 0;
    pointer-events: none;
}

/* Status header */
.fp-profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fp-status--exposed {
    color: #f87171;
    background: rgba(248, 113, 113, 0.07);
    border-bottom: 1px solid rgba(248, 113, 113, 0.12);
}

.fp-status--protected {
    color: #34d399;
    background: rgba(52, 211, 153, 0.07);
    border-bottom: 1px solid rgba(52, 211, 153, 0.12);
}

/* Data rows */
.fp-data-rows {
    padding: 4px 0;
}

.fp-data-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    gap: 16px;
}

.fp-data-row:last-child {
    border-bottom: none;
}

.fp-data-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.fp-data-value {
    font-size: 0.72rem;
    color: var(--text);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-data-value--protected {
    color: #34d399;
}

.fp-data-value--scrambled {
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

/* Confidence bar */
.fp-confidence {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border);
}

.fp-confidence-label {
    font-size: 0.66rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.fp-confidence-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    overflow: hidden;
}

.fp-confidence-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-confidence-fill--high {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

.fp-confidence-fill--low {
    background: #34d399;
}

.fp-confidence-pct {
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.fp-pct--high {
    color: #f87171;
}

.fp-pct--low {
    color: #34d399;
}

.fp-widget-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    opacity: 0.7;
    line-height: 1.5;
}

/* Summary */
.fp-summary {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.fp-summary p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.fp-summary strong {
    color: var(--text);
    font-weight: 600;
}

.fp-summary em {
    font-style: italic;
    color: var(--purple-light);
}

/* ===== Content Filtering ===== */
.filtering-section {
    padding: 88px 0;
    position: relative;
}

.filtering-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.filtering-header {
    text-align: center;
    margin-bottom: 48px;
}

.filter-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.filter-card:hover {
    border-color: rgba(126, 45, 228, 0.4);
    background: var(--bg-card-hover);
    box-shadow: inset 0 0 30px rgba(126, 45, 228, 0.05), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.filter-card--orange:hover {
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: inset 0 0 30px rgba(255, 152, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.filter-card--pink:hover {
    border-color: rgba(227, 97, 148, 0.3);
    box-shadow: inset 0 0 30px rgba(227, 97, 148, 0.04), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.filter-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(126, 45, 228, 0.1);
    color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.filter-card-icon.orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--orange);
}

.filter-card-icon.pink {
    background: rgba(227, 97, 148, 0.1);
    color: var(--pink);
}

.filter-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.filter-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.filter-card p code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82em;
    background: rgba(126, 45, 228, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--purple-light);
}

.filter-card--pink p code {
    background: rgba(227, 97, 148, 0.08);
    color: var(--pink);
}

.filter-card-tag {
    display: inline-flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(126, 45, 228, 0.08);
    border: 1px solid rgba(126, 45, 228, 0.14);
    border-radius: 6px;
    padding: 4px 10px;
    margin-top: auto;
    align-self: flex-start;
}

.filter-card-tag.orange {
    color: var(--orange);
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.14);
}

.filter-card-tag.pink {
    color: var(--pink);
    background: rgba(227, 97, 148, 0.08);
    border-color: rgba(227, 97, 148, 0.14);
}

@media (max-width: 768px) {
    .filter-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Story Section ===== */
.story-section {
    padding: 48px 0 80px;
    position: relative;
}

.story-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 20px;
    line-height: 1.75;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.story-link:hover {
    color: var(--text);
    gap: 10px;
}

.about-card .story-link {
    display: flex;
    justify-content: center;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 96px 0;
    text-align: center;
    position: relative;
}

.faq-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.faq-list {
    max-width: 720px;
    margin: 36px auto 0;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question::after {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238b8b96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-question:hover {
    color: var(--purple-light);
}

.faq-answer {
    padding: 0 0 22px;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ===== Section Dividers ===== */
.showcase-section::before,
.proxy-section::before,
.pwa-section::before,
.features-grid-section::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 45, 228, 0.2), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Selection ===== */
::selection {
    background: rgba(126, 45, 228, 0.3);
    color: white;
}

/* ===== Animations ===== */
.hero [data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        margin-left: auto;
        margin-right: 12px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        padding: 100px 24px 0;
        min-height: auto;
    }

    .hero-phone {
        max-width: 320px;
    }

    .silos-section {
        padding: 72px 0;
    }

    .silos-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-section,
    .proxy-section,
    .pwa-section {
        padding: 64px 0;
    }

    .demo-section {
        padding: 72px 0;
    }

    .features-grid-section {
        padding: 72px 0;
    }

    .silo-cards,
    .features-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 16px;
    }

    .silo-card,
    .silo-card--wide,
    .silo-card--half,
    .feature-card,
    .feature-card--wide,
    .feature-card--square,
    .feature-card--half {
        grid-column: span 12;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-grid.reverse {
        direction: ltr;
    }

    .showcase-phone {
        order: -1;
    }

    .phone-frame {
        max-width: 280px;
    }

    .fp-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fp-copy .section-title {
        font-size: 2rem;
    }

    .filtering-section {
        padding: 64px 0;
    }

    .story-section {
        padding: 32px 0 64px;
    }

    .story-card {
        padding: 40px 24px;
    }

    .faq-section {
        padding: 72px 0;
    }

    .fingerprint-section {
        padding: 72px 0;
    }

    .about-section {
        padding: 32px 0 64px;
    }

    .about-card {
        padding: 40px 24px;
    }

    .download-section {
        padding: 48px 0 80px;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .marquee-section::before,
    .marquee-section::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marquee-content {
        animation: none;
    }

    .fp-confidence-fill {
        transition: none;
    }

    .hero-phone,
    .phone-frame,
    .app-store-badge,
    .nav-cta,
    .filter-card,
    .silo-card,
    .feature-card {
        transition: none;
    }
}

/* ── Prose pages (single.html / list.html) ───────────────────────────────── */

.prose-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.prose-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.prose-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.prose-breadcrumb a:hover {
    color: var(--text);
}

.prose {
    max-width: 720px;
}

.prose-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.prose-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
}

.prose-meta {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* Prose body typography */

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.prose-header h1 {
    margin-top: 0;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose h4 { font-size: 1rem; }

.prose p {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1.2em;
}

.prose a {
    color: var(--purple-light);
    text-decoration: underline;
    text-decoration-color: rgba(168, 85, 247, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.prose a:hover {
    color: #c084fc;
    text-decoration-color: rgba(192, 132, 252, 0.6);
}

.prose strong {
    color: var(--text);
    font-weight: 600;
}

.prose em {
    font-style: italic;
}

.prose ul,
.prose ol {
    margin: 0 0 1.2em 1.4em;
    color: var(--text);
    line-height: 1.75;
}

.prose li {
    margin-bottom: 0.4em;
}

.prose li > ul,
.prose li > ol {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.prose code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.15em 0.45em;
    color: var(--teal);
}

.prose pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    overflow-x: auto;
    margin-bottom: 1.4em;
}

.prose pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--text);
}

.prose blockquote {
    border-left: 3px solid var(--purple);
    padding: 4px 0 4px 20px;
    margin: 1.4em 0;
    color: var(--text-muted);
    font-style: italic;
}

.prose blockquote p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5em 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.4em;
    font-size: 0.9rem;
}

.prose thead th {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.prose tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.6;
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

/* Section listing (list.html) */

.prose-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prose-page-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.prose-page-list a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: border-color 0.2s, background 0.2s;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prose-page-list a::after {
    content: "→";
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.prose-page-list a:hover {
    border-color: rgba(126, 45, 228, 0.4);
    background: var(--bg-card);
}

@media (max-width: 768px) {
    .prose-page {
        padding: 100px 0 60px;
    }
}

/* ── Releases List (Releases Page) ───────────────────────────────────────── */

.releases-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.release-entry {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.release-entry:hover {
    background: var(--bg-card);
    border-color: rgba(126, 45, 228, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.release-header h2 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
}

.release-header h2 a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s ease;
}

.release-header h2 a:hover {
    color: var(--primary);
}

.release-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.01em;
    background: var(--bg);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.release-content > :first-child {
    margin-top: 0;
}

.release-content > :last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .release-entry {
        padding: 1.5rem;
    }
    
    .release-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .release-date {
        align-self: flex-start;
    }
}

/* ── Location Page ─────────────────────────────────────────────────────────── */

.location-page .demo-header {
    display: none;
}

.location-page .demo-section {
    padding: 32px 0 0;
}

.location-page .demo-section::before {
    display: none;
}

.location-page .demo-widget {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(126, 45, 228, 0.12);
}

.location-page .demo-widget--revealed {
    border-color: rgba(227, 97, 148, 0.28);
    box-shadow:
        0 0 80px rgba(227, 97, 148, 0.08),
        0 0 0 1px rgba(227, 97, 148, 0.06),
        0 40px 100px rgba(0, 0, 0, 0.5);
}

.location-hero {
    position: relative;
    padding: 140px 24px 0;
    text-align: center;
    overflow: hidden;
}

.location-hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at 50% 40%, rgba(126, 45, 228, 0.12) 0%, rgba(227, 97, 148, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.location-hero .container {
    position: relative;
    z-index: 1;
}

.location-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    color: var(--text);
}

.location-hero-sub {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.location-hero-sub p {
    margin: 0;
}

.location-cta {
    padding: 24px 0 100px;
    text-align: center;
}

.location-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(126, 45, 228, 0.04);
    border: 1px solid rgba(126, 45, 228, 0.14);
    border-radius: 32px;
    padding: 56px 48px;
    max-width: 560px;
    margin: 0 auto;
}

.location-cta-icon {
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(126, 45, 228, 0.3);
}

.location-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.location-cta-body {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 4px;
}

.location-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.2s, gap 0.25s;
}

.location-home-link:hover {
    color: var(--text);
    gap: 10px;
}

@media (max-width: 768px) {
    .location-hero {
        padding: 110px 24px 0;
    }

    .location-cta-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .location-cta {
        padding: 24px 0 80px;
    }
}

