/* GONG — public pages (stage 1). Palette from שיווק/לוגו/GONG_ערכת_לוגו. */
:root {
  --bottle: #003223;
  --bottle-2: #0A4232;
  --bottle-3: #15523F;
  --egg: #F5EBE1;
  --egg-2: #EDE0D2;
  --egg-3: #E2D2C1;
  --orange: #FF6400;
  --salad: #8CC850;
  --ink: #003223;          /* text on light */
  --ink-soft: #2E5446;     /* secondary text on light (7.6:1 on egg) */
  --cream-soft: #C9D3C8;   /* secondary text on dark (9:1 on bottle) */
  --line-dark: rgba(245, 235, 225, .16);
  --line-light: rgba(0, 50, 35, .16);
  --radius: 18px;
  --head: 76px;
  --wrap: 1160px;
  --f-head: 'Rubik', 'Heebo', system-ui, sans-serif;
  --f-body: 'Heebo', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--egg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--bottle); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .site-head :focus-visible, .site-foot :focus-visible, .sec-dark :focus-visible, .sub-card :focus-visible, .price-card :focus-visible, .band :focus-visible, .nav :focus-visible { outline-color: var(--orange); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--bottle); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--f-mono); }

/* draft markers for open decisions (hidden when GONG_CONFIG.DRAFT = false) */
.todo { display: inline-block; font-family: var(--f-body); font-size: .78rem; font-weight: 500; line-height: 1.4;
  border: 1.5px dashed var(--orange); color: inherit; background: rgba(255, 100, 0, .08); border-radius: 8px; padding: 1px 8px; margin-inline: 4px; vertical-align: middle; }
.todo::before { content: 'לשותפים: '; font-weight: 700; }
html.live .todo { display: none; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); color: var(--egg);
  transition: background .25s, box-shadow .25s; }
.site-head.solid, .site-head.open { background: var(--bottle); box-shadow: 0 1px 0 var(--line-dark); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .97rem; color: var(--egg); opacity: .9; }
.nav a:hover { opacity: 1; background: rgba(245, 235, 225, .08); }
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--salad); border-radius: 0; }
.nav .nav-join { border: 1px solid var(--line-dark); margin-inline-start: 8px; }
.burger { display: none; margin-inline-start: auto; background: none; border: 0; color: var(--egg); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s, opacity .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; inset-inline: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.site-head.open .burger span { background: transparent; }
.site-head.open .burger span::before { transform: translateY(7px) rotate(45deg); }
.site-head.open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--head) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--bottle); border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-head.open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--salad); }
  .nav .nav-join { border: 0; margin: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--bottle); }
.btn-primary:hover { background: #ff7a24; }
.btn-ghost { border-color: rgba(245, 235, 225, .4); color: var(--egg); background: transparent; }
.btn-ghost:hover { background: rgba(245, 235, 225, .08); }
.btn-dark { background: var(--bottle); color: var(--egg); }
.btn-dark:hover { background: var(--bottle-2); }
.btn-line { border-color: var(--line-light); color: var(--ink); background: transparent; }
.btn-line:hover { background: rgba(0, 50, 35, .05); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--salad); padding-bottom: 2px; }
.link-arrow::after { content: ' ←'; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--bottle); color: var(--egg); overflow: hidden;
  display: flex; align-items: center; padding: calc(var(--head) + 40px) 0 64px; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 70% 40%, transparent 0, rgba(0, 50, 35, .35) 55%, var(--bottle) 100%),
              linear-gradient(to left, rgba(0, 50, 35, .92) 0, rgba(0, 50, 35, .55) 45%, transparent 75%); }
.hero-inner { max-width: 720px; }
.eyebrow { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .04em; color: var(--salad); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.words { display: flex; flex-wrap: wrap; gap: 0 .32em; font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 9.5vw, 6.6rem); line-height: 1.02; margin-bottom: 28px; }
.words span { opacity: 0; transform: translateY(18px); animation: wordIn .65s cubic-bezier(.2, .7, .2, 1) forwards; }
.words span:nth-child(1) { animation-delay: .3s; }
.words span:nth-child(2) { animation-delay: .8s; color: var(--orange); }
.words span { white-space: nowrap; }
.words span:nth-child(2) { white-space: normal; } /* the slogan's second line is long: it may wrap on narrow screens */
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.12rem, 2.2vw, 1.32rem); line-height: 1.6; color: var(--egg); max-width: 34ch; margin-bottom: 34px;
  opacity: 0; animation: fadeIn .7s 1.3s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeIn .7s 1.5s forwards; }
.hero-note { margin-top: 40px; font-size: .88rem; color: var(--cream-soft); display: flex; align-items: center; gap: 10px; opacity: 0; animation: fadeIn .7s 1.7s forwards; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--salad); flex: none; }
@keyframes fadeIn { to { opacity: 1; } }

