/* Filtored site styles - dark "Meet Filtored" look, shared by every page.
   Inner pages also load pages.css. */

:root {
    --black: #070504;
    --deep: #120d0a;
    --text: #f5f1ec;
    --muted: rgba(245, 241, 236, 0.66);
    --faint: rgba(245, 241, 236, 0.42);
    --accent: #f97c38;
    --glow: #ff6a24;
    --line: rgba(255, 255, 255, 0.12);
    --glass: linear-gradient(160deg, rgba(40, 28, 22, 0.92), rgba(20, 15, 12, 0.92));
    --display: 'Sora', system-ui, sans-serif;
    --body: 'Manrope', system-ui, sans-serif;
    --wrap: 1180px;
    --radius: 22px;
    --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }

.ic {
    width: 1.15em; height: 1.15em; flex: 0 0 auto;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- shared type ---------- */
.display {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.3rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}
.accent { color: var(--accent); text-shadow: 0 0 30px rgba(255, 106, 36, 0.45); }
.lede { margin: 1.2rem 0 0; max-width: 40rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--muted); }
.lede strong { color: var(--text); }

.pill {
    display: inline-flex; align-items: center; gap: 0.55rem;
    margin: 0 0 1.4rem;
    padding: 0.45rem 1rem;
    border: 1.5px solid rgba(249, 124, 56, 0.45);
    background: rgba(249, 124, 56, 0.1);
    border-radius: 999px;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
}
.pill .ic { color: var(--accent); }

.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-inline: auto; }
.section-head.left { text-align: left; align-items: flex-start; }
.section-head.left .lede { margin-inline: 0; }

