/* ==========================================================================
   RoutinePoint marketing site — design tokens
   Base: skill theme t001 "Editorial Dark", re-tinted to RoutinePoint's real
   in-app brand tokens (see DESIGN-RATIONALE.md, "Final palette").
   ========================================================================== */

:root{
  --bg:#170D10;
  --surface:#241319;
  --surface-2:#2E1620;
  --surface-border:rgba(243,236,227,0.10);
  --text:#F3ECE3;
  --muted:#C2A199;
  --gold:#D99A5B;
  --gold-rgb:217,154,91;
  --copper:#B87333;
  --copper-rgb:184,115,51;
  --rose:#A8626B;
  --rose-rgb:168,98,107;
  --success:#7FB88A;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-pill:999px;
  --shadow-card:0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 30px -14px rgba(0,0,0,0.55);
  --shadow-lift:0 20px 40px -16px rgba(0,0,0,0.65);
  --container:1180px;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'JetBrains Mono', 'SF Mono', Monaco, Consolas, Arial, sans-serif;
}

/* Google Fonts' default subset for Inter/JetBrains Mono excludes the ₪
   (Israeli shekel, U+20AA) codepoint. Patch it in from a local system font
   without affecting any other glyph. */
@font-face{ font-family:'Inter'; src:local('Arial'), local('Segoe UI'); unicode-range:U+20AA; }
@font-face{ font-family:'JetBrains Mono'; src:local('Arial'), local('Consolas'); unicode-range:U+20AA; }
@font-face{ font-family:'Fraunces'; src:local('Arial'), local('Georgia'); unicode-range:U+20AA; }

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 0.5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 4.5vw, 3.6rem); font-weight:500; }
h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--muted); }
p:last-child{ margin-bottom:0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }
.section-eyebrow{
  display:inline-block; font-family:var(--font-mono); font-size:0.72rem;
  letter-spacing:0.14em; text-transform:uppercase; color:var(--gold);
  margin-bottom:14px;
}
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head p{ font-size:1.05rem; }

/* Skip link — accessibility, guides/14 */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--gold); color:#1c1008;
  padding:12px 20px; border-radius:0 0 8px 0; z-index:1000; font-weight:600;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }

/* ---------------- Nav ---------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(23,13,16,0.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--surface-border);
  transition:padding 220ms ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; transition:height 220ms ease; }
.site-header.is-shrunk .container{ height:58px; }
.brand{ font-family:var(--font-display); font-size:1.3rem; font-weight:600; display:flex; align-items:center; gap:8px; }
.brand .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); }
.brand span.accent{ color:var(--gold); }

.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-size:0.92rem; color:var(--muted); position:relative; padding:6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold); transition:width 220ms ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.is-active{ color:var(--text); }
.nav-links a.is-active::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--surface-border); color:var(--text);
  width:40px; height:40px; border-radius:var(--radius-sm); cursor:pointer;
}

.mobile-panel{
  display:none; position:fixed; inset:58px 0 0 0; background:var(--bg); z-index:99;
  padding:24px; overflow-y:auto;
}
.mobile-panel.is-open{ display:block; }
.mobile-panel a{ display:block; padding:16px 0; border-bottom:1px solid var(--surface-border); font-size:1.1rem; }

@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-actions .btn{ display:none; }
}

/* ---------------- Language switcher ---------------- */
.lang-switch{ position:relative; }
.lang-btn{
  display:flex; align-items:center; gap:6px; background:none; border:1px solid var(--surface-border);
  color:var(--text); padding:9px 14px; border-radius:var(--radius-pill); font-size:0.86rem; cursor:pointer;
  font-family:var(--font-body);
}
.lang-btn:hover{ border-color:rgba(var(--gold-rgb),0.4); color:var(--gold); }
.lang-menu{
  display:none; position:absolute; top:calc(100% + 8px); inset-inline-end:0; min-width:190px; max-width:220px;
  max-height:340px; overflow-y:auto;
  background:var(--surface); border:1px solid var(--surface-border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lift); padding:6px; z-index:50;
}
.lang-menu.is-open{ display:block; }
.lang-menu button{
  display:block; width:100%; text-align:start; background:none; border:none; color:var(--muted);
  padding:10px 12px; border-radius:var(--radius-sm); font-size:0.9rem; cursor:pointer; font-family:var(--font-body);
}
.lang-menu button:hover{ background:var(--surface-2); color:var(--text); }
.lang-menu button.is-current{ color:var(--gold); font-weight:600; }
.mobile-lang-row{ display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
.mobile-lang-row button{
  flex:0 0 auto; padding:10px 16px; border-radius:var(--radius-pill); border:1px solid var(--surface-border);
  background:none; color:var(--text); font-family:var(--font-body); font-size:0.86rem; cursor:pointer;
}
.mobile-lang-row button.is-current{ border-color:var(--gold); color:var(--gold); }
@media (max-width:860px){ .lang-switch{ display:none; } }

/* ---------------- Hebrew/Arabic: swap to a typeface with real coverage.
   CJK / Thai / Devanagari fall through to the existing sans-serif system
   fallback already at the end of each font stack (matches the app's own
   approach: one loaded display font, system fallback for scripts it lacks). */
html[lang="he"] body, html[lang="ar"] body,
html[lang="he"] h1, html[lang="ar"] h1, html[lang="he"] h2, html[lang="ar"] h2,
html[lang="he"] h3, html[lang="ar"] h3, html[lang="he"] h4, html[lang="ar"] h4,
html[lang="he"] .brand, html[lang="ar"] .brand, html[lang="he"] .btn, html[lang="ar"] .btn,
html[lang="he"] .lang-btn, html[lang="ar"] .lang-btn, html[lang="he"] .lang-menu button, html[lang="ar"] .lang-menu button{
  font-family:'Rubik', sans-serif;
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:0.92rem;
  padding:13px 24px; border-radius:var(--radius-pill); border:1px solid transparent;
  cursor:pointer; white-space:nowrap; position:relative; overflow:hidden;
  transition:transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{
  background:linear-gradient(180deg, var(--gold), var(--copper));
  color:#211008;
}
.btn-primary:hover{ box-shadow:0 10px 26px -10px rgba(var(--gold-rgb),0.55); }
.btn-ghost{
  background:transparent; border-color:var(--surface-border); color:var(--text);
}
.btn-ghost:hover{ border-color:rgba(var(--gold-rgb),0.5); color:var(--gold); }
.btn-lg{ padding:16px 30px; font-size:1rem; }
.btn-block{ width:100%; }

/* Button Sheen Sweep (a060) — reserved for primary CTAs only */
.btn-primary.btn-sheen::before{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform:skewX(-20deg);
}
.btn-primary.btn-sheen:hover::before{ animation:sheenSweep 900ms ease forwards; }

/* ---------------- Cards ---------------- */
.card{
  background:var(--surface); border:1px solid var(--surface-border);
  border-radius:var(--radius-lg); padding:28px; box-shadow:var(--shadow-card);
}
.card-lift{ transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card-lift:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); border-color:rgba(var(--gold-rgb),0.35); }

.card-glow{ position:relative; }
.card-glow::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:linear-gradient(135deg, rgba(var(--gold-rgb),0.9), rgba(var(--copper-rgb),0.1), rgba(var(--gold-rgb),0.9));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity 260ms ease;
}
.card-glow:hover::before{ opacity:1; }

/* ---------------- Grids ---------------- */
.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