/* hero art: drifting outline candles (no green/red, no prices), faint chart grid, and the GONG disc */
.hero-track { position: absolute; inset: 0 auto 0 0; width: 200%; display: flex; direction: ltr; animation: drift 90s linear infinite; will-change: transform; }
.hero-track svg { width: 50%; height: 100%; flex: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cndl line { stroke: rgba(245, 235, 225, .38); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cndl rect { fill: var(--bottle); stroke: rgba(245, 235, 225, .38); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cndl rect.up { fill: rgba(245, 235, 225, .08); }
.cndl { opacity: 0; animation: candleIn 1.2s ease-out forwards; }
.cndl rect, .cndl line { transform-box: fill-box; transform-origin: center; }
@keyframes candleIn { from { opacity: 0; } to { opacity: 1; } }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(245, 235, 225, .045) 1px, transparent 1px); background-size: 100% 72px; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
.hero-gong { will-change: translate, rotate, scale; position: absolute; z-index: 0; inset-inline-end: clamp(16px, 7vw, 120px); top: 50%; width: clamp(120px, 19vw, 280px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
  opacity: 0; animation: fadeIn 1.2s .4s forwards; }
.hero-gong img { position: relative; z-index: 1; width: 100%; height: 100%; }
.hero-gong::before { content: ''; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 100, 0, .22), rgba(255, 100, 0, 0)); }
.hero-gong .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--orange); opacity: 0; animation: ring 6s cubic-bezier(.2, .6, .3, 1) infinite; }
.hero-gong .ring:nth-child(1) { animation-delay: .5s; } .hero-gong .ring:nth-child(2) { animation-delay: 2.5s; } .hero-gong .ring:nth-child(3) { animation-delay: 4.5s; }
/* the strike: the disc kicks as "הגונג מכה." lands */
.hero-gong img { animation: gongHit .7s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gongHit { 0% { transform: scale(1); } 30% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes ring { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }

/* hero scroll, "the gong strike": compositor-driven where the browser supports scroll timelines (JS fallback in main.js).
   Individual translate/rotate/scale properties stack on top of the element's own transform. */
@keyframes heroRecede { to { translate: 0 28vh; opacity: .15; } }
@supports (animation-timeline: scroll()) {
  .hero-art { animation: heroRecede linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
}

@media (max-width: 860px) {
  .hero-gong { top: calc(var(--head) + 22px); transform: none; width: 72px; inset-inline-end: 16px; }
  .hero-gong .ring { animation-duration: 7s; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-dark { background: var(--bottle); color: var(--egg); }
.sec-tint { background: var(--egg-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 44px; }
.kicker { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 12px; display: block; }
.sec-dark .kicker { color: var(--salad); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.sec-dark .lead { color: var(--cream-soft); }

/* steps (how in short) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; padding: 0; margin: 0 0 40px; list-style: none; }
.steps li { background: var(--egg); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px 26px 26px; position: relative; }
.steps li::before { counter-increment: s; content: '0' counter(s); font-family: var(--f-mono); font-size: .85rem; color: var(--ink-soft); display: block; margin-bottom: 30px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); margin: 0; }
.steps .ic { position: absolute; top: 24px; inset-inline-end: 24px; width: 34px; height: 34px; color: var(--bottle); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* trades */
.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trades { grid-template-columns: 1fr 1fr; } }
.trade { background: var(--egg); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; margin: 0; }
.trade img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--egg-3); }
.trade figcaption { padding: 16px 18px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.trade dt { color: var(--ink-soft); }
.trade dd { margin: 0; font-family: var(--f-mono); }
.trade-note { border: 1px solid var(--line-light); border-inline-start: 4px solid var(--salad); background: var(--egg); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; font-size: .98rem; }
.trade-note strong { display: block; margin-bottom: 4px; }
.trade-count { font-family: var(--f-mono); font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.empty { border: 1.5px dashed var(--line-light); border-radius: var(--radius); padding: 44px 24px; text-align: center; color: var(--ink-soft); grid-column: 1 / -1; }
.empty svg { width: 54px; margin: 0 auto 14px; opacity: .7; }
.empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.skel { aspect-ratio: 16 / 13; border-radius: var(--radius); background: linear-gradient(100deg, var(--egg-3) 30%, var(--egg-2) 50%, var(--egg-3) 70%); background-size: 300% 100%; opacity: .55; }

/* faq */
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h3 { font-size: 1.05rem; font-family: var(--f-mono); font-weight: 500; color: var(--ink-soft); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; flex: none; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-4px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .ans { padding: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }
.faq-foot { margin-top: 26px; font-size: .92rem; color: var(--ink-soft); }
.faq-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 860px) { .faq-cols { grid-template-columns: 1fr; gap: 8px; } }

/* meeting */
.meet { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.meet > *, .join-grid > *, .faq-cols > * { min-width: 0; }
@media (max-width: 900px) { .meet { grid-template-columns: 1fr; gap: 28px; } }
.meet-info .lead { margin-bottom: 26px; }
.meet-facts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.meet-facts li { display: flex; gap: 12px; align-items: center; color: var(--cream-soft); }
.meet-facts svg { width: 22px; height: 22px; color: var(--salad); flex: none; }
.card { background: var(--bottle-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.step-label { font-family: var(--f-mono); font-size: .82rem; color: var(--salad); margin: 0 0 12px; display: block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: thin; }
.day { flex: none; width: 64px; padding: 10px 0; border-radius: 14px; border: 1px solid var(--line-dark); background: transparent; color: var(--egg); cursor: pointer; text-align: center; line-height: 1.3; }
.day b { display: block; font-size: 1.25rem; font-family: var(--f-mono); font-weight: 500; }
.day small { font-size: .8rem; color: var(--cream-soft); }
.day[aria-pressed="true"] { background: var(--egg); color: var(--bottle); border-color: var(--egg); }
.day[aria-pressed="true"] small { color: var(--ink-soft); }
.day:disabled { opacity: .3; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 26px; min-height: 48px; }
.slot { padding: 11px 0; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--egg); cursor: pointer; font-family: var(--f-mono); }
.slot[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--bottle); font-weight: 500; }
.slots .hint { grid-column: 1 / -1; color: var(--cream-soft); font-size: .95rem; margin: 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .95rem; }
.field input { height: 50px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(0, 0, 0, .14); color: var(--egg); padding: 0 14px; font: inherit; }
.field input:focus { outline: none; border-color: var(--salad); box-shadow: 0 0 0 3px rgba(140, 200, 80, .25); }
.field input[aria-invalid="true"] { border-color: var(--orange); }
.field .err { color: #FFB27F; font-size: .88rem; min-height: 0; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .fields-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--cream-soft); margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.check a { color: var(--egg); }
.form-msg { margin-top: 14px; font-size: .9rem; color: var(--cream-soft); }
.done { text-align: center; padding: 24px 6px; }
.done svg { width: 64px; margin: 0 auto 18px; color: var(--salad); }
.done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.done p { color: var(--cream-soft); }
.cal-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.cal-btns .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.demo-badge { display: inline-block; font-size: .8rem; border: 1px dashed rgba(245, 235, 225, .4); border-radius: 8px; padding: 2px 10px; color: var(--cream-soft); margin-top: 16px; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--bottle); color: var(--egg); padding: calc(var(--head) + 72px) 0 72px; position: relative; overflow: hidden; }
.page-hero .h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 800; margin-bottom: 18px; }
.page-hero .lead { color: var(--cream-soft); }
.page-hero .disc { position: absolute; inset-inline-end: -90px; top: 50%; width: 360px; transform: translateY(-50%); opacity: .14; }
@media (max-width: 700px) { .page-hero .disc { width: 240px; inset-inline-end: -110px; } }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; margin: 0 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-inline-start: 1.2em; }
.prose li + li { margin-top: 6px; }

.blocks { display: grid; gap: 18px; }
.block { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line-light); }
.block:first-child { border-top: 0; padding-top: 0; }
.block h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.block .num { font-family: var(--f-mono); font-size: .82rem; color: var(--ink-soft); display: block; margin-bottom: 8px; }
.block .body { max-width: 66ch; }
.block .body p, .block .body li { color: var(--ink-soft); }
@media (max-width: 760px) { .block { grid-template-columns: 1fr; gap: 10px; } }

.need { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
.need li { background: var(--egg-2); border-radius: 14px; padding: 18px; }
.need b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 760px) { .need { grid-template-columns: 1fr; } }
.settings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; margin: 16px 0; }
.settings li { border: 1px solid var(--line-light); border-radius: 12px; padding: 14px 16px; color: var(--ink) !important; font-weight: 500; }
@media (max-width: 520px) { .settings { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 18px 0; border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden; }
.timeline div { padding: 16px; border-inline-start: 1px solid var(--line-light); }
.timeline div:first-child { border-inline-start: 0; }
.timeline b { display: block; font-family: var(--f-mono); font-size: 1.15rem; color: var(--ink); }
.timeline span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } .timeline div { border-inline-start: 0; border-top: 1px solid var(--line-light); } .timeline div:first-child { border-top: 0; } }

/* CTA band */
.band { background: var(--bottle); color: var(--egg); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.band p { color: var(--cream-soft); margin: 8px 0 0; }

/* join page */
.join-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } .price-card { position: static; order: -1; } }
.price-card { background: var(--bottle); color: var(--egg); border-radius: 24px; padding: 28px; position: sticky; top: calc(var(--head) + 20px); }
.price { font-family: var(--f-head); font-weight: 800; font-size: 3rem; line-height: 1; }
.price small { font-family: var(--f-body); font-size: 1rem; font-weight: 400; color: var(--cream-soft); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--cream-soft); font-size: .95rem; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--salad); margin-top: 9px; flex: none; }
.stage { border: 1px solid var(--line-light); border-radius: 24px; padding: clamp(20px, 3vw, 32px); background: var(--egg); }
.stage + .stage { margin-top: 18px; }
.stage-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stage-head .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); background: var(--bottle); color: var(--egg); flex: none; }
.stage-head h2 { font-size: 1.5rem; font-weight: 800; }
.stage.locked .stage-head { opacity: .6; }
.stage.locked .stage-head .n { background: var(--egg-3); color: var(--ink); }
.terms-box { height: 280px; overflow-y: auto; border: 1px solid var(--line-light); border-radius: 14px; padding: 18px 20px; background: var(--egg-2); font-size: .95rem; color: var(--ink-soft); }
.terms-box h3 { font-size: 1rem; color: var(--ink); margin: 16px 0 4px; }
.terms-box h3:first-child { margin-top: 0; }
.scroll-hint { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 0; }
.scroll-hint.ok { color: var(--bottle); font-weight: 700; }
.sign-wrap { margin-top: 20px; }
.sign-pad { width: 100%; height: 170px; border: 1.5px dashed var(--line-light); border-radius: 14px; background: #fff8f1; touch-action: none; cursor: crosshair; }
.sign-pad.off { pointer-events: none; opacity: .5; }
.sign-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: .88rem; color: var(--ink-soft); flex-wrap: wrap; }
.btn-text { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 6px; }
.join-check { color: var(--ink-soft); }
.join-check a { color: var(--ink); }
.pay-slot { border: 1.5px dashed var(--line-light); border-radius: 16px; padding: 36px 20px; text-align: center; color: var(--ink-soft); }
.pay-slot strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }

