:root {
  --bg-kiosk: #fff;
  --surface-kiosk: #000;
  --surface-kiosk-2: #000;
  --accent-in: #000;
  --accent-in-dark: #000;
  --accent-out: #f59e0b;
  --accent-out-dark: #d68a05;
  --text-light: #f1f5f9;
  --muted-light: #fff;

  --bg-admin: #f6f7fb;
  --surface-admin: #ffffff;
  --border: #e3e6ee;
  --text-dark: #101828;
  --muted-dark: #667085;
  --accent-admin: #000;
  --accent-admin-hover: #222;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #b45309;
  --warning-bg: #fffbeb;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-out);
  outline-offset: 2px;
}

.lang-bar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px 24px;
  border-bottom: 1px solid var(--border);
}
.lang-bar .btn.active {
  font-weight: 700;
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.mkt-bilingual {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-out-dark);
  margin: -12px 0 24px;
}

.mock-lang {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-lang-row {
  display: flex;
  gap: 8px;
}

.mock-lang-chip {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-dark);
}

.mock-lang-chip.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

.mock-lang-card {
  border: 1px solid #000;
  border-radius: 12px;
  padding: 16px;
}

.mock-lang-label {
  font-weight: 700;
  font-size: 16px;
}

.mock-lang-sub {
  font-size: 13px;
  color: var(--muted-dark);
  margin-top: 2px;
}

/* =========================================================
   KIOSK
   ========================================================= */

body.kiosk {
  background: white;
  color: var(--accent-in);
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.kiosk-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kiosk-logo {
  max-width: 300px;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 8px;
}

.kiosk-business-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-in);
  margin-bottom: 28px;
}

.kiosk-clock-time {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  padding-bottom: 25px;
}

.pin-display {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  min-height: 22px;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent-in);
  background: transparent;
  transition: all 0.15s ease;
}

.pin-dot.filled {
  background: var(--accent-in);
  border-color: var(--accent-in);
}

.pin-error {
  color: #dc2626;
  font-size: 14px;
  height: 18px;
  margin-bottom: 12px;
  text-align: center;
}

.pad {
  display: grid;
  grid-template-columns: repeat(3, 84px);
  gap: 16px;
}

.pad button {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  border: 1px solid #2c3c5e;
  background: var(--surface-kiosk);
  color: var(--text-light);
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.08s ease;
}

.pad button:active {
  transform: scale(0.95);
  background: var(--surface-kiosk-2);
}

.pad button.pad-action {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-light);
}


/* =========================================================
   EMPLOYEE SCREEN
   ========================================================= */

.employee-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
}

.employee-greeting {
  font-size: 14px;
  color: var(--accent-in);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.employee-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.employee-status {
  font-size: 14px;
  color: var(--accent-in);
  margin-bottom: 32px;
}

.clock-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clock-btn {
  padding: 20px;
  border-radius: 16px;
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: white;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

.clock-btn:active {
  transform: scale(0.98);
}

.clock-btn.in {
  background: var(--accent-in);
}

.clock-btn.in:hover {
  background: var(--accent-out-dark);
}

.clock-btn.out {
  background: var(--accent-out);
}

.clock-btn.out:hover {
  background: var(--accent-out-dark);
}

.clock-btn.disabled {
  background: #000;
  color: #fff;
  cursor: not-allowed;
}

.cancel-link {
  margin-top: 24px;
  background: none;
  border: none;
  color: var(--accent-in);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.confirm-screen {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.confirm-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.confirm-text {
  font-size: 22px;
  font-weight: 700;
}

.confirm-sub {
  color: var(--accent-in);
  margin-top: 6px;
}

.hidden {
  display: none !important;
}


/* =========================================================
   TASK PICKER
   ========================================================= */

.task-picker {
  width: 100%;
  text-align: left;
  margin-bottom: 24px;
}

.task-picker label {
  display: block;
  font-size: 13px;
  color: var(--accent-in);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.task-picker select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #000;
  background: var(--bg-kiosk);
  color: var(--accent-in);
  font-size: 16px;
}


/* =========================================================
   ADMIN
   ========================================================= */

body.admin {
  background: var(--bg-admin);
  color: var(--text-dark);
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-admin);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.admin-brand img {
  height: 85px;
  max-width: 170px;
  object-fit: contain;
}

.admin-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 600;
}

.admin-nav a.active,
.admin-nav a:hover {
  background: #eef0fb;
  color: var(--accent-admin);
}

.logout-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted-dark);
}

.admin-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.admin-content h1 {
  font-size: 22px;
  margin: 0 0 20px;
}

.card {
  background: var(--surface-admin);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.card h2 {
  font-size: 16px;
  margin: 0 0 16px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-dark);
}

.field input,
.field select {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  min-width: 160px;
}

.field select[multiple] {
  min-height: 90px;
}

.field input[type="color"] {
  min-width: 48px;
  width: 48px;
  padding: 3px;
  height: 38px;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: var(--accent-admin);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-admin-hover);
}

