/* ═══════════════════════════════════════════════════════════════
   JVO Brand tokens — from the official brand book (studio Kobi Shomer)
   Palette: sage olive green · warm cream · black · white
   Voice: Premium Professional. Motif: circular "APPROVED" stamp.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --jvo-sage:        #688b5d;   /* primary brand */
  --jvo-sage-dark:   #4f6d46;
  --jvo-sage-tint:   #e7eee3;
  --jvo-cream:       #f1ebe3;   /* light background */
  --jvo-black:       #111110;
  --jvo-white:       #ffffff;
  --jvo-ink:         #2a2a26;   /* body text */
  --jvo-muted:       #6b6f68;

  --font-head: "Assistant", "Arial", sans-serif;
  --font-body: "Arial", "Assistant", sans-serif;

  --radius:    14px;
  --shadow-sm: 0 1px 3px rgba(17,17,16,.08);
  --shadow-md: 0 8px 28px rgba(17,17,16,.10);
  --maxw:      1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--jvo-ink);
  background: var(--jvo-cream);
  line-height: 1.65;
  direction: rtl;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--jvo-black); line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--jvo-sage-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── stamp logo ────────────────────────────────────────────── */
.stamp {
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--jvo-sage);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: var(--jvo-sage-dark);
  font-family: var(--font-head); font-weight: 800; letter-spacing: .5px;
  background: var(--jvo-white);
}
.stamp b { font-size: 1.15rem; line-height: 1; }
.stamp span { font-size: .42rem; letter-spacing: .8px; margin-top: 2px; }

/* ── header ────────────────────────────────────────────────── */
.site-head {
  background: var(--jvo-white); border-bottom: 1px solid #e6ddd0;
  position: sticky; top: 0; z-index: 20;
}
.site-head .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brandmark { display: flex; align-items: center; gap: 12px; }
.brandmark .name { font-family: var(--font-head); font-weight: 800; color: var(--jvo-black); font-size: 1.15rem; }
.brandmark .tag  { font-size: .72rem; color: var(--jvo-muted); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 15px 30px; border-radius: var(--radius); text-decoration: none;
  background: var(--jvo-sage); color: var(--jvo-white); transition: background .15s;
}
.btn:hover { background: var(--jvo-sage-dark); }
.btn-ghost { background: transparent; color: var(--jvo-sage-dark); border: 1.5px solid var(--jvo-sage); }

/* ── hero ──────────────────────────────────────────────────── */
.hero { padding: 74px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--jvo-muted); max-width: 620px; margin: 0 auto 34px; }

/* ── url form ──────────────────────────────────────────────── */
.valform {
  display: flex; gap: 10px; max-width: 560px; margin: 0 auto;
  background: var(--jvo-white); padding: 10px; border-radius: 16px; box-shadow: var(--shadow-md);
}
.valform input {
  flex: 1; border: 0; outline: 0; font-size: 1.1rem; padding: 12px 16px;
  font-family: var(--font-body); color: var(--jvo-black); direction: ltr; text-align: left;
}
.trustline { margin-top: 16px; font-size: .85rem; color: var(--jvo-muted); }

