/* ==========================================================================
   זהב — אתר התדמית
   הפלטה היא הפלטה של האפליקציה (theme/colors.ts): טורקיז עמוק, זהב-דבש, שנהב חם.
   ========================================================================== */

:root {
  /* brand — teal */
  --teal-900: #073B3B;
  --teal-800: #0A4F4F;
  --teal-700: #0E6B6B;
  --teal-600: #148282;
  --teal-200: #BFE0DE;
  --teal-100: #DCEFEE;
  --teal-50:  #EEF7F6;

  /* brand — honey */
  --honey-800: #7A5A12;
  --honey-700: #9C7418;
  --honey-600: #C4922A;
  --honey-200: #F2DFA8;
  --honey-100: #F9EED0;
  --honey-50:  #FCF7E8;

  /* states */
  --green:      #2E8B57;
  --green-800:  #1E6B43;
  --green-100:  #DDF3E6;
  --coral:      #D92D20;
  --coral-700:  #B42318;
  --coral-100:  #FDE3E1;
  --amber:      #D8821F;
  --amber-700:  #A8641A;
  --amber-100:  #FCEBD3;
  --blue:       #2F6FED;
  --blue-700:   #1F58C9;
  --blue-100:   #E1EAFF;
  --plum:       #6B3AA6;
  --plum-100:   #EFE4FB;

  /* ink & cream */
  --ink-900: #1B2321;
  --ink-700: #3B4643;
  --ink-600: #5B6865;
  --ink-400: #98A5A2;
  --ink-300: #C4CECB;
  --ink-200: #E1E7E5;
  --ink-100: #EEF1F0;
  --cream-100: #F3EEE4;
  --cream-50:  #FBF8F2;

  /* semantic (light) */
  --bg: #FFFFFF;
  --bg-alt: var(--cream-50);
  --surface: #FFFFFF;
  --surface-muted: var(--ink-100);
  --border: var(--ink-200);
  --border-strong: var(--ink-300);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-faint: var(--ink-400);
  --primary: var(--teal-700);
  --primary-hover: var(--teal-800);
  --primary-soft: var(--teal-100);
  --primary-softer: var(--teal-50);
  --on-primary: #FFFFFF;
  --accent: var(--honey-600);
  --accent-strong: var(--honey-700);
  --header-bg: rgba(255, 255, 255, 0.82);
  --mock-bg: var(--cream-50);

  --shadow-sm: 0 1px 2px rgba(7, 59, 59, 0.05), 0 1px 3px rgba(7, 59, 59, 0.07);
  --shadow-md: 0 4px 14px rgba(7, 59, 59, 0.08), 0 1px 3px rgba(7, 59, 59, 0.06);
  --shadow-lg: 0 26px 60px -14px rgba(7, 59, 59, 0.24), 0 8px 22px -10px rgba(7, 59, 59, 0.14);
  --ring: 0 0 0 3px rgba(196, 146, 42, 0.5);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1180px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B1B1B;
  --bg-alt: #0E2222;
  --surface: #112626;
  --surface-muted: #173232;
  --border: #244545;
  --border-strong: #356060;
  --text: #EAF3F2;
  --text-muted: #A9BDBB;
  --text-faint: #7A908E;
  --primary: #7FD1CE;
  --primary-hover: #9BDEDB;
  --primary-soft: #1D3F3F;
  --primary-softer: #173232;
  --on-primary: #073B3B;
  --accent: #E3B65B;
  --accent-strong: #F0CB80;
  --header-bg: rgba(11, 27, 27, 0.82);
  --mock-bg: #0E2222;

  --teal-100: #1D3F3F;
  --teal-50:  #173232;
  --teal-200: #2C5A5A;
  --honey-100: #3D3218;
  --honey-50:  #2B2614;
  --honey-200: #5A4820;
  --green: #5BD08F;
  --green-800: #86E0AE;
  --green-100: #16412B;
  --coral: #F4766C;
  --coral-700: #F79A93;
  --coral-100: #4A1E1B;
  --amber: #F2A43F;
  --amber-700: #F7BC6E;
  --amber-100: #3D2C12;
  --blue: #6D9BFF;
  --blue-700: #9BB9FF;
  --blue-100: #1E2F5E;
  --plum: #C9A4F5;
  --plum-100: #33234D;
  --ink-100: #173232;
  --ink-200: #244545;
  --ink-300: #356060;
  --cream-100: #173232;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 26px 60px -14px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 840px; }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.h3 { font-size: 1.2rem; font-weight: 700; }
.section__sub {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 660px;
}
.section__head { max-width: 780px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 13px;
  border-radius: 999px;
  background: var(--primary-softer);
  border: 1px solid var(--teal-200);
  color: var(--primary);
  font-size: 0.86rem; font-weight: 600;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 6%, transparent); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .12s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 27px; font-size: 1.08rem; border-radius: 14px; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -8px rgba(14, 107, 107, 0.55); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 12px 26px -8px rgba(14, 107, 107, 0.6); transform: translateY(-1px); }