.btn.secondary {
  background: var(--surface-admin);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn.danger {
  background: var(--danger);
}

.btn.small {
  padding: 6px 12px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* =========================================================
   TABLES
   ========================================================= */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
}

td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.active {
  background: #ecfdf5;
  color: #047857;
}

.badge.inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.error-msg {
  color: var(--danger);
  background: var(--danger-bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.warning-msg {
  color: var(--warning);
  background: var(--warning-bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-admin);
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--surface-admin);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.login-card h1 {
  font-size: 18px;
  margin: 0 0 20px;
  text-align: center;
}

.login-card p.sub {
  text-align: center;
  color: var(--muted-dark);
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 20px;
}

.login-card .field {
  margin-bottom: 14px;
}

.login-card input {
  width: 100%;
}

.login-card .btn {
  width: 100%;
  margin-top: 8px;
}


/* =========================================================
   TIME / SESSION BLOCKS
   ========================================================= */

.day-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8f9fc;
  font-weight: 600;
  font-size: 13px;
}

.day-total {
  font-family: var(--font-mono);
  color: var(--accent-admin);
}

.session-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 13px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.session-row select,
.session-row input[type="datetime-local"] {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.unpaired {
  color: var(--danger);
  font-weight: 600;
}

.muted {
  color: var(--muted-dark);
}

.employee-select-bar {
  margin-bottom: 18px;
}


/* =========================================================
   TABS
   ========================================================= */

.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-dark);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn.active {
  color: var(--accent-admin);
  border-bottom-color: var(--accent-admin);
}


/* =========================================================
   COLORS / PILLS
   ========================================================= */

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-dark);
}

.pill .swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}


/* =========================================================
   CUSTOMERS & TASKS
   ========================================================= */

.customer-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.customer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8f9fc;
  border-bottom: 1px solid var(--border);
}

.customer-header .name {
  font-weight: 700;
  flex: 1;
}

.task-list {
  padding: 4px 16px;
}

.task-row,
.subtask-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.task-row:last-child,
.subtask-row:last-child {
  border-bottom: none;
}

.subtask-row {
  margin-left: 26px;
  padding-left: 10px;
  border-left: 2px solid var(--border);
}

.task-row .name,
.subtask-row .name {
  font-weight: 600;
  min-width: 140px;
}

.task-planned {
  font-size: 12px;
  color: var(--muted-dark);
}

.add-task-row {
  padding: 10px 0;
}


/* =========================================================
   WEEKLY GRID
   ========================================================= */

.week-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.week-label {
  font-weight: 700;
  font-size: 15px;
  min-width: 220px;
}

.grid-table th,
.grid-table td {
  text-align: center;
}

.grid-table td.task-cell,
.grid-table th.task-cell {
  text-align: left;
}

.grid-table .hours-zero {
  color: #c1c6d4;
}

.grid-table tfoot td {
  font-weight: 700;
  border-top: 2px solid var(--border);
  border-bottom: none;
}

