/* ==========================================================================
   משמרות באהבה — landing page
   Palette derived from the logo: deep navy, the clock's green, the hearts' coral.
   ========================================================================== */

:root {
  /* brand */
  --navy-900: #051B4C;
  --navy-800: #0F2461;
  --navy-700: #1B2954;
  --navy-600: #2E3E75;
  --navy-200: #C9D1E8;
  --navy-100: #E8ECF6;
  --navy-50:  #F3F5FA;

  --green:     #2BB288;
  --green-700: #1F8F6C;
  --green-100: #DDF5EC;
  --green-50:  #EFFAF5;

  --coral:     #F04E56;
  --coral-700: #D93A41;
  --coral-100: #FEE4E5;

  --amber:     #E08A1E;
  --amber-100: #FDEED6;

  --blue:      #2F6FED;
  --blue-100:  #E1EAFF;

  --slate-900: #16213A;
  --slate-700: #3B4763;
  --slate-600: #5B6784;
  --slate-400: #98A2B8;
  --slate-300: #C5CCDB;
  --slate-200: #E3E7EF;
  --slate-100: #EEF1F6;
  --slate-50:  #F7F8FB;

  /* semantic (light) */
  --bg: #FFFFFF;
  --bg-alt: var(--slate-50);
  --surface: #FFFFFF;
  --surface-muted: var(--slate-100);
  --border: var(--slate-200);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --text-faint: var(--slate-400);
  --primary: var(--navy-700);
  --primary-hover: var(--navy-800);
  --primary-soft: var(--navy-100);
  --primary-softer: var(--navy-50);
  --on-primary: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.82);
  --shadow-sm: 0 1px 2px rgba(5, 27, 76, 0.06), 0 1px 3px rgba(5, 27, 76, 0.08);
  --shadow-md: 0 4px 14px rgba(5, 27, 76, 0.08), 0 1px 3px rgba(5, 27, 76, 0.06);
  --shadow-lg: 0 24px 60px -12px rgba(5, 27, 76, 0.22), 0 8px 20px -8px rgba(5, 27, 76, 0.12);
  --ring: 0 0 0 3px rgba(43, 178, 136, 0.45);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B1430;
  --bg-alt: #0E1838;
  --surface: #131E40;
  --surface-muted: #1B2750;
  --border: #27335F;
  --text: #EEF1F8;
  --text-muted: #A9B4CF;
  --text-faint: #6F7DA3;
  --primary: #7FA6FF;
  --primary-hover: #9DBBFF;
  --primary-soft: #1D2B5E;
  --primary-softer: #17224B;
  --on-primary: #061437;
  --navy-100: #1D2B5E;
  --navy-50:  #17224B;
  --green-100: #123E31;
  --green-50:  #0F3128;
  --coral-100: #4A1F26;
  --amber-100: #42301A;
  --blue-100:  #1B2B5A;
  --slate-100: #1B2750;
  --slate-200: #27335F;
  --slate-300: #3A4878;
  --header-bg: rgba(11, 20, 48, 0.82);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  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.6;
  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, p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