/* legal */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal-nav a { text-decoration: none; border: 1px solid var(--line-light); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.legal-nav a:hover { background: var(--egg-2); }
.legal-sec { padding: 32px 0; border-top: 1px solid var(--line-light); }
.legal-sec:first-of-type { border-top: 0; padding-top: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--bottle); color: var(--cream-soft); padding: 56px 0 40px; font-size: .93rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); margin-bottom: 24px; }
.foot-top img { height: 28px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--egg); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-legal { max-width: 90ch; }
.foot-legal p { margin: 0 0 10px; }
.foot-copy { margin-top: 18px; font-size: .85rem; opacity: .8; }

/* ---------- reveal ---------- */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* reduced motion (preview override: add ?motion=on to the URL) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html:not(.force-motion) .hero-gong .ring { display: none; }
  html:not(.force-motion) .hero-track { animation: none; }
  html:not(.force-motion) .hero-art { animation: none; }
  html:not(.force-motion) .hero-gong { animation: fadeIn .001s forwards; }
  html:not(.force-motion) .reveal { opacity: 1; transform: none; }
}

/* trade charts (no green/red, no prices) */
.tchart { width: 100%; height: auto; aspect-ratio: 360 / 200; background: #FBF5EE; border-bottom: 1px solid var(--line-light); display: block; }
.tchart .bars line { stroke: var(--bottle); stroke-width: 1; opacity: .55; }
.tchart .bars rect { fill: #FBF5EE; stroke: var(--bottle); stroke-width: 1; opacity: .8; }
.tchart .bars rect.u { fill: var(--bottle); opacity: .55; }
.tchart .ent { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 3 4; }
.tchart .arr { fill: var(--orange); }
.tchart .exit { fill: var(--bottle); stroke: #FBF5EE; stroke-width: 2; }
.trade dd.txt { font-family: var(--f-body); }
.trade-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.trade-tools select { height: 44px; border-radius: 12px; border: 1px solid var(--line-light); background: var(--egg); color: var(--ink); padding: 0 14px; font: inherit; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--ink-soft); margin: 0 0 18px; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; flex: none; }
.legend .l-ent { width: 2px; height: 16px; background: repeating-linear-gradient(var(--orange) 0 3px, transparent 3px 7px); }
.legend .l-exit { width: 10px; height: 10px; border-radius: 50%; background: var(--bottle); }
.legend .l-up { width: 9px; height: 14px; background: var(--bottle); opacity: .55; }
.legend .l-dn { width: 9px; height: 14px; border: 1px solid var(--bottle); }
.more-wrap { text-align: center; margin-top: 28px; }
.trade { position: relative; }
.bt-tag { position: absolute; top: 10px; inset-inline-start: 10px; font-size: .75rem; font-weight: 700; background: var(--bottle); color: var(--egg); border-radius: 999px; padding: 2px 10px; }

.tchart.nochart { display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-soft); font-size: .92rem; }
.trade-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.trade-sum > div { border-radius: 18px; padding: 20px 22px; display: grid; gap: 4px; }
.sum-main { background: var(--bottle); color: var(--egg); }
.sum-old { background: var(--egg); border: 1px solid var(--line-light); }
.trade-sum span { font-size: .92rem; }
.trade-sum b { font-family: var(--f-head); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; text-align: start; }
.sum-main small { color: var(--cream-soft); } .sum-old small { color: var(--ink-soft); }
.sum-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 700px) { .trade-sum { grid-template-columns: 1fr; } }

