/* ============================================================
   TRINELY — Shared styles (Lumière)
   Variante 1: Helles SaaS · Navy + Teal · Plus Jakarta Sans
   ============================================================ */

:root {
  --navy:    #0A1B3D;
  --navy-2:  #14224a;
  --navy-3:  #1d2d5e;
  --teal:    #14CBB4;
  --teal-2:  #0FB7A2;
  --teal-3:  #0a8a7a;
  --teal-soft: rgba(20,203,180,0.10);
  --ink:     #0d1a36;
  --ink-2:   #45506b;
  --muted:   #6a7691;
  --line:    #e6e8ef;
  --line-2:  #eef0f4;
  --bg:      #ffffff;
  --bg-2:    #f7f8fb;
  --bg-3:    #f0f2f7;
  --amber:   #f7a831;
  --rose:    #e7638c;
  --green:   #16a34a;
  --red:     #ef4444;
  --radius-sm: 8px;
  --radius:   12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }

img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (min-width: 900px) {
  .container { padding: 0 48px; }
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a {
  color: var(--ink-2); font-weight: 500; font-size: 14.5px;
  transition: color .15s; padding: 6px 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none;
  background: transparent; border: 0;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav.open .nav-links a {
    padding: 12px 0; border-bottom: 1px solid var(--line-2);
  }
}

.lang-switch {
  display: inline-flex; align-items: center; padding: 4px;
  background: var(--bg-2); border-radius: 999px; gap: 2px;
}
.lang-switch button {
  background: transparent; border: 0; padding: 6px 11px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--muted); transition: all .15s;
}
.lang-switch button[data-active="true"] {
  background: white; color: var(--navy);
  box-shadow: 0 1px 3px rgba(10,27,61,0.08);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; transition: all .18s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover {
  background: var(--navy-2); transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10,27,61,0.18);
}
.btn-accent { background: var(--teal); color: var(--navy); }
.btn-accent:hover { background: var(--teal-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-lg { padding: 14px 24px; font-size: 15.5px; }

.btn .arrow {
  width: 0; height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ============ SECTION HEADINGS ============ */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 100px 0; } }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  color: var(--teal-3); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; color: var(--navy);
  margin: 0 0 14px; text-wrap: balance;
}
.section-sub {
  color: var(--ink-2); font-size: 17px;
  max-width: 620px; margin: 0 auto; line-height: 1.55; text-wrap: pretty;
}

/* ============ HERO ============ */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 88px 0 64px; } }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 420px at 50% 0%, rgba(20,203,180,0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, transparent 50%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image:
    linear-gradient(rgba(10,27,61,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,27,61,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(10,27,61,0.04);
}
.eyebrow-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(20,203,180,0.25);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,203,180,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(20,203,180,0); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 800; margin: 22px 0 18px; color: var(--navy);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--teal-3); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2); max-width: 620px; line-height: 1.5; text-wrap: pretty;
}
.hero-ctas {
  display: flex; gap: 18px; margin: 28px 0 14px;
  align-items: center; flex-wrap: wrap;
}
.hero-note {
  font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-note::before { content: "✓"; color: var(--teal-3); font-weight: 700; }
.hero-top { max-width: 760px; }

/* Hero mockup (calendar dashboard) */
.mockup-wrap {
  margin-top: 56px; position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,203,180,0.18), rgba(10,27,61,0.08));
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(10,27,61,0.25),
    0 2px 6px rgba(10,27,61,0.08);
}
.mockup {
  background: white; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 52px 1fr;
  min-height: 520px;
}
@media (max-width: 760px) {
  .mockup { grid-template-columns: 1fr; grid-template-rows: 52px auto 1fr; }
  .mock-side { display: none; }
}
.mock-topbar {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; border-bottom: 1px solid var(--line);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #e2e6ee; }
.mock-url {
  margin-left: 18px; flex: 1; max-width: 320px; height: 30px;
  background: var(--bg-2); border-radius: 7px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 12.5px;
}
.mock-url::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
}
.mock-live {
  margin-left: auto; font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.mock-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: pulse-soft 2s infinite;
}
.mock-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #14CBB4, #0A1B3D);
}
.mock-side {
  border-right: 1px solid var(--line); padding: 16px 12px; background: var(--bg-2);
  display: flex; flex-direction: column; gap: 2px;
}
.mock-side-title {
  font-size: 10.5px; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 12px 0 4px; padding: 0 8px;
}
.mock-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 7px;
  font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}
