/* ==========================================================================
   ARYONX / Leo: a light in the dark cave
   Navy depths, cyan UI glow, amber Leo glow. Oxanium + Rubik.
   ========================================================================== */

@font-face { font-family: "Oxanium"; src: url("../fonts/oxanium.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-hebrew.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  color-scheme: dark;

  --bg: #070B1E;
  --bg-2: #0B1230;
  --panel: #0F1839;
  --panel-2: #142050;
  --line: rgba(122, 150, 255, 0.18);
  --line-2: rgba(122, 150, 255, 0.32);
  --text: #EAF0FF;
  --muted: #A3AFD6;

  --cyan: #38E1FF;
  --cyan-ink: #03121C;
  --gold: #FFB547;
  --violet: #A595FF;
  --red: #FF6178;

  --f-display: "Oxanium", "Rubik", system-ui, sans-serif;
  --f-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --cut: 12px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56, 120, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 0% 40%, rgba(120, 80, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--cyan);
}
/* faint blueprint grid behind everything below the hero */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 150, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 150, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--cyan); color: var(--cyan-ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2A3878 var(--bg); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A3878; border: 3px solid var(--bg); border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 200; background: var(--cyan); color: var(--cyan-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons (chamfered) ---------- */
.btn {
  --b-bg: var(--panel-2);
  --b-edge: var(--line-2);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; background: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap; color: var(--text);
  transition: transform 160ms var(--ease-out), filter 200ms ease, color 160ms ease;
}
.btn::before, .btn::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background 200ms ease;
}
.btn::before { inset: 0; background: var(--b-edge); }
.btn::after { inset: 1.5px; background: var(--b-bg); --cut: 11.4px; }
.btn:active { transform: scale(0.97); }
.btn .ic { transition: transform 200ms var(--ease-out); }
[dir="rtl"] .btn .ic { transform: scaleX(-1); }

.btn--primary { color: var(--cyan-ink); --b-edge: #9BF2FF; --b-bg: linear-gradient(180deg, #6AEDFF, #1FB4E8); filter: drop-shadow(0 0 18px rgba(56, 225, 255, 0.45)); }
.btn--ghost { --b-edge: linear-gradient(135deg, rgba(56, 225, 255, 0.9), rgba(122, 150, 255, 0.35)); --b-bg: rgba(10, 16, 44, 0.85); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; --cut: 9px; }
.btn--sm::after { --cut: 8.4px; }
.btn--tiny { min-height: 32px; padding: 0 12px; font-size: 12px; --cut: 7px; }
.btn--tiny::after { --cut: 6.4px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { filter: drop-shadow(0 0 28px rgba(56, 225, 255, 0.7)) brightness(1.06); }
  .btn--primary:hover .ic { transform: translateX(3px); }
  [dir="rtl"] .btn--primary:hover .ic { transform: scaleX(-1) translateX(3px); }
  .btn--ghost:hover { --b-bg: rgba(20, 40, 90, 0.95); filter: drop-shadow(0 0 14px rgba(56, 225, 255, 0.35)); }
}

/* ---------- tags & chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--f-display); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(122, 150, 255, 0.12); color: #C9D3FF; border: 1px solid rgba(122, 150, 255, 0.22);
}
[lang="he"] .tag { letter-spacing: 0.01em; }
.tag .ic { width: 14px; height: 14px; }
.tag--cyan { background: rgba(56, 225, 255, 0.12); color: var(--cyan); border-color: rgba(56, 225, 255, 0.35); }
.tag--gold { background: rgba(255, 181, 71, 0.12); color: var(--gold); border-color: rgba(255, 181, 71, 0.35); }
.tag--red { background: rgba(255, 97, 120, 0.14); color: #FF8597; border-color: rgba(255, 97, 120, 0.4); }
.tag--muted { background: rgba(255, 255, 255, 0.05); color: var(--muted); border-color: rgba(255, 255, 255, 0.12); }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(10, 18, 50, 0.7); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: #CFD8FF;
  backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(56, 225, 255, 0.6); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56, 225, 255, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(56, 225, 255, 0); } }

/* ---------- panels ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 34, 82, 0.92), rgba(12, 19, 50, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px var(--gutter); transition: background-color 200ms ease, border-color 200ms ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(7, 11, 30, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: 0.12em; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255, 181, 71, 0.6)); }
.brand--sm { font-size: 18px; } .brand--sm .brand__mark { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 15px; font-weight: 500; color: #C6D0F5; }
.nav__links a { text-decoration: none; padding: 6px 0; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--cyan); } }
.lang { display: flex; padding: 3px; border-radius: 10px; background: rgba(10, 18, 50, 0.7); border: 1px solid var(--line); }
.lang button { min-width: 38px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--muted); transition: background-color 160ms ease, color 160ms ease; }
.lang button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: grid; align-items: center; padding: 120px var(--gutter) 90px; overflow: hidden; }
.hero__cave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: radial-gradient(60% 60% at 70% 55%, #1A2A6B 0%, #0A1030 55%, var(--bg) 100%); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(7, 11, 30, 0.85) 0%, rgba(7, 11, 30, 0.4) 42%, rgba(7, 11, 30, 0) 62%),
  linear-gradient(180deg, rgba(7, 11, 30, 0.5) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
[dir="rtl"] .hero__shade { background:
  linear-gradient(270deg, rgba(7, 11, 30, 0.85) 0%, rgba(7, 11, 30, 0.4) 42%, rgba(7, 11, 30, 0) 62%),
  linear-gradient(180deg, rgba(7, 11, 30, 0.5) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero__in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3.2rem, 7.4vw, 6.6rem); line-height: 0.95; letter-spacing: -0.02em;
  text-wrap: balance; max-width: 11ch;
  text-shadow: 0 0 48px rgba(56, 160, 255, 0.35);
}
[lang="he"] .hero__title { font-family: var(--f-body); font-weight: 800; letter-spacing: -0.01em; line-height: 1.02; max-width: 12ch; }
.hero__sub { font-size: clamp(18px, 1.45vw, 21px); color: #CBD4F7; max-width: 52ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 6px; font-size: 15px; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ic { width: 18px; height: 18px; color: var(--cyan); }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 40px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollcue 1.8s var(--ease-in-out) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* overlay concept */
.overlay { padding: 18px; background: linear-gradient(180deg, rgba(20, 31, 78, 0.78), rgba(10, 16, 44, 0.86)); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-2); }
.overlay::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; background: linear-gradient(160deg, rgba(255, 181, 71, 0.6), transparent 35%, transparent 70%, rgba(56, 225, 255, 0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.overlay__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.overlay__head .tag { margin-inline-start: auto; }
.overlay__avatar { width: 46px; height: 46px; filter: drop-shadow(0 0 14px rgba(255, 181, 71, 0.65)); }
.overlay__name { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; }
.overlay__state { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #5BF59B; box-shadow: 0 0 10px #5BF59B; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin: 14px 0 6px; }
.wave i { width: 4px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--gold), #FF8A3D); transform: scaleY(0.2); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: 0.9s; } .wave i:nth-child(4n+1) { animation-duration: 1.4s; } .wave i:nth-child(5n+2) { animation-delay: -0.4s; } .wave i:nth-child(2n) { animation-delay: -0.7s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.18); } 50% { transform: scaleY(0.9); } }
.chat { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.chat li { transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
.chat.is-playing li:not(.is-in) { opacity: 0; transform: translateY(8px); }
.ev { display: flex; gap: 8px; align-items: baseline; font-family: var(--f-display); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .ev { justify-content: flex-end; }
.ev__k { color: var(--cyan); font-weight: 700; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.msg--lumo { align-self: flex-start; background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.3); border-end-start-radius: 4px; }
.msg--you { align-self: flex-end; background: rgba(56, 225, 255, 0.1); border: 1px solid rgba(56, 225, 255, 0.28); border-end-end-radius: 4px; font-style: italic; color: #D7F7FF; }

/* ---------- sections ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head--stack { grid-template-columns: 1fr; align-content: start; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
[lang="he"] .h2 { font-family: var(--f-body); letter-spacing: -0.01em; line-height: 1.1; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.note { font-size: 14px; color: var(--muted); }

/* react screen */
.screen { overflow: hidden; }
.screen__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(5, 9, 26, 0.5); }
.screen__dots { display: flex; gap: 6px; } .screen__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3570; }
.screen__title { font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
[lang="he"] .screen__title { text-transform: none; letter-spacing: 0; font-family: var(--f-body); }
.screen__bar .btn { margin-inline-start: auto; }
.screen__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); min-height: 380px; }
.feed { padding: 22px; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feed li { display: grid; grid-template-columns: 50px auto 1fr; gap: 10px; align-items: baseline; padding: 11px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), border-color 300ms ease; }
.feed__t { font-family: var(--f-display); font-size: 12px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.feed__k { font-family: var(--f-display); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--cyan); }
.feed__k--bad { color: #FF8597; }
.feed__v { color: #CBD4F7; overflow-wrap: anywhere; }
.subs { position: relative; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  background: radial-gradient(70% 90% at 70% 0%, rgba(255, 140, 50, 0.16), transparent 60%), radial-gradient(60% 80% at 20% 100%, rgba(56, 225, 255, 0.08), transparent 60%), #081030; }
.sub { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(6, 10, 30, 0.72); border: 1px solid rgba(255, 181, 71, 0.3); font-size: 17px; font-weight: 500; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.sub__av { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 181, 71, 0.6)); }
.sub--blocked { flex-direction: column; gap: 8px; border-color: rgba(255, 97, 120, 0.45); background: rgba(40, 8, 20, 0.55); }
.sub--blocked s { font-size: 18px; color: #B9A6B4; text-decoration-color: var(--red); text-decoration-thickness: 2.5px; }
.sub--quiet { border-color: var(--line); color: var(--muted); font-size: 15px; font-style: italic; align-items: center; }
.sub--quiet .ic { color: var(--muted); }
.is-staged [data-at]:not(.is-in) { opacity: 0; transform: translateY(10px); }
.feed li.is-in:last-of-type { border-color: rgba(56, 225, 255, 0.2); }

/* ability cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  --acc: var(--cyan);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 26px 24px 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(22, 34, 82, 0.9), rgba(12, 19, 50, 0.92));
  transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}
[dir="rtl"] .card { background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 60%), linear-gradient(180deg, rgba(22, 34, 82, 0.9), rgba(12, 19, 50, 0.92)); }
.card--gold { --acc: var(--gold); } .card--violet { --acc: var(--violet); } .card--red { --acc: var(--red); }
.card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); box-shadow: 0 0 24px -4px color-mix(in srgb, var(--acc) 50%, transparent); margin-bottom: 6px; }
.card__ic .ic { width: 24px; height: 24px; }
.card h3 { font-family: var(--f-display); font-size: 21px; font-weight: 700; line-height: 1.2; }
[lang="he"] .card h3 { font-family: var(--f-body); }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .tag { margin-top: 6px; color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); border-color: color-mix(in srgb, var(--acc) 32%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--acc) 55%, transparent); }
}

/* steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps::before { content: ""; position: absolute; top: 58px; inset-inline: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent); opacity: 0.5; }
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.step__n { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(122, 150, 255, 0.35); }
.step__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: var(--cyan); background: #0A1540; border: 1px solid rgba(56, 225, 255, 0.35); box-shadow: 0 0 30px -6px rgba(56, 225, 255, 0.5); margin-bottom: 6px; }
.step:nth-child(3) .step__ic { color: var(--gold); border-color: rgba(255, 181, 71, 0.4); box-shadow: 0 0 30px -6px rgba(255, 181, 71, 0.5); }
.step__ic .ic { width: 28px; height: 28px; }
.step h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
[lang="he"] .step h3 { font-family: var(--f-body); }
.step p { color: var(--muted); font-size: 15.5px; }

/* report */
.sec--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.sec--split .sec__head { margin-bottom: 0; }
.report { padding: 24px; }
.report__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report__head h3 { font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; }
[lang="he"] .report__head h3 { font-family: var(--f-body); }
.report__time { margin-inline-start: auto; font-family: var(--f-display); color: var(--muted); font-size: 14px; }
.report__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.report__stats div { padding: 14px; border-radius: 12px; background: rgba(5, 9, 30, 0.55); border: 1px solid var(--line); }
.report__stats dt { font-size: 13px; color: var(--muted); }
.report__stats dd { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1.1; }
.report__list { display: flex; flex-direction: column; gap: 10px; }
.report__list li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 15.5px; }
.report__list .tag { flex: none; }
.report__tip { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.32); font-weight: 600; }
.report__tip .ic { width: 30px; height: 30px; stroke: none; filter: drop-shadow(0 0 8px rgba(255, 181, 71, 0.6)); }

/* quests */
.quests { display: flex; flex-direction: column; gap: 12px; }
.quest { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 28, 70, 0.85), rgba(11, 18, 48, 0.9)); }
.quest__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.1); }
.quest h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; }
[lang="he"] .quest h3 { font-family: var(--f-body); }
.quest p { color: var(--muted); font-size: 15px; }
.quest--done .quest__ic { color: var(--cyan); background: rgba(56, 225, 255, 0.12); border-color: rgba(56, 225, 255, 0.4); }
.quest--active { border-color: rgba(255, 181, 71, 0.45); box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.15), 0 20px 50px -26px rgba(255, 181, 71, 0.6); }
.quest--active .quest__ic { color: var(--gold); background: rgba(255, 181, 71, 0.12); border-color: rgba(255, 181, 71, 0.45); }