/* ===================== stage 2: auth, account, admin ===================== */
.page-hero-sm { padding: calc(var(--head) + 40px) 0 40px; }
.page-hero-sm .h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; }
.acc-hero { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.narrow { max-width: 520px; }
.panel { background: var(--egg); border: 1px solid var(--line-light); border-radius: 24px; padding: clamp(20px, 4vw, 34px); }
.narrow-panel { max-width: 460px; }
.panel .lead { font-size: 1.05rem; margin-bottom: 20px; }
.demo-banner { border: 1.5px dashed var(--orange); background: rgba(255, 100, 0, .07); border-radius: 12px; padding: 10px 16px; font-size: .92rem; margin-bottom: 22px; }
.demo-banner a, .demo-banner .btn-text { color: var(--ink); }
.field.light label { color: var(--ink); font-weight: 500; }
.field.light input, .field.light textarea { height: 50px; border-radius: 12px; border: 1px solid rgba(0, 50, 35, .3); background: #fff; color: var(--ink); padding: 0 14px; font: inherit; width: 100%; }
.field.light textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field.light input:focus, .field.light textarea:focus { outline: none; border-color: var(--bottle); box-shadow: 0 0 0 3px rgba(0, 50, 35, .18); }
.wide { width: 100%; }
.btn-google { width: 100%; background: #fff; color: #1f1f1f; border: 1px solid rgba(0, 0, 0, .2); font-weight: 500; }
.btn-google svg { width: 20px; height: 20px; }
.btn-google:hover { background: #f6f6f6; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .9rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.msg { margin: 12px 0 0; font-size: .95rem; color: var(--ink-soft); min-height: 1px; }
.msg.bad { color: #A33A00; font-weight: 500; }
.small-links { margin: 20px 0 0; font-size: .92rem; }
.hint-demo { margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); background: var(--egg-2); border-radius: 10px; padding: 8px 12px; }
.nav .nav-login { opacity: 1; }

.notice { background: #EAF4DC; border: 1px solid #B9D99A; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.notice .btn-text { color: var(--ink); }
.acc-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.acc-grid > * { min-width: 0; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } .sub-card { order: -1; } }
.acc-grid .stage + .stage { margin-top: 18px; }
.acc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acc-step { border: 1px solid var(--line-light); border-radius: 16px; padding: 18px 20px; }
.acc-step.key { border: 2px solid var(--orange); background: #FFF6EE; }
.acc-step.locked { opacity: .65; border-style: dashed; }
.acc-step-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.acc-step-head .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bottle); color: var(--egg); font-weight: 700; flex: none; }
.acc-step-head h3 { font-size: 1.15rem; flex: 1; min-width: 180px; }
.acc-step p { color: var(--ink-soft); margin: 0 0 10px; }
.state, .pill { font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ok { background: #DCEFC8; color: #1F4A0E; } .warn { background: #FFE3CC; color: #7A3300; } .bad { background: #FFD3C2; color: #8A2200; } .off { background: var(--egg-3); color: var(--ink-soft); }
.msg.bad { background: none; }
.how { margin: 6px 0 14px; } .how summary { cursor: pointer; font-weight: 500; color: var(--ink); } .how ol { color: var(--ink-soft); margin: 10px 0 0; }
.tv-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.tv-row .field { flex: 1; min-width: 200px; margin: 0; }
.sub-card { background: var(--bottle); color: var(--egg); border-radius: 24px; padding: 26px; position: sticky; top: calc(var(--head) + 20px); }
@media (max-width: 900px) { .sub-card { position: static; } }
.sub-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.sub-line { margin: 14px 0 18px; } .sub-line b { color: #fff; }
.sub-fine { font-size: .88rem; color: var(--cream-soft); margin: 14px 0 0; }
.btn-line-light { border-color: rgba(245, 235, 225, .45); color: var(--egg); background: transparent; }
.btn-line-light:hover { background: rgba(245, 235, 225, .08); }
.btn-text-light { background: none; border: 0; color: var(--egg); text-decoration: underline; cursor: pointer; padding: 10px 0 0; font: inherit; font-size: .92rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-light); border-radius: 14px; background: var(--egg); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.tbl th { font-weight: 700; background: var(--egg-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .btn-text { padding: 0; }
.muted { color: var(--ink-soft); }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 30, 20, .55); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: var(--egg); border-radius: 22px; padding: 28px; max-width: 440px; width: 100%; }
.modal-box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.modal-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.demo-pay { margin-top: 16px; border: 1.5px dashed var(--orange); border-radius: 16px; padding: 18px; background: rgba(255, 100, 0, .05); }
.demo-pay[hidden] { display: none; }
.demo-pay p { font-size: .93rem; color: var(--ink-soft); }
.demo-pay a { color: var(--ink); font-weight: 700; }

/* admin */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line-light); margin-bottom: 22px; }
.tabs [role=tab] { background: none; border: 0; padding: 12px 16px; font: inherit; font-weight: 500; color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs [role=tab][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--orange); color: var(--bottle); font-size: .75rem; font-weight: 700; padding: 0 6px; }
.badge:empty { display: none; }
.todo-strip { display: grid; gap: 8px; margin-bottom: 18px; }
.todo-item { border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.todo-item.grant { background: #FFE3CC; } .todo-item.remove { background: #FFD3C2; } .todo-item.none { background: var(--egg-2); color: var(--ink-soft); }
.row-grant td { background: #FFF1E5; } .row-remove td { background: #FFE6DC; }
.tools-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tools-row input, .tools-row select { height: 44px; border-radius: 12px; border: 1px solid rgba(0, 50, 35, .3); background: #fff; padding: 0 12px; font: inherit; color: var(--ink); }
.tools-row input { flex: 1; min-width: 220px; }
.tbl-adm textarea { width: 160px; min-height: 36px; border-radius: 8px; border: 1px solid var(--line-light); font: inherit; font-size: .88rem; padding: 6px 8px; resize: vertical; }
.sw input { width: 20px; height: 20px; accent-color: var(--bottle); }
.sim summary { cursor: pointer; font-size: .85rem; color: var(--ink-soft); }
.sim button { display: block; margin-top: 6px; background: none; border: 1px solid var(--line-light); border-radius: 8px; padding: 4px 8px; font: inherit; font-size: .82rem; cursor: pointer; white-space: nowrap; }
.sub-h { font-size: 1.1rem; margin: 28px 0 10px; }
.lead-sm { color: var(--ink-soft); margin-bottom: 16px; }
.mail-list { display: grid; gap: 8px; }
.mail { border: 1px solid var(--line-light); border-radius: 12px; background: var(--egg); }
.mail summary { cursor: pointer; padding: 12px 14px; display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; align-items: center; }
@media (max-width: 700px) { .mail summary { grid-template-columns: 1fr; gap: 2px; } }
.mail-to { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; }
.mail-subj { font-weight: 700; }
.mail-meta { font-size: .8rem; color: var(--ink-soft); }
.mail pre { white-space: pre-wrap; font-family: var(--f-body); margin: 0; padding: 0 14px 14px; color: var(--ink-soft); }

.panel-note { background: var(--egg); border: 1px solid var(--line-light); border-radius: 16px; padding: 20px; max-width: 760px; }
.panel-note code { background: var(--egg-2); border-radius: 6px; padding: 1px 6px; font-family: var(--f-mono); font-size: .88em; }
.scroll-hint.ok { background: none; }
[hidden] { display: none !important; }

.ed-list { display: grid; gap: 10px; margin-bottom: 8px; }
.ed-row { border: 1px solid var(--line-light); border-radius: 14px; padding: 12px 14px; background: var(--egg); display: grid; grid-template-columns: 160px 1fr 1.6fr auto; gap: 10px; align-items: end; }
.ed-row.step { grid-template-columns: 1fr 2fr auto; }
.ed-row .field { margin: 0; }
.ed-row .field.light input { height: 44px; }
@media (max-width: 800px) { .ed-row, .ed-row.step { grid-template-columns: 1fr; } }
#cTerms { font-family: var(--f-mono); font-size: .85rem; }
.gsi-box { min-height: 44px; display: flex; justify-content: center; }

/* ---------- critique fixes (19/10) ---------- */
@media (max-width: 900px) { .price-card { position: static; } }          /* was overridden by the later sticky rule */
#admApp, #admApp [role=tabpanel], .table-wrap { min-width: 0; max-width: 100%; }
.typed-sig { margin-top: 12px; }
.need { margin: 8px 0 0; font-size: .9rem; color: var(--ink-soft); min-height: 1.4em; }
#payLocked { color: var(--ink-soft) !important; }
.field.light input:focus-visible, .field.light textarea:focus-visible, .tools-row input:focus-visible, .tools-row select:focus-visible { outline: 2px solid var(--bottle); outline-offset: 2px; }
.nav-admin { margin-inline-start: auto; display: flex; }
.undo-bar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 90; max-width: 520px; margin-inline: auto; background: var(--bottle); color: var(--egg); border-radius: 14px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0, 30, 20, .3); }
.undo-bar .btn-text { color: var(--egg); font-weight: 700; min-height: 44px; }
h2.sub-h { font-size: 1.1rem; font-weight: 700; }
@media (max-width: 860px) {
  .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .brand { min-height: 44px; }
  .sim button, .tbl .btn-text, .btn-text { min-height: 44px; }
  .check { padding: 6px 0; }
  .check input { width: 24px; height: 24px; }
  .tbl-adm textarea { min-height: 44px; }
}
@media (max-width: 860px) {
  .nav.nav-admin { position: static; inset: auto; flex-direction: row; padding: 0; background: none; border: 0; transform: none; opacity: 1; visibility: visible; }
  .nav.nav-admin a { border: 0; padding: 10px 8px; font-size: 1rem; min-height: 44px; display: inline-flex; align-items: center; }
}
.table-wrap { position: relative; } /* keeps absolutely positioned sr-only labels inside the scroll box */

/* invite flow (19/10) */
.pending-card { background: var(--bottle); color: var(--egg); border-radius: 24px; padding: clamp(22px, 4vw, 36px); max-width: 640px; }
.pending-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.pending-card p { color: var(--cream-soft); }
.pending-card .price { color: var(--egg); margin: 18px 0 22px; }
.invite { background: var(--egg); border: 1px solid var(--line-light); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.invite-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; }
.invite-row .field { margin: 0; }
@media (max-width: 760px) { .invite-row { grid-template-columns: 1fr; } }

.key-login { margin-top: 18px; } .key-login summary { cursor: pointer; color: var(--ink-soft); font-size: .92rem; min-height: 44px; display: flex; align-items: center; }
.key-login .field { margin-top: 8px; }

/* trades on phones: two compact cards side by side (19/10) */
@media (max-width: 600px) {
  .trades { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trade { border-radius: 14px; }
  .trade figcaption { padding: 10px 10px 12px; gap: 2px 8px; font-size: .74rem; line-height: 1.45; }
  .trade dd.txt { font-size: .72rem; }
  .bt-tag { top: 6px; inset-inline-start: 6px; font-size: .62rem; padding: 1px 7px; }
  .tchart .exit { r: 3.5; }
  .trade .pic-row { display: none; }
}
@media (max-width: 360px) {
  .trade figcaption { grid-template-columns: 1fr; }
  .trade dt { margin-top: 4px; }
}

/* purchase section (20/10): GONG + TradingView, one clear action */
.buy { background: var(--bottle); color: var(--egg); overflow: hidden; position: relative; isolation: isolate; }
.buy-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.buy .kicker { color: var(--salad); }
.buy .h2 { margin-bottom: 26px; }
.buy-points { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.buy-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream-soft); font-size: 1.06rem; }
.buy-points b { color: var(--egg); font-weight: 700; }
.buy-points svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--salad); }
.buy-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }
.btn svg { width: 18px; height: 18px; }
.btn.is-soon { background: rgba(245, 235, 225, .14); color: var(--egg); cursor: default; }
.buy-soon { margin: 14px 0 0; color: var(--salad); font-size: .95rem; }
.buy-fine { margin: 22px 0 0; font-size: .85rem; color: var(--cream-soft); max-width: 52ch; }

.buy-art { display: grid; justify-items: center; gap: 18px; }
.buy-pair { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); direction: ltr; }
.buy-logo { position: relative; display: grid; place-items: center; width: clamp(104px, 14vw, 156px); aspect-ratio: 1; border-radius: 50%; }
.buy-logo.gong img { width: 100%; height: 100%; position: relative; z-index: 1; }
.buy-logo.gong .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--orange); opacity: 0; animation: ring 6s cubic-bezier(.2, .6, .3, 1) infinite; }
.buy-logo.gong .ring:nth-child(3) { animation-delay: 3s; }
.buy-logo.tv { background: none; }
.buy-logo.tv img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 18px 40px rgba(0, 20, 14, .35), 0 0 0 1px rgba(245, 235, 225, .18); }
/* same ripple as the gong, in the TradingView mark's white; offset so the two answer each other along the line */
.buy-logo.tv .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(245, 235, 225, .7); opacity: 0; animation: ring 6s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: 1.5s; }
.buy-logo.tv .ring:nth-child(3) { animation-delay: 4.5s; } /* official mark from tradingview.com/media-kit, unmodified */
.tv-word { font-family: var(--f-body); font-weight: 700; font-size: clamp(.9rem, 1.4vw, 1.15rem); color: #131722; letter-spacing: -.01em; }
.buy-link { width: clamp(40px, 7vw, 96px); height: 2px; position: relative; background: linear-gradient(90deg, var(--orange), rgba(245, 235, 225, .5)); border-radius: 2px; overflow: hidden; }
.buy-link span { position: absolute; inset: 0; width: 30%; background: linear-gradient(90deg, transparent, #fff, transparent); animation: buyFlow 2.8s ease-in-out infinite; }
@keyframes buyFlow { from { transform: translateX(-120%); } to { transform: translateX(380%); } }
.buy-caption { margin: 0; font-family: var(--f-mono); font-size: .85rem; letter-spacing: .04em; color: var(--cream-soft); }
.buy-caption span { color: var(--orange); }
.nav .nav-buy { color: var(--bottle); background: var(--orange); border-radius: 999px; padding: 8px 16px; opacity: 1; font-weight: 700; margin-inline-start: 6px; }
.nav .nav-buy:hover { background: #ff7a24; }
@media (max-width: 860px) { .nav .nav-buy { background: none; color: var(--orange); border-radius: 0; padding: 14px 8px; margin: 0; } }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } .buy-art { order: -1; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .buy-link span, html:not(.force-motion) .buy-logo .ring { animation: none; display: none; } }
.nowrap { white-space: nowrap; }

.hero-meet { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--egg); font-size: .98rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(245, 235, 225, .45); opacity: 0; animation: fadeIn .9s 2.5s forwards; }
.hero-meet:hover { text-decoration-color: var(--orange); }

.hero-note { flex-wrap: wrap; }
.note-link { color: var(--orange); font-weight: 700; text-decoration: none; margin-inline-start: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.note-link:hover { text-decoration: underline; }

.bt-tag-inline { font-style: normal; font-size: .72rem; font-weight: 700; background: rgba(245, 235, 225, .14); color: var(--egg); border-radius: 999px; padding: 2px 9px; margin-inline-start: 6px; white-space: nowrap; vertical-align: middle; }

.trade-sum { grid-template-columns: minmax(0, 520px); }
/* trades page figures: common block + account-type tabs */
.gstats { display: grid; gap: 18px; margin-bottom: 26px; }
.gs-block { background: var(--egg); border: 1px solid var(--line-light); border-radius: 18px; padding: 20px 22px; }
.gs-lead { margin: 0 0 14px; font-size: .92rem; color: var(--ink-soft); }
.wcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.wcard { background: #fff; border: 1px solid var(--line-light); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.wcard h3 { font-size: 1.02rem; margin: 0; }
.wcard-dates { margin: 0; font-size: .8rem; color: var(--ink-soft); text-align: start; }
.wcard-sum { font-family: var(--f-head); font-size: clamp(1.6rem, 3.6vw, 2rem); line-height: 1.15; text-align: start; margin: 4px 0 6px; }
.wcard-sum.neg { color: #A3361E; }
.wcard dl { margin: 0; display: grid; gap: 0; }
.wcard dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-light); font-size: .9rem; }
.wcard dt { color: var(--ink-soft); } .wcard dd { margin: 0; font-weight: 700; }
.wcard .pf { font-size: .82rem; } .wcard .pf dt { text-decoration: underline dotted; cursor: help; }
.gs-title { font-family: var(--f-head); font-size: 1.25rem; margin: 0 0 12px; }
.gs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.gs-cell { background: #fff; border: 1px solid var(--line-light); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.gs-cell b { font-family: var(--f-head); font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.15; text-align: start; }
.gs-cell span { font-size: .88rem; color: var(--ink-soft); }
.gs-note { margin: 12px 0 0; font-size: .82rem; color: var(--ink-soft); }
.gs-sub { margin: 14px 0 6px; font-size: .9rem; }
.gs-years { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gs-years li { background: #fff; border: 1px solid var(--line-light); border-radius: 10px; padding: 6px 12px; display: grid; gap: 0; min-width: 84px; }
.gs-years span { font-size: .8rem; color: var(--ink-soft); }
.gs-years b { font-size: 1rem; text-align: start; } .gs-years b.neg { color: #A3361E; }
.gs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: -8px; }
.gs-tabs button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bottle); background: transparent; color: var(--bottle); cursor: pointer; }
.gs-tabs button[aria-selected="true"] { background: var(--bottle); color: var(--egg); }

/* GSAP: buy line fill (scaleX 0 -> 1 on scroll); without GSAP the fill is simply full */
.buy-link { background: rgba(245, 235, 225, .16); }
.buy-link i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), rgba(245, 235, 225, .65)); transform-origin: 0 50%; }
.buy-link span { z-index: 1; }


/* dim GONG discs behind the home sections (position/size/angle set inline per section) */
#how, #trades, #faq, #meet, #buy, #promo { position: relative; overflow: clip; isolation: isolate; }
#how > .wrap, #trades > .wrap, #faq > .wrap, #meet > .wrap, #buy > .wrap, #promo > .wrap { position: relative; z-index: 1; }
.sec-disc { position: absolute; z-index: 0; width: var(--size); height: auto; rotate: var(--rot, 0deg); opacity: var(--op, .07); pointer-events: none; }
@media (max-width: 900px) { #buy .buy-bg { top: 1% !important; right: -22% !important; width: min(110vw, 460px); } }

/* (trial) the gong strike: wrapper + burst rings + flash, animated by GSAP in main.js */
.hg-inner { position: absolute; inset: 0; display: block; }
.strike-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; pointer-events: none; }
.strike-flash { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 100, 0, .5), rgba(255, 100, 0, 0)); opacity: 0; pointer-events: none; }