.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: 820px; }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section__sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin-top: 14px;
}
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head .section__sub { margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
[data-theme="dark"] .eyebrow { color: var(--green); }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(43, 178, 136, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 178, 136, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(43, 178, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 178, 136, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 26px; font-size: 1.08rem; border-radius: 14px; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px -6px rgba(27, 41, 84, 0.5); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 10px 24px -8px rgba(27, 41, 84, 0.55); transform: translateY(-1px); }
.btn--soft { background: var(--primary-softer); color: var(--primary); border-color: var(--navy-200); }
[data-theme="dark"] .btn--soft { border-color: var(--border); }
.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(--navy-900); }
.btn--white:hover { background: var(--navy-50); transform: translateY(-1px); }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  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: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; min-width: 0; }
.brand { min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; color: var(--navy-900); }
[data-theme="dark"] .brand { color: #fff; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand__name { white-space: nowrap; }
.brand__accent { color: var(--green); }
.nav { display: flex; gap: 6px; margin-inline-start: 12px; }
.nav a {
  padding: 8px 14px; border-radius: 10px;
  font-weight: 500; color: var(--text-muted); white-space: nowrap;
  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 lives inside the nav: icon-only on desktop, a labelled row in the mobile menu */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  color: var(--text-muted);
  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-moon, [data-theme="dark"] .theme-toggle__label--dark { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.menu-btn { display: none; flex-direction: column; gap: 5px; }
.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: 64px 0 40px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--green { width: 520px; height: 520px; background: var(--green-100); inset-inline-start: -160px; top: -120px; }
.blob--coral { width: 380px; height: 380px; background: var(--coral-100); inset-inline-end: 8%; top: 40px; opacity: .45; }
.blob--navy { width: 600px; height: 600px; background: var(--navy-100); inset-inline-end: -220px; bottom: -260px; }
[data-theme="dark"] .blob { opacity: .35; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
[data-theme="dark"] .hero__title { color: #fff; }
.hl {
  position: relative; display: inline-block; color: var(--green-700);
}
[data-theme="dark"] .hl { color: var(--green); }
.hl::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.28em;
  background: var(--green-100); border-radius: 6px; z-index: -1;
}
.hero__lead { margin-top: 22px; font-size: 1.15rem; color: var(--text-muted); max-width: 560px; }
.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.93rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8F6C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* product visual */
.hero__visual { position: relative; min-height: 580px; }
.mock-desk {
  position: absolute; inset-inline-end: 0; top: 0; width: min(100%, 520px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px 20px 16px;
}
.mock-desk__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mock-desk__title { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.mock-desk__tabs { display: flex; gap: 4px; background: var(--surface-muted); padding: 3px; border-radius: 9px; }
.mock-desk__tabs i { font-style: normal; font-size: 0.75rem; padding: 4px 10px; border-radius: 7px; color: var(--text-muted); }
.mock-desk__tabs i.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 180px; }
.week__day { display: flex; flex-direction: column; gap: 5px; }
.week__day b { font-size: 0.75rem; font-weight: 500; color: var(--text-faint); text-align: center; margin-bottom: 2px; }
.week__day--today b { color: var(--primary); font-weight: 700; }
.week__day i { flex: 1; border-radius: 7px; background: var(--c); opacity: .9; transform-origin: top; animation: grow .6s ease both; }
.week__day:nth-child(2) i { animation-delay: .05s } .week__day:nth-child(3) i { animation-delay: .1s }
.week__day:nth-child(4) i { animation-delay: .15s } .week__day:nth-child(5) i { animation-delay: .2s }
.week__day:nth-child(6) i { animation-delay: .25s } .week__day:nth-child(7) i { animation-delay: .3s }
@keyframes grow { from { transform: scaleY(0); opacity: 0 } to { transform: scaleY(1); opacity: .9 } }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 0.78rem; color: var(--text-muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

.mock-phone {
  position: absolute; inset-inline-start: 0; bottom: 0; width: 290px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; box-shadow: var(--shadow-lg);
  padding: 18px 16px 16px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.mock-phone__top { margin-bottom: 14px; }
.mock-phone__date { display: block; font-size: 0.78rem; color: var(--text-faint); }
.mock-phone__top strong { font-size: 1.05rem; font-weight: 700; }
.shift {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px;
  border: 1px solid var(--border); border-radius: 14px;
  border-inline-start-width: 4px;
  background: var(--surface);
}
.shift--full { border-inline-start-color: var(--green); }
.shift--mine { border-inline-start-color: var(--blue); background: var(--blue-100); }
.shift--open { border-inline-start-color: var(--coral); }
.shift__time { font-weight: 600; font-size: 0.82rem; color: var(--text); font-variant-numeric: tabular-nums; }
.shift__name { font-size: 0.85rem; font-weight: 600; }
.shift__meta { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--text-muted); }
.avatars { display: inline-flex; }
.avatars i {
  width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 0.6rem; font-weight: 700;
  display: grid; place-items: center; color: #fff; background: var(--navy-600); border: 2px solid var(--surface);
}
.avatars i + i { margin-inline-start: -6px; background: var(--green-700); }
.badge { font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge--green { background: var(--green-100); color: var(--green-700); }
.badge--blue  { background: var(--blue-100); color: var(--blue); }
.badge--coral { background: var(--coral-100); color: var(--coral-700); }
[data-theme="dark"] .badge--green { color: var(--green); }
[data-theme="dark"] .badge--coral { color: var(--coral); }
[data-theme="dark"] .badge--blue { color: #9DBBFF; }
.mock-phone__cta {
  width: 100%; margin-top: 6px; padding: 11px; border-radius: 12px;
  background: var(--navy-700); color: #fff; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 6px 16px -6px rgba(27, 41, 84, 0.6);
}
[data-theme="dark"] .mock-phone__cta { background: var(--primary); color: var(--on-primary); }

.mock-toast {
  position: absolute; inset-inline-end: 24px; bottom: 56px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  animation: toast 7s ease-in-out infinite;
}
.mock-toast__icon { font-size: 1.1rem; }
@keyframes toast {
  0%, 15% { opacity: 0; transform: translateY(10px) }
  25%, 80% { opacity: 1; transform: translateY(0) }
  90%, 100% { opacity: 0; transform: translateY(10px) }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border);
  background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 12px; width: max-content; padding: 14px 0;
  animation: marquee 40s 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-weight: 500; font-size: 0.92rem; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(50%) } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

/* problem */
.problem { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.problem__text p { color: var(--text-muted); margin-top: 18px; font-size: 1.08rem; }
.problem__text p.problem__answer { color: var(--text); }
.chat {
  background: var(--surface-muted); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-md);
}
.bubble {
  align-self: flex-start; max-width: 85%;
  background: var(--surface); padding: 9px 14px; border-radius: 16px; border-start-start-radius: 4px;
  font-size: 0.93rem; box-shadow: var(--shadow-sm);
}
.bubble:nth-child(2), .bubble:nth-child(4) { align-self: flex-end; border-start-start-radius: 16px; border-start-end-radius: 4px; background: var(--green-100); }
.bubble--sys {
  align-self: stretch; max-width: none; display: flex; align-items: center; gap: 10px;
  background: var(--navy-100); border-radius: 14px; margin-top: 8px; font-weight: 500;
}
.bubble--sys img { border-radius: 50%; flex: none; }
.bubble--link {
  align-self: stretch; max-width: none; display: grid; gap: 2px;
  border: 1px solid var(--border); border-inline-start: 4px solid var(--green); border-radius: 12px;
}
.bubble--link small { color: var(--text-muted); }
.bubble--link em { font-style: normal; font-size: 0.78rem; color: var(--blue); direction: ltr; text-align: end; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  position: absolute; top: 20px; inset-inline-end: 22px;
  font-size: 3rem; font-weight: 800; line-height: 1; color: var(--slate-200);
}
[data-theme="dark"] .step__num { color: var(--surface-muted); }
.step__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.step__icon--navy { background: var(--navy-100); color: var(--navy-700); }
.step__icon--green { background: var(--green-100); color: var(--green-700); }
.step__icon--coral { background: var(--coral-100); color: var(--coral-700); }
[data-theme="dark"] .step__icon--navy { color: #9DBBFF; }
[data-theme="dark"] .step__icon--green { color: var(--green); }
[data-theme="dark"] .step__icon--coral { color: var(--coral); }
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); }

/* features */
.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy-200); }
[data-theme="dark"] .feature:hover { border-color: var(--slate-300); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--primary-softer); color: var(--primary); border: 1px solid var(--navy-200);
}
[data-theme="dark"] .feature__icon { border-color: var(--border); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.97rem; }

/* status language */
.status { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.status__list { display: grid; gap: 10px; }
.status__list li {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.status__list i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.status__list b { font-weight: 700; min-width: 64px; }
.status__list span { color: var(--text-muted); font-size: 0.95rem; }

/* uses */
.uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.use {
  display: grid; gap: 4px; padding: 22px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.use:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.use__emoji { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.use b { font-weight: 700; }
.use small { color: var(--text-muted); font-size: 0.85rem; line-height: 1.45; }

/* devices */
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.devices__visual { position: relative; min-height: 360px; }
.dev-desk {
  position: absolute; inset-inline-start: 0; top: 0; width: 85%; height: 300px;
  display: grid; grid-template-columns: 64px 1fr;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.dev-desk__side { background: var(--navy-800); padding: 18px 14px; display: grid; gap: 10px; align-content: start; }
.dev-desk__side i { height: 12px; border-radius: 6px; background: rgba(255,255,255,.18); }
.dev-desk__side i.on { background: var(--green); }
.dev-desk__main { padding: 22px; display: grid; gap: 14px; align-content: start; }
.dev-desk__row { height: 12px; border-radius: 6px; background: var(--surface-muted); }
.w40 { width: 40% } .w60 { width: 60% } .w70 { width: 70% } .w80 { width: 80% }
.dev-desk__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dev-desk__cards b { height: 70px; border-radius: 12px; background: var(--surface-muted); border-inline-start: 4px solid var(--c); }
.dev-phone {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 170px; height: 320px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.dev-phone__row { height: 10px; border-radius: 5px; background: var(--surface-muted); }
.dev-phone__card { height: 46px; border-radius: 12px; background: var(--surface-muted); border-inline-start: 4px 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(--slate-300); }
.dev-phone__nav i.on { background: var(--navy-700); }
[data-theme="dark"] .dev-phone__nav i.on { background: var(--primary); }
.checks { display: grid; gap: 10px; margin-top: 24px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8F6C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* faq */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 22px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--surface-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6784' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-muted); padding: 0 0 20px; margin-top: -4px; }
.faq em { font-style: normal; font-weight: 600; color: var(--text); }

/* cta */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, #1E3A6E);
  color: #fff; padding: 96px 0;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none;
}
.cta::before { width: 420px; height: 420px; background: var(--green); inset-inline-start: -120px; top: -140px; }
.cta::after { width: 360px; height: 360px; background: var(--coral); inset-inline-end: -100px; bottom: -160px; }
.cta__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.cta__logo { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 12px 40px 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.2; }
.cta__sub { margin-top: 16px; font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* footer */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 36px 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: 50%; }
.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 on scroll ---------- */
.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 }
.uses .use:nth-child(5n+2) { transition-delay: .05s }
.uses .use:nth-child(5n+3) { transition-delay: .1s }
.uses .use:nth-child(5n+4) { transition-delay: .15s }
.uses .use:nth-child(5n+5) { transition-delay: .2s }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-phone, .dev-phone, .mock-toast, .week__day i, .eyebrow__dot, .marquee__track { animation: none !important; }
  .mock-toast { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .hero { padding: 40px 0 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .hero__visual { min-height: 0; display: grid; gap: 20px; }
  .mock-desk, .mock-phone, .mock-toast { position: static; width: 100%; }
  .mock-phone { max-width: 420px; margin-inline: auto; animation: none; }
  .mock-toast { display: none; }
  .problem, .status, .devices { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(3, 1fr); }
  .devices__visual { order: 2; min-height: 340px; }
  .section { padding: 72px 0; }
}

@media (max-width: 1023px) {
  .nav {
    display: none;
    position: absolute; inset-inline: 0; top: 72px;
    flex-direction: column; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 24px 16px; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 14px; font-size: 1.05rem; }
  .nav .theme-toggle {
    margin-top: 6px; padding: 14px 14px 6px; border-radius: 0;
    border-top: 1px solid var(--border); font-size: 1.05rem;
  }
  .nav .theme-toggle:hover { background: none; }
  .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: inline-flex; }
  .header__login { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .header__inner { height: 64px; gap: 12px; }
  .brand__name { font-size: 1.05rem; }
  .header__cta { padding: 9px 14px; font-size: 0.9rem; }
  .nav { top: 64px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 8px 16px; font-size: 0.88rem; }
  .mock-desk { padding: 16px 14px; }
  .week { height: 140px; gap: 5px; }
  .features { grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .use { padding: 18px 14px; }
  .status__list li { grid-template-columns: auto 1fr; }
  .status__list span { grid-column: 1 / -1; }
  .devices__visual { min-height: 300px; }
  .dev-desk { height: 240px; width: 80%; }
  .dev-phone { width: 130px; height: 250px; }
  .cta { padding: 72px 0; }
  .cta__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { margin-inline: 0; }
  .footer__meta { text-align: start; }
  .step__num { font-size: 2.4rem; }
}