.btn--gold { background: var(--accent); color: #3A2A05; box-shadow: 0 8px 20px -8px rgba(196, 146, 42, 0.6); }
.btn--gold:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
[data-theme="dark"] .btn--gold:hover { color: #2B2005; }
.btn--soft { background: var(--primary-softer); color: var(--primary); border-color: var(--teal-200); }
.btn--soft:hover { background: var(--primary-soft); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { background: var(--surface-muted); }
.btn--white { background: #fff; color: var(--teal-900); }
.btn--white:hover { background: var(--honey-50); transform: translateY(-1px); }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  color: var(--text-muted); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-muted); color: var(--text); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 22px; height: 72px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.brand__logo { width: 42px; height: 42px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand__name { white-space: nowrap; }
.brand__sub { display: block; font-size: 0.68rem; font-weight: 500; color: var(--text-faint); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 10px; }
.nav a {
  padding: 9px 13px; border-radius: 10px;
  color: var(--text-muted); font-weight: 500; font-size: 0.98rem;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--surface-muted); color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 11px;
  color: var(--text-muted); font-size: 0.95rem;
  transition: background .2s, color .2s;
}
.theme-toggle:hover { background: var(--surface-muted); color: var(--text); }
.theme-toggle__label { display: none; font-weight: 500; }
.theme-toggle .icon-sun, .theme-toggle__label--light { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-btn { display: none; flex-direction: column; gap: 5px; justify-content: center; }
.menu-btn span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 32px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(85px); opacity: .6; }
.blob--teal { width: 560px; height: 560px; background: var(--teal-100); inset-inline-start: -180px; top: -140px; }
.blob--gold { width: 420px; height: 420px; background: var(--honey-100); inset-inline-end: 6%; top: 20px; opacity: .55; }
.blob--sun { width: 620px; height: 620px; background: var(--teal-50); inset-inline-end: -240px; bottom: -280px; }
[data-theme="dark"] .blob { opacity: .38; filter: blur(100px); }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center;
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(2.05rem, 1.25rem + 3.5vw, 3.5rem);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.02em;
}
.hl { position: relative; white-space: nowrap; color: var(--primary); }
.hl::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: 0.06em; height: 0.34em;
  background: linear-gradient(90deg, var(--honey-200), color-mix(in srgb, var(--honey-200) 35%, transparent));
  border-radius: 4px; z-index: -1;
}
[data-theme="dark"] .hl::after {
  height: 0.2em; bottom: 0.04em; opacity: .85;
  background: linear-gradient(90deg, rgba(227, 182, 91, 0.55), rgba(227, 182, 91, 0.06));
}
.hero__lead { margin-top: 22px; font-size: 1.14rem; color: var(--text-muted); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--text-muted); font-size: 0.94rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none;
}

/* ---------- hero mockups (HTML, so they stay crisp) ---------- */
.hero__visual { position: relative; min-height: 760px; }

