/* Jade's landing page: only what differs from the shared agent page styles in agent-zoe.css. */
/* Jade's backdrop sits at #fbfbfb (249–252 after compression); a 5% lift turns it pure white so the clip never shows as a box.
   She fills 98% of the frame's height, so no zoom. */
.jade-page .zoe-hero { background: #fff; }
.jade-page .zoe-media video { filter: brightness(1.05); }
.jade-page .zoe-hero-copy { position: relative; z-index: 3; }
/* "rákeresnek" is a long word; 52px keeps the headline at three lines like the other agents. */
.jade-page .zoe-hero h1 { font-size: clamp(40px, 3.6vw, 52px); }
.jade-page .zoe-closing h2 { text-wrap: balance; }

/* Hero: a search desk drifting around the video: the query, its intent, a result, an outline, a note, a green light. */
.jade-ornaments { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.jade-ornaments .zoe-social-ornament { display: flex; align-items: center; gap: 7px; border: 1px solid #ece6f8; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px rgba(55, 39, 116, .13); color: #251d43; font-size: 12px; font-weight: 650; white-space: nowrap; }
.jade-ornaments small { color: #6b6880; font-size: 9.5px; }
.jade-orn-search { top: 10%; left: -2%; padding: 9px 14px 9px 10px; border-radius: 99px !important; }
.jade-orn-search i { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d4aff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.jade-orn-search span::after { display: inline-block; width: 1.5px; height: 13px; margin-left: 2px; background: #6d4aff; content: ""; vertical-align: -2px; animation: jade-caret 1s steps(1) infinite; }
@keyframes jade-caret { 50% { opacity: 0; } }
.jade-orn-meta { top: 4%; right: 6%; padding: 8px 12px 8px 8px; border-radius: 99px !important; }
.jade-orn-meta i { width: 18px; height: 18px; border-radius: 50%; background: #22a06b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.jade-orn-intent { top: 40%; left: 0; flex-direction: column; align-items: flex-start !important; gap: 4px !important; padding: 10px 12px 11px; }
.jade-orn-intent strong { padding: 3px 9px; border-radius: 99px; background: #e0f2fe; color: #0369a1; font-size: 11px; }
.jade-orn-comment { top: 27%; right: -3%; align-items: flex-start !important; gap: 9px !important; width: 180px; padding: 10px 12px; border-color: #fde68a !important; background: #fffbeb !important; white-space: normal !important; }
.jade-orn-comment img { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; object-fit: cover; }
.jade-orn-comment span { display: grid; gap: 2px; }
.jade-orn-comment small { color: #b45309; }
.jade-orn-comment strong { font-size: 11.5px; line-height: 1.3; }
.jade-orn-outline { bottom: 13%; left: 1%; flex-direction: column; align-items: flex-start !important; gap: 5px !important; padding: 10px 12px 11px; }
.jade-orn-outline span { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.jade-orn-outline span + span { margin-left: 12px; color: #3c3654; font-weight: 600; }
.jade-orn-outline b { padding: 1px 5px; border-radius: 5px; background: #ede9fe; color: #4b2fd1; font-size: 9px; }
.jade-orn-serp { right: 0; bottom: 7%; flex-direction: column; align-items: flex-start !important; gap: 3px !important; padding: 10px 13px 11px; }
.jade-orn-serp small { color: #15803d; }
.jade-orn-serp strong { color: #1a0dab; font-size: 12.5px; font-weight: 600; }
/* The same wandering orbits as Zoe's social icons: every piece drifts its own path, tilts, and pops in and out. */
.jade-ornaments .jade-orn-search { animation: jade-orbit-search 10.5s ease-in-out infinite -1.2s; }
.jade-ornaments .jade-orn-meta { animation: jade-orbit-meta 9s ease-in-out infinite -2.4s; }
.jade-ornaments .jade-orn-intent { animation: jade-orbit-intent 9.5s ease-in-out infinite -6.1s; }
.jade-ornaments .jade-orn-comment { animation: jade-orbit-comment 10s ease-in-out infinite -8.2s; }
.jade-ornaments .jade-orn-outline { animation: jade-orbit-outline 11s ease-in-out infinite -4.8s; }
.jade-ornaments .jade-orn-serp { animation: jade-orbit-serp 10.5s ease-in-out infinite -3.4s; }
@keyframes jade-orbit-search {
    0%, 9% { opacity: 0; transform: translate(-12px, 22px) rotate(-7deg) scale(.65); }
    17% { opacity: 1; transform: translate(6px, -8px) rotate(4deg) scale(1.08); }
    48% { opacity: 1; transform: translate(-10px, -15px) rotate(-3deg) scale(1); }
    76% { opacity: 1; transform: translate(7px, 5px) rotate(5deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(-14px, 20px) rotate(-5deg) scale(.78); }
}
@keyframes jade-orbit-meta {
    0%, 9% { opacity: 0; transform: translate(14px, 18px) rotate(8deg) scale(.65); }
    17% { opacity: 1; transform: translate(-5px, -7px) rotate(-5deg) scale(1.1); }
    48% { opacity: 1; transform: translate(12px, -12px) rotate(4deg) scale(1); }
    76% { opacity: 1; transform: translate(-7px, 6px) rotate(-4deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(15px, 20px) rotate(6deg) scale(.78); }
}
@keyframes jade-orbit-intent {
    0%, 9% { opacity: 0; transform: translate(-14px, 24px) rotate(9deg) scale(.65); }
    17% { opacity: 1; transform: translate(6px, -9px) rotate(-6deg) scale(1.1); }
    48% { opacity: 1; transform: translate(-12px, -16px) rotate(5deg) scale(1); }
    76% { opacity: 1; transform: translate(8px, 6px) rotate(-5deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(-15px, 22px) rotate(7deg) scale(.78); }
}
@keyframes jade-orbit-comment {
    0%, 9% { opacity: 0; transform: translate(12px, 26px) rotate(7deg) scale(.65); }
    17% { opacity: 1; transform: translate(-6px, -8px) rotate(-4deg) scale(1.07); }
    48% { opacity: 1; transform: translate(12px, -18px) rotate(3deg) scale(1); }
    76% { opacity: 1; transform: translate(-6px, 5px) rotate(-5deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(14px, 24px) rotate(6deg) scale(.78); }
}
@keyframes jade-orbit-outline {
    0%, 9% { opacity: 0; transform: translate(-10px, 26px) rotate(-6deg) scale(.65); }
    17% { opacity: 1; transform: translate(5px, -8px) rotate(4deg) scale(1.07); }
    48% { opacity: 1; transform: translate(-12px, -17px) rotate(-3deg) scale(1); }
    76% { opacity: 1; transform: translate(6px, 5px) rotate(5deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(-12px, 22px) rotate(-5deg) scale(.78); }
}
@keyframes jade-orbit-serp {
    0%, 9% { opacity: 0; transform: translate(13px, 24px) rotate(-8deg) scale(.65); }
    17% { opacity: 1; transform: translate(-6px, -9px) rotate(5deg) scale(1.08); }
    48% { opacity: 1; transform: translate(10px, -16px) rotate(-4deg) scale(1); }
    76% { opacity: 1; transform: translate(-7px, 6px) rotate(4deg) scale(.97); }
    88%, 100% { opacity: 0; transform: translate(14px, 22px) rotate(-6deg) scale(.78); }
}
.zoe-media-wrap:hover .jade-ornaments .zoe-social-ornament, .zoe-media-wrap:hover .jade-orn-search span::after { animation-play-state: paused; }

/* "Minden szövegnél tisztázom": the question, the answer, the next step. */
.jade-reasons li.is-question::before { background: #e0f2fe; color: #0369a1; content: "?"; }
.jade-reasons li.is-answer::before { background: #e7dfff; color: var(--p); content: "✓"; }
.jade-reasons li.is-next::before { background: #dcfce7; color: #15803d; content: "→"; }

/* Témák: a search question and the content it calls for. */
.jade-art-topics { padding: 22px 20px; }
.jade-topics { display: grid; width: 100%; max-width: 440px; gap: 9px; margin: 0; padding: 0; list-style: none; }
.jade-topics li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.jade-query { padding: 9px 12px; border-radius: 99px; background: #fff; box-shadow: 0 10px 22px rgba(52, 34, 120, .08); color: var(--i); font-size: 13px; font-weight: 600; }
.jade-arrow { color: var(--p); font-weight: 800; }
.jade-type { padding: 9px 12px; border-radius: 12px; background: #ede9fe; color: #4b2fd1; font-size: 12.5px; font-weight: 700; line-height: 1.25; }

/* Cikkek and Út: a numbered flow of steps. */
.jade-art-articles, .jade-art-path { padding: 22px 20px; }
.jade-steps { display: grid; width: 100%; max-width: 460px; gap: 18px; margin: 0; padding: 0; list-style: none; }
.jade-steps.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jade-steps.is-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jade-steps li { position: relative; display: grid; align-content: center; min-height: 64px; padding: 10px 10px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px rgba(52, 34, 120, .08); color: var(--i); font-size: 12.5px; font-weight: 650; line-height: 1.3; text-align: center; }
.jade-steps li + li::before { position: absolute; top: 50%; left: -13px; color: var(--p); content: "→"; font-size: 13px; translate: -50% -50%; }
.jade-steps.is-four li:first-child { background: #e0f2fe; color: #0369a1; }
.jade-steps.is-four li:last-child { background: #effaf3; color: #14532d; }
.jade-steps small { display: block; margin-bottom: 3px; color: #4b2fd1; font-size: 10px; font-weight: 800; }
.jade-steps.is-path li:first-child { border-top: 3px solid #1a0dab; }
.jade-steps.is-path li:nth-child(2) { border-top: 3px solid var(--p); }
.jade-steps.is-path li:last-child { border-top: 3px solid #22a06b; }

/* Frissítés: an existing article plus what it was missing equals a page ready for approval. */
.jade-art-refresh { padding: 22px 20px; }
.jade-refresh { display: grid; width: 100%; max-width: 340px; gap: 8px; }
.jade-refresh-old { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px rgba(52, 34, 120, .08); color: var(--m); font-size: 13px; font-weight: 700; }
.jade-refresh-adds { display: grid; gap: 5px; margin: 0; padding: 0 0 0 14px; list-style: none; }
.jade-refresh-adds li { display: flex; align-items: center; gap: 7px; color: var(--i); font-size: 13px; font-weight: 600; }
.jade-refresh-adds li::before { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; border-radius: 50%; background: var(--p); color: #fff; content: "+"; font-size: 11px; font-weight: 800; line-height: 1; }
.jade-refresh-result { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 12px; background: #effaf3; color: #14532d; font-size: 13px; font-weight: 700; }
.jade-refresh-result span { color: #22a06b; font-size: 18px; font-weight: 800; line-height: 1; }

/* Interactive sample: pick a search; its intent, the result preview and the article outline. */
.jade-studio { overflow-x: clip; background: #fff; }
.jade-studio-head { max-width: 860px; margin-bottom: 48px; }
.jade-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #4b2fd1; font-size: 13px; font-weight: 650; }
.jade-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 4px #ebe5ff; content: ""; }
.jade-studio .jade-studio-head h2 { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.055em; line-height: 1.03; text-wrap: balance; }
.jade-studio-lead { max-width: 640px; margin: 20px 0 0; color: var(--m); font-size: 17px; }
.jade-studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; }
.jade-studio-board { min-width: 0; padding: 28px 32px 24px; border-radius: 32px; background: #f5f2ff; }
.jade-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.jade-picker > span { width: 74px; color: var(--m); font-size: 13px; font-weight: 600; }
.jade-picker [role=group] { display: flex; flex-wrap: wrap; gap: 8px; }
.jade-chip { min-height: 44px; padding: 0 18px; border: 1px solid #e4ddfa; border-radius: 99px; background: #fff; color: #3c3654; font: 600 14px/1 "Inter Variable", sans-serif; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.jade-chip:hover { border-color: #c9bcf7; }
.jade-chip[aria-pressed=true] { border-color: var(--i); background: var(--i); color: #fff; }
.jade-business { margin: 18px 0 0; color: var(--m); font-size: 13px; }
.jade-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 22px; margin-top: 16px; }
.jade-plan [data-field], .jade-plan [data-section] { transition: opacity .17s ease; }
.jade-plan.is-swapping [data-field], .jade-plan.is-swapping [data-section] { opacity: 0; }
.jade-plan-main { display: grid; min-width: 0; gap: 12px; }
.jade-searchbar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; border-radius: 99px; background: #fff; box-shadow: 0 12px 30px rgba(52, 34, 120, .1); color: var(--i); font-size: 15px; font-weight: 600; }
.jade-searchbar-icon { width: 18px; height: 18px; flex: 0 0 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d4aff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.jade-intent { display: grid; gap: 8px; margin: 0; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(52, 34, 120, .08); }
.jade-intent dt { margin-bottom: 3px; color: var(--m); font-size: 11.5px; font-weight: 700; }
.jade-intent dd { margin: 0; color: var(--i); font-size: 13.5px; line-height: 1.45; }
.jade-intent dd strong { display: inline-block; margin-right: 4px; padding: 2px 9px; border-radius: 99px; background: #e0f2fe; color: #0369a1; font-size: 12.5px; }
.jade-intent > div + div dd strong { background: #ede9fe; color: #4b2fd1; }
.jade-serp { padding: 14px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(52, 34, 120, .1); font-family: Arial, sans-serif; }
.jade-serp-label { display: block; margin-bottom: 8px; color: var(--m); font: 700 11px/1.2 "Inter Variable", sans-serif; }
.jade-serp p { margin: 0; }
.jade-serp-url { color: #202124; font-size: 12.5px; }
.jade-serp-title { margin: 3px 0 4px !important; color: #1a0dab; font-size: 17px; line-height: 1.3; }
.jade-serp-desc { color: #4d5156; font-size: 13px; line-height: 1.5; }
.jade-outline { min-width: 0; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(52, 34, 120, .1); }
.jade-outline-label { display: block; margin-bottom: 10px; color: #4b2fd1; font-size: 12px; font-weight: 700; }
.jade-heading { display: flex; align-items: baseline; gap: 9px; margin: 0; color: var(--i); font-size: 14px; line-height: 1.4; }
.jade-heading b { flex: 0 0 auto; padding: 1px 6px; border-radius: 6px; background: #ede9fe; color: #4b2fd1; font-size: 10.5px; }
.jade-heading.is-h1 { padding-bottom: 10px; border-bottom: 1px solid #f0ecfa; font-size: 15.5px; font-weight: 750; }
.jade-heading.is-h1 b { background: var(--i); color: #fff; }
.jade-sections { display: grid; gap: 9px; margin: 12px 0 0; padding: 0 0 0 16px; list-style: none; }
.jade-next { display: grid; gap: 3px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #effaf3; color: #14532d; font-size: 14px; font-weight: 650; }
.jade-next small { color: #276a45; font-size: 11px; font-weight: 700; }
.jade-studio-actions { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e4ddfa; }
.jade-studio-actions p { max-width: 620px; margin: 0; color: var(--m); font-size: 13px; }
/* Jade's backdrop would multiply into a faint box; lift it to white. On desktop she is scaled up and trimmed at the sides. */
.jade-studio-jade .zoe-lab-figure img { filter: brightness(1.05); }
@media (min-width: 901px) {
    .jade-studio-jade { margin-left: -44px; }
    .jade-studio-jade .zoe-lab-figure { overflow: hidden; }
    .jade-studio-jade .zoe-lab-figure img { width: 130%; max-width: none; margin-left: -15%; }
}

@media (max-width: 1080px) {
    .jade-studio-layout { grid-template-columns: minmax(0, 1fr) 200px; }
    .jade-plan { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .jade-studio-head { margin-bottom: 36px; }
    .jade-studio-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .jade-studio-board { margin: 0 -6px; padding: 20px 16px 18px; border-radius: 24px; }
    .jade-picker > span { width: 100%; }
    .jade-chip { padding: 0 14px; font-size: 13px; }
    .jade-art-topics, .jade-art-articles, .jade-art-path, .jade-art-refresh { padding: 18px 14px; }
    .jade-topics li { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 4px; }
    .jade-arrow { rotate: 90deg; margin-left: 14px; }
    .jade-steps.is-four, .jade-steps.is-path { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .jade-steps li { min-height: 0; }
    .jade-steps li + li::before { top: -10px; left: 50%; content: "↓"; }
    .jade-searchbar { padding: 11px 14px; font-size: 14px; }
}
@media (max-width: 560px) {
    .jade-ornaments .zoe-social-ornament { font-size: 10.5px; }
    /* Her face sits top centre on a phone: the search bar drops to her shoulder, the badge clears her headscarf. */
    .jade-orn-search { top: 26%; left: 0; }
    .jade-orn-meta { right: 0; }
    .jade-orn-comment { right: 0; width: 140px; }
    .jade-orn-serp { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .jade-ornaments .zoe-social-ornament, .jade-orn-search span::after { opacity: 1; animation: none !important; transform: none; }
    .jade-studio *, .jade-plan [data-field], .jade-plan [data-section] { transition: none !important; }
}
