/* ============================================================
   QSeat — מערכת עיצוב "Aurora"
   כהה + בהיר (מתג + prefers-color-scheme), RTL, וניל, בלי build.
   פונטים נטענים ב-<link> ב-HTML (Frank Ruhl Libre + Heebo).
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light dark;

  /* קבועי מותג — לא תלויי theme (משמשים בקטעים כהים אימרסיביים) */
  --evergreen: #17332B;
  --evergreen-2: #1F4238;
  --evergreen-deep: #0A1713;
  --gold: #C9A24B;
  --gold-soft: #E4CD8E;
  --gold-tint: #F3E9D2;
  --rose: #C56E5B;
  --rose-glow: #E8B4A6;
  --berry: #4A2037;           /* בורדו הלוגו — צבע משני לכותרות תוכן */
  --berry-soft: #7A3F5C;      /* גרסה בהירה יותר למצב כהה (ניגודיות על רקע כהה) */
  --teal: #2A6F63;
  --teal-glow: #7FD3C4;
  --cream: #FBF7EC;
  --wa: #0E7A3E;

  /* צבע דגש דינמי (מתג הקהל משנה אותו) */
  --accent: var(--gold);
  --accent-glow: var(--gold-soft);

  /* --- פלטה סמנטית: בהיר --- */
  --bg: #F7F4EC;
  --bg-2: #F1EBD9;
  --surface: #FFFFFF;
  --surface-2: #FBF7EC;
  --text: #16201C;
  --text-muted: #55605A;      /* ≥ 5:1 on --bg */
  --text-soft: #77817A;
  --border: #E7E0CD;
  --border-strong: #8C8369;   /* גבולות פקדים 3:1 */
  --accent-ink: #7E611C;      /* זהב כטקסט על בהיר */
  --danger: #A8442A;
  --focus: #B5651D;
  --link: #17332B;
  --gold-ink: #7E611C;
  --muted: var(--text-muted); /* alias legacy */
  --line: var(--border);      /* alias legacy */
  --field-border: var(--border-strong);
  --cream-2: var(--surface-2);
  --ink: var(--text);
  --evergreen-soft: #E7EFE9;

  --glass-bg: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(23, 51, 43, 0.12);
  --shadow-sm: 0 2px 14px rgba(23, 51, 43, 0.07);
  --shadow-md: 0 26px 64px -16px rgba(23, 51, 43, 0.20);
  --shadow-lg: 0 40px 90px -24px rgba(23, 51, 43, 0.28);

  --nav-h: 68px;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1140px;

  --font-display: 'Rubik', 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Heebo', 'Segoe UI', Arial, sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- פלטה סמנטית: כהה (ברירת מחדל של מערכת) --- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1713;
    --bg-2: #0D1E18;
    --surface: #12241D;
    --surface-2: #16281F;
    --text: #F1EDE0;
    --text-muted: #A9B5AD;
    --text-soft: #8B978F;
    --border: rgba(228, 205, 142, 0.16);
    --border-strong: rgba(228, 205, 142, 0.34);
    --accent-ink: #E4CD8E;
    --danger: #E38A6F;
    --focus: #E7B27C;
    --link: #E4CD8E;
    --gold-ink: #E4CD8E;
    --evergreen-soft: #B9CabF;
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(228, 205, 142, 0.18);
    --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 30px 70px -18px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 50px 110px -28px rgba(0, 0, 0, 0.7);
  }
}

/* --- מתג theme מנצח לשני הכיוונים --- */
:root[data-theme="dark"] {
  --bg: #0A1713;
  --bg-2: #0D1E18;
  --surface: #12241D;
  --surface-2: #16281F;
  --text: #F1EDE0;
  --text-muted: #A9B5AD;
  --text-soft: #8B978F;
  --border: rgba(228, 205, 142, 0.16);
  --border-strong: rgba(228, 205, 142, 0.34);
  --accent-ink: #E4CD8E;
  --danger: #E38A6F;
  --focus: #E7B27C;
  --link: #E4CD8E;
  --gold-ink: #E4CD8E;
  --evergreen-soft: #B9CABF;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(228, 205, 142, 0.18);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 30px 70px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 50px 110px -28px rgba(0, 0, 0, 0.7);
}
:root[data-theme="light"] {
  --bg: #F7F4EC; --bg-2: #F1EBD9; --surface: #FFFFFF; --surface-2: #FBF7EC;
  --text: #16201C; --text-muted: #55605A; --text-soft: #77817A;
  --border: #E7E0CD; --border-strong: #8C8369; --accent-ink: #7E611C;
  --danger: #A8442A; --focus: #B5651D; --link: #17332B; --gold-ink: #7E611C;
  --glass-bg: rgba(255,255,255,0.66); --glass-border: rgba(23,51,43,0.12);
}