/* ---------------- Hero ---------------- */
.hero{ padding:72px 0 40px; }
.hero-split{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-split{ grid-template-columns:1fr; } }
.hero-eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.hero-eyebrow .pill{
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.08em;
  background:rgba(var(--gold-rgb),0.14); color:var(--gold); padding:6px 12px; border-radius:var(--radius-pill);
}
.hero h1{ margin-bottom:22px; }
.hero h1 .word{ display:inline-block; }
.hero-sub{ font-size:1.12rem; max-width:480px; margin-bottom:32px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-proof{ display:flex; align-items:center; gap:12px; color:var(--muted); font-size:0.88rem; }
.hero-proof strong{ color:var(--text); font-family:var(--font-body); font-weight:700; }

/* Product mockup — hand-built recreation of the real app UI, using the
   same tokens, never a stock illustration (see DESIGN-RATIONALE.md). */
.mockup{
  background:var(--surface); border:1px solid var(--surface-border);
  border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-lift);
  transform:perspective(1400px) rotateY(-4deg) rotateX(1deg);
}
.mockup-bar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.mockup-bar .who{ display:flex; align-items:center; gap:10px; font-size:0.85rem; color:var(--muted); }
.mockup-bar .avatar{
  width:26px; height:26px; border-radius:50%; background:linear-gradient(145deg,var(--copper),var(--gold));
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; color:#241319; font-weight:700;
}
.mockup-title{ font-family:var(--font-display); font-size:1rem; color:var(--text); margin-bottom:14px; }
.mockup-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:16px; }
.mockup-cal .d{
  aspect-ratio:1; border-radius:8px; background:var(--surface-2); display:flex; align-items:center;
  justify-content:center; font-size:0.72rem; color:var(--muted); opacity:0;
}
.mockup-cal .d.sel{ background:var(--gold); color:#241319; font-weight:700; }
.mockup-cal .d.dot{ position:relative; }
.mockup-cal .d.dot::after{ content:""; position:absolute; bottom:3px; width:4px; height:4px; border-radius:50%; background:var(--copper); }
.mockup-row{
  display:flex; align-items:center; justify-content:space-between; background:var(--surface-2);
  border-radius:var(--radius-md); padding:12px 14px; margin-bottom:8px; opacity:0; transform:translateY(6px);
}
.mockup-row .time{ font-family:var(--font-body); font-variant-numeric:tabular-nums; color:var(--gold); font-size:0.82rem; width:52px; }
.mockup-row .info{ flex:1; padding:0 10px; }
.mockup-row .info b{ display:block; font-size:0.86rem; }
.mockup-row .info span{ font-size:0.74rem; color:var(--muted); }
.mockup-row .amt{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:0.82rem; color:var(--success); }

/* ---------------- Who we are ---------------- */
.who-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:start; }
@media (max-width:900px){ .who-grid{ grid-template-columns:1fr; } }
.who-quote{
  background:var(--surface); border:1px solid var(--surface-border); border-radius:var(--radius-lg);
  padding:36px 32px; box-shadow:var(--shadow-card); position:relative;
}
.who-quote-mark{
  font-family:var(--font-display); font-size:3.2rem; line-height:1; color:var(--gold);
  opacity:0.5; margin-bottom:4px;
}
.who-quote-text{ font-family:var(--font-display); font-size:1.2rem; line-height:1.5; color:var(--text); font-weight:500; }
.who-quote-attr{ margin-top:18px; font-size:0.82rem; color:var(--muted); font-family:var(--font-mono); }

/* ---------------- Stats strip ---------------- */
.stats{ display:flex; gap:48px; flex-wrap:wrap; padding:40px 0; border-top:1px solid var(--surface-border); border-bottom:1px solid var(--surface-border); }
.stat b{
  display:block; font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:2rem;
  color:var(--text); font-weight:700;
}
.stat span{ font-size:0.85rem; color:var(--muted); }

/* ---------------- Feature / audience split ---------------- */
.audience-tag{
  display:inline-flex; align-items:center; gap:8px; font-size:0.8rem; color:var(--muted);
  border:1px solid var(--surface-border); padding:6px 14px; border-radius:var(--radius-pill); margin-bottom:16px;
}
.audience-tag.customer{ border-color:rgba(var(--rose-rgb),0.4); color:var(--rose); }
.audience-tag.business{ border-color:rgba(var(--gold-rgb),0.4); color:var(--gold); }

.feature-row{ display:grid; grid-template-columns:44px 1fr; gap:16px; padding:18px 0; border-bottom:1px solid var(--surface-border); }
.feature-row:last-child{ border-bottom:none; }
.feature-icon{
  width:44px; height:44px; border-radius:var(--radius-sm); background:var(--surface-2);
  display:flex; align-items:center; justify-content:center; color:var(--gold);
}
.feature-row h4{ font-family:var(--font-body); font-weight:700; font-size:0.98rem; margin-bottom:4px; color:var(--text); }
.feature-row p{ font-size:0.92rem; margin:0; }