.search-bar {
  margin-bottom: 16px;
}

.search-bar input {
  width: 100%;
  max-width: 320px;
}


/* =========================================================
   SYSTEM ADMIN
   ========================================================= */

.seat-usage {
  font-size: 13px;
  color: var(--muted-dark);
}

.seat-usage.full {
  color: var(--danger);
  font-weight: 600;
}


/* =========================================================
   PAY & COMPLIANCE
   ========================================================= */

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
  padding-bottom: 4px;
}

.cal-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-admin);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  min-height: 40px;
}

.cal-day:hover {
  border-color: var(--accent-admin);
}

.cal-day.other-month {
  color: #c1c6d4;
  cursor: default;
}

.cal-day.other-month:hover {
  border-color: var(--border);
}

.cal-day.weekend-auto {
  background: #f8f9fc;
}

.cal-day.premium {
  background: #eef0fb;
  border-color: var(--accent-admin);
  color: var(--accent-admin);
  font-weight: 700;
}

.cal-day .cal-mult {
  position: absolute;
  bottom: 3px;
  font-size: 9px;
  font-weight: 600;
}

.pay-row input[type="number"],
.pay-row input[type="time"] {
  width: 100%;
}

.pay-row .clock-window-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pay-row td {
  min-width: 90px;
}


/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  margin-top: 40px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-dark);
}

.site-footer-links {
  display: flex;
  gap: 16px;
}

.site-footer-links a {
  color: var(--muted-dark);
  text-decoration: none;
  font-weight: 600;
}

.site-footer-links a:hover {
  color: var(--accent-admin);
  text-decoration: underline;
}

.site-footer--floating {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-admin);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  margin-top: 0;
}

.site-footer--floating .site-footer-inner {
  font-size: 12px;
}

.site-footer--kiosk {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: none;
  padding: 10px 16px;
  margin-top: 0;
  text-align: center;
}

.site-footer--kiosk .site-footer-inner {
  justify-content: center;
  font-size: 11px;
  color: #9ca3af;
}

.site-footer--kiosk .site-footer-links a {
  color: #9ca3af;
}


/* =========================================================
   LEGAL / CONTACT PAGES
   ========================================================= */

.mkt-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.mkt-legal h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.mkt-legal-updated {
  color: var(--muted-dark);
  font-size: 13px;
  margin: 0 0 40px;
}

.mkt-legal h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.mkt-legal h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.mkt-legal p,
.mkt-legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.mkt-legal ul {
  padding-left: 20px;
}

.mkt-legal a {
  color: var(--accent-admin);
}

.mkt-legal-placeholder {
  background: #fffbeb;
  color: var(--warning);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.mkt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  margin-top: 28px;
}

.mkt-contact-form .field input,
.mkt-contact-form .field textarea {
  width: 100%;
}

.mkt-contact-form textarea {
  resize: vertical;
  font-family: var(--font);
}

.mkt-contact-form .btn {
  align-self: flex-start;
}

.mkt-contact-note {
  font-size: 13px;
  color: var(--muted-dark);
  margin-top: 14px;
}


/* =========================================================
   MARKETING / LANDING PAGE
   ========================================================= */

body.marketing {
  background: var(--bg-admin);
  color: var(--text-dark);
  min-height: 100vh;
}

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-admin);
  border-bottom: 1px solid var(--border);
}

.mkt-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mkt-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.mkt-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mkt-nav-links a:not(.btn) {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.mkt-nav-links a:not(.btn):hover {
  color: var(--accent-admin);
}


/* =========================================================
   MARKETING HERO
   ========================================================= */

.mkt-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}

.mkt-hero-visual {
  width: 100%;
}

.mkt-clock {
  background: #000;
  color: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mkt-clock-time {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.mkt-clock-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-out);
}

.mkt-hero-copy h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 15ch;
}

.mkt-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 46ch;
  margin: 0 0 28px;
}

.mkt-hero-ctas {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.mkt-text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.mkt-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.mkt-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.mkt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mkt-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-out);
  font-weight: 700;
}