/* מתג הקהל (client-side) */
:root[data-aud="wedding"]  { --accent: var(--gold);   --accent-glow: var(--gold-soft); }
:root[data-aud="corporate"]{ --accent: var(--teal);   --accent-glow: var(--teal-glow); }
:root[data-aud="mitzvah"]  { --accent: #6E7BB8;        --accent-glow: #AEB9E8; }
:root[data-aud="brit"]     { --accent: var(--rose);   --accent-glow: var(--rose-glow); }

/* ---------- 2. Reset + base ---------- */
* { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
}
h3, h4 { font-weight: 600; }

p { text-wrap: pretty; }
img, svg { max-width: 100%; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }

::selection { background: var(--accent-glow); color: #16281F; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (forced-colors: active) {
  a:focus-visible, button:focus-visible, input:focus-visible,
  select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline-color: Highlight; }
}

.skip-link {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 2000;
  background: var(--evergreen); color: var(--cream);
  padding: 12px 20px; text-decoration: underline;
  transform: translateY(-130%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--cream); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .aurora, .aurora::before, .aurora::after { animation: none !important; }
}

/* ---------- 3. Layout utils ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 26px; }

.band { position: relative; padding: clamp(64px, 9vw, 116px) 0; overflow: hidden; }
.band--light { background: var(--bg); color: var(--text); }
.band--tint { background: var(--bg-2); color: var(--text); }
.band--dark {
  background: var(--evergreen-deep);
  color: var(--cream);
  --text: #F1EDE0; --text-muted: #A9B5AD; --border: rgba(228,205,142,.16);
}
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--cream); }

/* wipe רך בין band כהה ל-band הבא */
.band--dark::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; opacity: 0;
}
.band--dark.wipe-next::after { opacity: 1; }

/* reveal בגלילה */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent-ink);
}
.band--dark .eyebrow { color: var(--accent-glow); }

.section-head { max-width: 42rem; margin: 0 auto clamp(38px, 6vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: clamp(15px, 2vw, 17px); }

.ornament { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 auto 20px; }
.ornament::before, .ornament::after { content: ""; width: 44px; height: 1px; background: var(--accent); }
.ornament span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ornament.on-dark::before, .ornament.on-dark::after { background: var(--accent-glow); }

/* ---------- 4. Aurora ---------- */
.aurora { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform;
}
.aurora::before {
  inset-inline-end: -10%; top: -20%;
  background: radial-gradient(circle at 30% 30%, var(--accent-glow), transparent 62%);
  animation: aurora-a 26s var(--ease-out) infinite alternate;
}
.aurora::after {
  inset-inline-start: -12%; bottom: -25%;
  background: radial-gradient(circle at 60% 40%, var(--teal-glow), transparent 60%);
  animation: aurora-b 32s var(--ease-out) infinite alternate;
}
.band--dark .aurora::before { opacity: .4; }
.band--dark .aurora::after { opacity: .32; }
@keyframes aurora-a { to { transform: translate3d(-8%, 12%, 0) scale(1.25) rotate(24deg); } }
@keyframes aurora-b { to { transform: translate3d(10%, -10%, 0) scale(1.3) rotate(-18deg); } }

.aurora-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .6; }

.band > .wrap, .band > .wrap-narrow, .band-inner { position: relative; z-index: 2; }