/* ---------------- Walkthrough (How it works) ---------------- */
.walk-step{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; padding:64px 0;
  border-bottom:1px solid var(--surface-border);
}
.walk-step:last-child{ border-bottom:none; }
.walk-step.reverse{ direction:rtl; }
.walk-step.reverse > *{ direction:ltr; }
.walk-num{ font-family:var(--font-mono); color:var(--gold); font-size:0.8rem; letter-spacing:0.1em; margin-bottom:10px; display:block; }
@media (max-width:820px){ .walk-step,.walk-step.reverse{ grid-template-columns:1fr; direction:ltr; } }

.video-slot{
  position:relative; aspect-ratio:16/10; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--surface); border:1px solid var(--surface-border);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card);
}
.video-slot .play{
  width:64px; height:64px; border-radius:50%; background:rgba(var(--gold-rgb),0.16);
  border:1px solid rgba(var(--gold-rgb),0.4); display:flex; align-items:center; justify-content:center;
  color:var(--gold); cursor:pointer; transition:transform 200ms ease, background 200ms ease;
}
.video-slot .play:hover{ transform:scale(1.08); background:rgba(var(--gold-rgb),0.26); }
.video-slot .label{ position:absolute; bottom:14px; left:14px; font-size:0.72rem; color:var(--muted); font-family:var(--font-mono); }

/* ---------------- Live demo player (replaces static video with a real,
   looping, pausable recreation of the step being described) ---------------- */