.mkt-steps h3 {
  font-size: 17px;
  margin: 0;
}

.mkt-steps p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-dark);
  margin: 0;
}


/* =========================================================
   MARKETING FEATURES
   ========================================================= */

.mkt-feature {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.mkt-feature.reverse .mkt-feature-copy {
  order: 2;
}

.mkt-feature.reverse .device-frame {
  order: 1;
}

.mkt-feature-copy h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  max-width: 18ch;
}

.mkt-feature-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 42ch;
  margin: 0;
}

.device-frame {
  background: var(--surface-admin);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px -24px rgba(16, 24, 40, 0.35);
}


/* =========================================================
   MOCK KIOSK
   ========================================================= */

.mock-kiosk {
  background: #fff;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.mock-kiosk .kiosk-logo {
  max-width: 180px;
  max-height: 70px;
  margin-bottom: 12px;
}

.mock-kiosk-brand {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.mock-pin-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
}

.mock-dot.filled {
  background: #000;
}

.mock-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.mock-pad span {
  padding: 10px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}


/* =========================================================
   MOCK CUSTOMERS
   ========================================================= */

.mock-customers {
  background: #fff;
  border-radius: 12px;
  font-size: 13px;
}

.mock-customer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mock-customer-row:first-child {
  padding-top: 0;
}

.mock-task-row {
  padding: 8px 0 8px 20px;
  color: var(--muted-dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mock-task-row.sub {
  padding-left: 36px;
  font-size: 12px;
}


/* =========================================================
   MOCK CHART
   ========================================================= */

.mock-chart {
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.mock-bar-label {
  color: var(--muted-dark);
  text-align: right;
}

.mock-bar {
  height: 14px;
  background: var(--accent-admin);
  border-radius: 4px;
}

.mock-bar-val {
  font-family: var(--font-mono);
}


/* =========================================================
   MOCK PAYROLL
   ========================================================= */

.mock-payroll {
  background: #fff;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.mock-payroll-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.mock-payroll-row:last-child {
  border-bottom: none;
}

.mock-payroll-row.total {
  border-top: 1px solid #000;
  border-bottom: none;
  margin-top: 4px;
  padding-top: 14px;
  font-weight: 700;
}

.mock-payroll-val {
  font-variant-numeric: tabular-nums;
}


/* =========================================================
   PRICING
   ========================================================= */

body.marketing .mkt-pricing {
  width: 100%;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 64px 24px;
}

body.marketing .mkt-pricing-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

body.marketing .mkt-pricing-heading {
  max-width: 600px;
  margin: 0 0 36px;
}

body.marketing .mkt-pricing .mkt-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-out-dark);
}

body.marketing .mkt-pricing-heading h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}

body.marketing .mkt-pricing-heading p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.6;
}

body.marketing .mkt-pricing-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.marketing .mkt-pricing .pricing-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

body.marketing .mkt-pricing .pricing-card-featured {
  padding: 23px;
  border: 2px solid #000;
}

body.marketing .mkt-pricing .pricing-card-top {
  min-width: 0;
}

body.marketing .mkt-pricing .pricing-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-out);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.marketing .mkt-pricing .pricing-limit {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.marketing .mkt-pricing .pricing-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-dark);
}

body.marketing .mkt-pricing .pricing-card h3 span {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  color: var(--muted-dark);
}

body.marketing .mkt-pricing .pricing-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.55;
}

body.marketing .mkt-pricing .pricing-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  text-align: center;
  text-decoration: none;
}

body.marketing .mkt-pricing .pricing-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  body.marketing .mkt-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px; /* room for the "Most popular" badge */
  }

  /* 5 cards in 2 columns: let the last one span the row instead of sitting alone */
  body.marketing .mkt-pricing .pricing-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.marketing .mkt-pricing {
    padding: 48px 24px;
  }

  body.marketing .mkt-pricing-heading h2 {
    font-size: 27px;
  }
}