.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.mock-desk { position: relative; z-index: 1; padding: 20px 20px 44px; }
.mock-desk__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-desk__title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.92rem; }
.mock-desk__title i {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
}
.mock-desk__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600; color: var(--green-800);
  background: var(--green-100); padding: 3px 9px; border-radius: 999px;
}
.mock-desk__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.stat {
  background: var(--mock-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 11px;
}
.stat b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat small { font-size: 0.68rem; color: var(--text-muted); }
.stat--alert b { color: var(--coral); }
.stat--gold b { color: var(--accent-strong); }

.mock-desk__label { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.rows { display: grid; gap: 7px; }
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 12px;
  background: var(--mock-bg); border: 1px solid var(--border);
  border-inline-start: 3px solid var(--c, var(--border-strong));
}
.row__avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
  font-size: 0.72rem; font-weight: 700;
}
.row__body { min-width: 0; flex: 1; }
.row__name { font-size: 0.84rem; font-weight: 600; }
.row__meta { font-size: 0.7rem; color: var(--text-muted); }
.pill {
  font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.pill--coral { background: var(--coral-100); color: var(--coral-700); }
.pill--amber { background: var(--amber-100); color: var(--amber-700); }
.pill--green { background: var(--green-100); color: var(--green-800); }
.pill--gold  { background: var(--honey-100); color: var(--honey-700); }
.pill--teal  { background: var(--teal-100); color: var(--teal-700); }
.pill--blue  { background: var(--blue-100); color: var(--blue-700); }

.mock-phone {
  position: absolute; inset-inline-start: -30px; bottom: 0; width: 262px; z-index: 2;
  padding: 16px; border-radius: var(--radius-lg);
}
.mock-phone__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mock-phone__top small { display: block; font-size: 0.7rem; color: var(--text-faint); }
.mock-phone__top strong { font-size: 1rem; font-weight: 700; }
.emergency-strip {
  display: flex; align-items: center; gap: 8px;
  background: var(--coral-100); color: var(--coral-700);
  border-radius: 10px; padding: 7px 10px; margin-bottom: 12px;
  font-size: 0.74rem; font-weight: 700;
}
.emergency-strip svg { flex: none; }
.progress { height: 6px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; margin-bottom: 12px; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-600), var(--green)); animation: fill 1.4s cubic-bezier(.22,.8,.3,1) both; }
@keyframes fill { from { width: 0 } }
.checkin { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--border); }
.checkin:first-of-type { border-top: 0; }
.checkin__body { flex: 1; min-width: 0; }
.checkin__name { font-size: 0.82rem; font-weight: 600; }
.checkin__meta { font-size: 0.68rem; color: var(--text-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); }
.mock-phone__cta {
  width: 100%; margin-top: 12px; padding: 10px; border-radius: 12px;
  background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 0.86rem;
}

.mock-toast {
  position: absolute; inset-inline-end: -12px; top: -22px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 14px; font-size: 0.82rem;
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.mock-toast b { font-weight: 700; }
.mock-toast__icon {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800);
}
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 12px; width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(50%) } }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- problem ---------- */
.problem { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.problem__text p { color: var(--text-muted); margin-top: 18px; font-size: 1.07rem; }
.problem__text p.problem__answer { color: var(--text); }
.problem__answer b { color: var(--primary); }

.sheet {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px;
  transform: rotate(-1.2deg);
}
.sheet__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sheet__bar b { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.sheet__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.sheet__grid { display: grid; gap: 5px; font-size: 0.76rem; }
.sheet__row { display: grid; grid-template-columns: 1.4fr 1fr .8fr .9fr; gap: 5px; }
.sheet__row span {
  padding: 6px 8px; border-radius: 6px; background: var(--surface-muted);
  color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sheet__row--head span { background: var(--primary-softer); color: var(--primary); font-weight: 600; }
.sheet__row--faded span { opacity: .45; }
.sticky {
  position: absolute; padding: 12px 14px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; line-height: 1.4; max-width: 190px;
  box-shadow: var(--shadow-md);
}
.sticky--1 { background: var(--honey-200); color: #4A370A; inset-inline-end: -22px; top: -26px; transform: rotate(4deg); }
.sticky--2 { background: var(--coral-100); color: var(--coral-700); inset-inline-start: -26px; bottom: -30px; transform: rotate(-5deg); }
[data-theme="dark"] .sticky--1 { color: var(--honey-200); background: #3D3218; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.step__num {
  position: absolute; inset-inline-end: 22px; top: 14px;
  font-size: 3.4rem; font-weight: 800; line-height: 1;
  color: var(--surface-muted); user-select: none;
}
.step__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.step__icon--teal { background: var(--teal-100); color: var(--teal-700); }
.step__icon--gold { background: var(--honey-100); color: var(--honey-700); }
.step__icon--coral { background: var(--coral-100); color: var(--coral-700); }
.step h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.99rem; }
.step__list { display: grid; gap: 6px; margin-top: 14px; font-size: 0.9rem; color: var(--text-muted); }
.step__list li { display: flex; align-items: flex-start; gap: 8px; }
.step__list li::before { content: "✓"; color: var(--primary); font-weight: 700; flex: none; }

/* ---------- care levels ---------- */
.levels { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.levels__list { display: grid; gap: 10px; }
.levels__list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 4px solid var(--c);
  border-radius: 14px; padding: 14px 16px;
}
.levels__list b { font-weight: 700; min-width: 118px; }
.levels__list small { color: var(--text-muted); font-size: 0.9rem; }
.levels__every {
  margin-inline-start: auto; white-space: nowrap;
  background: var(--surface-muted); color: var(--text-muted);
  font-size: 0.78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px;
}
.levels__note {
  margin-top: 20px; padding: 16px 18px; border-radius: 14px;
  background: var(--primary-softer); border: 1px solid var(--teal-200);
  color: var(--text-muted); font-size: 0.95rem;
}
.levels__note b { color: var(--primary); }

/* ---------- emergency ---------- */
.emergency {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--teal-900), var(--teal-800) 55%, #0C4A46);
  color: #fff; padding: 96px 0;
}
.emergency::before, .emergency::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); opacity: .3;
}
.emergency::before { width: 460px; height: 460px; background: var(--honey-600); inset-inline-start: -140px; top: -180px; }
.emergency::after { width: 400px; height: 400px; background: #D92D20; inset-inline-end: -120px; bottom: -180px; opacity: .22; }
.emergency__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.emergency .eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.emergency .h2 { margin-top: 22px; }
.emergency p { margin-top: 18px; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }
.emergency__checks { display: grid; gap: 11px; margin-top: 26px; }
.emergency__checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: rgba(255, 255, 255, 0.92); }
.emergency__checks li::before {
  content: ""; flex: none; margin-top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--honey-600); box-shadow: 0 0 0 4px rgba(196, 146, 42, 0.22);
}
.emergency__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.round {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg); padding: 22px;
  backdrop-filter: blur(6px);
}
.round__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.round__head b { font-size: 1.02rem; font-weight: 700; }
.round__head span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }
.round__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin: 14px 0 18px; }
.round__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey-600), #6FD3A5); animation: fill 1.6s cubic-bezier(.22,.8,.3,1) both; }
.area { margin-bottom: 16px; }
.area__head { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 8px; }
.area__cells { display: flex; gap: 5px; }
.area__cells i {
  flex: 1; min-width: 0; height: 24px; border-radius: 6px; background: var(--c);
  animation: pop .5s ease both;
}
.area:nth-child(2) i { animation-delay: .1s } .area:nth-child(3) i { animation-delay: .2s }
@keyframes pop { from { opacity: 0; transform: scaleY(.4) } }
.round__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }
.round__legend span { display: flex; align-items: center; gap: 7px; }
.round__legend i { width: 11px; height: 11px; border-radius: 4px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.feature__icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-softer); color: var(--primary); margin-bottom: 16px;
}
.feature__icon--gold { background: var(--honey-50); color: var(--honey-700); }
.feature__icon--coral { background: var(--coral-100); color: var(--coral-700); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.07rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.role__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.role h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.role p { color: var(--text-muted); font-size: 0.94rem; }
.role ul { display: grid; gap: 5px; margin-top: 12px; font-size: 0.88rem; color: var(--text-muted); }
.role li { display: flex; align-items: center; gap: 8px; }
.role li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); flex: none; }