.mock-side-item .ico {
  width: 14px; height: 14px;
  flex-shrink: 0; color: var(--muted);
}
.mock-side-item.active {
  background: white; color: var(--navy); font-weight: 600;
  box-shadow: 0 1px 2px rgba(10,27,61,0.06);
}
.mock-side-item.active .ico { color: var(--teal-3); }

.mock-main { padding: 22px 24px; overflow: hidden; min-width: 0; }
.mock-h2 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.mock-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.mock-tabs { display: flex; gap: 6px; }
.mock-tabs button {
  padding: 5px 11px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: var(--bg-2); color: var(--ink-2);
}
.mock-tabs button.active { background: var(--navy); color: white; border-color: var(--navy); }

.calendar {
  display: grid; grid-template-columns: 56px repeat(5, 1fr);
  gap: 1px; background: var(--line);
  border-radius: 8px; overflow: hidden; border: 1px solid var(--line);
}
.cal-head {
  background: var(--bg-2); padding: 10px 6px;
  font-size: 11px; color: var(--muted); font-weight: 600; text-align: center;
}
.cal-head.col { color: var(--ink); font-weight: 700; }
.cal-cell { background: white; min-height: 38px; padding: 3px; position: relative; }
.cal-time {
  background: var(--bg-2); color: var(--muted);
  font-size: 10.5px; padding: 4px 6px; text-align: right;
}
.appt {
  position: absolute; left: 3px; right: 3px;
  border-radius: 5px; padding: 5px 7px;
  font-size: 10.5px; font-weight: 600;
  border-left: 3px solid; line-height: 1.2;
  animation: appt-in .55s ease forwards; opacity: 0;
}
.appt small {
  display: block; font-weight: 500; opacity: 0.7;
  margin-top: 2px; font-size: 10px;
}
.appt-a { background: rgba(20,203,180,0.12); color: var(--teal-3); border-color: var(--teal); top: 2px; height: 60px; }
.appt-b { background: rgba(10,27,61,0.06); color: var(--navy); border-color: var(--navy); top: 2px; height: 46px; }
.appt-c { background: rgba(247,168,49,0.14); color: #8a5a07; border-color: var(--amber); top: 2px; height: 74px; }
.appt-d { background: rgba(231,99,140,0.12); color: #a4365f; border-color: var(--rose); top: 2px; height: 46px; }

@keyframes appt-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ USP STRIP ============ */
.usp-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, white 100%);
  border-top: 1px solid var(--line);
}
.usp-head {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; align-items: end; margin-bottom: 48px;
}
@media (max-width: 800px) {
  .usp-head { grid-template-columns: 1fr; gap: 16px; }
}
.usp-head h2 {
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 700; color: var(--navy);
  margin: 0; text-wrap: balance;
}
.usp-head h2 em {
  font-style: normal; color: var(--teal-3);
  position: relative; display: inline-block;
}
.usp-head h2 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px; background: rgba(20,203,180,0.22); z-index: -1; border-radius: 2px;
}
.usp-head p { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin: 0; }
.usp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
@media (max-width: 700px) { .usp-cards { grid-template-columns: 1fr; } }
.usp-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  position: relative;
}
.usp-card::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px;
  height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-3));
  border-radius: 0 0 3px 3px;
}
.usp-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--teal-soft); color: var(--teal-3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.usp-card h3 {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin: 0 0 6px;
}
.usp-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ============ TRUST ============ */
.trust {
  padding: 40px 0 8px;
  border-top: 1px solid var(--line);
}
.trust-label {
  text-align: center; color: var(--muted);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 22px;
}
.trust-logos {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; opacity: 0.6; flex-wrap: wrap;
}
.trust-logo {
  font-weight: 700; color: var(--ink-2);
  font-size: 17px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.trust-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.trust-logo.alt .dot { border-radius: 2px; }
.trust-logo.alt2 .dot { transform: rotate(45deg); border-radius: 0; }

/* ============ FEATURES GRID ============ */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: 16px;
  overflow: hidden; border: 1px solid var(--line);
}
@media (max-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: white; padding: 26px 22px; min-height: 200px;
  transition: background .2s; position: relative;
}
.feature:hover { background: var(--bg-2); }
.feature-num {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.06em;
}
.feature-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(20,203,180,0.18), rgba(20,203,180,0.05));
  border: 1px solid rgba(20,203,180,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--teal-3);
}
.feature h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ============ STORY (alternating sections) ============ */
.story { padding: 80px 0; }
@media (min-width: 900px) { .story { padding: 100px 0; } }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
@media (min-width: 1000px) { .story-grid { gap: 80px; } }
@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-grid.rev .story-text { order: 1; }
  .story-grid.rev .story-visual { order: 2; }
}
.story-text h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.15; letter-spacing: -0.02em;
  font-weight: 700; color: var(--navy); margin: 12px 0 16px; text-wrap: balance;
}
.story-text > p {
  color: var(--ink-2); font-size: 17px; line-height: 1.55; margin: 0 0 24px;
}
.story-text ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.story-text ul li {
  padding: 8px 0; display: flex; gap: 14px;
  color: var(--ink); font-size: 15px; align-items: flex-start;
}
.story-text ul li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: rgba(20,203,180,0.18);
  background-image: radial-gradient(circle, var(--teal) 32%, transparent 32%);
}