@media (max-width: 600px) {
  body.marketing .mkt-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.marketing .mkt-pricing .pricing-card {
    min-height: 0;
    padding: 22px 20px;
  }

  body.marketing .mkt-pricing .pricing-card-featured {
    padding: 21px 19px; /* keeps the 2px border from shifting the layout */
  }

  body.marketing .mkt-pricing .pricing-btn {
    margin-top: 20px;
    padding: 13px 18px; /* bigger tap target */
  }
}

@media (max-width: 420px) {
  body.marketing .mkt-pricing {
    padding: 40px 20px;
  }
}

/* =========================================================
   KIOSK CTA
   ========================================================= */

.mkt-kiosk-cta {
  background: #000;
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.mkt-kiosk-cta h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 10px;
}

.mkt-kiosk-cta p {
  color: #c7c7c7;
  margin: 0 0 28px;
  font-size: 14px;
}

.mkt-kiosk-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.mkt-kiosk-prefix {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #9ca3af;
  background: #111;
  border: 1px solid #333;
  border-right: none;
  padding: 11px 10px 11px 14px;
  border-radius: 8px 0 0 8px;
}

.mkt-kiosk-form input {
  font-family: var(--font-mono);
  font-size: 14px;
  width: 260px;
  height: 37px;
  padding: 1px 10px;
  border: 1px solid #333;
  border-right: none;
  background: #111;
  color: #fff;
  min-width: 160px;
}

.mkt-kiosk-form input::placeholder {
  color: #666;
}

.mkt-kiosk-form .btn {
  border-radius: 0 8px 8px 0;
  background: var(--accent-out);
  color: #000;
  font-weight: 700;
}

.mkt-kiosk-form .btn:hover {
  background: var(--accent-out-dark);
}

.mkt-kiosk-error {
  color: var(--accent-out);
  font-size: 13px;
  margin-top: 12px;
}


/* =========================================================
   OLD MARKETING FOOTER
   ========================================================= */

.mkt-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted-dark);
}

.mkt-footer a {
  color: var(--muted-dark);
}


/* =========================================================
   MARKETING RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {
  .mkt-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mkt-nav-inner {
    padding: 14px 20px;
  }

  .mkt-nav-links {
    gap: 12px;
  }

  .mkt-nav-links a:not(.btn) {
    display: none;
  }

  .mkt-logo {
    height: 65px;
  }

  .mkt-hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 32px;
  }

  .mkt-hero-visual {
    max-width: 300px;
  }

  .mkt-hero-copy h1 {
    font-size: 32px;
    max-width: none;
  }

  .mkt-lede {
    font-size: 16px;
  }

  .mkt-steps {
    grid-template-columns: 1fr;
  }

  .mkt-feature,
  .mkt-feature.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mkt-feature.reverse .mkt-feature-copy,
  .mkt-feature.reverse .device-frame {
    order: initial;
  }

  .mkt-feature-copy h2 {
    max-width: none;
  }

  .mkt-pricing {
    padding: 48px 24px;
  }

  .mkt-pricing-heading h2 {
    font-size: 27px;
  }
}

@media (max-width: 600px) {
  .mkt-pricing-grid {
    grid-template-columns: 1fr;
  }

  body.marketing .mkt-pricing .pricing-card {
    min-height: 0;
  }

  .pricing-card {
    min-height: 0;
  }

  .mkt-kiosk-form {
    max-width: 100%;
  }

  .mkt-kiosk-form input {
    width: 100%;
    flex: 1 1 100%;
    border-right: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .mkt-kiosk-form .btn {
    width: 100%;
    border-radius: 8px;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {
  body.kiosk {
    padding: 16px;
  }

  .pad {
    grid-template-columns: repeat(3, 72px);
    gap: 12px;
  }

  .pad button {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .kiosk-clock-time {
    font-size: 34px;
  }

  .employee-card {
    padding: 32px 22px;
  }

  .mkt-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mkt-feature,
  .mkt-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mkt-pricing {
    padding-left: 20px;
    padding-right: 20px;
  }
}