/* (trial, ?gong=travel) the traveling gong: one copy over the page; the opening gong and the purchase logo hide until it lands */
.gong-traveler { position: absolute; left: 0; top: 0; z-index: 40; width: 200px; height: 200px; transform-origin: 50% 50%; pointer-events: none; will-change: transform;
  opacity: 0; animation: fadeIn 1.2s .4s forwards; }
.gong-travel main { position: relative; overflow-x: clip; }
.gong-travel .hero-gong img, .gong-travel .hero-gong::before { visibility: hidden; }
.gong-travel .buy-logo.gong img { opacity: 0; }
.gong-travel.gong-landed .buy-logo.gong img { opacity: 1; }
.gong-travel.gong-landed .gong-traveler { visibility: hidden; }

/* public price in the purchase section */
.buy-price { margin: 0 0 26px; display: grid; gap: 4px; justify-items: start; }
.price-tag { display: inline-block; background: var(--orange); color: var(--bottle); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 4px 12px; }
.price-big { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; }
.price-big b { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--egg); }
.price-big > span { color: var(--cream-soft); font-size: 1.1rem; }
.price-note { margin: 0; color: var(--salad); font-size: .98rem; }

/* the small price asterisk and its note */
.star { font-size: .55em; vertical-align: super; line-height: 0; margin-inline-start: 2px; color: var(--orange); text-decoration: none; font-weight: 700; }
.price-big .star { font-size: .45em; vertical-align: super; margin-inline-start: 3px; }
.price-star { margin: 8px 0 0; font-size: .8rem; color: var(--cream-soft); max-width: 52ch; line-height: 1.5; }