/* ---------- backgrounds ---------- */
section { position: relative; padding: clamp(4rem, 7.5vw, 6.5rem) 0; overflow: hidden; }
.section-haze::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    left: 50%; top: 55%; width: 1200px; height: 1100px; transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 106, 36, 0.22), rgba(255, 106, 36, 0.06) 60%, transparent);
}
.haze-left::before { left: 25%; }
.haze-right::before { left: 75%; }
.dots {
    position: absolute; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 170, 120, 0.22) 1.6px, transparent 2.2px);
    background-size: 20px 20px;
}
.dots-tr { right: 0; top: 0; width: 55%; height: 520px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 10%, #000, transparent); mask-image: radial-gradient(ellipse 60% 70% at 85% 10%, #000, transparent); }

/* ---------- glass, tiles, cards ---------- */
.card {
    background: var(--glass);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.tile {
    width: 46px; height: 46px; flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 14px;
    background: rgba(249, 124, 56, 0.14);
    border: 1.5px solid rgba(249, 124, 56, 0.45);
    color: var(--accent);
}
.tile .ic { width: 24px; height: 24px; }
.tile.solid { background: var(--accent); border: 0; color: var(--black); box-shadow: 0 0 22px rgba(255, 106, 36, 0.45); border-radius: 50%; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.4rem; border-radius: 999px;
    font-weight: 800; text-decoration: none; white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--accent); color: var(--black); box-shadow: 0 8px 26px rgba(255, 106, 36, 0.35); }
.btn-solid:hover { background: #ff8a4a; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.play-badge img { height: 56px; width: auto; }
.play-badge { display: inline-block; border-radius: 10px; transition: transform 0.15s ease; }
.play-badge:hover { transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link { text-align: center; margin: 2.5rem 0 0; }

/* ---------- phone (slim bezel, matches the posts' kit) ---------- */
.phone {
    position: relative;
    aspect-ratio: 390 / 854;
    padding: 5px;
    border-radius: 13% / 6%;
    background: #050505;
    box-shadow: 0 0 0 2px #6d6866, 0 0 0 3.5px #262322, 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 90px rgba(255, 106, 36, 0.22);
}
.phone > img, .phone .screen {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 12% / 5.6%;
}
.phone::before { /* punch-hole camera */
    content: ""; position: absolute; z-index: 2; left: 50%; top: 2.1%;
    width: 3.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a3340, #050505 60%);
}
.phone::after { /* glass sheen */
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 30%);
}
.phone-hero { width: min(330px, 72vw); }
.phone-md { width: min(320px, 74vw); }
.phone-sm { width: min(250px, 42vw); }
.fade-bottom { -webkit-mask-image: linear-gradient(#000 72%, transparent 98%); mask-image: linear-gradient(#000 72%, transparent 98%); }

/* ---------- promo banner (shown only while promo.js marks the promo active) ---------- */
.promo-banner {
    display: none;
    align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(90deg, #1b0f08, #3a1a08 50%, #1b0f08);
    border-bottom: 1px solid rgba(249, 124, 56, 0.35);
    font-size: 0.9rem; text-decoration: none;
}
.promo-active .promo-banner { display: flex; }
.promo-tag { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--accent); color: var(--black); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.promo-text strong { color: var(--accent); }
.promo-timer { color: var(--muted); font-variant-numeric: tabular-nums; }
.promo-countdown .cd-part { margin-left: 0.3rem; }
.promo-countdown b { color: var(--text); }
.promo-cta { font-weight: 800; color: var(--accent); }

/* ---------- cookie consent ---------- */
.cookie-banner {
    position: fixed; left: 50%; bottom: 16px; z-index: 200; transform: translateX(-50%);
    width: min(760px, calc(100% - 24px));
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem 1.2rem;
    padding: 0.9rem 1.1rem; border-radius: 18px;
    background: var(--glass); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: var(--muted); font-size: 0.9rem; font-weight: 600;
}
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.5rem; margin-left: auto; }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 5, 4, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { width: min(var(--wrap), 100% - 40px); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a:not(.btn) { font-weight: 700; font-size: 0.95rem; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav-menu a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* ---------- 1 · hero ---------- */
.hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: 0; text-align: center; }
.hero::before { top: 70%; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-copy .display { font-size: clamp(2.7rem, 7.4vw, 6rem); }
.hero-copy .lede { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.promise-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 1.6rem; font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.promise-inline li { display: inline-flex; align-items: center; gap: 0.4rem; }
.promise-inline .ic { color: var(--accent); }

.hero-stage { position: relative; width: min(1000px, 100%); margin: 3.5rem auto 0; height: 640px; display: flex; justify-content: center; }
.hero-stage .phone { position: relative; z-index: 2; margin-top: 10px; transform: rotate(-2deg); }
.orbit { position: absolute; left: 50%; top: 52%; width: 92%; height: 70%; transform: translate(-50%, -50%) rotate(-12deg); border: 2.5px dashed rgba(249, 124, 56, 0.35); border-radius: 50%; }
.orbit-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(255, 106, 36, 0.9); }
.orbit-dot.d1 { left: 3%; top: 32%; } .orbit-dot.d2 { right: 6%; top: 70%; width: 9px; height: 9px; } .orbit-dot.d3 { left: 46%; top: -5px; width: 8px; height: 8px; }
.hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3; background: linear-gradient(transparent, var(--black)); pointer-events: none; }

.opill, .tag {
    display: flex; align-items: center; gap: 0.85rem; text-align: left;
    padding: 0.6rem 1.2rem 0.6rem 0.6rem;
    border-radius: 999px;
    background: var(--glass); border: 1.5px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.opill b, .tag b { display: block; font-family: var(--display); font-size: 1.1rem; line-height: 1.2; }
.opill small, .tag small { display: block; color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.orbit-pills .opill { position: absolute; z-index: 4; }
.op-1 { left: 0; top: 90px; } .op-2 { right: 0; top: 150px; } .op-3 { left: 30px; top: 360px; } .op-4 { right: 10px; top: 420px; }

/* ---------- how it works ---------- */
.how { padding-top: clamp(2rem, 4vw, 3.5rem); }
.how-steps { --gap: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 28px 0 0; padding: 0; list-style: none; }
.how-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; }
.how-step:not(:last-child)::after { /* arrow to the next step, centered in the gap */
    content: ""; position: absolute; z-index: 2; left: 100%; top: 50%; width: var(--gap); height: var(--gap);
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97c38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 5l7 7-7 7'/%3E%3C/svg%3E") center / 2rem no-repeat;
    filter: drop-shadow(0 0 6px rgba(255, 106, 36, 0.6));
}
.how-num { /* sits on the card's top edge: the border runs through its center */
    width: 56px; height: 56px; margin: calc(-1.6rem - 28px) 0 1rem -1.6rem;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--accent); color: var(--black);
    font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1;
    box-shadow: 0 0 22px rgba(255, 106, 36, 0.45);
}
.how-steps .how-step h3 { display: flex; align-items: center; gap: 0.6rem; margin-top: 0; font-size: 1.65rem; }
.how-step h3 .ic { color: var(--accent); }

/* ---------- 2 · problem ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.kind-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.4rem; margin-top: -0.6rem; font-weight: 700; color: var(--muted); }
.kind-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.kdot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: #1d120b; }
.kdot .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.problem-more { margin-top: 1.8rem; }
.bridge { margin: 2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--accent); font-weight: 700; font-size: 1.1rem; }
.problem-visual { display: flex; flex-direction: column; align-items: center; padding-top: 70px; }
.phone-anchor { position: relative; }
.found-label {
    position: absolute; right: -40px; top: -66px;
    padding: 0.7rem 1.1rem; border-radius: 18px;
    background: var(--accent); color: var(--black);
    font-weight: 800; font-size: 1.02rem; line-height: 1.15; text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 106, 36, 0.5);
    z-index: 3;
}
.found-arrow { position: absolute; z-index: 3; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); overflow: visible; fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 106, 36, 0.55)); }

/* ---------- 3 · search ---------- */
.search-demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.search-phone { display: flex; justify-content: center; }
.search-phone .phone { transform: rotate(-3deg); }
.search-phone .screen { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); opacity: 0; transition: opacity 0.45s ease; }
.search-phone .screen.is-on { opacity: 1; }
/* Text Search zoom bubble: grows out of the first result, then the matched word lights up (the app's Read text look) */
.text-zoom { position: absolute; z-index: 3; inset: 5px; pointer-events: none; }
.tz-ring {
    position: absolute; left: 3.08%; top: 59.02%; width: 30.77%; height: 14.05%;
    border-radius: 6px; box-shadow: 0 0 0 2.5px var(--accent), 0 0 18px rgba(255, 106, 36, 0.6);
    opacity: 0; transition: opacity 0.25s ease;
}
.tz-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.2s ease; }
.tz-bubble {
    position: absolute; left: 56%; top: 56.3%; width: 60%; aspect-ratio: 1;
    border-radius: 50%; overflow: hidden; background: #1a1411;
    box-shadow: 0 0 0 3px var(--accent), 0 0 0 7px rgba(7, 5, 4, 0.85), 0 22px 50px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 106, 36, 0.45);
    opacity: 0; transform: translate(-112%, -14%) scale(0.5);
    transition: opacity 0.2s ease, transform 0.25s ease;
}
.tz-bubble img { width: 100%; height: 100%; object-fit: cover; }
.tz-hit {
    position: absolute; left: 14.46%; top: 39.05%; width: 44.73%; height: 11.62%; overflow: visible;
    border-radius: 3px; background: rgba(249, 115, 22, 0.78); outline: 1.5px solid #fed7aa;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.7);
    opacity: 0; transform: scale(0.9); transition: opacity 0.2s ease, transform 0.2s ease;
}
.tz-hit text { font: 600 70px var(--body); fill: #fff; dominant-baseline: central; filter: drop-shadow(0 0 2px #000); }
.text-zoom.is-on .tz-ring { opacity: 1; transition-delay: 0.45s; }
.text-zoom.is-on .tz-line { stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s ease 0.6s; }
.text-zoom.is-on .tz-bubble { opacity: 1; transform: none; transition: opacity 0.3s ease 0.6s, transform 0.65s cubic-bezier(0.2, 0.9, 0.25, 1.15) 0.6s; }
.text-zoom.is-on .tz-hit { opacity: 1; transform: none; transition: opacity 0.35s ease 1.4s, transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.4) 1.4s; }
.query-list { display: flex; flex-direction: column; gap: 0.8rem; }
.query {
    position: relative; display: flex; align-items: flex-start; gap: 1rem; text-align: left;
    padding: 1rem 1.2rem; border-radius: var(--radius); cursor: pointer;
    background: rgba(255, 255, 255, 0.03); border: 1.5px solid var(--line);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    overflow: hidden;
}
.query:hover { border-color: rgba(249, 124, 56, 0.5); }
.query.is-on { background: var(--glass); border-color: var(--accent); box-shadow: 0 0 0 1px rgba(249, 124, 56, 0.25), 0 18px 40px rgba(0, 0, 0, 0.45); transform: translateX(6px); }
.query.is-on .tile { background: var(--accent); color: var(--black); border-color: var(--accent); }
.q-body small { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.q-body b { display: block; font-family: var(--display); font-size: 1.2rem; margin-top: 0.15rem; }
.q-body em { display: block; font-style: normal; color: var(--muted); font-weight: 600; font-size: 0.95rem; margin-top: 0.2rem; }
.q-short { display: none; }
.query::after { /* autoplay progress */
    content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent);
}
.query.is-on.is-timed::after { animation: q-progress var(--q-time, 4.5s) linear forwards; }
@keyframes q-progress { to { width: 100%; } }

/* ---------- 4 · organized ---------- */
/* clip only the bottom, so the phones' orange glow can fade out at the sides */
.org-stage { position: relative; height: 660px; max-width: 960px; margin: 0 auto 3rem; clip-path: inset(-200px -400px 0 -400px); padding-top: 1px; }
.org-stage .phone { position: absolute; }
.org-stage .tilt-l { left: 4%; transform: rotate(-7deg); top: 150px; }
.org-stage .tilt-r { right: 4%; transform: rotate(7deg); top: 150px; }
.org-stage .front { left: 50%; transform: translateX(-50%); top: 100px; }
/* each tag sits centered above its phone */
.org-stage .tag { position: absolute; z-index: 3; }
/* side tags line up with their tilted phone's inner top corner (~0.863 of the phone width in) */
.tag-1 { left: calc(4% + 216px); top: 50px; transform: translateX(-100%); }
.tag-2 { right: calc(4% + 216px); top: 50px; transform: translateX(100%); }
.tag-3 { left: 50%; top: 0; transform: translateX(-50%); }
.org-stage::after { content: ""; position: absolute; left: -400px; right: -400px; bottom: -2px; height: 140px; z-index: 2; background: linear-gradient(transparent, var(--black)); pointer-events: none; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-grid .card { padding: 1.1rem 1.3rem; }
.feature-grid .card h3 { display: flex; align-items: center; gap: 0.55rem; margin-top: 0; }
.feature-grid .card h3 .ic { color: var(--accent); }
.card h3 { font-family: var(--display); font-size: 1.2rem; margin-top: 1rem; }
.card p { margin: 0.35rem 0 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }

/* ---------- 5 · cleanup ---------- */
.cleanup-split { grid-template-columns: 1.15fr 0.85fr; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.tool .tile { width: 38px; height: 38px; border-radius: 11px; }
.tool .tile .ic { width: 20px; height: 20px; }
.tool { padding: 0.95rem 1.3rem; transition: border-color 0.2s, transform 0.2s; }
.tool h3 { margin-top: 0.6rem; }
.tool:hover { border-color: rgba(249, 124, 56, 0.55); transform: translateY(-3px); }
.cleanup .split-visual { display: flex; justify-content: center; }
.tilt-r-sm { transform: rotate(3deg); }
.safety { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 3.5rem; color: var(--muted); font-weight: 600; }
.safety li { display: inline-flex; align-items: center; gap: 0.6rem; }
.safety b { color: var(--text); }
.safety .ic { width: 26px; height: 26px; color: var(--accent); }

/* ---------- AI capabilities ---------- */
/* Six short scenes, one per capability, played in one "screen". Base styles are each scene's end state and the
   animations play in from earlier states, so reduced motion just shows the finished scene. */
.ai-demo { max-width: 1000px; margin: 0 auto; }
.ai-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-bottom: 1.4rem; }
.ai-tab {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, 0.04); border: 1.5px solid var(--line);
    font-weight: 800; font-size: 0.93rem; color: var(--muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ai-tab .ic { color: var(--accent); }
.ai-tab:hover { border-color: rgba(249, 124, 56, 0.55); color: var(--text); }
.ai-tab.is-on { color: var(--text); border-color: var(--accent); background: var(--glass); box-shadow: 0 0 0 1px rgba(249, 124, 56, 0.25), 0 10px 26px rgba(0, 0, 0, 0.4); }
.ai-tab::before { /* fills up while the scene autoplays */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(249, 124, 56, 0.24); transform: scaleX(0); transform-origin: left;
}
.ai-tab.is-on.is-timed::before { animation: ai-fill var(--ai-time, 6.5s) linear forwards; }
@keyframes ai-fill { to { transform: scaleX(1); } }

.ai-screen {
    position: relative; overflow: hidden; container-type: inline-size;
    aspect-ratio: 16 / 9; border-radius: 28px;
    border: 1.5px solid rgba(249, 124, 56, 0.35);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 106, 36, 0.16), transparent 60%),
        radial-gradient(rgba(255, 170, 120, 0.1) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
        #0c0806;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 90px rgba(255, 106, 36, 0.2);
}
.ai-scene { position: absolute; inset: 0; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.ai-scene.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.sc-pad { display: flex; flex-direction: column; gap: 16px; padding: 26px 30px; }
.ai-scene.is-on .pop { animation: ai-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(var(--b, 0.15s) + var(--i, 0) * var(--s, 0.08s)) both; }
@keyframes ai-in { from { opacity: 0; translate: 0 14px; scale: 0.9; } }
@keyframes ai-dim { from { filter: none; } }
@keyframes ai-ring { from { box-shadow: 0 0 0 0 transparent; } }

.ai-panel { background: var(--glass); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.ai-kicker { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.ai-head { display: flex; align-items: center; gap: 0.8rem; flex: none; }
.ai-head .tile { width: 40px; height: 40px; }
.ai-head .tile .ic { width: 20px; height: 20px; }
.ai-head b { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.ai-head small { display: block; color: var(--muted); font-weight: 600; font-size: 0.86rem; }

/* sprites: square gallery tiles and 16:9 burst frames, picked with --c/--r */
.ai-sp { display: block; width: 100%; height: 100%; background-repeat: no-repeat; }
.sp-sim { background-image: url("assets/v2/ai-similar.jpg"); background-size: 600% 300%; background-position: calc(var(--c) * 20%) calc(var(--r) * 50%); }
.sp-search { background-image: url("assets/v2/ai-search.jpg"); background-size: 500% 200%; background-position: calc(var(--c) * 25%) calc(var(--r) * 100%); }
.sp-burst { background-image: url("assets/v2/ai-burst.jpg"); background-size: 100% 500%; background-position: 0 calc(var(--r) * 25%); }
.js .ai-demo:not(.is-near) .ai-sp { background-image: none; }
.ai-tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #1a1411; }
.ai-tile em, .ai-keep {
    position: absolute; display: inline-flex; align-items: center; gap: 0.2rem;
    border-radius: 999px; background: var(--accent); color: var(--black);
    font-style: normal; font-weight: 800; white-space: nowrap;
}
.ai-tile em { left: 6px; bottom: 6px; padding: 0.1rem 0.5rem; font-size: 0.72rem; }
.ai-tile em .ic { width: 12px; height: 12px; stroke-width: 3; }
.m-only { display: none; }

/* 1 · analysis: photo on the left (cropped to --k of its width, so face rings map through --o/--k), panels on the right */
.ai-shot { position: absolute; inset: 0; overflow: hidden; }
.ai-shot img { width: 100%; height: 100%; object-fit: cover; }
.ai-zoom { position: absolute; inset: 0; }
.ai-scene.is-on .ai-zoom { animation: ai-kb 7s ease-out both; }
@keyframes ai-kb { from { scale: 1.1; } }
.sc-analysis .ai-shot { right: 34%; --k: 0.66; --o: 17%; }
.ai-face {
    position: absolute; left: calc((var(--x) - var(--o, 0%)) / var(--k, 1)); top: var(--y);
    width: calc(var(--w) / var(--k, 1)); aspect-ratio: 1; translate: -50% -50%;
    border-radius: 50%; border: 2.5px solid var(--accent);
    box-shadow: 0 0 0 3px rgba(7, 5, 4, 0.3), 0 0 22px rgba(255, 106, 36, 0.6);
}
.ai-face b {
    position: absolute; left: 50%; top: calc(100% + 5px); translate: -50% 0;
    padding: 0.08rem 0.55rem; border-radius: 999px; background: rgba(18, 12, 9, 0.85);
    font-weight: 800; font-size: 0.78rem; white-space: nowrap;
}
.ai-face.is-me b { background: var(--accent); color: var(--black); }
.ai-scene.is-on .ai-face { animation: ai-box 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.5s + var(--i) * 0.18s) both; }
.ai-scene.is-on .ai-face b { animation: ai-fade 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(0.75s + var(--i) * 0.18s) both; }
@keyframes ai-fade { from { opacity: 0; scale: 0.7; } }
.ai-tags { position: absolute; left: 3%; bottom: 5%; display: flex; gap: 0.5rem; --b: 0.3s; --s: 0.2s; }
.ai-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.32rem 0.8rem 0.32rem 0.6rem; border-radius: 999px;
    background: rgba(18, 12, 9, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-weight: 700; font-size: 0.95rem;
}
.ai-tag .ic { width: 16px; height: 16px; color: var(--accent); }
.ai-side { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; }
.ai-scene.is-on .slide { animation: ai-slide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--sd, 1.5s) both; }
@keyframes ai-slide { from { opacity: 0; translate: 30px 0; } }
.ai-kicker-row { display: flex; align-items: baseline; justify-content: space-between; }
.ai-kicker-row span { font-weight: 800; font-size: 0.8rem; color: var(--accent); }
.ai-people { padding: 1rem 1rem 1.1rem; }
.ai-avs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem 0.4rem; margin-top: 0.8rem; --b: 1.75s; --s: 0.1s; }
.ai-avs li { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.ai-av { width: 52px; height: 52px; border-radius: 50%; background: url("assets/v2/ai-faces.jpg") calc(var(--c) * 20%) 0 / 600% 100% no-repeat; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14); }
.js .ai-demo:not(.is-near) .ai-av { background-image: none; }
.ai-av.is-me { box-shadow: 0 0 0 2.5px var(--accent), 0 0 14px rgba(255, 106, 36, 0.5); }
.ai-avs b { font-weight: 700; font-size: 0.82rem; }
.ai-sorted { padding: 0.9rem 1rem 0.35rem; --sd: 2.3s; }
.ai-sorted ul { margin-top: 0.4rem; }
.ai-sorted li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); --b: 2.6s; --s: 0.3s; }
.ai-sorted li:first-child { border-top: 0; }
.ai-sorted .tile { width: 36px; height: 36px; border-radius: 11px; }
.ai-sorted .tile .ic { width: 18px; height: 18px; }
.ai-sorted b { display: block; font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.ai-sorted small { display: block; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.ai-ok { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--black); --b: 2.85s; }
.ai-ok .ic { width: 14px; height: 14px; stroke-width: 3; }
@media (max-width: 900px) and (min-width: 701px) {
    .ai-tabs { gap: 0.4rem; }
    .ai-tab { padding: 0.5rem 0.8rem; font-size: 0.85rem; gap: 0.35rem; }
    .ai-side { padding: 14px; gap: 10px; }
    .ai-people { padding: 0.8rem; }
    .ai-avs { gap: 0.5rem 0.3rem; margin-top: 0.5rem; }
    .ai-av { width: 40px; height: 40px; }
    .ai-avs b { font-size: 0.74rem; }
    .ai-sorted li { padding: 0.3rem 0; }
    .ai-sorted li small { display: none; }
    .ai-sorted .tile { width: 30px; height: 30px; }
    .ai-face b { font-size: 0.68rem; }
}

/* 2 · visual understanding */
.sc-visual .ai-shot::after { content: ""; position: absolute; inset: 0; background: rgba(7, 5, 4, 0.28); }
.ai-box {
    position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
    border: 2px solid var(--accent); border-radius: 10px; background: rgba(249, 124, 56, 0.08);
    box-shadow: 0 0 18px rgba(255, 106, 36, 0.55), inset 0 0 14px rgba(255, 106, 36, 0.25);
}
.ai-box b {
    position: absolute; left: -2px; bottom: calc(100% + 5px);
    padding: 0.1rem 0.5rem; border-radius: 6px; background: var(--accent); color: var(--black);
    font-weight: 800; font-size: 0.8rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.ai-box.lb b { bottom: auto; top: calc(100% + 5px); }
.ai-scene.is-on .ai-box { animation: ai-box 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.35s + var(--i) * 0.4s) both; }
.ai-scene.is-on .ai-box b { animation: ai-in 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(0.6s + var(--i) * 0.4s) both; }
@keyframes ai-box { from { opacity: 0; scale: 1.5; } }
.ai-found {
    position: absolute; z-index: 1; right: 3%; bottom: 5%; margin: 0;
    display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.15rem; border-radius: 999px;
    font-weight: 600; color: var(--muted); --b: 2.5s;
}
.ai-found b { color: var(--text); }
.ai-found .ic { color: var(--accent); }

/* 3 · grouping */
.ai-grid { display: grid; gap: 10px; margin: 0 auto; }
.ai-grid-sim { grid-template-columns: repeat(6, 1fr); width: min(100%, calc(112.5cqw - 226px)); --b: 0.3s; --s: 0.045s; }
.ai-tile.is-this { box-shadow: 0 0 0 2.5px var(--accent), 0 0 20px rgba(255, 106, 36, 0.5); }
.ai-more { display: grid; place-items: center; background: rgba(249, 124, 56, 0.12); border: 1.5px dashed rgba(249, 124, 56, 0.5); font-family: var(--display); font-size: 1.4rem; color: var(--accent); }

/* 4 · search */
.ai-searchbar {
    display: flex; align-items: center; gap: 0.6rem; flex: none;
    width: min(100%, 560px); margin: 0 auto; padding: 0.75rem 0.8rem 0.75rem 1.1rem; border-radius: 999px;
    background: var(--glass); border: 1.5px solid var(--accent);
    box-shadow: 0 0 0 5px rgba(249, 124, 56, 0.12), 0 14px 34px rgba(0, 0, 0, 0.5);
    font-weight: 700; font-size: 1.05rem; white-space: nowrap;
}
.ai-searchbar .ic { width: 22px; height: 22px; flex: none; color: var(--accent); }
.ai-q { overflow: hidden; }
.ai-caret { flex: none; width: 2px; height: 1.2em; margin-left: -0.45rem; background: var(--accent); animation: ai-blink 1s steps(1) infinite; }
@keyframes ai-blink { 50% { opacity: 0; } }
.ai-count { margin-left: auto; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--accent); color: var(--black); font-weight: 800; font-size: 0.8rem; }
.ai-scene.is-on .ai-count { animation: ai-in 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.25) 1.9s both; }
.ai-grid-search { grid-template-columns: repeat(5, 1fr); width: 100%; max-width: calc(140cqw - 290px); --b: 0.15s; --s: 0.04s; }
.ai-grid-search .ai-tile:not(.is-hit) .ai-sp { filter: grayscale(1) brightness(0.32); }
.ai-scene.is-on .ai-grid-search .ai-tile:not(.is-hit) .ai-sp { animation: ai-dim 0.5s ease 1.8s both; }
.ai-grid-search .is-hit { z-index: 1; scale: 1.04; box-shadow: 0 0 0 3px var(--accent), 0 0 26px rgba(255, 106, 36, 0.6); }
.ai-scene.is-on .ai-grid-search .is-hit { animation: ai-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(var(--b) + var(--i) * var(--s)) both, ai-ring 0.4s ease 1.8s both; }
.ai-scene.is-on .ai-grid-search .is-hit em { animation: ai-in 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.25) 2s both; }