/* ---------- devices ---------- */
.devices { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.devices__visual { position: relative; min-height: 380px; }
.dev-desk {
  display: grid; grid-template-columns: 74px 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.dev-desk__side { background: var(--teal-900); padding: 18px 12px; display: grid; gap: 9px; align-content: start; }
.dev-desk__side i { height: 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); }
.dev-desk__side i.on { background: var(--honey-600); }
.dev-desk__side i.logo { height: 26px; border-radius: 50%; width: 26px; background: linear-gradient(140deg, var(--teal-600), var(--honey-600)); margin-bottom: 8px; }
.dev-desk__main { padding: 20px; display: grid; gap: 13px; align-content: start; }
.dev-desk__row { height: 11px; border-radius: 6px; background: var(--surface-muted); }
.w40 { width: 40% } .w55 { width: 55% } .w70 { width: 70% } .w85 { width: 85% }
.dev-desk__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dev-desk__cards b { height: 54px; border-radius: 10px; background: var(--surface-muted); border-top: 3px solid var(--c); }
.dev-desk__list { display: grid; gap: 8px; }
.dev-desk__list i { height: 30px; border-radius: 9px; background: var(--surface-muted); border-inline-start: 3px solid var(--c); }

.dev-phone {
  position: absolute; inset-inline-start: -24px; bottom: -34px; width: 168px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 14px 12px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 9px; min-height: 250px;
}
.dev-phone__row { height: 9px; border-radius: 5px; background: var(--surface-muted); }
.dev-phone__card { height: 42px; border-radius: 11px; background: var(--surface-muted); border-inline-start: 3px solid var(--c); }
.dev-phone__nav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.dev-phone__nav i { height: 8px; border-radius: 4px; background: var(--ink-300); }
.dev-phone__nav i.on { background: var(--primary); }

.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; align-items: center; gap: 13px; font-weight: 500; }
.checks li::before {
  content: "✓"; flex: none;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 0.82rem; font-weight: 700;
}

/* ---------- privacy ---------- */
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.privacy__card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.privacy__card h3 svg { color: var(--primary); flex: none; }
.privacy__card p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 24px;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; color: var(--primary);
  transition: transform .25s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-muted); padding: 0 0 22px; margin-top: -4px; }