/* Mini stat block */
.story-stat {
  margin-top: 28px; padding: 20px 22px;
  background: var(--bg-2); border-left: 3px solid var(--teal);
  border-radius: 4px;
}
.story-stat .v {
  font-size: 32px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1;
}
.story-stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.story-stat .l strong { color: var(--navy); }

/* ============ PHONE MOCKUP ============ */
.phone-mock {
  width: 280px; height: 580px; margin: 0 auto;
  background: var(--navy); border-radius: 36px; padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(10,27,61,0.3),
    0 0 0 1px rgba(10,27,61,0.4);
  position: relative;
}
.phone-mock::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 22px; background: var(--navy); border-radius: 12px; z-index: 2;
}
.phone-screen {
  background: white; height: 100%; border-radius: 28px; overflow: hidden;
  padding: 40px 20px 20px;
}
.pm-step {
  font-size: 11px; color: var(--teal-3); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.pm-h { font-size: 17px; font-weight: 700; color: var(--navy); margin: 6px 0 4px; }
.pm-sub { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }
.pm-service {
  background: var(--bg-2); padding: 11px 12px; border-radius: 9px;
  margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center;
  border: 1px solid transparent;
}
.pm-service.selected { background: rgba(20,203,180,0.10); border-color: var(--teal); }
.pm-service-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.pm-service-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pm-price { font-size: 13px; font-weight: 700; color: var(--navy); }
.pm-time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.pm-time {
  padding: 8px 0; text-align: center; font-size: 12px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 7px; color: var(--ink);
}
.pm-time.taken { color: var(--muted); text-decoration: line-through; background: var(--bg-2); }
.pm-time.selected { background: var(--navy); color: white; border-color: var(--navy); }
.pm-cta {
  background: var(--navy); color: white; padding: 13px;
  border-radius: 10px; text-align: center; font-weight: 700; font-size: 13.5px;
  margin-top: 18px;
}

/* ============ REMINDER VISUAL (SMS bubbles) ============ */
.sms-mock {
  background: var(--bg-2); border-radius: 16px;
  padding: 28px; min-height: 460px; position: relative;
  border: 1px solid var(--line);
}
.sms-time {
  text-align: center; color: var(--muted); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; margin: 8px 0 14px;
}
.sms-bubble {
  max-width: 78%; padding: 12px 14px; border-radius: 18px;
  font-size: 13.5px; line-height: 1.4; margin-bottom: 6px;
}
.sms-bubble.from-studio {
  background: white; color: var(--ink);
  border: 1px solid var(--line); border-bottom-left-radius: 6px;
  margin-right: auto;
  box-shadow: 0 1px 2px rgba(10,27,61,0.04);
}
.sms-bubble.from-studio .sender {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--teal-3); letter-spacing: 0.04em; margin-bottom: 2px;
}
.sms-bubble.from-customer {
  background: var(--navy); color: white;
  border-bottom-right-radius: 6px; margin-left: auto;
}
.sms-quick {
  display: flex; gap: 6px; margin: -2px 0 10px;
  margin-right: auto; max-width: 78%; flex-wrap: wrap;
}
.sms-quick button {
  background: white; color: var(--teal-3); border: 1px solid var(--teal);
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.sms-quick button:hover { background: var(--teal-soft); }

/* ============ MARKETING CARD ============ */
.marketing-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 14px 40px -16px rgba(10,27,61,0.18);
}
.mk-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mk-head .b {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(231,99,140,0.14); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
}
.mk-head .t { font-weight: 700; color: var(--navy); font-size: 14px; }
.mk-head .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mk-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--line); gap: 12px;
}
.mk-row:first-of-type { border-top: 0; }
.mk-tag {
  font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.mk-tag.birthday { background: rgba(231,99,140,0.12); color: var(--rose); }
.mk-tag.vip { background: rgba(247,168,49,0.14); color: #8a5a07; }
.mk-tag.recall { background: rgba(20,203,180,0.12); color: var(--teal-3); }
.mk-row-l {
  font-size: 13.5px; color: var(--ink); font-weight: 600;
  display: flex; flex-direction: column; gap: 2px;
}
.mk-row-l span { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.mk-row-r { font-size: 12px; color: var(--muted); font-weight: 600; }
.mk-stat {
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mk-stat-v { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.mk-stat-l { font-size: 12px; color: var(--muted); }

/* ============ PAYROLL CARD ============ */
.payroll-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; box-shadow: 0 14px 40px -16px rgba(10,27,61,0.18);
}
.pc-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.pc-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.pc-month { font-size: 12px; color: var(--muted); font-weight: 600; }
.pc-total {
  font-size: 34px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 4px; font-variant-numeric: tabular-nums;
}
.pc-delta { color: var(--teal-3); font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.pc-bar {
  height: 8px; background: var(--bg-3); border-radius: 4px;
  overflow: hidden; display: flex; margin-bottom: 22px; gap: 1px;
}
.pc-bar span { display: block; height: 100%; }
.pc-bar span:nth-child(1) { background: var(--teal); }
.pc-bar span:nth-child(2) { background: var(--navy); }
.pc-bar span:nth-child(3) { background: var(--amber); }
.pc-bar span:nth-child(4) { background: var(--rose); }
.pc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.pc-staff { display: flex; align-items: center; gap: 12px; }
.pc-av {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3);
  font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.pc-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.pc-pct { font-size: 11px; color: var(--muted); }
.pc-amount {
  font-size: 14px; font-weight: 700; color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* ============ DASHBOARD CARD ============ */
.dashboard-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; box-shadow: 0 14px 40px -16px rgba(10,27,61,0.18);
}
.db-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.db-stat {
  padding: 14px; background: var(--bg-2); border-radius: 10px;
}
.db-stat-l {
  font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600;
}
.db-stat-v {
  font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em;
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.db-stat-d { font-size: 11.5px; color: var(--teal-3); margin-top: 2px; font-weight: 600; }
.db-chart-title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.db-chart-title .legend {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); font-weight: 500;
}
.db-chart-title .legend::before {
  content: ""; width: 10px; height: 2px; background: var(--teal); border-radius: 1px;
}
.db-chart { width: 100%; height: 200px; display: block; }

/* ============ STAFF FEATURE GRID ============ */
.staff-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 28px;
}
@media (max-width: 700px) { .staff-grid { grid-template-columns: 1fr; } }
.staff-feature {
  background: var(--bg-2); border-radius: 12px; padding: 22px;
  border: 1px solid var(--line);
}
.staff-feature .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: white; color: var(--teal-3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.staff-feature h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.staff-feature p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* Staff visual: list with avatars */
.staff-list-card {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 14px 40px -16px rgba(10,27,61,0.18);
}
.sl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sl-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.sl-actions { display: flex; gap: 6px; }
.sl-actions span { padding: 5px 11px; background: var(--bg-2); border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sl-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px;
  align-items: center; padding: 12px 0; border-top: 1px solid var(--line);
}
.sl-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 14px;
}
.sl-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.sl-role { font-size: 12px; color: var(--muted); }
.sl-status {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.sl-status.working { background: rgba(22,163,74,0.12); color: var(--green); }
.sl-status.off { background: rgba(247,168,49,0.14); color: #8a5a07; }
.sl-status.holiday { background: rgba(231,99,140,0.12); color: var(--rose); }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 40px;
}
@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } }
.test-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.test-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
.test-quote {
  font-size: 15.5px; color: var(--ink); line-height: 1.5;
  margin: 0; text-wrap: pretty;
}
.test-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.test-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #14CBB4, #0A1B3D);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.test-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.test-role { font-size: 12.5px; color: var(--muted); }

/* ============ PRICING ============ */
.pricing-section {
  padding: 80px 0; background: var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .pricing-section { padding: 100px 0; } }
.price-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 900px; margin: 0 auto;
}
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  background: white; border-radius: 18px; padding: 36px;
  border: 1px solid var(--line); position: relative;
}
.price-card.featured {
  border-color: var(--navy); background: var(--navy); color: white;
  box-shadow: 0 20px 60px -20px rgba(10,27,61,0.3);
}
.price-tag {
  position: absolute; top: -12px; right: 28px;
  background: var(--teal); color: var(--navy);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.price-name { font-size: 14.5px; font-weight: 700; opacity: 0.7; margin-bottom: 12px; }
.price-amount {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px;
}
.price-amount .num {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.price-amount .unit { font-size: 16px; opacity: 0.7; }
.price-note { font-size: 13px; opacity: 0.65; margin-bottom: 28px; }
.price-includes-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 12px; opacity: 0.65;
}
.price-list { list-style: none; padding: 0; margin: 0 0 28px; }
.price-list li {
  padding: 6px 0; display: flex; gap: 10px;
  font-size: 14px; align-items: flex-start; line-height: 1.45;
}
.price-list li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%2314CBB4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.5 3.5L13 5'/></svg>");
  background-size: contain; background-repeat: no-repeat;
}
.price-card .btn { width: 100%; justify-content: center; }
.price-card.featured .btn-accent { background: var(--teal); color: var(--navy); }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 22px 8px 22px 0;
  font-size: 16.5px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.faq-q .plus {
  width: 22px; height: 22px; flex-shrink: 0; position: relative;
  transition: transform .25s;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink-2); border-radius: 1px;
}
.faq-q .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: transform .25s; }
.faq-item[open] .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 8px 24px 0; color: var(--ink-2);
  font-size: 15px; line-height: 1.6; max-width: 700px;
}
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ============ ABOUT ============ */
.about-section {
  padding: 80px 0; background: white;
}
@media (min-width: 900px) { .about-section { padding: 100px 0; } }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; color: var(--navy); margin: 12px 0 16px; text-wrap: balance;
}
.about-text p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.about-stat {
  padding: 22px; background: var(--bg-2); border-radius: 12px;
  border-left: 3px solid var(--teal);
}
.about-stat .v {
  font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1;
}
.about-stat .l { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }

/* ============ CONTACT ============ */
.contact { padding: 80px 0; }
@media (min-width: 900px) { .contact { padding: 100px 0; } }
.contact-wrap {
  background: var(--navy); color: white;
  border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
}
.contact-wrap::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,203,180,0.4), transparent 70%);
  pointer-events: none;
}
.contact-info { position: relative; z-index: 1; }
.contact-info .eyebrow {
  color: var(--teal); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15; margin: 0 0 14px; color: white;
  letter-spacing: -0.02em; font-weight: 700;
}
.contact-info p { color: rgba(255,255,255,0.75); font-size: 16px; margin: 0; line-height: 1.55; }
.contact-bullets {
  display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,0.7);
}
.contact-bullets span { display: flex; align-items: center; gap: 8px; }
.contact-bullets span::before {
  content: "✓"; color: var(--teal); font-weight: 700;
}
.contact-phone {
  margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-phone .label {
  font-size: 12px; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.contact-phone .num {
  display: block; margin-top: 6px; font-size: 26px;
  font-weight: 700; color: white; letter-spacing: -0.015em;
}
.contact-phone .em {
  display: block; margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,0.7);
}

.contact-form {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 4px; }
.contact-form label {
  font-size: 12px; color: rgba(255,255,255,0.65);
  font-weight: 600; letter-spacing: 0.04em;
}
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white; font: inherit; font-size: 14.5px;
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(255,255,255,0.10);
}
.contact-form button {
  background: var(--teal); color: var(--navy); border: 0;
  padding: 14px; border-radius: 10px;
  font-weight: 700; font-size: 15px; margin-top: 6px;
  transition: background .15s;
}
.contact-form button:hover { background: var(--teal-2); }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }
.contact-form .consent {
  font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.45;
}
.contact-form .consent a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.contact-form .status {
  font-size: 13.5px; margin-top: 4px; min-height: 18px;
}
.contact-form .status.success { color: var(--teal); }
.contact-form .status.error { color: #ff8a8a; }

/* ============ FOOTER ============ */
footer {
  padding: 64px 0 32px; background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer h4 {
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--ink-2); font-size: 14px; }
.footer-grid a:hover { color: var(--navy); }
.footer-tag {
  color: var(--muted); font-size: 13.5px; max-width: 320px;
  margin-top: 14px; line-height: 1.55;
}
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  color: var(--muted); font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============ LEGAL PAGES (impressum, datenschutz) ============ */
.legal-page {
  padding: 64px 0 96px;
  background: linear-gradient(180deg, var(--bg-2) 0%, white 200px);
}
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; color: var(--navy); margin: 0 0 32px;
}
.legal-page h2 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin: 40px 0 12px; letter-spacing: -0.015em;
}
.legal-page h3 {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  color: var(--ink-2); font-size: 15.5px; line-height: 1.65;
  margin: 0 0 12px;
}
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--navy); }
.legal-page a { color: var(--teal-3); text-decoration: underline; text-underline-offset: 2px; }
.legal-page .legal-card {
  background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 28px; margin: 24px 0;
  box-shadow: 0 1px 3px rgba(10,27,61,0.04);
}
.legal-page .legal-card p:last-child { margin-bottom: 0; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin-bottom: 32px;
  font-weight: 500;
}
.legal-back:hover { color: var(--navy); }