/* 5 · cleanup (burst) */
.sc-burst { --bh: calc(56.25cqw - 190px); }
.ai-burst { display: flex; justify-content: center; gap: 12px; flex: 1; min-height: 0; }
.ai-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1a1411; }
.ai-keeper { height: var(--bh); border-radius: 16px; box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgba(255, 106, 36, 0.5); --b: 0.15s; }
.ai-scene.is-on .ai-keeper { animation: ai-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.25) 0.15s both, ai-ring 0.4s ease 2.05s both; }
.ai-frames { display: flex; flex-direction: column; gap: 8px; }
.ai-extra { height: calc((var(--bh) - 24px) / 4); }
.ai-scene.is-on .ai-extra { animation: ai-in 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(0.35s + var(--i) * 0.1s) both, ai-flash 0.5s ease calc(0.95s + var(--i) * 0.2s) both; }
@keyframes ai-flash { 50% { box-shadow: 0 0 0 2.5px #fff, 0 0 18px rgba(255, 255, 255, 0.5); } }
.ai-extra .ai-sp { filter: brightness(0.38) saturate(0.6); }
.ai-scene.is-on .ai-extra .ai-sp { animation: ai-dim 0.4s ease calc(2.4s + var(--i) * 0.08s) both; }
.ai-x { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--black); }
.ai-x .ic { width: 13px; height: 13px; stroke-width: 3; }
.ai-scene.is-on .ai-x { animation: ai-in 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.25) calc(2.4s + var(--i) * 0.08s) both; }
.ai-flag { position: absolute; left: 6px; bottom: 6px; padding: 0.05rem 0.4rem; border-radius: 5px; background: rgba(18, 12, 9, 0.85); font-style: normal; font-weight: 800; font-size: 0.7rem; }
.ai-scene.is-on .ai-flag { animation: ai-in 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.25) 1.5s both; }
.ai-tap { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; border: 2.5px solid #fff; background: rgba(255, 255, 255, 0.3); opacity: 0; }
.ai-scene.is-on .ai-tap { animation: ai-tap 0.75s ease-out 1.75s both; }
@keyframes ai-tap { 0% { opacity: 0; scale: 0.4; } 30% { opacity: 1; scale: 0.8; } 100% { opacity: 0; scale: 1.9; } }
.ai-keep { left: 12px; top: 12px; padding: 0.3rem 0.8rem 0.3rem 0.6rem; font-size: 0.9rem; gap: 0.3rem; }
.ai-keep .ic { width: 15px; height: 15px; stroke-width: 3; }
.ai-scene.is-on .ai-keep { animation: ai-in 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.25) 2.05s both; }
.ai-action {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: none;
    width: min(100%, 560px); margin: 0 auto; padding: 0.45rem 0.5rem 0.45rem 1.2rem; border-radius: 999px;
    background: var(--glass); border: 1.5px solid var(--line); color: var(--muted); font-weight: 600;
}
.ai-action b { color: var(--text); }
.ai-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1rem; border-radius: 999px; background: var(--accent); color: var(--black); font-weight: 800; font-size: 0.9rem; }
.ai-scene.is-on .ai-action { animation: ai-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 2.8s both; }
@keyframes ai-up { from { opacity: 0; translate: 0 24px; } }