/* ---------- 5. Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 900;
  transition: background .3s var(--ease-out), box-shadow .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--glass-border);
}
/* רקע הזכוכית מתאים ל-band שמאחורי ה-nav — אחרת טקסט קרם על זכוכית לבנה נעלם */
.site-nav.scrolled.on-dark { background: rgba(10, 23, 19, 0.72); border-bottom-color: rgba(228, 205, 142, 0.16); }
.site-nav.scrolled.on-light { background: var(--glass-bg); }
/* התאמת צבע לפי ה-band שמאחורי ה-nav */
.site-nav.on-dark { --nav-fg: #F1EDE0; --nav-fg-dim: rgba(241,237,224,.78); --nav-hair: rgba(228,205,142,.34); }
.site-nav.on-light { --nav-fg: var(--text); --nav-fg-dim: var(--text-muted); --nav-hair: var(--border-strong); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 26px;
  position: relative; gap: 14px; min-height: var(--nav-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--nav-fg, var(--text)); text-decoration: none; flex: none;
}
.brand svg { display: block; overflow: visible; }
.brand-mark { width: 26px; height: 26px; }

/* wordmark: "qseat" סריפי עם q בזהב — תואם ללוגו. השם הנגיש נשאר "QSeat" ב-aria-label. */
.brand span {
  display: inline-block;
  font-family: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: .005em;
  line-height: 1;
}
.brand span::first-letter { color: var(--gold); }

.nav-links { display: flex; gap: 6px; align-items: center; margin-inline-start: auto; }
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: 10px; }
.nav-links .plain {
  color: var(--nav-fg-dim, var(--text-muted)); padding: 9px 12px; font-size: 14.5px;
  text-decoration: none; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links .plain:hover { color: var(--nav-fg, var(--text)); background: color-mix(in srgb, var(--nav-fg, #000) 8%, transparent); }
.nav-links .plain[aria-current="page"] { color: var(--nav-fg, var(--text)); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* כפתור "כניסה" ב-nav — עוקב אחרי צבע ה-band שמאחורי הסרגל (on-dark/on-light),
   לא נשאר קרם קבוע (שנעלם מעל קטע תוכן בהיר). רקע עדין כדי שייקרא ככפתור. */
.site-nav .nav-actions .btn-ghost,
.site-nav .nav-actions .btn-ghost.on-dark {
  color: var(--nav-fg, var(--text));
  border-color: var(--nav-fg, var(--border-strong));
  background: color-mix(in srgb, var(--nav-fg, #000) 8%, transparent);
}
.site-nav .nav-actions .btn-ghost:hover,
.site-nav .nav-actions .btn-ghost.on-dark:hover {
  background: color-mix(in srgb, var(--nav-fg, #000) 16%, transparent);
}

#lang-switch-slot { display: inline-flex; }

.icon-btn {
  width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--nav-hair, var(--border)); border-radius: 10px;
  color: var(--nav-fg, var(--text)); cursor: pointer; padding: 0;
  transition: background .15s, transform .15s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--nav-fg, #000) 8%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun,
:root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon,
:root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .moon { display: none; }
}

/* ---------- תפריט חשבון (מחובר) ---------- */
.acct { position: relative; display: inline-flex; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px;
  border-radius: 999px; border: 1px solid var(--nav-hair, var(--border));
  background: color-mix(in srgb, var(--nav-fg, #000) 6%, transparent);
  color: var(--nav-fg, var(--text)); cursor: pointer; font: inherit; font-size: 14px;
  transition: background .15s;
}
.acct-btn:hover { background: color-mix(in srgb, var(--nav-fg, #000) 12%, transparent); }
.acct-avatar {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--accent); color: #14251C; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display);
}
.acct-label { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.acct-chev { width: 13px; height: 13px; opacity: .7; transition: transform .18s ease; }
.acct[data-open="true"] .acct-chev { transform: rotate(180deg); }

.acct-menu {
  position: fixed; z-index: 2147483000; min-width: 230px; max-width: calc(100vw - 24px);
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px; box-sizing: border-box;
  font-family: var(--font-body);
}
.acct-menu[hidden] { display: none; }
.acct-head { padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.acct-head-name { font-weight: 600; font-size: 14px; }
.acct-head-email { font-size: 12.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button {
  display: block; width: 100%; text-align: start; box-sizing: border-box;
  padding: 11px 12px; border: 0; border-radius: 9px; background: none;
  font: inherit; font-size: 14.5px; color: var(--text); text-decoration: none; cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--surface-2); }
.acct-menu a:focus-visible, .acct-menu button:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }
.acct-menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 4px; }
.acct-menu #acct-logout { color: var(--danger); }
.acct-menu .acct-warn { color: var(--danger); font-size: 13px; }
.acct-menu--sheet { border-radius: 16px; padding: 8px; box-shadow: 0 -8px 40px rgba(10, 23, 19, 0.4); }
.acct-menu--sheet a, .acct-menu--sheet button { padding: 14px 14px; font-size: 16px; }
/* גרסה שטוחה של תפריט החשבון — מופיעה רק בתוך תפריט ההמבורגר */
.acct-inline { display: none; }
.acct-inline-head {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 8px 10px; margin-top: 6px;
  border-top: 1px solid var(--border-strong);
}
.acct-inline-name { font-weight: 600; font-size: 15px; color: var(--text); }
.acct-inline-email { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }
.acct-inline a, .acct-inline button {
  display: block; width: 100%; text-align: start; box-sizing: border-box;
  padding: 13px 8px; border: 0; border-bottom: 1px solid var(--border);
  background: none; font: inherit; font-size: 16px; color: var(--text);
  text-decoration: none; cursor: pointer;
}
.acct-inline button#acct-logout-inline { color: var(--danger); border-bottom: 0; }
.acct-inline .acct-inline-warn { color: var(--danger); }
.acct-inline a:focus-visible, .acct-inline button:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }

@media (max-width: 640px) {
  .acct { width: 100%; }
  .acct-btn { width: 100%; justify-content: flex-start; }
  .acct-label { max-width: none; flex: 1; }
}

.nav-toggle {
  display: none; width: 42px; height: 42px; flex: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid var(--nav-hair, var(--border)); border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav-toggle-bar { display: block; width: 19px; height: 2px; background: var(--nav-fg, var(--text)); border-radius: 2px; transition: transform .2s var(--ease-out), opacity .2s; }
.nav[data-open="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; inset-inline: 0; top: calc(100% + 1px); z-index: 80;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
    padding: 0 14px; box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .26s var(--ease-out), visibility .26s, padding .26s;
  }
  .nav[data-open="true"] .nav-links { max-height: 80vh; overflow-y: auto; visibility: visible; padding: 10px 14px 16px; }
  /* בתוך הפאנל הבהיר — לא לרשת את צבעי ה-on-dark של ה-nav */
  .nav-links {
    margin-inline-start: 0;
    --nav-fg: var(--text); --nav-fg-dim: var(--text-muted); --nav-hair: var(--border-strong);
    color: var(--text);
  }
  .nav-links .plain { color: var(--text-muted); padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-links .plain:hover { color: var(--text); background: transparent; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: 10px 0 0; gap: 8px; width: 100%; }
  .nav-links .btn { width: 100%; }
  /* כפתור הכניסה: ghost כהה על רקע בהיר (לא cream) */
  .nav-links .btn-ghost, .nav-links .btn-ghost.on-dark {
    background: transparent; color: var(--text); border-color: var(--border-strong);
  }
  .nav-links .btn-primary { background: var(--accent); color: #14251C; }
  .nav-actions #lang-switch-slot { margin-top: 4px; }
  .nav-actions .theme-toggle { display: none; }
  /* במובייל: אין תפריט חשבון מקונן — מציגים גרסה שטוחה בתוך הפאנל */
  .acct { display: none !important; }
  .acct-inline { display: block; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 500;
  font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  text-decoration: none; text-align: center;
  transition: transform .18s var(--ease-spring), box-shadow .2s, background .18s, color .18s, border-color .18s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--btn-bg); color: #14251C; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 82%, #fff); box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 6%, transparent); transform: translateY(-2px); }
.btn-ghost.on-dark, .band--dark .btn-ghost { color: var(--cream); border-color: rgba(228,205,142,.4); }
.btn-ghost.on-dark:hover, .band--dark .btn-ghost:hover { background: rgba(247,241,228,.08); }
.btn-dark { background: var(--evergreen); color: var(--cream); }
.btn-dark:hover { background: var(--evergreen-2); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 7. Hero (index) ---------- */
.hero { position: relative; overflow: hidden; background: var(--evergreen-deep); color: var(--cream);
  --text: #F1EDE0; --text-muted: #B7C3BA; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vw, 96px) 26px clamp(64px, 9vw, 110px);
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 60px); align-items: center;
  position: relative; z-index: 2;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px); line-height: 1.08; margin: 18px 0 20px; color: var(--cream);
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--accent-glow), var(--teal-glow) 60%, var(--rose-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: #C3CFC6; margin: 0 0 30px; max-width: 32em; }
.hero .cta-row { align-items: center; }
.hero .micro { margin-top: 18px; font-size: 13px; color: #93A399; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .micro span { display: inline-flex; align-items: center; gap: 6px; }
.hero .micro svg { width: 14px; height: 14px; color: var(--accent-glow); }

/* מתג קהל */
.pill-toggle {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  padding: 4px; gap: 2px; border-radius: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(228,205,142,.2);
}
.pill-toggle button {
  border: 0; background: transparent; color: #B7C3BA; cursor: pointer;
  font: inherit; font-size: 13.5px; padding: 8px 15px; border-radius: 999px;
  transition: background .2s var(--ease-out), color .2s;
}
@media (max-width: 480px) { .pill-toggle button { font-size: 12.5px; padding: 7px 12px; } }
.pill-toggle button[aria-pressed="true"] { background: var(--accent); color: #14251C; font-weight: 600; }

/* כרטיס דמו חי */
.demo-card {
  position: relative; z-index: 2;
  background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-lg); max-width: 380px; margin-inline: auto;
}
.hero .demo-card { --glass-bg: rgba(255,255,255,.05); --glass-border: rgba(228,205,142,.22); color: var(--cream); }
.demo-card .demo-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-glow); }
.demo-phone {
  margin: 14px 0 18px; font-family: var(--font-body); font-size: 22px; font-weight: 500; letter-spacing: 2px;
  direction: ltr; text-align: center; padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); min-height: 56px;
}
.demo-phone .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent-glow); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-result {
  text-align: center; opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .5s var(--ease-spring), transform .5s var(--ease-spring);
}
.demo-result.show { opacity: 1; transform: none; }
.demo-result .t-label { font-size: 13px; color: #A9B5AD; }
.demo-result .t-num { font-family: var(--font-display); font-size: 68px; line-height: 1; color: var(--accent-glow); font-weight: 700; }
.demo-result .t-party { font-size: 13px; color: #A9B5AD; margin-top: 4px; }

/* ---------- 8. Bento / features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); grid-column: span 2;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.bento .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.bento .tile.wide { grid-column: span 3; }
.bento .tile.tall { grid-row: span 2; }
.bento .tile .ic {
  width: 44px; height: 44px; margin-bottom: 14px; color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.bento .tile .ic svg { width: 22px; height: 22px; }
.bento .tile h3 { font-size: 18px; margin-bottom: 7px; }
.bento .tile p { font-size: 14.5px; color: var(--text-muted); }

/* legacy .features/.feature (עמודי משנה) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.feature .ic { width: 40px; height: 40px; margin-bottom: 12px; color: var(--accent-ink); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-muted); }

/* ---------- 9. Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; background: var(--surface); position: relative; text-align: center; box-shadow: var(--shadow-sm); }
.uc.featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: 0 20px 50px -16px color-mix(in srgb, var(--accent) 40%, transparent); }
.uc .tag { position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%); background: var(--accent); color: #14251C; font-size: 12px; padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.uc .uc-ic { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--accent-ink); }
.uc h3 { font-size: 19px; margin-bottom: 8px; }
.uc p { font-size: 14px; color: var(--text-muted); }

/* ---------- 10. Steps / step-rail ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { text-align: center; }
.step .step-art { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.step .step-art svg { width: 100%; max-width: 180px; height: auto; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step h3::before { counter-increment: step; content: counter(step) " · "; color: var(--accent-ink); }
.step p { font-size: 14px; color: var(--text-muted); }

.step-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: rail; position: relative; z-index: 2; }
.step-rail .rail-item { padding: 30px 26px; position: relative; }
.step-rail .rail-item:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-end: 0; top: 24px; bottom: 24px; width: 1px;
  background: linear-gradient(var(--border), transparent);
}
.step-rail .rail-n {
  counter-increment: rail; font-family: var(--font-display); font-size: 15px; font-weight: 700;
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-glow); margin-bottom: 16px;
}
.step-rail .rail-n::before { content: counter(rail); }
.step-rail h3 { color: var(--cream); font-size: 19px; margin-bottom: 8px; }
.step-rail p { color: #A9B5AD; font-size: 14.5px; }

/* ---------- 11. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; text-align: center; }
.stat .stat-n { font-family: var(--font-display); font-size: clamp(38px, 6vw, 58px); font-weight: 700; color: var(--accent-glow); line-height: 1; }
.stat .stat-l { color: #A9B5AD; font-size: 14px; margin-top: 8px; }

/* ---------- 12. Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(18px, 3vw, 30px); color: var(--text-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .6em; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- 13. Pricing ---------- */
.price-card {
  max-width: 420px; margin: 0 auto; text-align: center;
  background: var(--evergreen-deep); color: var(--cream); border-radius: 20px;
  padding: 44px 34px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  border: 1px solid rgba(228,205,142,.18);
}
.price-card::before { content: ""; position: absolute; inset: -40% -20% auto; height: 200px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%); filter: blur(40px); }
.price-card > * { position: relative; z-index: 1; }
.price-card .amount { font-family: var(--font-display); font-size: 62px; line-height: 1; color: var(--accent-glow); font-weight: 700; }
.price-card .amount small { font-size: 17px; color: #B7C3BA; font-family: var(--font-body); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 26px 0 28px; text-align: start; }
.price-card li { padding: 10px 0; border-bottom: 1px solid rgba(228,205,142,.16); font-size: 14.5px; display: flex; gap: 10px; }
.price-card li::before { content: "✦"; color: var(--accent); flex: none; }

.compare-wrap { max-width: 860px; margin: 24px auto; overflow-x: auto; padding: 0 26px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; min-width: 560px; }
.compare-table caption { text-align: start; color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.compare-table th, .compare-table td { padding: 13px 15px; text-align: start; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--evergreen); color: var(--cream); font-weight: 500; }
.compare-table thead th:first-child { border-start-start-radius: 10px; }
.compare-table thead th:last-child { border-start-end-radius: 10px; }
.compare-table tbody th { font-weight: 500; color: var(--text); background: var(--surface-2); }
.compare-table .yes { color: var(--wa); font-weight: 700; }
.compare-table .no { color: var(--danger); }
.compare-table tr.is-us td, .compare-table tr.is-us th { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
:root[data-theme="dark"] .compare-table .yes { color: #6FD39B; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .compare-table .yes { color: #6FD39B; }
}

/* ---------- 14. FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { margin-bottom: 6px; font-size: 17px; }
.faq-item p { color: var(--text-muted); font-size: 14.5px; }

.faq-list { max-width: 760px; margin: 0 auto; padding: 0 26px; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-list details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.faq-list summary {
  cursor: pointer; padding: 17px 20px; font-size: 16px; color: var(--text);
  font-family: var(--font-display); font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-ink); font-family: var(--font-body); font-weight: 400; font-size: 20px; flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { margin: 0 20px 18px; color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.faq-list details > p a { color: var(--link); }

/* ---------- 15. Closing CTA ---------- */
.closing { text-align: center; position: relative; overflow: hidden; background: var(--evergreen-deep); color: var(--cream); padding: clamp(72px, 11vw, 128px) 26px; }
.closing > * { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(28px, 4.6vw, 44px); color: var(--cream); margin-bottom: 14px; }
.closing p { color: #B7C3BA; margin-bottom: 28px; font-size: 17px; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--evergreen-deep); color: #A9B5AD; padding: 60px 26px 40px; position: relative; overflow: hidden; }
.site-footer .foot-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; text-align: start; }
.footer-cols .foot-brand .brand { color: var(--cream); font-size: 22px; margin-bottom: 10px; }
.footer-cols .foot-brand p { font-size: 13.5px; color: #8B978F; max-width: 24em; }
.footer-cols h3 { font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 12px; font-weight: 600; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-cols a { color: #A9B5AD; text-decoration: none; font-size: 14px; }
.footer-cols a:hover { color: var(--cream); text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(228,205,142,.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8B978F; }
.foot-wordmark { font-family: 'Frank Ruhl Libre', Georgia, serif; font-weight: 700; text-transform: lowercase; font-size: clamp(60px, 16vw, 180px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(228,205,142,.16); text-align: center; margin-top: 30px; user-select: none; pointer-events: none; }

/* legacy footer (עמודים שעדיין לא הומרו) */
footer:not(.site-footer) { background: var(--evergreen-deep); color: #A9B5AD; font-size: 13px; text-align: center; padding: 40px 26px; }
footer:not(.site-footer) .brand { justify-content: center; color: var(--cream); margin-bottom: 8px; font-size: 18px; display: flex; }
footer:not(.site-footer) .footer-cols { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto 30px; }
footer:not(.site-footer) nav { margin-top: 10px; }
footer:not(.site-footer) nav a { color: #A9B5AD; margin: 0 8px; }

/* ---------- 17. Page-hero (עמוד פנימי) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--evergreen-deep); color: var(--cream); --text-muted: #B7C3BA; }
.page-hero-inner { max-width: 820px; margin: 0 auto; padding: clamp(44px, 7vw, 76px) 26px clamp(48px, 7vw, 72px); text-align: center; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; color: var(--cream); margin: 12px 0 16px; }
.page-hero p { font-size: clamp(15px, 2.2vw, 18px); color: #C3CFC6; margin: 0 auto; max-width: 34em; }
.page-hero .cta-row { justify-content: center; margin-top: 26px; }
.page-hero a { color: var(--accent-glow); }

.breadcrumb { max-width: 820px; margin: 0 auto; padding: 16px 26px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "‹"; margin-inline-start: 6px; color: var(--border-strong); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--link); }

/* ---------- 18. Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: clamp(38px, 6vw, 56px) 26px 24px; }
.prose > section { margin-bottom: 12px; }
.prose h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 44px 0 14px; color: var(--berry); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose h2 { color: var(--text); } }
:root[data-theme="dark"] .prose h2 { color: var(--text); }
.prose h3 { font-size: 19px; margin: 28px 0 8px; color: var(--text); }
.prose p, .prose li { font-size: 16.5px; line-height: 1.85; color: var(--text); }
.prose ul, .prose ol { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.prose a { color: var(--link); }
.prose strong { color: var(--text); font-weight: 700; }
.prose .lead-p { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-muted); line-height: 1.8; }
.prose figure { margin: 24px 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.prose figure svg { width: 100%; max-width: 340px; height: auto; }
.prose figcaption { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; }
.prose blockquote { margin: 24px 0; padding: 16px 22px; border-inline-start: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; }

.note-card { background: var(--surface); border: 1px solid var(--border); border-inline-start: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; margin: 22px 0; box-shadow: var(--shadow-sm); }
.note-card h3 { margin-bottom: 6px; font-size: 16px; }
.note-card p { margin: 0; font-size: 14.5px; color: var(--text-muted); }

.glass-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }

.perks { max-width: 940px; margin: 0 auto; padding: 10px 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.perk { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.perk svg { width: 28px; height: 28px; flex: none; color: var(--accent-ink); }
.perk h3 { margin-bottom: 5px; font-size: 16px; }
.perk p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- 19. Auth ---------- */
.auth-body { min-height: 100vh; margin: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); }
.auth-aside { position: relative; overflow: hidden; background: var(--evergreen-deep); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.auth-aside .brand { color: var(--cream); font-size: 22px; position: relative; z-index: 2; text-decoration: none; }
.auth-aside .aside-body { position: relative; z-index: 2; }
.auth-aside .aside-body h2 { color: var(--cream); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin-bottom: 14px; max-width: 12em; }
.auth-aside .aside-body p { color: #B7C3BA; font-size: 15px; max-width: 22em; }
.auth-aside .aside-foot { position: relative; z-index: 2; font-size: 12.5px; color: #8B978F; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 400px; background: transparent; }
.auth-card .brand { justify-content: center; margin-bottom: 10px; display: none; }
.auth-card h1 { font-size: 25px; text-align: center; margin-bottom: 6px; }
.auth-card .hint { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-card label { display: block; font-size: 13px; color: var(--text-muted); margin: 15px 0 6px; font-weight: 500; }
.auth-card input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: 16px; font-family: inherit; background: var(--surface); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.auth-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); outline: none; }
.auth-card .btn { margin-top: 22px; }
.auth-card .alt { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-top: 14px; }
.auth-foot { text-align: center; margin: 0; }
.auth-foot a { color: var(--text-muted); font-size: 13px; }
.field-hint { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 860px) {
  .auth-body { grid-template-columns: 1fr; }
  .auth-aside { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 24px; }
  .auth-aside .aside-body, .auth-aside .aside-foot { display: none; }
  .auth-main { padding: 32px 22px 48px; }
}

/* ---------- 20. pw-strength ---------- */
.pw-ui { margin-top: 10px; }
.pw-strength { display: flex; gap: 5px; }
.pw-seg { flex: 1; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--text) 18%, transparent); }
.pw-seg.is-on.lvl-1 { background: var(--danger); }
.pw-seg.is-on.lvl-2 { background: #C08A2E; }
.pw-seg.is-on.lvl-3, .pw-seg.is-on.lvl-4 { background: var(--wa); }
.pw-strength-label { font-size: 12.5px; font-weight: 600; margin-top: 6px; min-height: 1em; }
.pw-strength-label.lvl-0, .pw-strength-label.lvl-1 { color: var(--danger); }
.pw-strength-label.lvl-2 { color: var(--accent-ink); }
.pw-strength-label.lvl-3, .pw-strength-label.lvl-4 { color: var(--wa); }
.pw-match { font-size: 12.5px; margin-top: 4px; min-height: 1em; font-weight: 600; }
.pw-match.is-ok { color: var(--wa); }
.pw-match.is-bad { color: var(--danger); }
.pw-rules-title { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 6px; font-weight: 600; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pw-rule { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.pw-rule.is-ok { color: var(--wa); }
.pw-rule.is-bad { color: var(--danger); }
.pw-rule-ico { flex: none; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; line-height: 1; background: color-mix(in srgb, var(--text) 30%, transparent); }
.pw-rule.is-ok .pw-rule-ico { background: var(--wa); }
.pw-rule.is-bad .pw-rule-ico { background: var(--danger); }

.msg { font-size: 14px; margin-top: 14px; padding: 11px 14px; border-radius: 10px; }
.msg.error { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }
.msg.ok { background: color-mix(in srgb, var(--wa) 14%, var(--surface)); color: var(--wa); }
.req { color: var(--danger); }

/* ---------- 21. value-strip (legacy) ---------- */
.value-strip { background: var(--evergreen-2); color: var(--cream); text-align: center; font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); padding: 44px 26px; }
.value-strip b { color: var(--accent-glow); font-weight: 600; }

/* legacy .section wrappers still used by content pages */
.section { padding: clamp(60px, 9vw, 100px) 0; }
.section-tint { background: var(--bg-2); }
.wrap .section-head, .section .section-head { }

/* ---------- 22. Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row, .hero .micro { justify-content: center; }
  .demo-card { margin-top: 8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile, .bento .tile.wide { grid-column: span 1; }
  .bento .tile.tall { grid-row: span 1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .usecases, .steps, .step-rail, .stats { grid-template-columns: 1fr; }
  .step-rail .rail-item:not(:last-child)::after { display: none; }
  .step-rail .rail-item { border-bottom: 1px solid var(--border); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .bento, .features, .perks { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-cols .foot-brand p { margin-inline: auto; }
  .foot-base { justify-content: center; text-align: center; }
  footer:not(.site-footer) .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- 23. print ---------- */
@media print {
  .site-nav, .aurora, .aurora-canvas, .marquee, .foot-wordmark, #lang-switch, .a11y-fab { display: none !important; }
  body { background: #fff; color: #000; }
  .band--dark, .hero, .closing, .page-hero { background: #fff !important; color: #000 !important; }
}