.faq em { font-style: normal; font-weight: 600; color: var(--text); }

/* ---------- cta ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--teal-900), var(--teal-700));
  color: #fff; padding: 100px 0;
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(100px); opacity: .35; }
.cta::before { width: 420px; height: 420px; background: var(--honey-600); inset-inline-start: -130px; top: -160px; }
.cta::after { width: 380px; height: 380px; background: var(--teal-600); inset-inline-end: -110px; bottom: -170px; opacity: .55; }
.cta__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.cta__logo { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 14px 44px rgba(0, 0, 0, .35); margin-bottom: 24px; }
.cta__title { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; line-height: 1.22; }
.cta__sub { margin-top: 16px; font-size: 1.1rem; color: rgba(255, 255, 255, .82); max-width: 600px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 0.95rem; color: rgba(255, 255, 255, .8); }
.cta__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.cta__contact a:hover { color: var(--honey-200); }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 38px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { border-radius: 10px; }
.footer__brand b { display: block; font-weight: 700; }
.footer__brand small { color: var(--text-muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-inline: auto; color: var(--text-muted); font-size: 0.95rem; }
.footer__links a:hover { color: var(--text); }
.footer__meta { display: grid; gap: 2px; text-align: end; font-size: 0.85rem; color: var(--text-faint); }
.footer__meta a { color: var(--primary); font-weight: 500; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal--delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: none; }
.steps .step:nth-child(2) { transition-delay: .1s }
.steps .step:nth-child(3) { transition-delay: .2s }
.features .feature:nth-child(3n+2) { transition-delay: .08s }
.features .feature:nth-child(3n+3) { transition-delay: .16s }
.roles .role:nth-child(2) { transition-delay: .07s }
.roles .role:nth-child(3) { transition-delay: .14s }
.roles .role:nth-child(4) { transition-delay: .21s }
.privacy__card:nth-child(2) { transition-delay: .08s }
.privacy__card:nth-child(3) { transition-delay: .16s }

@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; transform: none; }
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__inner { gap: 32px; }
  .mock-phone { inset-inline-start: -14px; width: 236px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .emergency { padding: 76px 0; }
  .cta { padding: 80px 0; }
  .hero__inner, .problem, .levels, .emergency__inner, .devices { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 40px; }
  .mock-phone { position: static; width: 100%; max-width: 340px; margin: -10px auto 0; }
  .mock-toast { position: static; margin: 16px auto 0; width: fit-content; animation: none; }
  .sheet { transform: none; margin-top: 24px; }
  .sticky--1 { inset-inline-end: -8px; top: -20px; }
  .sticky--2 { inset-inline-start: -8px; bottom: -24px; }
  .steps, .features, .privacy { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .devices__visual { min-height: 0; margin-top: 32px; }
  .dev-phone { position: static; width: 100%; max-width: 300px; margin: -20px auto 0; min-height: 0; }
  .section__head { margin-bottom: 40px; }
}

@media (max-width: 1023px) {
  .nav {
    position: absolute; inset-inline: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 10px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .theme-toggle { justify-content: flex-start; padding: 12px 14px; }
  .theme-toggle__label--dark { display: inline; }
  [data-theme="dark"] .theme-toggle__label--dark { display: none; }
  [data-theme="dark"] .theme-toggle__label--light { display: inline; }
  .menu-btn { display: flex; }
  .header { position: sticky; }
  .header__inner { position: relative; }
  .header__login { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 48px 0; }
  .emergency, .cta { padding: 64px 0; }
  .steps, .features, .privacy, .roles { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero__actions .btn { width: 100%; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { display: none; }
  .header__cta { display: none; }
  .mock-desk { padding: 16px; }
  .sheet { margin-bottom: 34px; }
  .sticky { max-width: 160px; font-size: 0.78rem; padding: 10px 12px; }
  .sticky--1 { inset-inline-end: 2px; top: -16px; }
  .sticky--2 { inset-inline-start: 2px; bottom: -20px; }
  .sheet__row { grid-template-columns: 1.3fr 1fr .9fr; }
  .sheet__row span:nth-child(4) { display: none; }
  .levels__list li { flex-wrap: wrap; gap: 8px 12px; }
  .levels__list b { min-width: 0; }
  .levels__every { margin-inline-start: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { margin-inline: 0; }
  .footer__meta { text-align: start; }
  .cta__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .round { padding: 16px; }
}

/* ---------- print ---------- */
@media print {
  .header, .marquee, .hero__visual, .mock-toast, .cta__actions { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; }
}
