/* Cosmic Brain Tech - main site styles (privacy-policy.html still uses styles.css) */

:root {
    --bg: #070915;
    --bg-2: #0c1022;
    --surface: #111630;
    --surface-2: #161c3c;
    --line: rgba(255, 255, 255, 0.09);
    --text: #eef1ff;
    --muted: #a3abc9;
    --coral: #ff5a5f;
    --cyan: #4ee8f5;
    --green: #25d366;
    --grad: linear-gradient(100deg, var(--coral), #ff9d6c 35%, var(--cyan));
    --radius: 20px;
    --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: #fff; color: #000; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
    font: 600 16px/1 var(--font-body); cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #0a0c1a; box-shadow: 0 10px 30px -10px rgba(255, 90, 95, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(78, 232, 245, .55); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .04); color: var(--text); }
.btn-ghost:hover { border-color: rgba(78, 232, 245, .6); background: rgba(78, 232, 245, .08); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 9, 21, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--font-head); letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 140px 0 40px; overflow: hidden; }
.hero-glow {
    position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
    background:
        radial-gradient(520px 380px at 78% 30%, rgba(78, 232, 245, .20), transparent 70%),
        radial-gradient(560px 420px at 18% 12%, rgba(255, 90, 95, .20), transparent 70%),
        radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 65% 18%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent),
        radial-gradient(1px 1px at 8% 55%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 42%, #fff, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 500; color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); margin: 22px 0 22px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); transform-origin: left bottom; }

/* Phones */
.phone {
    border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #2a3158, #0d1126);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone img { border-radius: 27px; width: 100%; }
.hero-visual { position: relative; height: 560px; }
.hero-visual .phone { position: absolute; width: 250px; }
.phone-front { right: 46%; top: 30px; transform: rotate(-5deg); z-index: 2; animation: drift 7s ease-in-out infinite; }
.phone-back { right: 2%; top: 0; transform: rotate(6deg); animation: drift 8s ease-in-out -2s infinite; }
@keyframes drift { 50% { translate: 0 -12px; } }
.float-icon { position: absolute; width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .8); z-index: 3; animation: drift 6s ease-in-out infinite; }
.fi-1 { left: 0; top: 40px; animation-delay: -1s; }
.fi-2 { right: 0; bottom: 60px; animation-delay: -3s; }
.fi-3 { left: 8%; bottom: 40px; animation-delay: -2s; }
.fi-4 { right: 38%; top: -6px; animation-delay: -4s; }

/* Shipped strip */
.shipped { position: relative; margin-top: 56px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.shipped p { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.shipped-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
.shipped-row a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 8px; border-radius: 12px; transition: background .2s; }
.shipped-row a:hover { background: rgba(255, 255, 255, .06); }
.shipped-row img { width: 40px; height: 40px; border-radius: 10px; flex: none; }

/* Proof */
.proof { padding: 56px 0 24px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-grid div { padding: 6px 0 6px 20px; border-left: 2px solid rgba(78, 232, 245, .45); }
.proof-grid strong { display: block; font: 700 44px/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Sections */
section { position: relative; }
.work, .services, .process, .contact { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2, .contact-copy h2 { font-size: clamp(30px, 4vw, 48px); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 17.5px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }

/* Case studies */
.case {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
    padding: 48px; margin-bottom: 32px; border-radius: 28px; border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
}
.case-flip .case-copy { order: 2; }
.case-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.case-head img { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .8); }
.case-head h3 { font-size: 30px; }
.hi { font: 500 18px var(--font-body); color: var(--muted); margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.chip-live { background: rgba(37, 211, 102, .14); color: #5ee08f; }
.chip-live::before { content: "● "; font-size: 9px; vertical-align: 1px; }
.chip-soon { background: rgba(255, 176, 79, .15); color: #ffc078; }
.case-tagline { font: 600 20px/1.35 var(--font-head); color: var(--text); margin-bottom: 12px; }
.case-copy > p:not(.case-tagline) { color: var(--muted); }
.ticks { margin: 20px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); transform-origin: left bottom; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.case-links { margin-top: 24px; }

.case-visual { position: relative; min-width: 0; }
.visual-note { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--muted); margin-top: 4px; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.reel { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line); }
.reel:nth-child(2) { transform: translateY(-18px); }
.reel video { width: 100%; height: 100%; object-fit: cover; }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: center; }
.phones .phone { border-radius: 24px; padding: 5px; }
.phones .phone img { border-radius: 19px; }
.phone-raise, .shot-raise { transform: translateY(-20px); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.shots img { border-radius: 16px; border: 1px solid var(--line); }

.wide-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.system { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.system div { padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); text-align: center; }
.system strong { display: block; font-size: 14.5px; }
.system span { font-size: 12.5px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; }
.tiles figcaption { background: #fff; color: #1a2140; font-weight: 600; font-size: 14px; text-align: center; padding: 0 8px 12px; }

.pairity-card {
    border-radius: 24px; padding: 36px 28px 28px; text-align: center;
    background: radial-gradient(120% 90% at 50% 0%, rgba(230, 57, 80, .35), transparent 65%), var(--surface-2);
    border: 1px solid var(--line);
}
.pairity-card > img { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 20px 40px -14px rgba(230, 57, 80, .7); }
.bubbles { display: grid; gap: 10px; max-width: 320px; margin: 0 auto 26px; }
.bubble { padding: 10px 16px; border-radius: 18px; font-size: 14.5px; width: fit-content; }
.b-in { background: rgba(255, 255, 255, .1); border-bottom-left-radius: 6px; }
.b-out { background: #e63950; margin-left: auto; border-bottom-right-radius: 6px; }

.work-cta { text-align: center; padding: 48px 20px 0; }
.work-cta h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }

/* Services */
.services { background: var(--bg-2); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .25s ease, border-color .25s ease; }
.service:hover { transform: translateY(-4px); border-color: rgba(78, 232, 245, .45); }
.service-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--cyan); background: rgba(78, 232, 245, .1); }
.service-ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 20px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); }
.step-n { font: 700 15px var(--font-head); color: var(--coral); letter-spacing: .1em; }
.steps h3 { font-size: 22px; margin: 12px 0 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact { background: radial-gradient(700px 400px at 15% 20%, rgba(255, 90, 95, .13), transparent 70%), radial-gradient(700px 420px at 90% 80%, rgba(78, 232, 245, .13), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 17.5px; max-width: 480px; }
.contact-ways { display: grid; gap: 12px; margin: 32px 0 24px; max-width: 440px; }
.way { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: border-color .2s, transform .2s; }
.way:hover { border-color: rgba(78, 232, 245, .5); transform: translateX(4px); }
.way strong { font-size: 16px; }
.way span { font-size: 14.5px; color: var(--muted); }
.way-wa { border-color: rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .09); }
.address { font-size: 14.5px; color: var(--muted); }

.form { padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; }
.form h3 { font-size: 24px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--bg); color: var(--text); font: 400 16px var(--font-body); transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); }
.form-error { color: #ff8f93; font-size: 14.5px; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-note a { color: var(--cyan); text-decoration: underline; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a, .footer p { color: var(--muted); font-size: 14.5px; }
.footer nav a:hover { color: var(--text); }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: var(--green); color: #fff;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
    .hero-visual .phone { width: 215px; }
    .shipped-row { justify-content: flex-start; }
    .case { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
    .case-flip .case-copy { order: 0; }
    .service-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
        padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
        transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
    }
    .nav-links.open { transform: none; visibility: visible; }
    .nav-links a:not(.btn) { padding: 13px 4px; font-size: 17px; }
    .nav-links .btn { margin-top: 10px; padding: 15px; font-size: 16px; }
    .nav { background: rgba(7, 9, 21, .9); }

    .hero { padding-top: 112px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-visual { height: 400px; }
    .hero-visual .phone { width: 172px; }
    .phone-front { right: auto; left: 6%; }
    .phone-back { right: 6%; }
    .float-icon { width: 48px; height: 48px; border-radius: 12px; }
    .fi-4 { right: 44%; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
    .proof-grid strong { font-size: 36px; }

    .work, .services, .process, .contact { padding: 68px 0; }
    .section-head { margin-bottom: 40px; }
    .case { padding: 24px 18px; border-radius: 22px; }
    .case-head h3 { font-size: 25px; }
    .hi { display: block; margin: 4px 0 0; }
    .service-grid, .steps { grid-template-columns: 1fr; }
    .form { padding: 24px 18px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Sticky contact bar (phones only) */
.cta-bar { display: none; }

@media (max-width: 760px) {
    body { padding-bottom: 76px; }
    .wa-float { display: none; }
    .cta-bar {
        position: fixed; inset: auto 0 0 0; z-index: 95; display: grid; grid-template-columns: 1fr auto; gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 9, 21, .94);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    }
    .cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: 16px; }
    .cta-bar svg { width: 20px; height: 20px; }
    .cta-wa { background: var(--green); color: #04210f; }
    .cta-call { padding: 0 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); }
    .footer { padding-bottom: 36px; }

    /* Tighter hero: reach the visuals sooner */
    .hero h1 { margin: 18px 0 16px; }
    .hero-cta { margin: 24px 0 8px; }
    .hero-points { display: none; }
    .hero-visual { margin-top: 18px; }

    /* Product strip: one swipeable row */
    .shipped { margin-top: 28px; padding: 16px 0 12px; }
    .shipped p { padding: 0 18px; margin-bottom: 8px; font-size: 12px; }
    .shipped-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 4px; padding: 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .shipped-row::-webkit-scrollbar { display: none; }
    .shipped-row a { flex: none; white-space: nowrap; min-height: 48px; }

    .proof { padding: 36px 0 8px; }

    /* Case studies: title, tagline, screens, then the details */
    .case { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .case-copy { display: contents; }
    .case-head { order: 0; margin-bottom: 14px; }
    .case-head img { width: 56px; height: 56px; border-radius: 14px; }
    .case-tagline { order: 1; font-size: 18px; margin-bottom: 18px; }
    .case-visual { order: 2; margin-bottom: 22px; }
    .case-copy > p:not(.case-tagline) { order: 3; font-size: 15.5px; }
    .ticks { order: 4; margin: 16px 0 4px; }
    .ticks li { font-size: 15px; }
    .stack { display: none; }
    .case-links { order: 5; margin-top: 18px; }
    .case-links .btn { width: 100%; }

    /* Screens become a swipeable carousel, large enough to read */
    .phones, .shots, .reels {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -18px; padding: 4px 18px 6px; scrollbar-width: none; align-items: center;
    }
    .phones::-webkit-scrollbar, .shots::-webkit-scrollbar, .reels::-webkit-scrollbar { display: none; }
    .phones > *, .shots > *, .reels > .reel { flex: 0 0 62%; scroll-snap-align: center; transform: none; }
    .phones .phone { border-radius: 28px; padding: 6px; }
    .phones .phone img { border-radius: 22px; }
    .reels .visual-note { display: none; }
    .case-visual:has(.phones, .shots, .reels)::after { content: "Swipe to see more screens"; display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
    .case-visual > .visual-note { display: none; }
    .browser { margin-top: 14px; }

    .system { gap: 8px; }
    .system div { padding: 10px 4px; min-width: 0; }
    .system strong { font-size: 13px; }
    .system span { font-size: 11.5px; }
    .pairity-card { padding: 28px 16px 18px; }

    /* Comfortable tap targets */
    .brand { min-height: 44px; }
    .btn-sm { min-height: 46px; font-size: 15px; }
    .footer nav { gap: 0 18px; }
    .footer nav a { padding: 12px 0; }
    .form-note a { display: inline-block; padding: 12px 0; }
    .way { padding: 14px 16px; }
    .chip { font-size: 12px; }
}

@media (max-width: 360px) {
    .container { padding: 0 14px; }
    .hero-visual .phone { width: 150px; }
    .case { padding: 20px 14px; }
    .phones, .shots, .reels { margin: 0 -14px; padding: 4px 14px 6px; }
    .proof-grid span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Browser frame (website case studies) */
.browser { margin-top: 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #1a2040; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); background: rgba(0, 0, 0, .3); padding: 3px 12px; border-radius: 999px; }
.case-visual > .visual-note { margin-top: 12px; }