/* installation guide steps */
.guide-list { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 8px; color: var(--ink); }
.guide-list li::marker { color: var(--orange); font-weight: 700; }

/* members area guide: account choice + message builder */
.broker-pick { border: 0; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.broker-pick legend { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; padding: 0; margin-bottom: 12px; }
.bp-opt { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px 18px 16px 44px; border: 1.5px solid var(--line-light); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; min-height: 44px; }
[dir="rtl"] .bp-opt { padding: 16px 18px 16px 44px; }
.bp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bp-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); justify-self: start; }
.bp-sub { font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }
.bp-check { position: absolute; top: 16px; left: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-light); background: #fff; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.bp-opt:hover { border-color: var(--bottle); }
.bp-opt:has(input:checked) { border-color: var(--orange); background: #FFF6EE; box-shadow: 0 0 0 3px rgba(255, 100, 0, .14); }
.bp-opt:has(input:checked) .bp-check { border-color: var(--orange); background: var(--orange); }
.bp-opt:has(input:checked) .bp-check::after { content: ''; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.bp-opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.msg-gen { margin-top: 14px; border: 1px solid var(--line-light); background: var(--egg); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.mg-row { display: flex; align-items: flex-end; gap: 10px; }
.mg-row .field { flex: 1; margin: 0; }
.msg-gen .btn-text { justify-self: start; min-height: 44px; }
.mg-label { font-weight: 700; margin-top: 6px; }
#mgOut { width: 100%; font-family: var(--f-mono); font-size: .8rem; line-height: 1.5; border: 1px solid var(--line-light); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink); resize: vertical; }
.mg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mg-safe { margin: 0; font-size: .85rem; color: var(--ink-soft); }
#gEmail:placeholder-shown { direction: rtl; } /* the Hebrew hint sits on the right; typed email stays LTR */

/* promo video: a phone frame next to a short text */
.promo { background: var(--egg-2, #EFE3D6); }
.promo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.promo-note { margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); }
.promo-phone-wrap { display: grid; justify-items: center; perspective: 1200px; }
.promo-phone { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 16; border-radius: 38px; padding: 10px; background: #0b1f18;
  box-shadow: 0 30px 60px rgba(0, 30, 20, .35), 0 0 0 1px rgba(255, 255, 255, .06) inset; will-change: transform; }
.promo-phone::before { content: ''; position: absolute; inset: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 100, 0, .22), rgba(255, 100, 0, 0)); }
.promo-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: var(--bottle); }
.promo-sound { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: rgba(0, 50, 35, .82); color: var(--egg); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; backdrop-filter: none; }
.promo-sound[aria-pressed="true"] { background: var(--orange); color: var(--bottle); }
.promo-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--orange); color: var(--bottle); cursor: pointer; display: grid; place-items: center; }
.promo-play svg { width: 34px; height: 34px; margin-inline-start: 4px; }
.promo-play[hidden] { display: none; }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; } .promo-phone-wrap { order: -1; } }

