:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #0b1220;
  --muted: #667085;
  --line: #dfe6ee;
  --brand: #008f6f;
  --brand-dark: #006f57;
  --brand-soft: #e4f7f1;
  --danger: #c7362f;
  --danger-soft: #fff0ef;
  --warning: #a75b00;
  --warning-soft: #fff5df;
  --info: #225ea8;
  --info-soft: #edf5ff;
  --success: #087c5b;
  --shadow: 0 12px 34px rgba(11, 18, 32, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --sidebar: 272px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

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

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  background: var(--surface);
}

.login-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 166, 126, .38), transparent 29%),
    radial-gradient(circle at 10% 80%, rgba(55, 114, 255, .2), transparent 34%),
    #0b1220;
}
.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
}
.brand-lockup { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand); color: white; font-weight: 900; letter-spacing: -.08em;
  box-shadow: 0 12px 28px rgba(0,166,126,.26);
}
.brand-text strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.brand-text span { display: block; color: rgba(255,255,255,.66); font-size: 12px; margin-top: 2px; }
.login-copy { position: relative; z-index: 1; max-width: 720px; }
.login-copy h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.065em; }
.login-copy p { max-width: 640px; color: rgba(255,255,255,.7); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.promise-list { display: grid; gap: 12px; margin-top: 32px; }
.promise-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); }
.promise-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,166,126,.2); color: #7ff4d7; }