/* join */
.join-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter); }
.join-card { overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: clamp(40px, 6vw, 72px) var(--gutter);
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 170, 60, 0.18), transparent 60%), radial-gradient(80% 80% at 50% 120%, rgba(56, 225, 255, 0.14), transparent 60%), linear-gradient(180deg, #12205A, #0A1236); }
.join-card__lumo { width: 92px; height: 92px; filter: drop-shadow(0 0 30px rgba(255, 181, 71, 0.75)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.join-card .lead { margin: 0 auto; }
.form { width: 100%; max-width: 560px; margin-top: 8px; }
.form__row { display: flex; gap: 10px; }
.form__row input { flex: 1 1 0; width: 0; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 9, 30, 0.7); font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form__row input::placeholder { color: #7F8BB5; }
.form__row input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 225, 255, 0.2); }
.form__row input[aria-invalid="true"] { border-color: var(--red); }
.form__msg { min-height: 1.5em; margin-top: 10px; font-size: 15px; color: var(--muted); }
.form__msg.is-error { color: #FF8597; }
.form__msg.is-ok { color: var(--cyan); }

/* footer */
.foot { border-top: 1px solid var(--line); background: rgba(5, 8, 22, 0.6); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.foot__in p:first-of-type { flex: 1 1 320px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .lang { margin-inline-start: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .overlay { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec--split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__shade, [dir="rtl"] .hero__shade { background: linear-gradient(180deg, rgba(7, 11, 30, 0.55) 0%, rgba(7, 11, 30, 0.75) 60%, var(--bg) 100%); }
  .hero__scroll { display: none; }
  .sec__head { grid-template-columns: 1fr; }
  .screen__body { grid-template-columns: 1fr; }
  .feed { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .quest { grid-template-columns: auto 1fr; }
  .quest .tag { grid-column: 2; justify-self: start; }
  .form__row { flex-direction: column; }
  .form__row input { flex: none; width: 100%; }
  .nav .btn--sm { padding: 0 12px; font-size: 13px; }
  .brand span { display: none; }
}
@media (max-width: 360px) { .nav .btn--sm { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .dot, .wave i, .hero__scroll span, .join-card__lumo { animation: none; }
  .wave i { transform: scaleY(0.5); }
  .card, .btn, .chat li, .sub, .feed li { transition: none; }
}