/* admin: weekly availability grid (select when you are free) */
.avail-tools { margin: 0 0 6px; }
.avail-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--line-light); border-radius: 12px; background: #fff; }
.avail-grid { display: grid; grid-template-columns: 56px repeat(7, minmax(54px, 1fr)); min-width: 460px; user-select: none; touch-action: none; }
.ag-corner, .ag-day { position: sticky; top: 0; z-index: 2; background: var(--egg); padding: 8px 4px; font-weight: 700; font-size: .85rem; text-align: center; border-bottom: 1px solid var(--line-light); }
.ag-time { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); padding: 0 6px; text-align: end; transform: translateY(-.6em); }
.ag-cell { height: 22px; border: 0; border-inline-start: 1px solid #eee4d9; border-top: 1px solid #f3ebe2; background: #fff; cursor: pointer; padding: 0; }
.ag-cell:hover { background: #ffe9d9; }
.ag-cell.on { background: var(--orange); border-top-color: rgba(255, 255, 255, .35); }
.ag-cell:focus-visible { outline: 2px solid var(--bottle); outline-offset: -2px; }
.blocked-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--egg-2); font-size: .9rem; }
.chip-x { border: 0; background: none; font-size: 1.1rem; line-height: 1; cursor: pointer; min-width: 28px; min-height: 28px; }
.avail-save { margin-top: 18px; }