/* Stacked story variant — text centered above, screenshot below */
.story-grid.stacked {
  display: block;
}
.story-grid.stacked .story-text {
  max-width: 760px; margin: 0 auto 44px;
  text-align: center;
}
.story-grid.stacked .story-text ul {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px 32px; max-width: 720px; margin: 12px auto 0;
}
@media (max-width: 700px) {
  .story-grid.stacked .story-text ul { grid-template-columns: 1fr; }
}
.story-grid.stacked .story-text ul li { text-align: left; }
/* Cap the screenshot width so on retina/high-DPI displays it renders
   close to 1:1 with the native pixel resolution of the source images
   (~1915px) → 960 CSS px × 2x = 1920 device px ≈ no upscaling, max sharpness. */
.story-grid.stacked .story-visual {
  width: 100%; max-width: 960px; margin: 0 auto;
}
.story-grid.stacked .browser-frame {
  box-shadow: 0 30px 60px -20px rgba(10,27,61,0.22), 0 2px 8px rgba(10,27,61,0.06);
}

/* Crisp screenshot rendering — let the browser use default bilinear/lanczos
   for downscaling. NO "crisp-edges" / "pixelated" — those are for pixel art
   and produce harsh aliasing on photo-like content. */
.bf-img {
  width: 100%; display: block;
  image-rendering: auto;
}