/* 6 · insights */
.sc-insights { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
.sc-insights::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url("assets/v2/ai-party.jpg") center / cover; filter: blur(26px) brightness(0.32) saturate(1.2); }
.ai-stats { flex: 0 1 300px; padding: 1.2rem 1.3rem; }
.ai-stat-row { display: grid; margin-top: 0.8rem; --b: 0.45s; --s: 0.15s; }
.ai-stat { margin: 0; padding: 0.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.ai-stat b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.ai-stat small { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.ai-bars { flex: 0 1 380px; padding: 1.2rem 1.4rem; --b: 0.3s; }
.ai-bars ul { display: grid; gap: 0.8rem; margin-top: 0.9rem; }
.ai-bars li { display: grid; grid-template-columns: 88px 1fr 40px; align-items: center; gap: 0.7rem; font-weight: 700; font-size: 0.92rem; }
.ai-bars li i { position: relative; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.ai-bars li i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 2.6); border-radius: inherit; background: rgba(249, 124, 56, 0.5); }
.ai-bars li:first-child span { color: var(--accent); }
.ai-bars li:first-child i::before { background: var(--accent); box-shadow: 0 0 12px rgba(255, 106, 36, 0.7); }
.ai-bars li b { text-align: right; color: var(--muted); font-size: 0.85rem; }
.ai-scene.is-on .ai-bars li i::before { animation: ai-grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.7s + var(--i) * 0.12s) both; }
@keyframes ai-grow { from { width: 0; } }