/* guide: three bridges + reminder */
.broker-pick { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .broker-pick { grid-template-columns: 1fr; } }
.bp-soon { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--egg-2); color: var(--ink-soft); font-size: .75rem; font-weight: 700; vertical-align: middle; }
.tp-soon-note { margin: -8px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--egg-2); font-size: .92rem; }
.bridge-check { display: block; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--orange); background: #FFF6EE; }
.tp-line { font-family: var(--f-mono); background: var(--egg-2); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }

/* language button + English (left-to-right) pages */
.nav .lang-switch { border: 1px solid rgba(245, 235, 225, .35); border-radius: 999px; padding: 6px 12px; font-size: .85rem; opacity: 1; }
.site-head.solid .nav .lang-switch { border-color: rgba(245, 235, 225, .35); }
@media (max-width: 860px) { .nav .lang-switch { border: 0; padding: 14px 8px; } }
@media (max-width: 900px) { [dir="ltr"] #buy .buy-bg { right: auto !important; left: -22% !important; } }
html[lang="en"] .words { font-size: clamp(2.4rem, 10.2vw, 6.2rem); } /* English lines are longer than the Hebrew ones */
html[lang="en"] .words span { white-space: normal; } /* "The bell that opens" does not fit one phone line */

/* members area: sign in with the TradingView username */
.member-form { display: grid; gap: 12px; max-width: 460px; }
.member-form .btn { justify-self: start; }
.member-out { margin: 0 0 22px; font-size: .95rem; color: var(--ink-soft); }
#tvNew:not(:placeholder-shown) { direction: ltr; text-align: left; } /* admin: usernames are typed left to right; the Hebrew hint stays right to left */
