/* סיון רז | ניהול בגובה העיניים */

:root {
  --night: #170b1d;
  --ink: #210c2b;
  --plum: #32103e;
  --violet: #4b1b59;
  --cream: #fff7fb;
  --paper: #fbf1f6;
  --sand: #efc4da;
  --rose: #d94f99;
  --text: #2a1433;
  --muted: #6b5571;
  --line: rgba(255, 247, 251, .16);
  --line-dark: rgba(33, 12, 43, .12);
  --green: #2f7d57;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(23, 11, 29, .45);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cream);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--sand); color: var(--ink); padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--rose); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.display { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; }
.h2 em, .display em { font-style: normal; color: var(--sand); }
.light .h2 em, .light .display em { color: var(--rose); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 247, 251, .82); max-width: 60ch; }
.light .lead { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.light { background: var(--cream); color: var(--text); }
.paper { background: var(--paper); color: var(--text); }
.dark { background: var(--night); }
.plum { background: radial-gradient(120% 90% at 80% 0%, #3c1449 0%, var(--ink) 55%, var(--night) 100%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(239, 196, 218, .6); }
.btn-primary:hover { background: #f6d6e7; }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 30px -12px rgba(217, 79, 153, .7); }
.btn-ghost { border-color: rgba(255, 247, 251, .45); color: var(--cream); background: transparent; }
.btn-ghost:hover { background: rgba(255, 247, 251, .08); }
.light .btn-ghost, .paper .btn-ghost { border-color: var(--violet); color: var(--violet); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa svg { width: 22px; height: 22px; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--rose); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "←"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(-5px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* blur lives on a pseudo-element so the header doesn't become the containing block of the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(23, 11, 29, .72);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { background: rgba(23, 11, 29, .9); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1.08rem; }
.brand small { font-size: .74rem; color: var(--sand); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav a {
  text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; color: rgba(255, 247, 251, .82);
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255, 247, 251, .09); color: var(--cream); }
.main-nav .nav-group { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-row { min-height: 66px; }
  .header-cta { margin-inline-start: auto; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border-radius: 12px;
    background: rgba(255, 247, 251, .08); border: 1px solid var(--line);
  }
  .menu-toggle i { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 66px 0 auto 0; height: calc(100dvh - 66px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px var(--gutter) 40px; margin: 0;
    background: var(--night);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { font-size: 1.3rem; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: none; color: var(--sand); }
  .main-nav .nav-group { display: block; color: var(--sand); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .header-cta { padding: 0 16px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-kicker { font-size: .86rem; color: var(--sand); font-weight: 600; letter-spacing: .06em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--sand); display: block; }
.hero .lead { margin-top: 26px; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.arch {
  position: relative; aspect-ratio: 3 / 4.1; border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--plum);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 247, 251, .14); }
.hero-visual::before {
  content: ""; position: absolute; inset: -22px -22px 40px 40px; border-radius: 999px 999px var(--radius) var(--radius);
  border: 1px solid rgba(239, 196, 218, .35); z-index: -1;
}
.badge-pill {
  position: absolute; bottom: 34px; right: -26px;
  background: var(--sand); color: var(--ink);
  border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  font-weight: 700; font-size: .92rem; line-height: 1.35;
}
.badge-pill span { display: block; font-size: .72rem; font-weight: 600; color: var(--violet); letter-spacing: .08em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: rgba(255, 247, 251, .7); font-size: .92rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(78%, 340px); order: 2; }
  .badge-pill { right: 0; bottom: 22px; }
  .hero-visual::before { inset: -14px 0 40px 14px; }
}

/* ---------- before / after system diagram ---------- */
.system-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.system-copy .lead { margin-top: 18px; }
.toggle {
  display: inline-flex; padding: 5px; border-radius: 999px; margin-top: 30px;
  background: rgba(255, 247, 251, .07); border: 1px solid var(--line);
}
.toggle button {
  border: 0; background: transparent; color: rgba(255, 247, 251, .75);
  padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: background .3s, color .3s;
}
.toggle button[aria-pressed="true"] { background: var(--sand); color: var(--ink); }
.state-text { margin-top: 26px; min-height: 9.5em; }
.state-text > div { display: none; }
.state-text > div.on { display: block; animation: fadeUp .5s var(--ease); }
.state-text h3 { font-size: 1.35rem; margin-bottom: 10px; }
.state-text ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.state-text li { display: flex; gap: 10px; color: rgba(255, 247, 251, .8); }
.state-text li::before { content: "—"; color: var(--rose); }
.diagram {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(75, 27, 89, .55), transparent 68%);
}
.diagram svg { width: 100%; height: 100%; overflow: visible; }
.diagram .ring { fill: none; stroke: rgba(239, 196, 218, .16); stroke-dasharray: 3 7; transition: opacity .8s, stroke .8s; }
.diagram .spoke { stroke: var(--rose); stroke-width: 2; stroke-linecap: round; transition: opacity .7s var(--ease), stroke-dashoffset .9s var(--ease); stroke-dasharray: 200; }
.diagram .mesh { stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; opacity: 0; stroke-dasharray: 260; stroke-dashoffset: 260; transition: opacity .6s, stroke-dashoffset 1.1s var(--ease); }
.diagram .node circle { fill: var(--plum); stroke: rgba(239, 196, 218, .55); stroke-width: 1.5; transition: fill .6s, stroke .6s; }
.diagram .node text { fill: var(--cream); font-size: 13px; font-weight: 600; text-anchor: middle; font-family: Heebo, Arial, sans-serif; }
.diagram .owner circle { fill: var(--rose); stroke: none; }
.diagram .owner .pulse { fill: none; stroke: var(--rose); stroke-width: 2; transform-origin: 300px 300px; animation: pulse 1.6s ease-out infinite; }
.diagram .owner text { font-size: 15px; font-weight: 800; }
.diagram .layer-label { fill: var(--sand); font-size: 12px; font-weight: 700; letter-spacing: .12em; opacity: 0; transition: opacity .8s .4s; font-family: Heebo, Arial, sans-serif; }
.diagram .msg { fill: var(--sand); }
.diagram[data-state="after"] .spoke { opacity: .12; }
.diagram[data-state="after"] .mesh { opacity: .85; stroke-dashoffset: 0; }
.diagram[data-state="after"] .node circle { fill: var(--violet); stroke: var(--sand); }
.diagram[data-state="after"] .owner circle { fill: var(--sand); }
.diagram[data-state="after"] .owner text { fill: var(--ink); }
.diagram[data-state="after"] .owner .pulse { animation: none; opacity: 0; }
.diagram[data-state="after"] .ring { stroke: rgba(239, 196, 218, .4); }
.diagram[data-state="after"] .layer-label { opacity: 1; }
.diagram[data-state="after"] .msg { opacity: 0; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@media (max-width: 860px) {
  .system-grid { grid-template-columns: 1fr; }
  .diagram { order: -1; max-width: 420px; }
  .state-text { min-height: 0; }
}

/* ---------- layers ---------- */
.belief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.belief-photo { position: relative; }
.belief-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.stamp {
  position: absolute; bottom: -26px; left: -20px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--sand); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: .95rem; line-height: 1.25; box-shadow: var(--shadow);
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp svg text { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; fill: var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
.belief-copy .lead { margin-top: 20px; }
.layers { display: grid; gap: 14px; margin-top: 34px; }
.layer {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line-dark);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.layer:hover { transform: translateX(-6px); box-shadow: 0 16px 36px -22px rgba(50, 16, 62, .45); }
.layer b { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--sand); font-size: 1rem; }
.layer h3 { font-size: 1.12rem; margin-bottom: 4px; }
.layer p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  .belief-grid { grid-template-columns: 1fr; }
  .belief-photo { max-width: 440px; }
  .belief-photo img { aspect-ratio: 5 / 4; object-position: center 25%; }
  .stamp { left: 12px; bottom: -22px; width: 104px; height: 104px; font-size: .82rem; }
}

/* ---------- tracks ---------- */
.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.track {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px 26px; border-radius: var(--radius);
  background: var(--cream); color: var(--text); text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.track::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--sand), var(--cream) 60%);
  opacity: 0; transition: opacity .35s;
}
.track:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(239, 196, 218, .55); }
.track:hover::before { opacity: 1; }
.track .num { font-size: .85rem; font-weight: 800; color: var(--rose); }
.track h3 { font-size: 1.4rem; }
.track p { color: var(--muted); font-size: .98rem; flex: 1; }
.track .fit { font-size: .86rem; color: var(--violet); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.track .link-arrow { color: var(--ink); }
@media (max-width: 1000px) { .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--sand); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: rgba(255, 247, 251, .75); }
a.stat { transition: border-color .25s, transform .25s var(--ease); }
a.stat:hover { border-color: var(--sand); transform: translateY(-3px); }

/* ---------- diagnostic ---------- */
.diag {
  max-width: 860px; margin-inline: auto;
  background: var(--cream); color: var(--text);
  border-radius: 30px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.diag-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--line-dark); }
.diag-top small { color: var(--muted); font-weight: 600; }
.progress { flex: 1; max-width: 300px; height: 8px; border-radius: 8px; background: #f0e2ea; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--rose)); border-radius: inherit; transition: width .5s var(--ease); }
.diag-body { padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 52px); min-height: 400px; }
.diag-step { display: none; }
.diag-step.on { display: block; animation: fadeUp .45s var(--ease); }
.diag-intro h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.diag-intro p { color: var(--muted); max-width: 56ch; }
.diag-intro ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.diag-intro li { padding: 8px 16px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .92rem; color: var(--violet); }
.q-layer { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--rose); }
.q-text { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; margin: 10px 0 28px; line-height: 1.35; }
.answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.answers button {
  min-height: 74px; padding: 12px; border-radius: 16px;
  border: 1.5px solid var(--line-dark); background: #fff; color: var(--text);
  font-weight: 700; font-size: .98rem;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.answers button:hover { border-color: var(--violet); transform: translateY(-2px); }
.answers button.picked { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.diag-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.diag-back { border: 0; background: none; color: var(--muted); font-weight: 600; padding: 8px 0; }
.diag-back[hidden] { display: none; }
@media (max-width: 620px) { .answers { grid-template-columns: 1fr 1fr; } }

.result { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.gauge { position: relative; width: 220px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge .track-ring { stroke: #f0e2ea; }
.gauge .value-ring { stroke: url(#gaugeGrad); stroke-dasharray: 0 999; transition: stroke-dasharray 1.4s var(--ease); }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge-num b { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--ink); }
.gauge-num small { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.result h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.result-text { color: var(--muted); }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 12px; align-items: center; font-size: .92rem; font-weight: 600; }
.bar .rail { height: 10px; border-radius: 10px; background: #f0e2ea; overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: inherit; background: var(--violet); transition: width 1.2s var(--ease); }
.bar.top .fill { background: var(--rose); }
.bar .pct { text-align: left; color: var(--muted); }
.recommend { margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: var(--paper); border-inline-start: 4px solid var(--rose); }
.recommend strong { display: block; font-size: .8rem; letter-spacing: .1em; color: var(--rose); margin-bottom: 6px; }
.recommend h4 { font-size: 1.2rem; margin-bottom: 6px; }
.recommend p { color: var(--muted); }
.result .btn-row { margin-top: 24px; }
.diag .btn-ghost { border-color: var(--violet); color: var(--violet); }
.diag .btn-ghost:hover { background: var(--paper); }
.restart { border: 0; background: none; color: var(--muted); font-weight: 600; text-decoration: underline; margin-top: 18px; padding: 0; }
@media (max-width: 700px) {
  .result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .result > div:last-child { justify-self: stretch; text-align: start; }
  .gauge { width: 190px; }
}

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 30px 28px 26px;
  border: 1px solid var(--line-dark); position: relative;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(50, 16, 62, .4); }
.quote::before { content: "״"; position: absolute; top: 4px; left: 22px; font-size: 5.5rem; line-height: 1; color: var(--sand); font-weight: 800; }
.quote .pull { font-size: 1.28rem; font-weight: 700; line-height: 1.45; color: var(--ink); position: relative; }
.quote .full { color: var(--muted); font-size: .98rem; margin-top: 16px; display: none; }
.quote.open .full { display: block; animation: fadeUp .4s var(--ease); }
.quote .more { border: 0; background: none; padding: 0; margin-top: 16px; color: var(--rose); font-weight: 700; font-size: .92rem; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.who i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--ink); color: var(--sand); flex-shrink: 0; }
.who b { display: block; font-size: .98rem; }
.who span { font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- about strip ---------- */
.about-strip { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 52px); align-items: center; }
.about-strip img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 4px solid var(--sand); }
.about-strip h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.about-strip p { color: rgba(255, 247, 251, .8); max-width: 62ch; }
@media (max-width: 860px) {
  .about-strip { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .about-strip img { width: 120px; height: 120px; }
}

/* ---------- cards (articles etc) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px;
  border-radius: var(--radius); background: #fff; color: var(--text);
  border: 1px solid var(--line-dark); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(50, 16, 62, .45); }
.card small { color: var(--rose); font-weight: 700; font-size: .82rem; letter-spacing: .06em; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); flex: 1; }
.dark .card, .plum .card { background: rgba(255, 247, 251, .05); color: var(--cream); border-color: var(--line); }
.dark .card p, .plum .card p { color: rgba(255, 247, 251, .72); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 52px); }
.head-row .section-head { margin: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- community band ---------- */
.band {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center;
  padding: clamp(32px, 5vw, 60px); border-radius: 30px;
  background: linear-gradient(135deg, var(--violet), var(--ink));
  color: var(--cream); position: relative; overflow: hidden;
}
.band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(239, 196, 218, .25); left: -120px; top: -160px; }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band p { color: rgba(255, 247, 251, .8); margin-top: 14px; }
.band .btn-row { margin: 0; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band .btn-row { justify-content: flex-start; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact-direct { display: grid; gap: 12px; margin-top: 30px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: rgba(255, 247, 251, .85); font-weight: 600; }
.contact-direct a:hover { color: var(--sand); }
.contact-direct svg { width: 22px; height: 22px; }
.form {
  background: var(--cream); color: var(--text); border-radius: 28px;
  padding: clamp(26px, 4vw, 40px); display: grid; gap: 16px; box-shadow: var(--shadow);
}
.form h3 { font-size: 1.4rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .94rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  font: inherit; width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-dark); background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(75, 27, 89, .12); }
.form .btn { width: 100%; margin-top: 4px; }
.form .note { font-size: .84rem; color: var(--muted); text-align: center; }
.form .error { color: #b3261e; font-size: .88rem; display: none; }
.form.invalid .error { display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.page-hero .lead { margin-top: 24px; }
.page-hero .photo { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3 / 4; max-width: 380px; justify-self: center; box-shadow: var(--shadow); }
.page-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.page-hero .logo-mark { width: 120px; margin-bottom: 26px; opacity: .95; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .photo { max-width: 260px; justify-self: start; }
}

/* ---------- generic grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.tile {
  padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(50, 16, 62, .4); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--rose); font-weight: 800; margin-bottom: 18px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .98rem; }
.tile ul { margin: 14px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: .95rem; }
.tile small { display: block; margin-top: 14px; color: var(--violet); font-weight: 600; }
.dark .tile, .plum .tile { background: rgba(255, 247, 251, .05); border-color: var(--line); }
.dark .tile p, .plum .tile p, .dark .tile ul, .plum .tile ul { color: rgba(255, 247, 251, .72); }
.dark .tile .ico, .plum .tile .ico { background: rgba(239, 196, 218, .12); color: var(--sand); }
.dark .tile small, .plum .tile small { color: var(--sand); }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: start; }
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--ink); font-size: .8rem; font-weight: 800; margin-top: 2px;
}

.panel { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line-dark); }
.dark .panel, .plum .panel { background: rgba(255, 247, 251, .05); border-color: var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* course cards */
.course { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark); }
.course .tag { font-size: .8rem; font-weight: 700; color: var(--rose); letter-spacing: .06em; }
.course h3 { font-size: 1.35rem; }
.course .for { color: var(--violet); font-weight: 600; font-size: .94rem; }
.course p { color: var(--muted); font-size: .97rem; }
.course details { border-top: 1px solid var(--line-dark); padding-top: 12px; }
.course summary { cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.course summary::-webkit-details-marker { display: none; }
.course summary::after { content: "+"; color: var(--rose); font-size: 1.2rem; line-height: 1; transition: transform .25s; }
.course details[open] summary::after { transform: rotate(45deg); }
.course details ul { margin: 10px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: .95rem; }
.course details p { margin-top: 10px; }
.course .buy { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-dark); }
.course .price b { font-size: 1.6rem; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.course .price small { color: var(--muted); font-size: .8rem; }
.course .fine { font-size: .78rem; color: var(--muted); }

/* price card */
.price-card { max-width: 480px; margin-inline: auto; text-align: center; padding: 40px 34px; border-radius: 30px; background: var(--cream); color: var(--text); box-shadow: var(--shadow); }
.price-card span { font-weight: 700; color: var(--rose); font-size: .86rem; letter-spacing: .1em; }
.price-card .amount { font-size: 4rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 14px 0 6px; }
.price-card .amount small { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-card p { color: var(--muted); margin-bottom: 26px; }

/* ---------- article ---------- */
.article-hero { padding-block: clamp(56px, 8vw, 100px) clamp(40px, 5vw, 60px); }
.article-hero .wrap { max-width: 860px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
.article-hero .lead { margin-top: 22px; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-top: 28px; color: rgba(255, 247, 251, .7); font-size: .92rem; }
.article-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.12rem; line-height: 1.9; color: var(--text); }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2em 0 .6em; color: var(--ink); }
.prose ul { padding-inline-start: 0; list-style: none; display: grid; gap: 14px; margin: 1.4em 0; }
.prose li { padding: 16px 20px; border-radius: 14px; background: var(--paper); border-inline-start: 3px solid var(--rose); }
.prose li strong { color: var(--ink); }
.prose .callout { margin-top: 3em; padding: 32px; border-radius: 24px; background: var(--ink); color: var(--cream); }
.prose .callout h2 { margin: 0 0 10px; color: var(--cream); }
.prose .callout p { color: rgba(255, 247, 251, .8); }
.prose .callout .btn-row { margin-top: 22px; }
.reading-bar { position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 60; background: transparent; }
.reading-bar i { display: block; height: 100%; width: 0; background: var(--rose); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span { color: var(--sand); font-size: .86rem; }
.footer-brand p { grid-column: 1 / -1; color: rgba(255, 247, 251, .65); font-size: .95rem; margin-top: 8px; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact a { text-decoration: none; color: rgba(255, 247, 251, .75); font-size: .95rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sand); }
.social { display: flex; gap: 16px; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px 110px; margin-top: 48px; border-top: 1px solid var(--line); font-size: .86rem; color: rgba(255, 247, 251, .55); }
.footer-bottom a { color: rgba(255, 247, 251, .7); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 16px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: gap .3s var(--ease), padding .3s var(--ease), transform .3s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover, .wa-float.expanded { gap: 10px; padding: 0 20px; }
.wa-float:hover span, .wa-float.expanded span { max-width: 160px; }
.wa-float:hover { transform: translateY(-2px); }

.a11y { position: fixed; bottom: 20px; right: 20px; z-index: 40; }
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--sand);
  background: var(--violet); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5);
}
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-panel {
  position: absolute; bottom: 64px; right: 0; width: 230px;
  background: var(--cream); color: var(--text); border-radius: 18px; padding: 16px;
  display: grid; gap: 6px; box-shadow: var(--shadow);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel strong { margin-bottom: 4px; }
.a11y-panel button, .a11y-panel a {
  text-align: start; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: #fff; color: var(--text); font-size: .92rem; font-weight: 600; text-decoration: none;
}
.a11y-panel button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* a11y modes */
.a11y-contrast body { background: #000; }
.a11y-contrast .light, .a11y-contrast .paper { background: #fff; color: #000; }
.a11y-contrast .lead, .a11y-contrast .light .lead, .a11y-contrast p { color: inherit !important; }
.a11y-contrast .dark, .a11y-contrast .plum, .a11y-contrast .site-header { background: #000 !important; color: #fff; }
.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- reveal ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