.demo-player{ padding:28px; align-items:stretch; }
.demo-frame{ width:100%; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.demo-toggle{
  position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%;
  background:rgba(var(--gold-rgb),0.14); border:1px solid rgba(var(--gold-rgb),0.35); color:var(--gold);
  cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:0.8rem;
  transition:background 200ms ease;
}
.demo-toggle:hover{ background:rgba(var(--gold-rgb),0.26); }
.demo-fade{ animation:demoFadeIn 380ms ease both; }
@keyframes demoFadeIn{ from{ opacity:0; transform:translateY(4px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){ .demo-fade{ animation:none; } }

.demo-row{ display:flex; align-items:center; justify-content:space-between; background:var(--surface-2); border-radius:var(--radius-md); padding:11px 14px; font-size:0.86rem; }
.demo-row.dim{ opacity:0.45; }
.demo-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.demo-chip{ padding:9px 16px; border-radius:var(--radius-pill); background:var(--surface-2); border:1px solid var(--surface-border); font-size:0.84rem; font-family:var(--font-body); font-variant-numeric:tabular-nums; }
.demo-chip.sel{ background:var(--gold); color:#211008; border-color:var(--gold); font-weight:700; }
.demo-check{ color:var(--success); font-weight:700; }
.demo-toast{ display:inline-flex; align-items:center; gap:8px; background:rgba(127,184,138,0.14); border:1px solid rgba(127,184,138,0.4); color:var(--success); padding:9px 16px; border-radius:var(--radius-pill); font-size:0.84rem; align-self:flex-start; }
.demo-field{ background:var(--surface-2); border-radius:var(--radius-md); padding:11px 14px; }
.demo-field label{ display:block; font-size:0.72rem; color:var(--muted); margin-bottom:4px; }
.demo-field b{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:0.94rem; }
.demo-total{ display:flex; justify-content:space-between; font-family:var(--font-body); font-variant-numeric:tabular-nums; font-weight:700; font-size:1.1rem; border-top:1px solid var(--surface-border); padding-top:12px; margin-top:4px; }
.demo-badge{ font-family:var(--font-mono); font-size:0.7rem; color:var(--gold); letter-spacing:0.06em; text-transform:uppercase; }

/* ---------------- Pricing ---------------- */
.plan-card{ display:flex; flex-direction:column; gap:18px; }
.plan-card .price{ font-family:var(--font-body); font-variant-numeric:tabular-nums; font-size:2.2rem; color:var(--text); font-weight:700; }
.plan-card .price span{ font-size:0.9rem; color:var(--muted); font-family:var(--font-body); }
.plan-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.plan-list li{ display:flex; gap:10px; font-size:0.9rem; color:var(--muted); align-items:flex-start; }
.plan-list li::before{ content:"✓"; color:var(--success); font-weight:700; flex-shrink:0; }
.plan-card.featured{ border-color:rgba(var(--gold-rgb),0.5); background:var(--surface-2); }
.plan-badge{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; color:var(--gold); text-transform:uppercase; }

/* ---------------- Forms ---------------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.84rem; color:var(--muted); margin-bottom:8px; }
.field input,.field textarea,.field select{
  width:100%; background:var(--surface-2); border:1px solid var(--surface-border); color:var(--text);
  border-radius:var(--radius-sm); padding:13px 14px; font-family:var(--font-body); font-size:0.94rem;
}
.field input:focus,.field textarea:focus{ border-color:var(--gold); outline:none; }
.field textarea{ min-height:120px; resize:vertical; }
.form-card{ max-width:460px; margin:0 auto; }
.form-note{ text-align:center; font-size:0.84rem; margin-top:18px; }
.form-note a{ color:var(--gold); }
.tab-switch{ display:flex; background:var(--surface-2); border-radius:var(--radius-pill); padding:4px; margin-bottom:28px; }
.tab-switch button{
  flex:1; border:none; background:transparent; color:var(--muted); padding:10px; border-radius:var(--radius-pill);
  font-family:var(--font-body); font-weight:600; font-size:0.86rem; cursor:pointer; transition:all 200ms ease;
}
.tab-switch button.is-active{ background:var(--gold); color:#211008; }

/* How-it-works audience picker */
.hiw-tabs{ display:flex; gap:6px; max-width:640px; margin-top:28px; background:var(--surface-2); border:1px solid var(--surface-border); border-radius:var(--radius-pill); padding:5px; }
.hiw-tabs button{
  flex:1; border:none; background:transparent; color:var(--muted); padding:13px 16px; border-radius:var(--radius-pill);
  font-family:var(--font-body); font-weight:600; font-size:0.9rem; cursor:pointer; transition:background 200ms ease, color 200ms ease;
}
.hiw-tabs button:hover{ color:var(--text); }
.hiw-tabs button.is-active{ background:var(--gold); color:#211008; }
@media (max-width:560px){ .hiw-tabs{ flex-direction:column; border-radius:var(--radius-md); } .hiw-tabs button{ border-radius:var(--radius-sm); } }

.notice{
  background:rgba(var(--gold-rgb),0.1); border:1px solid rgba(var(--gold-rgb),0.3); border-radius:var(--radius-md);
  padding:14px 16px; font-size:0.84rem; color:var(--muted); display:flex; gap:10px; align-items:flex-start;
}

/* ---------------- Footer ---------------- */
.site-footer{ border-top:1px solid var(--surface-border); padding:64px 0 32px; margin-top:80px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-col h5{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:16px; }
.footer-col a{ display:block; font-size:0.9rem; color:var(--muted); padding:6px 0; }
.footer-col a:hover{ color:var(--gold); }
.footer-a11y{ text-align:center; }
.footer-a11y a{ color:var(--gold); }
.footer-a11y a:hover{ text-decoration:underline; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:24px; border-top:1px solid var(--surface-border); color:var(--muted); font-size:0.82rem; }

/* ---------------- Utility / prose (about, privacy, terms) ---------------- */
.prose{ max-width:760px; }
.prose h2{ margin-top:2em; }
.prose ul,.prose ol{ color:var(--muted); }
.prose li{ margin-bottom:0.5em; }
.eyebrow-page{ padding:56px 0 32px; }
.back-link{ display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:0.88rem; margin-bottom:14px; }
.back-link:hover{ color:var(--gold); }

.avatar-strip{ display:flex; }
.avatar-strip .a{
  width:34px; height:34px; border-radius:50%; border:2px solid var(--bg); margin-right:-10px;
  background:linear-gradient(145deg,var(--copper),var(--gold)); display:flex; align-items:center; justify-content:center;
  font-size:0.72rem; font-weight:700; color:#241319;
}

/* Reveal-on-scroll base state (a034 reveal mask, a026-style fallback) */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 640ms cubic-bezier(0.25,1,0.5,1), transform 640ms cubic-bezier(0.25,1,0.5,1); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ==========================================================================
   Accessibility toolbar (floating button + side panel)
   ========================================================================== */
html{ font-size:calc(100% * var(--a11y-fs, 1)); }

#a11y-root{ font-family:var(--font-body); }
.a11y-fab{
  position:fixed; right:18px; top:50%; transform:translateY(-50%); z-index:950;
  width:58px; height:58px; padding:0; border-radius:50%;
  display:grid; place-items:center; cursor:pointer; color:var(--gold);
  border:1.5px solid rgba(var(--gold-rgb),0.8);
  background:radial-gradient(circle at 30% 24%, #6A3044 0%, #431B2B 48%, #21101A 100%);
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.75), 0 0 0 5px rgba(var(--gold-rgb),0.10), inset 0 1px 0 rgba(255,255,255,0.16);
  transition:transform 220ms ease, box-shadow 220ms ease;
}
.a11y-fab:hover{ transform:translateY(calc(-50% - 2px)); box-shadow:0 18px 34px -10px rgba(0,0,0,0.8), 0 0 0 6px rgba(var(--gold-rgb),0.20), 0 0 22px rgba(var(--gold-rgb),0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
.a11y-fab svg{ width:30px; height:30px; fill:currentColor; filter:drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }

.a11y-panel{
  position:fixed; top:0; bottom:0; right:0; z-index:960; width:min(370px, 100vw);
  display:flex; flex-direction:column; color:var(--text);
  background:linear-gradient(180deg, #2C121C 0%, #1D0E15 55%, #150A0F 100%);
  border-left:1px solid rgba(var(--gold-rgb),0.4);
  box-shadow:-34px 0 70px -24px rgba(0,0,0,0.8);
  transform:translateX(104%); visibility:hidden;
  transition:transform 280ms ease, visibility 0s linear 280ms;
}
.a11y-panel.is-open{ transform:none; visibility:visible; transition:transform 280ms ease, visibility 0s; }
.a11y-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 22px; border-bottom:1px solid rgba(var(--gold-rgb),0.25); }
.a11y-head h2{ margin:0; font-size:1.3rem; font-family:var(--font-display); color:var(--gold); }
.a11y-x{ width:40px; height:40px; border-radius:50%; border:1px solid var(--surface-border); background:rgba(255,255,255,0.04); color:var(--text); font-size:1.4rem; line-height:1; cursor:pointer; }
.a11y-x:hover{ border-color:var(--gold); color:var(--gold); }
.a11y-body{ flex:1; overflow-y:auto; padding:18px; }
.a11y-size{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; margin-bottom:14px; border:1px solid var(--surface-border); border-radius:14px; background:rgba(255,255,255,0.03); font-weight:600; font-size:0.88rem; }
.a11y-size .a11y-ctrl{ display:flex; align-items:center; gap:10px; }
.a11y-size output{ min-width:3.2em; text-align:center; font-variant-numeric:tabular-nums; color:var(--gold); }
.a11y-step{ width:42px; height:42px; border-radius:50%; border:1px solid rgba(var(--gold-rgb),0.55); background:transparent; color:var(--gold); font-weight:700; font-size:0.95rem; cursor:pointer; }
.a11y-step:hover{ background:rgba(var(--gold-rgb),0.15); }
.a11y-step:disabled{ opacity:0.35; cursor:not-allowed; }
.a11y-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.a11y-opt{
  position:relative; min-height:58px; padding:10px 34px 10px 12px; text-align:start; cursor:pointer;
  border-radius:12px; border:1px solid var(--surface-border); background:rgba(255,255,255,0.03);
  color:var(--text); font:600 0.84rem/1.25 var(--font-body);
}
[dir="rtl"] .a11y-opt{ padding:10px 12px 10px 34px; }
.a11y-opt:hover{ border-color:rgba(var(--gold-rgb),0.6); }
.a11y-opt[aria-pressed="true"]{ background:linear-gradient(180deg, var(--gold), var(--copper)); color:#211008; border-color:transparent; }
.a11y-opt[aria-pressed="true"]::after{ content:"✓"; position:absolute; inset-inline-end:11px; top:9px; font-size:0.9rem; }
.a11y-foot{ display:flex; flex-direction:column; align-items:center; gap:12px; padding:16px 20px 22px; border-top:1px solid rgba(var(--gold-rgb),0.25); }
.a11y-link{ background:none; border:0; padding:6px 10px; cursor:pointer; font:600 0.92rem var(--font-body); color:var(--gold); text-decoration:underline; text-underline-offset:4px; }
.a11y-link:hover{ color:var(--text); }

/* -------- adjustment modes (classes set on <html>) -------- */
html.a11y-hc{
  --bg:#000; --surface:#000; --surface-2:#0d0d0d; --surface-border:#fff; --text:#fff; --muted:#fff;
  --gold:#ffd400; --gold-rgb:255,212,0; --copper:#ffd400; --copper-rgb:255,212,0; --rose:#fff; --rose-rgb:255,255,255; --success:#7dff9a;
}
html.a11y-hc .site-header{ background:#000; }
html.a11y-lc{
  --bg:#fff; --surface:#fff; --surface-2:#f0f0f0; --surface-border:#000; --text:#000; --muted:#1a1a1a;
  --gold:#7a3300; --gold-rgb:122,51,0; --copper:#7a3300; --copper-rgb:122,51,0; --rose:#5a1a25; --rose-rgb:90,26,37; --success:#0b5a1c;
}
html.a11y-lc .site-header{ background:rgba(255,255,255,0.96); }
html.a11y-lc .btn-primary, html.a11y-lc .demo-chip.sel, html.a11y-lc .tab-switch button.is-active,
html.a11y-lc .hiw-tabs button.is-active, html.a11y-lc .skip-link, html.a11y-lc .bubble.me, html.a11y-lc .avatar,
html.a11y-lc .mockup-cal .d.sel, html.a11y-lc .a11y-opt[aria-pressed="true"]{ color:#fff !important; }
html.a11y-invert{ filter:invert(1) hue-rotate(180deg); }
html.a11y-gray{ filter:grayscale(1); }
html.a11y-invert.a11y-gray{ filter:grayscale(1) invert(1) hue-rotate(180deg); }

html.a11y-ul body > :not(#a11y-root) a{ text-decoration:underline !important; text-underline-offset:3px; }
html.a11y-hl body > :not(#a11y-root) a{ background:#ffe100 !important; color:#111 !important; box-shadow:0 0 0 3px #ffe100; border-radius:3px; }
html.a11y-hh body > :not(#a11y-root) :is(h1,h2,h3,h4,h5,h6){ outline:2px dashed #ffd400; outline-offset:5px; }
html.a11y-font body > :not(#a11y-root), html.a11y-font body > :not(#a11y-root) *{ font-family:Arial, Helvetica, sans-serif !important; }
html.a11y-lh body > :not(#a11y-root), html.a11y-lh body > :not(#a11y-root) *{ line-height:2 !important; }
html.a11y-ls body > :not(#a11y-root), html.a11y-ls body > :not(#a11y-root) *{ letter-spacing:0.09em !important; word-spacing:0.16em !important; }
html.a11y-cursor, html.a11y-cursor *{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1.2 3.6 7.1-2.9 1.4-3.6-7.2L4 19z' fill='black' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }

/* Larger text needs the compact header sooner, otherwise nav items collide */
@media (max-width:1120px){
  html[data-a11y-fs="1"] .nav-links, html[data-a11y-fs="1"] .lang-switch, html[data-a11y-fs="1"] .nav-actions .btn{ display:none; }
  html[data-a11y-fs="1"] .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}
@media (max-width:1320px){
  html[data-a11y-fs="2"] .nav-links, html[data-a11y-fs="2"] .lang-switch, html[data-a11y-fs="2"] .nav-actions .btn{ display:none; }
  html[data-a11y-fs="2"] .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}
html[data-a11y-fs="3"] .nav-links, html[data-a11y-fs="3"] .lang-switch, html[data-a11y-fs="3"] .nav-actions .btn,
html[data-a11y-fs="4"] .nav-links, html[data-a11y-fs="4"] .lang-switch, html[data-a11y-fs="4"] .nav-actions .btn{ display:none; }
html[data-a11y-fs="3"] .nav-toggle, html[data-a11y-fs="4"] .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

@media (max-width:560px){
  .a11y-fab{ width:50px; height:50px; right:10px; }
  .a11y-fab svg{ width:27px; height:27px; }
}

/* Back-to-top button (bottom-left, same look as the accessibility button) */
.rp-top{
  position:fixed; left:18px; bottom:22px; z-index:950;
  width:54px; height:54px; padding:0; border-radius:50%;
  display:grid; place-items:center; cursor:pointer; color:var(--gold);
  border:1.5px solid rgba(var(--gold-rgb),0.8);
  background:radial-gradient(circle at 30% 24%, #6A3044 0%, #431B2B 48%, #21101A 100%);
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.75), 0 0 0 5px rgba(var(--gold-rgb),0.10), inset 0 1px 0 rgba(255,255,255,0.16);
  transition:transform 220ms ease, box-shadow 220ms ease;
}
.rp-top:hover{ transform:translateY(-3px); box-shadow:0 18px 34px -10px rgba(0,0,0,0.8), 0 0 0 6px rgba(var(--gold-rgb),0.20), 0 0 22px rgba(var(--gold-rgb),0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
.rp-top svg{ width:28px; height:28px; fill:currentColor; filter:drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
@media (max-width:560px){ .rp-top{ width:46px; height:46px; left:10px; bottom:16px; } .rp-top svg{ width:24px; height:24px; } }

/* Long-form legal documents (Hebrew) */
.legal-doc{ line-height:1.85; }
.legal-doc .legal-toc{ border:1px solid rgba(var(--gold-rgb),0.35); border-radius:14px; padding:18px 26px; margin:0 0 32px; background:rgba(255,255,255,0.03); }
.legal-doc .toc-h{ margin-top:0; font-size:1.25rem; }
.legal-doc .legal-toc ol{ columns:2; column-gap:32px; padding-inline-start:22px; margin:0; }
.legal-doc .legal-toc a{ color:var(--gold); text-decoration:none; }
.legal-doc .legal-toc a:hover{ text-decoration:underline; }
.legal-doc .pn{ color:var(--gold); font-weight:700; font-size:0.85em; margin-inline-end:6px; }
.legal-doc .tbl-wrap{ overflow-x:auto; margin:14px 0 22px; }
.legal-doc table{ width:100%; border-collapse:collapse; font-size:0.95rem; }
.legal-doc th,.legal-doc td{ border:1px solid rgba(var(--gold-rgb),0.3); padding:10px 12px; text-align:start; vertical-align:top; }
.legal-doc th{ background:rgba(var(--gold-rgb),0.12); }
.legal-doc .ph{ background:rgba(var(--gold-rgb),0.25); padding:0 4px; border-radius:4px; }
.legal-doc h2{ scroll-margin-top:90px; }
@media (max-width:640px){ .legal-doc .legal-toc ol{ columns:1; } }

/* ---- merged from animations.css (was a separate render-blocking request) ---- */
/* Animation keyframes sourced from the anti-generic-ai-design skill's
   data/animations-100.json (ids noted per block). Motion energy: measured. */

/* a071 — Hero Staggered Text Reveal */
@keyframes wordUp{
  from{ opacity:0; transform:translateY(0.4em); }
  to{ opacity:1; transform:translateY(0); }
}
.hero h1 .word{ animation:wordUp 620ms cubic-bezier(0.25,1,0.5,1) both; }
.hero-sub{ animation:wordUp 620ms cubic-bezier(0.25,1,0.5,1) both; animation-delay:420ms; }
.hero-ctas{ animation:wordUp 620ms cubic-bezier(0.25,1,0.5,1) both; animation-delay:520ms; }
.hero-proof{ animation:wordUp 620ms cubic-bezier(0.25,1,0.5,1) both; animation-delay:600ms; }

/* a073 — Hero Product UI Unroll */
@keyframes unrollRow{
  from{ opacity:0; transform:translateY(10px); }
  to{ opacity:1; transform:translateY(0); }
}
.mockup-cal .d{ animation:unrollRow 420ms cubic-bezier(0.25,1,0.5,1) both; }
.mockup-row{ animation:unrollRow 460ms cubic-bezier(0.25,1,0.5,1) both; }

/* a060 — Button Sheen Sweep */
@keyframes sheenSweep{
  from{ left:-60%; }
  to{ left:120%; }
}

@media (prefers-reduced-motion: reduce){
  .hero h1 .word,.hero-sub,.hero-ctas,.hero-proof,.mockup-cal .d,.mockup-row{
    animation:none !important; opacity:1 !important; transform:none !important;
  }
}