.login-panel { display: grid; place-items: center; padding: 42px; background: #fbfcfe; }
.login-card { width: min(440px, 100%); }
.login-card h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 30px; color: var(--muted); line-height: 1.55; }
.demo-box { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.demo-box strong { display: block; margin-bottom: 7px; }
.demo-box code { font-size: 13px; color: var(--brand-dark); overflow-wrap: anywhere; }

.field { display: grid; gap: 7px; }
.field + .field { margin-top: 17px; }
.field label { font-size: 13px; font-weight: 750; color: #344054; }
.field small { color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 12px; padding: 13px 14px; outline: none; transition: .18s ease;
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,143,111,.11); }
.input::placeholder, .textarea::placeholder { color: #98a2b3; }
.input[disabled] { background: var(--surface-2); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

.btn {
  border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(0,143,111,.18); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 8px 11px; font-size: 13px; border-radius: 10px; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--muted); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 24px 18px;
  display: flex; flex-direction: column; background: #0b1220; color: white;
}
.sidebar .brand-text span { color: rgba(255,255,255,.5); }
.nav-list { display: grid; gap: 7px; margin-top: 34px; }
.nav-link {
  border: 0; width: 100%; padding: 12px 13px; border-radius: 12px;
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: transparent; color: rgba(255,255,255,.64); font-weight: 700;
}
.nav-link:hover { background: rgba(255,255,255,.06); color: white; }
.nav-link.active { background: rgba(0,166,126,.17); color: #8af6dc; }
.nav-icon { width: 22px; text-align: center; font-size: 18px; }
.sidebar-user { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.user-card { display: flex; align-items: center; gap: 11px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-weight: 850; }
.user-meta { min-width: 0; flex: 1; }
.user-meta strong, .user-meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta strong { font-size: 13px; }
.user-meta span { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }

.main-shell { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 10; height: 74px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(244,247,251,.87); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(223,230,238,.8);
}
.topbar-title { min-width: 0; }
.topbar-title strong { display: block; font-size: 18px; letter-spacing: -.025em; }
.topbar-title span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.content { padding: 30px 32px 110px; max-width: 1480px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.05em; line-height: 1.08; }
.page-head p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.page-actions { display: flex; gap: 10px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 5px 20px rgba(11,18,32,.035); }
.stat-card .stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.stat-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand-dark); }
.stat-value { margin-top: 16px; font-size: 34px; letter-spacing: -.05em; font-weight: 900; }
.stat-note { margin-top: 5px; color: var(--muted); font-size: 12px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 20px rgba(11,18,32,.035); }
.card-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.card-body { padding: 22px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 20px; }
.quick-card { padding: 22px; background: #0b1220; color: white; border-radius: var(--radius); position: relative; overflow: hidden; }
.quick-card::after { content: "MM"; position: absolute; right: -10px; bottom: -38px; font-size: 140px; font-weight: 950; letter-spacing: -.12em; color: rgba(255,255,255,.04); }
.quick-card h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.quick-card p { color: rgba(255,255,255,.62); line-height: 1.55; margin-bottom: 22px; }
.quick-actions { display: grid; gap: 10px; position: relative; z-index: 1; }
.quick-action { border: 1px solid rgba(255,255,255,.12); border-radius: 13px; padding: 14px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.055); color: white; text-align: left; }
.quick-action strong { display: block; font-size: 13px; }
.quick-action span { display: block; margin-top: 3px; font-size: 11px; color: rgba(255,255,255,.54); }

.order-list { display: grid; }
.order-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-time strong { display: block; font-size: 17px; }
.order-time span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.order-main { min-width: 0; }
.order-main-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.order-main h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.order-main p { margin: 7px 0 0; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-meta { display: flex; align-items: center; gap: 9px; margin-top: 9px; color: var(--muted); font-size: 11px; }

.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-draft { background: #f2f4f7; color: #667085; }
.badge-assigned { background: var(--info-soft); color: var(--info); }
.badge-in_progress { background: var(--warning-soft); color: var(--warning); }
.badge-review, .badge-signature_pending { background: #f4edff; color: #6941c6; }
.badge-completed { background: var(--brand-soft); color: var(--success); }
.badge-follow_up, .badge-part_required { background: #fff2e8; color: #b54708; }
.badge-customer_absent, .badge-cancelled { background: var(--danger-soft); color: var(--danger); }
.role-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--surface-2); font-size: 11px; font-weight: 800; color: var(--muted); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.search-wrap { position: relative; width: min(430px, 100%); }
.search-wrap .input { padding-left: 42px; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-row { display: flex; gap: 10px; align-items: center; }
.filter-row .select { min-width: 190px; }

.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th { padding: 12px 18px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fafbfc; border-bottom: 1px solid var(--line); }
.data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.data-table tbody tr:hover { background: #fbfcfd; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.primary-cell strong { display: block; }
.primary-cell span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.table-actions { display: flex; justify-content: flex-end; gap: 8px; }

.customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.customer-card { padding: 19px; }
.customer-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-card h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.customer-card .number { margin-top: 4px; font-size: 11px; color: var(--muted); }
.customer-details { display: grid; gap: 9px; margin-top: 17px; color: #475467; font-size: 13px; }
.customer-detail { display: flex; gap: 9px; align-items: flex-start; }
.customer-detail span:first-child { width: 18px; color: var(--muted); }

.empty-state { padding: 48px 24px; text-align: center; }
.empty-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); font-size: 24px; }
.empty-state h3 { margin: 0; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 8px auto 20px; line-height: 1.5; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(11,18,32,.56); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(5px); }
.modal { width: min(760px, 100%); max-height: min(88vh, 920px); overflow: auto; background: var(--surface); border-radius: 22px; box-shadow: 0 30px 80px rgba(11,18,32,.3); }
.modal-lg { width: min(980px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.modal-body { padding: 24px; }
.modal-close { border: 0; background: var(--surface-2); width: 38px; height: 38px; border-radius: 11px; color: var(--muted); }

.toast-root { position: fixed; z-index: 200; right: 20px; bottom: 22px; display: grid; gap: 10px; width: min(370px, calc(100vw - 40px)); }
.toast { border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); background: #0b1220; color: white; display: flex; gap: 10px; align-items: flex-start; animation: toast-in .2s ease; }
.toast.error { background: #7a271a; }
.toast.success { background: #075e4a; }
.toast strong { display: block; font-size: 13px; }
.toast span { display: block; font-size: 12px; opacity: .75; margin-top: 3px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }
.info-panel { padding: 22px; }
.info-panel h3 { margin: 0 0 14px; }
.info-list { display: grid; gap: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.info-list strong { color: var(--ink); }
.security-note { padding: 14px; border-radius: 12px; background: var(--brand-soft); color: #075e4a; font-size: 12px; line-height: 1.55; }

.mobile-nav { display: none; }
.mobile-only { display: none; }

.loading-screen { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.loader { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  :root { --sidebar: 230px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .login-page { grid-template-columns: 1fr; }
  .login-hero { min-height: 44vh; padding: 34px 26px; }
  .login-copy h1 { font-size: clamp(38px, 11vw, 58px); }
  .promise-list { display: none; }
  .login-panel { padding: 34px 22px 50px; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main-shell { min-height: 100vh; }
  .topbar { height: 68px; padding: 0 18px; }
  .content { padding: 22px 16px 100px; }
  .mobile-only { display: grid; }
  .desktop-only { display: none !important; }
  .mobile-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
    padding: 7px; border: 1px solid rgba(223,230,238,.9); border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(20px); box-shadow: 0 16px 45px rgba(11,18,32,.17);
  }
  .mobile-nav-btn { border: 0; background: transparent; min-width: 0; border-radius: 12px; padding: 7px 3px; color: var(--muted); display: grid; place-items: center; gap: 3px; font-size: 10px; font-weight: 800; }
  .mobile-nav-btn span:first-child { font-size: 18px; }
  .mobile-nav-btn.active { color: var(--brand-dark); background: var(--brand-soft); }
  .page-head { align-items: flex-start; }
  .page-head .btn span.label { display: none; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search-wrap { width: 100%; }
  .filter-row { width: 100%; }
  .filter-row .select { flex: 1; min-width: 0; }
  .customer-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 62px minmax(0, 1fr); }
  .order-row > .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 15px; }
  .stat-value { font-size: 28px; }
  .stat-note { display: none; }
  .page-head { gap: 10px; }
  .page-head h1 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal, .modal-lg { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; }
  .modal-head, .modal-body { padding-left: 18px; padding-right: 18px; }
  .form-actions { position: sticky; bottom: -24px; margin: 24px -18px -24px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .form-actions .btn { flex: 1; }
  .order-row { padding: 15px 16px; gap: 12px; }
  .card-head { padding: 17px 16px; }
  .quick-card { padding: 18px; }
}

/* MontageMemo dashboard hero — Step 2 */
.dashboard-hero {
  position: relative;
  min-height: 192px;
  margin-bottom: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  background: #f8fbfc;
  border: 1px solid #e1e9ee;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(15, 40, 61, .055);
}

.dashboard-hero-copy {
  position: relative;
  z-index: 2;
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 78% 50%, rgba(30, 169, 166, .1), transparent 32%),
    linear-gradient(90deg, #fff 0%, #fbfdfd 68%, rgba(251, 253, 253, .76) 100%);
}

.dashboard-hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(30, 169, 166, .08) 49%, rgba(30, 169, 166, .08) 51%, transparent 52%);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 38%, #000 90%);
  pointer-events: none;
}

.dashboard-hero-logo {
  display: block;
  width: min(390px, 72%);
  height: auto;
}

.dashboard-hero-tagline {
  margin: 10px 0 20px;
  color: #0f2740;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 650;
  letter-spacing: -.015em;
}

.dashboard-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.hero-benefit {
  min-width: 155px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #102a43;
}

.hero-benefit-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #159f9c;
  background: #eaf8f7;
  border-radius: 14px;
}

.hero-benefit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-benefit strong,
.hero-benefit small {
  display: block;
}

.hero-benefit strong {
  font-size: 13px;
  line-height: 1.25;
}

.hero-benefit small {
  margin-top: 2px;
  color: #617487;
  font-size: 12px;
}

.dashboard-hero-photo {
  min-height: 192px;
  background-image:
    linear-gradient(90deg, #fbfdfd 0%, rgba(251, 253, 253, .25) 23%, transparent 48%),
    url('/images/dashboard-hero-technician.webp');
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

@media (max-width: 1050px) {
  .dashboard-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
  }

  .dashboard-hero-copy {
    padding: 24px;
  }

  .dashboard-hero-benefits {
    gap: 12px 18px;
  }

  .hero-benefit:nth-child(3) {
    display: none;
  }
}

@media (max-width: 760px) {
  .dashboard-hero {
    min-height: 180px;
    grid-template-columns: minmax(0, 1fr) 40%;
    border-radius: 18px;
    margin-bottom: 22px;
  }

  .dashboard-hero-copy {
    padding: 21px 18px;
  }

  .dashboard-hero-logo {
    width: min(285px, 100%);
  }

  .dashboard-hero-tagline {
    max-width: 330px;
    margin: 8px 0 16px;
    font-size: 15px;
  }

  .dashboard-hero-benefits {
    gap: 9px;
  }

  .hero-benefit {
    min-width: 0;
  }

  .hero-benefit:nth-child(n+2) {
    display: none;
  }

  .dashboard-hero-photo {
    min-height: 180px;
    background-position: center, 58% center;
  }
}

@media (max-width: 520px) {
  .dashboard-hero {
    min-height: 154px;
    grid-template-columns: 64% 36%;
  }

  .dashboard-hero-copy {
    padding: 18px 14px;
  }

  .dashboard-hero-logo {
    width: 100%;
    max-width: 230px;
  }

  .dashboard-hero-tagline {
    margin-bottom: 13px;
    font-size: 13px;
    line-height: 1.35;
  }

  .hero-benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .hero-benefit strong {
    font-size: 11px;
  }

  .hero-benefit small {
    font-size: 10px;
  }

  .dashboard-hero-photo {
    min-height: 154px;
    background-position: center, 61% center;
  }
}