/* caption under the screen */
.ai-captions { display: grid; max-width: 640px; margin: 1.8rem auto 0; text-align: center; }
.ai-caption { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity 0.35s ease, translate 0.35s ease, visibility 0s linear 0.35s; }
.ai-caption.is-on { opacity: 1; visibility: visible; translate: none; transition: opacity 0.4s ease 0.1s, translate 0.4s ease 0.1s; }
.ai-num { font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--accent); }
.ai-caption h3 { margin-top: 0.2rem; font-family: var(--display); font-size: 1.5rem; }
.ai-caption p { margin: 0.45rem 0 0; color: var(--muted); font-weight: 600; }
.ai-note { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 2.2rem 0 0; color: var(--muted); font-weight: 600; text-align: left; }
.ai-note b { color: var(--text); }
.ai-note .ic { width: 24px; height: 24px; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    .ai-demo *, .ai-demo *::before, .ai-demo *::after { animation: none !important; }
    .ai-scene, .ai-caption { transition: none; }
}

/* phones: a taller screen, photo on top and the rest stacked under it */
@media (max-width: 700px) {
    .ai-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
    .ai-tab { justify-content: center; padding: 0.55rem 0.4rem; font-size: 0.84rem; }
    .ai-screen { aspect-ratio: auto; height: 480px; border-radius: 22px; }
    .sc-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
    .ai-shot { position: relative; inset: auto; flex: none; width: min(100%, 480px); aspect-ratio: 16 / 9; border-radius: 16px; }
    .sc-analysis .ai-shot { right: auto; --k: 1; --o: 0%; }
    .ai-side { position: relative; inset: auto; width: min(100%, 480px); padding: 0; gap: 10px; flex: none; }
    .ai-people { padding: 0.75rem 0.8rem; }
    .ai-avs { grid-template-columns: repeat(6, 1fr); gap: 0.2rem; margin-top: 0.55rem; }
    .ai-av { width: 38px; height: 38px; }
    .ai-avs b { font-size: 0.68rem; }
    .ai-sorted { padding: 0.7rem 0.8rem; }
    .ai-sorted ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-top: 0.55rem; }
    .ai-sorted li { position: relative; flex-direction: column; gap: 0.3rem; border-top: 0; padding: 0; }
    .ai-sorted .tile { width: 34px; height: 34px; }
    .ai-sorted b { font-size: 0.8rem; text-align: center; }
    .ai-sorted li small { display: none; }
    .ai-ok { position: absolute; top: -4px; left: calc(50% + 10px); width: 18px; height: 18px; }
    .ai-ok .ic { width: 11px; height: 11px; }
    .ai-face { border-width: 1.5px; }
    .ai-face b { font-size: 0.56rem; padding: 0.02rem 0.35rem; top: calc(100% + 2px); }
    .ai-scene.is-on .slide { animation-name: ai-in; }
    .ai-tags { left: 8px; bottom: 8px; gap: 0.35rem; }
    .ai-tag { font-size: 0.8rem; padding: 0.25rem 0.6rem 0.25rem 0.5rem; }
    .ai-tag .ic { width: 13px; height: 13px; }
    .ai-box { border-width: 1.5px; border-radius: 6px; }
    .ai-box b { font-size: 0.66rem; padding: 0.03rem 0.35rem; bottom: calc(100% + 3px); border-radius: 4px; }
    .ai-box.lb b { top: calc(100% + 3px); }
    .ai-found { position: relative; right: auto; bottom: auto; font-size: 0.9rem; }
    .sc-pad { padding: 16px; gap: 14px; justify-content: center; }
    .ai-head .tile { width: 34px; height: 34px; }
    .ai-head b { font-size: 1rem; }
    .ai-head small { font-size: 0.78rem; }
    .ai-grid { gap: 7px; }
    .ai-tile { border-radius: 9px; }
    .ai-tile em { left: 4px; bottom: 4px; font-size: 0.62rem; padding: 0.05rem 0.4rem; }
    .ai-grid-sim { grid-template-columns: repeat(4, 1fr); width: min(100%, 420px); }
    .ai-grid-search { grid-template-columns: repeat(3, 1fr); width: min(100%, 400px); max-width: none; }
    .d-only { display: none; }
    .m-only { display: inline; }
    .ai-searchbar { font-size: 0.9rem; padding: 0.6rem 0.6rem 0.6rem 0.9rem; gap: 0.45rem; }
    .ai-searchbar .ic { width: 18px; height: 18px; }
    .ai-count { font-size: 0.68rem; padding: 0.15rem 0.5rem; }
    .ai-burst { flex: none; flex-direction: column; align-items: center; gap: 7px; }
    .ai-keeper { height: auto; width: min(100%, 480px); }
    .ai-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: min(100%, 480px); }
    .ai-extra { height: auto; border-radius: 8px; }
    .ai-x { width: 17px; height: 17px; right: 4px; top: 4px; }
    .ai-x .ic { width: 10px; height: 10px; }
    .ai-flag { font-size: 0.58rem; left: 4px; bottom: 4px; }
    .ai-keep { font-size: 0.8rem; left: 8px; top: 8px; }
    .ai-action { font-size: 0.82rem; padding-left: 0.9rem; }
    .ai-btn { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
    .sc-insights { flex-direction: column; }
    .ai-stats, .ai-bars { flex: none; width: min(100%, 480px); padding: 1rem; }
    .ai-stat-row { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
    .ai-stat { border-top: 0; padding: 0; }
    .ai-stat b { font-size: 1.3rem; }
    .ai-stat small { font-size: 0.74rem; }
    .ai-bars ul { gap: 0.55rem; }
    .ai-bars li { grid-template-columns: 76px 1fr 36px; font-size: 0.82rem; }
    .ai-caption h3 { font-size: 1.25rem; }
    .ai-note { font-size: 0.95rem; }
}

/* ---------- 6 · privacy ---------- */
.privacy-split { grid-template-columns: 0.95fr 1.05fr; }
.privacy-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings span { position: absolute; border-radius: 50%; border: 2px solid rgba(249, 124, 56, 0.16); aspect-ratio: 1; }
.rings span:nth-child(1) { width: 125%; } .rings span:nth-child(2) { width: 100%; border-color: rgba(249, 124, 56, 0.26); } .rings span:nth-child(3) { width: 76%; border-color: rgba(249, 124, 56, 0.38); }
.lock-seal {
    position: absolute; z-index: 3; left: 6%; top: 52%;
    width: 112px; height: 112px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent); color: var(--black);
    box-shadow: 0 0 0 10px rgba(249, 124, 56, 0.18), 0 0 50px rgba(255, 106, 36, 0.7);
}
.lock-seal .ic { width: 52px; height: 52px; stroke-width: 2.2; }
.promise-cards { display: grid; gap: 0.8rem; margin: 2rem 0 1.6rem; }
.promise-cards .card { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem 0.9rem 0.9rem; border-radius: 999px; }
.promise-cards b { display: block; font-family: var(--display); font-size: 1.1rem; }
.promise-cards small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- 7 · customize ---------- */
.theme-stage { position: relative; height: 560px; max-width: 900px; margin: 0 auto; }
.theme-phone {
    position: absolute; left: 50%; top: 40px; cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s, top 0.6s, z-index 0s 0.3s;
}
.theme-stage .theme-phone { --x: 0px; --r: 0deg; --s: 0.86; transform: translateX(calc(-50% + var(--x))) rotate(var(--r)) scale(var(--s)); filter: brightness(0.7); z-index: 1; }
.theme-stage .theme-phone.pos-l { --x: -230px; --r: -8deg; }
.theme-stage .theme-phone.pos-r { --x: 230px; --r: 8deg; }
.theme-stage .theme-phone.pos-c { --s: 1.1; --r: 0deg; filter: none; z-index: 3; top: 10px; }
.theme-stage::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -2px; height: 150px; z-index: 4; background: linear-gradient(transparent, var(--black)); pointer-events: none; }
.theme-controls { position: relative; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; max-width: 820px; margin: -40px auto 0; padding: 1.2rem 1.6rem; border-radius: 28px; }
.tc-label { display: block; margin-bottom: 0.55rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.mode-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid var(--line); }
.mode-switch span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.85rem; border-radius: 999px; font-weight: 800; font-size: 0.9rem; transition: background 0.3s; }
.mode-switch span.is-on { background: var(--look-accent, var(--accent)); }
.look-buttons { display: flex; gap: 0.6rem; }
.look-buttons button {
    width: 44px; height: 44px; border-radius: 12px; cursor: pointer; position: relative;
    background: linear-gradient(160deg, var(--g1), var(--g2)); border: 2px solid rgba(255, 255, 255, 0.18);
    transition: box-shadow 0.25s;
}
.look-buttons button::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--a); }
.look-buttons button[aria-pressed="true"] { box-shadow: 0 0 0 3px #1a1411, 0 0 0 6px var(--a); }
.swatches { display: flex; gap: 0.45rem; padding-top: 8px; }
.swatches i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }

/* ---------- 8 · guides ---------- */
.guide-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.guide-carousel { position: relative; }
.guide-arrow { display: none; }
.guide h3 { font-family: var(--display); font-size: 1.02rem; margin-top: 0.8rem; }
.guide p { margin: 0.2rem 0 0; color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.guide-btn {
    display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; border: 1.5px solid var(--line);
}
/* the guide video opens near full-screen over the page */
.guide-dialog {
    padding: 0; border: 0; background: transparent; overflow: visible;
    max-width: none; max-height: none;
}
.guide-dialog::backdrop { background: rgba(7, 5, 4, 0.88); backdrop-filter: blur(6px); }
.guide-dialog[open] { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); animation: guide-in 0.25s ease; }
@keyframes guide-in { from { opacity: 0; transform: scale(0.96); } }
html:has(.guide-dialog[open]) { overflow: hidden; }
.guide-player {
    height: min(90vh, calc((100vw - 200px) * 16 / 9)); aspect-ratio: 9 / 16;
    border-radius: 18px; overflow: hidden; background: #000;
    box-shadow: 0 0 0 1.5px var(--line), 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 106, 36, 0.18);
}
.guide-frame, .guide-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.guide-close, .guide-nav {
    width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: rgba(255, 255, 255, 0.1); border: 1.5px solid var(--line); color: var(--text);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.guide-close { position: fixed; top: 16px; right: 16px; z-index: 1; }
.guide-nav { width: 56px; height: 56px; }
.guide-close:hover, .guide-close:focus-visible, .guide-nav:hover, .guide-nav:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--black); }
.guide-close .ic, .guide-nav .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.guide-nav .ic { width: 28px; height: 28px; }
@media (max-width: 600px) {
    .guide-player { height: min(84vh, calc(94vw * 16 / 9)); }
    .guide-nav { position: fixed; z-index: 1; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(7, 5, 4, 0.7); }
    .guide-prev { left: 8px; }
    .guide-next { right: 8px; }
}
.guide-btn {
    position: relative; cursor: pointer; padding: 0;
    background: var(--img) center / cover, #1a1411;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, border-color 0.2s;
}
.guide-btn:hover { transform: translateY(-4px); border-color: var(--accent); }
.guide-btn .play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.guide-btn:hover .play, .guide-btn:focus-visible .play { background: var(--accent); border-color: var(--accent); color: var(--black); }
.guide-btn .play .ic { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }

/* ---------- 9 · pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; padding: 1.8rem; }
.plan h3 { margin: 0; font-size: 1.35rem; }
.plan .price { margin: 0.6rem 0 0; font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--text); letter-spacing: -0.03em; }
.plan .price small { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-desc { margin: 0.3rem 0 0 !important; }
.checks { display: grid; gap: 0.55rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 600; }
.checks li { display: flex; gap: 0.55rem; align-items: center; }
.checks .ic { color: var(--accent); stroke-width: 2.6; }
.plan-best { border-color: var(--accent); background: radial-gradient(120% 120% at 100% 0%, rgba(249, 124, 56, 0.25), transparent 55%), var(--glass); box-shadow: 0 0 0 1px rgba(249, 124, 56, 0.3), 0 24px 60px rgba(255, 106, 36, 0.18); }
.plan-flag { position: absolute; top: -0.8rem; right: 1.2rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: linear-gradient(100deg, #f97c38, #fbbf24); color: var(--black); font-weight: 800; font-size: 0.8rem; }

/* ---------- 10 · faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-list details { padding: 0 1.4rem; border-radius: 18px; }
.faq-list summary {
    list-style: none; cursor: pointer; padding: 1.15rem 0; display: flex; justify-content: space-between; gap: 1rem;
    font-family: var(--display); font-weight: 700; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 1.2rem; color: var(--muted); font-weight: 600; }

/* ---------- 11 · closing ---------- */
.closing { padding-bottom: 0; }
/* closing + final CTA share an edge: their glows are sized to each section so both fade out before it, leaving no seam */
.closing.section-haze::before { display: none; }
.closing { background: radial-gradient(ellipse 45% 58% at 50% 42%, rgba(255, 106, 36, 0.2), rgba(255, 106, 36, 0.06) 60%, transparent); }
.closing-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.closing-copy { padding-bottom: clamp(4rem, 8vw, 7rem); }
.chip-block { margin-top: 2rem; }
.chip-label { display: block; margin: 1.1rem 0 0.6rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1.5px solid var(--line); font-weight: 700; font-size: 0.92rem; }
.chips .ic { color: var(--accent); }
.qr { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.qr img {
    position: relative; width: 64px; height: 64px; border-radius: 8px; background: #fff; padding: 3px;
    transform-origin: 0 100%; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* pointing at the QR code enlarges it so it's easy to scan */
.qr img:hover { z-index: 5; transform: scale(2.8); border-radius: 4px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7); }
.closing-visual { display: flex; justify-content: center; padding-bottom: clamp(4rem, 8vw, 7rem); }

/* ---------- 12 · final cta ---------- */
/* the one "special" section: a glowing horizon arc rising behind the download buttons */
.final-cta {
    --rim: clamp(3.5rem, 7vw, 5.5rem);
    padding-bottom: calc(var(--rim) + clamp(3.5rem, 6vw, 5rem));
    background: radial-gradient(ellipse 50% 88% at 50% 100%, rgba(255, 106, 36, 0.2), rgba(255, 106, 36, 0.06) 60%, transparent);
}
.final-cta::before,
.final-cta::after { content: ""; position: absolute; left: 50%; z-index: 0; pointer-events: none; border-radius: 50%; }
.final-cta::before {
    bottom: var(--rim); width: min(920px, 92%); height: 300px;
    transform: translate(-50%, 50%);
    background: radial-gradient(closest-side, rgba(255, 106, 36, 0.4), rgba(255, 106, 36, 0.1) 55%, transparent);
    animation: final-breathe 6s ease-in-out infinite;
}
.final-cta::after {
    bottom: calc(var(--rim) - 640px); width: max(1700px, 135%); height: 640px;
    transform: translateX(-50%);
    background: var(--black);
    border-top: 1.5px solid rgba(255, 186, 140, 0.85);
    box-shadow: 0 -2px 16px rgba(255, 106, 36, 0.6), 0 -24px 80px rgba(255, 106, 36, 0.22), inset 0 26px 44px -26px rgba(255, 106, 36, 0.4);
}
@keyframes final-breathe { 50% { opacity: 0.6; } }
@media (max-width: 700px) {
    .final-cta::after { width: 280%; }
}
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-cta { padding-top: clamp(0.5rem, 1.5vw, 1.25rem); }
/* top separator from the section above: fading hairlines meeting at a small glowing diamond */
.final-divider { display: flex; align-items: center; gap: 0.9rem; width: min(620px, 100%); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.final-divider::before,
.final-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(249, 124, 56, 0.75)); }
.final-divider::after { transform: scaleX(-1); }
.final-divider span {
    width: 9px; height: 9px; flex: 0 0 auto;
    background: var(--accent);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255, 106, 36, 0.9), 0 0 28px rgba(255, 106, 36, 0.5);
}
.final-inner .lede { margin-inline: auto; }
.final-get { margin: 2.4rem 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
.final-cta .cta-row { margin-top: 1.2rem; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--deep); padding: 3.5rem 0 1.5rem; }
.foot-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
.foot-tagline { margin: 0.6rem 0 1.4rem; color: var(--muted); font-weight: 600; }
.foot-signup label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 0.5rem; }
.foot-field { display: flex; max-width: 360px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.04); overflow: hidden; }
.foot-field input[type="email"] { flex: 1; min-width: 0; padding: 0.75rem 1.1rem; border: 0; background: none; color: var(--text); font: inherit; }
.foot-field input::placeholder { color: var(--faint); }
.foot-field input:focus { outline: none; }
.foot-field:focus-within { border-color: var(--accent); }
.foot-field button { display: grid; place-items: center; border: 0; background: var(--accent); color: var(--black); padding: 0 1.1rem; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.foot-status { min-height: 1.4em; margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--accent); }
.socials { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.foot-cols h3 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.foot-cols li { margin-bottom: 0.55rem; }
.foot-cols a, .foot-bottom a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-cols a:hover, .foot-bottom a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.88rem; }
.foot-bottom div { display: flex; gap: 1.5rem; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .float { animation: none; }
    .final-cta::before { animation: none; }
    .query.is-on.is-timed::after { animation: none; }
    .theme-phone, .search-phone .screen { transition: none; }
    .text-zoom *, .text-zoom.is-on * { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .guide-row { grid-template-columns: repeat(6, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; }
    .guide { scroll-snap-align: start; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    body { font-size: 16px; }
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute; left: 0; right: 0; top: var(--nav-h);
        flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 20px 1.2rem;
        background: rgba(7, 5, 4, 0.97); border-bottom: 1px solid var(--line);
        display: none;
    }
    .nav.is-open .nav-menu { display: flex; }
    .nav-menu a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 1.05rem; }
    .nav-menu .btn { margin-top: 1rem; justify-content: center; }
    .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-stage { height: auto; flex-direction: column; align-items: center; margin-top: 2.5rem; }
    .hero-stage::after { display: none; }
    .orbit { top: 30%; height: 45%; width: 120%; }
    .hero-stage .phone { margin-bottom: -2rem; }
    .orbit-pills { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; width: 100%; padding: 0 20px 3rem; }
    .orbit-pills .opill { position: static; border-radius: 20px; }
    .opill small { font-size: 0.8rem; }

    .split, .cleanup-split, .privacy-split, .search-demo, .faq-wrap, .closing-inner, .foot-main { grid-template-columns: 1fr; }
    .privacy-split .privacy-visual { order: 2; }
    .search-phone { order: 2; }
    .query.is-on { transform: none; }
    .faq .section-head { position: static; }
    .found-label { right: -8px; }

    .how-steps { --gap: 3.5rem; grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .how-step:not(:last-child)::after { left: 50%; top: 100%; transform: translateX(-50%) rotate(90deg); }

    .org-stage { height: 600px; }
    .org-stage .tilt-l { left: 0; } .org-stage .tilt-r { right: 0; }
    .tag-1 { left: min(216px, 36.3vw); } .tag-2 { right: min(216px, 36.3vw); }

    .theme-stage { height: 470px; }
    .theme-stage .theme-phone.pos-l { --x: -32vw; }
    .theme-stage .theme-phone.pos-r { --x: 32vw; }
    .theme-controls { margin-top: -20px; }

    .closing-visual { display: none; }
    .closing-copy { padding-bottom: 5rem; }
}

@media (max-width: 560px) {
    .tz-bubble { left: 60%; top: 58.13%; width: 52%; }
    /* search ways: compact tiles, three to a row */
    .query-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
    .query { flex: 0 0 calc((100% - 1.2rem) / 3); flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.8rem 0.4rem 0.9rem; text-align: center; }
    .query .tile { width: 38px; height: 38px; }
    .query .tile .ic { width: 20px; height: 20px; }
    .q-body small { font-size: 0.66rem; letter-spacing: 0.06em; line-height: 1.25; }
    .q-body b, .q-body em { display: none; }
    .q-short { display: block; margin-top: 0.25rem; color: var(--muted); font-weight: 600; font-size: 0.78rem; line-height: 1.3; }
    .orbit-pills { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .tool-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
    .tool { padding: 0.8rem 1rem; }
    .tool h3 { font-size: 1.02rem; margin-top: 0.5rem; }
    .tool p { font-size: 0.86rem; }
    .feature-grid { grid-template-columns: 1fr; gap: 0.7rem; }
    .feature-grid .card { padding: 1rem 1.1rem; }
    /* video guides: a centered carousel, the neighbors faded at the sides, arrows instead of a scrollbar */
    .guide-row {
        grid-template-columns: repeat(6, 54vw); gap: 14px;
        margin-inline: -20px; padding: 0 23vw 0.2rem;
        scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    }
    .guide-row::-webkit-scrollbar { display: none; }
    .guide { scroll-snap-align: center; transition: opacity 0.35s ease, transform 0.35s ease !important; transition-delay: 0s !important; }
    .guides .guide-row .guide:not(.is-center) { opacity: 0.4; transform: scale(0.88); }
    .guide-arrow {
        display: grid; position: absolute; z-index: 2; top: 48vw; transform: translateY(-50%);
        width: 44px; height: 44px; place-items: center; border-radius: 50%; cursor: pointer;
        background: rgba(7, 5, 4, 0.75); border: 1.5px solid var(--line); color: var(--text);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); transition: opacity 0.2s, background 0.2s;
    }
    .guide-arrow:active { background: var(--accent); color: var(--black); }
    .guide-arrow:disabled { opacity: 0; pointer-events: none; }
    .guide-arrow .ic { width: 24px; height: 24px; stroke-width: 2.4; }
    .guide-arrow-prev { left: -8px; }
    .guide-arrow-next { right: -8px; }
    .org-stage { height: 480px; }
    .org-stage .front { top: 100px; } .org-stage .tilt-l, .org-stage .tilt-r { top: 120px; }
    .org-stage .tag { padding: 0.4rem 0.9rem 0.4rem 0.4rem; gap: 0.55rem; }
    .org-stage .tag .tile { width: 34px; height: 34px; }
    .org-stage .tag .tile .ic { width: 18px; height: 18px; }
    .org-stage .tag b { font-size: 0.95rem; }
    .tag-1, .tag-2 { top: 52px; }
    .org-stage .tag small { display: none; }
    .foot-cols { grid-template-columns: repeat(2, 1fr); }
    .lock-seal { width: 84px; height: 84px; }
    .lock-seal .ic { width: 40px; height: 40px; }
}