/* ── sections ──────────────────────────────────────────────── */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.section-lead  { text-align: center; color: var(--jvo-muted); max-width: 640px; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step  { background: var(--jvo-white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--jvo-sage-tint); color: var(--jvo-sage-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-family: var(--font-head); }
.step h3 { font-size: 1.15rem; }

.grid-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset { background: var(--jvo-white); border: 1px solid #e6ddd0; border-radius: var(--radius); padding: 18px 20px; }
.asset b { color: var(--jvo-black); font-family: var(--font-head); }
.asset small { color: var(--jvo-muted); }

.about { background: var(--jvo-sage-tint); }
.about .card { background: var(--jvo-white); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-sm); }

/* ── footer ────────────────────────────────────────────────── */
.site-foot { background: var(--jvo-black); color: #cfd3cb; padding: 40px 0; font-size: .85rem; }
.site-foot a { color: #cfd3cb; }
.disclaimer { color: #8a8f86; max-width: 100%; margin-top: 12px; line-height: 1.5; font-size: .62rem; text-align: justify; }

/* ── rich verified report ──────────────────────────────────── */
.rr-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.rr-tile { background: var(--jvo-cream); border-radius: 10px; padding: 10px 8px; text-align: center; }
.rr-tile .n { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--jvo-black); direction: ltr; }
.rr-tile .l { font-size: .68rem; color: var(--jvo-muted); margin-top: 2px; }
.rr-block { margin-top: 20px; text-align: right; }
.rr-block h4 { font-family: var(--font-head); font-size: .95rem; color: var(--jvo-black); margin: 0 0 10px; }
.rr-bar-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: .82rem; }
.rr-bar-row .kw { flex: 0 0 38%; color: var(--jvo-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-bar-track { flex: 1; background: var(--jvo-cream); border-radius: 6px; height: 16px; overflow: hidden; }
.rr-bar-fill { height: 100%; background: var(--jvo-sage); border-radius: 6px; }
.rr-bar-row .vol { flex: 0 0 auto; color: var(--jvo-muted); direction: ltr; font-variant-numeric: tabular-nums; min-width: 52px; text-align: left; }
.rr-comps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rr-comp { background: var(--jvo-white); border: 1px solid #e6ddd0; border-radius: 10px; padding: 10px 12px; }
.rr-comp .d { font-weight: 700; color: var(--jvo-black); direction: ltr; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-comp .t { font-size: .72rem; color: var(--jvo-muted); direction: ltr; }
.rr-chart { width: 100%; height: 120px; display: block; }
.rr-chart-cap { display: flex; justify-content: space-between; font-size: .7rem; color: var(--jvo-muted); direction: ltr; margin-top: 4px; }

/* ── AI analyst report v2 (renderBrief — 14-section /api/brief) ─── */
.rep-section { margin-top: 16px; }
.rep-h {
  font-family: var(--font-head); font-weight: 800; font-size: .92rem;
  color: var(--jvo-black); margin-bottom: 6px;
}

.rep-gauge { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 0 0 auto; }
.rep-gauge svg { display: block; }
.rep-gauge-label { font-size: .66rem; color: var(--jvo-muted); font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.rep-gauge circle:nth-child(2) { transition: stroke-dashoffset .6s cubic-bezier(.22,.61,.36,1); }

.rep-chip {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  padding: 3px 11px; border-radius: 999px; background: var(--jvo-cream); color: var(--jvo-muted);
}
.rep-chip--simple   { background: var(--jvo-sage-tint); color: var(--jvo-sage-dark); }
.rep-chip--moderate { background: #fbeed9; color: #8a6a1f; }
.rep-chip--complex  { background: #eceae5; color: var(--jvo-muted); }

.rep-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.rep-sources-col { background: var(--jvo-white); border: 1px solid #e6ddd0; border-radius: 10px; padding: 10px 12px; }
.rep-sources-col--verified  { border-inline-start: 3px solid var(--jvo-sage); }
.rep-sources-col--estimated { border-inline-start: 3px solid #c08a2e; }
.rep-sources-h { font-weight: 800; font-size: .8rem; color: var(--jvo-black); margin-bottom: 4px; }
.rep-sources-col ul { padding-inline-start: 16px; margin: 2px 0; font-size: .8rem; }
.rep-sources-col li { margin: 2px 0; }
.rep-sources-empty { color: var(--jvo-muted); font-size: .78rem; }

@media (max-width: 480px) {
  .rep-sources { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rep-gauge circle:nth-child(2) { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   UI/UX layer — motion, funnel step-meter, value reveal, hovers.
   Everything below respects prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════ */

/* ── micro-interactions: buttons lift, cards breathe ───────────── */
.btn {
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(104,139,93,.22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(104,139,93,.32); }
.btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(104,139,93,.22); }
.btn-ghost { box-shadow: none; }
.btn-ghost:hover { background: var(--jvo-sage-tint); transform: translateY(-2px); box-shadow: none; }

.asset { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.asset:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--jvo-sage); }

/* funnel option buttons (self-report panel) */
.pf-btn { transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease; }
.pf-btn:hover { transform: translateY(-1px); border-color: var(--jvo-sage) !important; }

/* ── card entrance ─────────────────────────────────────────────── */
@keyframes jvoFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.jvo-card { animation: jvoFadeUp .38s cubic-bezier(.22,.61,.36,1) both; }

/* ── funnel step-meter ─────────────────────────────────────────── */
.jvo-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 18px; max-width: 340px; }
.jvo-steps .st { display: flex; align-items: center; flex: 1; }
.jvo-steps .dot {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  background: #ece6dc; color: #a59d8f; transition: all .3s ease;
}
.jvo-steps .lbl { font-size: .66rem; color: #a59d8f; margin: 4px 6px 0; white-space: nowrap; transition: color .3s ease; }
.jvo-steps .line { flex: 1; height: 3px; background: #ece6dc; border-radius: 3px; margin: 0 4px; transition: background .3s ease; }
.jvo-steps .st.done .dot, .jvo-steps .st.active .dot { background: var(--jvo-sage); color: #fff; }
.jvo-steps .st.done .line { background: var(--jvo-sage); }
.jvo-steps .st.active .dot { box-shadow: 0 0 0 4px rgba(104,139,93,.18); }
.jvo-steps .st.active .lbl, .jvo-steps .st.done .lbl { color: var(--jvo-sage-dark); font-weight: 700; }
.jvo-step-cap { display: flex; justify-content: space-between; max-width: 340px; margin: -10px auto 16px; }
.jvo-step-cap span { font-size: .66rem; }

/* ── value reveal drama ────────────────────────────────────────── */
@keyframes jvoPop { 0% { opacity: 0; transform: scale(.82); } 60% { transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
.jvo-reveal { animation: jvoPop .6s cubic-bezier(.2,.7,.3,1.2) both; }
@keyframes jvoGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(104,139,93,0); } 40% { box-shadow: 0 0 0 8px rgba(104,139,93,.14); } }
.jvo-badge-pulse { animation: jvoGlow 1.1s ease .1s 2; border-radius: 20px; }

/* drumroll bar used just before the reveal */
@keyframes jvoDrum { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.jvo-drum { height: 5px; background: var(--jvo-sage-tint); border-radius: 5px; overflow: hidden; }
.jvo-drum > i { display: block; height: 100%; width: 45%; background: var(--jvo-sage); border-radius: 5px; animation: jvoDrum 1s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .jvo-card, .jvo-reveal, .jvo-badge-pulse, .jvo-drum > i { animation: none !important; }
  .btn:hover, .btn-ghost:hover, a.asset:hover, .pf-btn:hover { transform: none !important; }
}

/* ── SEO article (baked per-vertical, static for indexing) ─────── */
.seo-article { background: var(--jvo-white); border-top: 1px solid #e6ddd0; }
.seo-article .container { max-width: 820px; padding-top: 8px; padding-bottom: 8px; }
.seo-article .lead { color: var(--jvo-ink); font-size: 1.08rem; line-height: 1.85; }
.seo-article h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 30px 0 10px; color: var(--jvo-black); }
.seo-article p { color: var(--jvo-ink); line-height: 1.85; margin: 0 0 14px; }
.seo-faq { margin-top: 34px; }
.seo-faq h2 { margin-bottom: 14px; }
.seo-faq details {
  background: var(--jvo-cream); border: 1px solid #e6ddd0; border-radius: var(--radius);
  padding: 4px 18px; margin-bottom: 10px;
}
.seo-faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--jvo-black);
  padding: 12px 0; list-style: none; font-size: 1.02rem;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "＋"; float: left; color: var(--jvo-sage-dark); font-weight: 700; }
.seo-faq details[open] summary::after { content: "－"; }
.seo-faq details p { margin: 0 0 14px; color: var(--jvo-ink); line-height: 1.8; }
.seo-cta { text-align: center; margin-top: 30px; }

/* internal cross-links between verticals (SEO link graph) */
.seo-related { background: var(--jvo-cream); border-top: 1px solid #e6ddd0; }
.seo-related .container { max-width: 900px; }
.seo-related h2 { font-size: 1.2rem; text-align: center; margin-bottom: 18px; }
.seo-related-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.seo-related-grid a {
  background: var(--jvo-white); border: 1px solid #e6ddd0; border-radius: 999px;
  padding: 9px 16px; font-size: .9rem; font-weight: 700; color: var(--jvo-ink);
  text-decoration: none; font-family: var(--font-head); transition: all .15s ease;
}
.seo-related-grid a:hover { border-color: var(--jvo-sage); color: var(--jvo-sage-dark); transform: translateY(-2px); }

/* ── audit fixes: mobile/UX (council + mobile audit) ─────────── */
.grid-verticals { grid-template-columns: repeat(4, 1fr); }   /* vertical picker */
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-btn { min-height: 44px; }                                 /* touch target ≥44px */

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 760px) {
  .steps, .grid-assets { grid-template-columns: 1fr; }
  .grid-assets.grid-verticals { grid-template-columns: repeat(2, 1fr); }  /* was a broken 4-col */
  .valform { flex-direction: column; }
  .brandmark .tag { display: none; }
  .jvo-steps .lbl { font-size: .6rem; }
  .hero { padding: 42px 0 40px; }
  .site-head .btn-ghost { padding: 11px 16px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .rr-tiles { grid-template-columns: repeat(2, 1fr); }   /* stat tiles: 4→2 */
  .swot-grid { grid-template-columns: 1fr; }              /* SWOT: 2→1 */
  .hero { padding: 34px 0 34px; }
}