/* ============ BROWSER FRAME (for screenshots) ============ */
.browser-frame {
  border-radius: 14px; overflow: hidden;
  background: white; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(10,27,61,0.28), 0 2px 6px rgba(10,27,61,0.06);
}
.browser-frame.lifted {
  /* used when on a darker background, slight gradient lift behind */
  position: relative;
}
.browser-frame.lifted::before {
  content: ""; position: absolute; inset: -16px -16px 0 -16px; z-index: -1;
  background: linear-gradient(180deg, rgba(20,203,180,0.18), rgba(10,27,61,0.06));
  border-radius: 22px; filter: blur(6px);
}
.bf-top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f4f5f9; border-bottom: 1px solid var(--line);
}
.bf-dots { display: flex; gap: 6px; flex-shrink: 0; }
.bf-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d8dde8; }
.bf-dots span:nth-child(1) { background: #ff6155; }
.bf-dots span:nth-child(2) { background: #ffbd2e; }
.bf-dots span:nth-child(3) { background: #28c93f; }
.bf-url {
  flex: 1; max-width: 360px; margin: 0 12px;
  background: white; border-radius: 6px; padding: 5px 12px;
  font-size: 12px; color: var(--muted); font-family: "JetBrains Mono", "SF Mono", monospace;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #e6e8ef;
}
.bf-url::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.bf-img { width: 100%; display: block; }

/* Hero screenshot — capped so the image renders at ≤ its native pixel
   resolution on 2× retina displays. Source screenshots are ~1915 px wide;
   container 984 px − 2 × 12 px padding = 960 CSS px image area
   → 1920 device px on 2× ≈ 1:1 to source, no upscaling = max sharpness. */
.hero-screenshot {
  margin: 56px auto 0; max-width: 984px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,203,180,0.18), rgba(10,27,61,0.06));
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(10,27,61,0.25), 0 2px 6px rgba(10,27,61,0.08);
}
.hero-screenshot .browser-frame {
  box-shadow: none; border-radius: 10px;
}

/* SMS note in pricing */
.sms-note {
  max-width: 880px; margin: 28px auto 0;
  text-align: center;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.55;
  padding: 14px 22px;
  background: white; border: 1px dashed var(--line);
  border-radius: 10px;
}
.sms-note strong { color: var(--navy); }

/* Voucher mini-card overlay (when paired with marketing screenshot) */
.voucher-mini {
  position: absolute; bottom: -28px; right: -20px;
  background: white; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 14px 36px -14px rgba(10,27,61,0.25);
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
}
.voucher-mini .ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, #14CBB4, #0a8a7a);
  color: white; display: flex; align-items: center; justify-content: center;
}
.voucher-mini .t { font-weight: 700; color: var(--navy); font-size: 14px; }
.voucher-mini .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Inline absence chip (paired w/ staff screenshot) */
.story-visual { position: relative; }

/* ============ MOBILE APP ============ */
.mobile-app-section {
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(10,27,61,0.98), rgba(12,54,76,0.96)),
    var(--navy);
  color: white;
  overflow: hidden;
}
@media (min-width: 900px) {
  .mobile-app-section { padding: 108px 0; }
}
.mobile-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .mobile-app-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.mobile-app-copy .section-eyebrow { color: var(--teal); }
.mobile-app-copy h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 12px 0 18px;
  color: white;
  text-wrap: balance;
}
.mobile-app-copy p {
  color: rgba(255,255,255,0.76);
  font-size: 17px;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 0 24px;
}
.mobile-app-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}
.mobile-app-copy li {
  display: flex;
  gap: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
}
.mobile-app-copy li::before {
  content: "";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(20,203,180,0.18);
  background-image: radial-gradient(circle, var(--teal) 34%, transparent 36%);
  flex-shrink: 0;
  margin-top: 2px;
}
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: white;
  color: var(--navy);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.5);
  transition: transform 0.15s ease;
}
.store-button:hover {
  transform: translateY(-2px);
}
.store-icon {
  width: 34px;
  height: 34px;
}
.mobile-app-visual {
  display: flex;
  justify-content: center;
}
.app-screenshot-stack {
  width: min(100%, 460px);
  min-height: 620px;
  position: relative;
}
.app-shot {
  margin: 0;
  position: absolute;
  width: 260px;
  border-radius: 32px;
  overflow: hidden;
  background: #edf1f7;
  box-shadow: 0 34px 70px -28px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.16);
}
.app-shot img {
  width: 100%;
  display: block;
}
.app-shot-primary {
  right: 0;
  top: 0;
  z-index: 2;
}
.app-shot-secondary {
  left: 0;
  top: 64px;
  z-index: 1;
  width: 238px;
  opacity: 0.94;
}
@media (max-width: 900px) {
  .app-screenshot-stack {
    width: min(100%, 360px);
    min-height: 520px;
  }
  .app-shot { width: 218px; border-radius: 26px; }
  .app-shot-secondary { width: 198px; top: 56px; }
}
@media (max-width: 420px) {
  .app-screenshot-stack {
    width: 100%;
    min-height: 500px;
  }
  .app-shot { width: 205px; }
  .app-shot-secondary { width: 188px; }
}
.app-phone {
  width: 288px;
  border-radius: 36px;
  padding: 10px;
  background: #07132c;
  box-shadow: 0 36px 80px -28px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.10);
  position: relative;
}
.app-phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #07132c;
  z-index: 2;
}
.app-screen {
  min-height: 566px;
  border-radius: 28px;
  background: #f7f8fb;
  color: var(--ink);
  overflow: hidden;
  padding: 18px 16px 16px;
}
.app-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 8px 18px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-header img { height: 24px; width: auto; }
.app-header span {
  font-size: 12px;
  color: var(--teal-3);
  font-weight: 800;
}
.app-day-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: var(--navy);
  color: white;
  margin-bottom: 14px;
}
.app-day-card small {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  margin-bottom: 2px;
}
.app-day-card strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.app-day-card span {
  background: rgba(20,203,180,0.18);
  color: var(--teal);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.app-appt {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.app-appt.active {
  margin: 0 -8px;
  padding: 13px 8px;
  border-radius: 12px;
  border-bottom: 0;
  background: white;
  box-shadow: 0 10px 30px -24px rgba(10,27,61,0.45);
}
.app-appt .time {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-3);
  font-variant-numeric: tabular-nums;
}
.app-appt strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}
.app-appt span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.app-bottom-nav {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: white;
}
.app-bottom-nav span {
  text-align: center;
  padding: 9px 2px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.app-bottom-nav span.on {
  background: var(--navy);
  color: white;
}
.mk-channel.whatsapp .ic {
  background: rgba(22,163,74,0.14);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

/* ============ UTIL ============ */
.scroll-fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.scroll-fade.in { opacity: 1; transform: none; }
