/* ==============================================
   Marketing — Shared Foundation
   Self-contained: no dependency on variables.css / components.css
   ============================================== */

/* ---- @font-face ---- */

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('/fonts/DMSerifDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Foundation ---- */

*, *::before, *::after {
  box-sizing: border-box;
}

html:has(body.mk-page) {
  overflow-x: hidden;
}

body.mk-page {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a2b2b;
  background-color: #faf9f6;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Color Palette (as CSS custom properties for easy reference) ---- */

body.mk-page {
  --mk-bg: #faf9f6;
  --mk-bg-white: #ffffff;
  --mk-bg-dark: #0E3A3A;
  --mk-bg-dark-hover: #0a2e2e;
  --mk-bg-dark-light: #164e4e;
  --mk-accent: #F4C430;
  --mk-accent-hover: #f6d04a;
  --mk-accent-soft: rgba(244, 196, 48, 0.12);
  --mk-text: #1a2b2b;
  --mk-text-secondary: #4a5c5c;
  --mk-text-muted: #6b7f7f;
  --mk-text-light: #7a8a88;
  --mk-border: #eceee9;
  --mk-border-dark: #c8d0ce;
  --mk-serif: 'DM Serif Display', Georgia, serif;
  --mk-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* ---- Grain Overlay ---- */

.mk-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---- Container ---- */

.mk-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.mk-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Navigation ---- */

.mk-nav-wrapper {
  background-color: var(--mk-bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 32px;
}

.mk-nav-logo img {
  height: 44px;
  display: block;
}

.mk-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mk-nav-link {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
}

.mk-nav-link:hover,
.mk-nav-link-active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.mk-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-lang-picker {
  position: relative;
}

.mk-lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.mk-lang-toggle:hover {
  opacity: 0.8;
}

.mk-lang-flag {
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.mk-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--mk-bg-dark-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 200;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mk-lang-dropdown.hidden {
  display: none;
}

.mk-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-family: var(--mk-sans);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.mk-lang-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mk-lang-item.active {
  color: #fff;
  font-weight: 600;
}

.mk-mobile-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-family: var(--mk-sans);
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mk-mobile-lang:hover {
  color: #fff;
}

.mk-nav-cta {
  padding: 8px 20px;
  background-color: var(--mk-accent);
  color: var(--mk-bg-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background-color 0.2s, transform 0.15s;
}

.mk-nav-cta:hover {
  background-color: var(--mk-accent-hover);
  transform: translateY(-1px);
}

/* Hamburger */

.mk-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mk-nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mk-nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mk-nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.mk-nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */

.mk-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--mk-bg-dark);
  z-index: 99;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.mk-mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mk-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  gap: 4px;
}

.mk-mobile-link {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mk-mobile-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.mk-mobile-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.mk-mobile-cta {
  display: block;
  padding: 14px 24px;
  background-color: var(--mk-accent);
  color: var(--mk-bg-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  align-self: flex-start;
}

/* ---- Section Primitives ---- */

.mk-section {
  padding: 100px 0;
}

.mk-section-sm {
  padding: 72px 0;
}

.mk-section-dark {
  background-color: var(--mk-bg-dark);
  color: #fff;
}

.mk-section-white {
  background-color: var(--mk-bg-white);
}

.mk-section-alt {
  background-color: #f4f3ef;
}

.mk-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.mk-section-header h2 {
  font-family: var(--mk-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.mk-section-header p {
  font-size: 17px;
  color: var(--mk-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.mk-section-dark .mk-section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Eyebrow / Label ---- */

.mk-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--mk-accent-soft);
  color: #8a6d00;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}

.mk-section-dark .mk-eyebrow {
  background-color: rgba(244, 196, 48, 0.15);
  color: var(--mk-accent);
}

/* ---- Buttons ---- */

.mk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-family: var(--mk-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.mk-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.mk-btn:hover svg {
  transform: translateX(3px);
}

.mk-btn-primary {
  background-color: var(--mk-bg-dark);
  color: #fff;
  box-shadow: 0 1px 3px rgba(14, 58, 58, 0.15), 0 4px 12px rgba(14, 58, 58, 0.08);
}

.mk-btn-primary:hover {
  background-color: var(--mk-bg-dark-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(14, 58, 58, 0.2), 0 8px 24px rgba(14, 58, 58, 0.12);
}

.mk-btn-accent {
  background-color: var(--mk-accent);
  color: var(--mk-bg-dark);
  box-shadow: 0 2px 8px rgba(244, 196, 48, 0.25);
}

.mk-btn-accent:hover {
  background-color: var(--mk-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.mk-btn-ghost {
  background: transparent;
  color: var(--mk-bg-dark);
  border: 1.5px solid var(--mk-border-dark);
}

.mk-btn-ghost:hover {
  border-color: var(--mk-bg-dark);
  background-color: rgba(14, 58, 58, 0.03);
}

.mk-section-dark .mk-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.mk-section-dark .mk-btn-ghost:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
}

.mk-btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ---- CTA Section ---- */

.mk-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0E3A3A 0%, #164e4e 50%, #0E3A3A 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mk-cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.mk-cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.mk-cta-content h2 {
  font-family: var(--mk-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mk-cta-content > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0 0 36px;
}

.mk-cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 16px 0 0;
}

/* ---- Footer ---- */

.mk-footer {
  background-color: var(--mk-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.mk-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
}

.mk-footer-logo img {
  height: 36px;
  display: block;
  margin-bottom: 16px;
}

.mk-footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.mk-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mk-footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.mk-footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.mk-footer-col a:hover {
  color: #fff;
}

.mk-footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 32px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mk-footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ---- Cookie Consent (standalone) ---- */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background-color: var(--mk-bg-dark);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.cookie-consent-visible {
  transform: translateY(0);
}

.cookie-consent.cookie-consent-hiding {
  transform: translateY(100%);
}

.cookie-consent-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.cookie-consent-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.cookie-consent-link {
  color: var(--mk-accent);
  text-decoration: underline;
}

.cookie-consent-link:hover {
  color: #f6d365;
}

.cookie-consent-dismiss {
  flex-shrink: 0;
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--mk-accent);
  border-radius: 6px;
  color: var(--mk-accent);
  font-family: var(--mk-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.cookie-consent-dismiss:hover {
  background-color: var(--mk-accent);
  color: var(--mk-bg-dark);
}

/* ---- Fake Screenshots ---- */

.ss-browser {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(14, 58, 58, 0.12), 0 2px 8px rgba(14, 58, 58, 0.06);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ss-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background-color: #f0f1ec;
  border-bottom: 1px solid #e4e6e0;
}

.ss-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ss-dot-red { background-color: #ff5f57; }
.ss-dot-yellow { background-color: #ffbd2e; }
.ss-dot-green { background-color: #28c840; }

.ss-browser-url {
  margin-left: 12px;
  font-size: 11px;
  color: #8a8e85;
  background-color: #e8e9e4;
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
  max-width: 200px;
}

.ss-content {
  padding: 20px;
  min-height: 200px;
}

/* Shared screenshot inner components (used on multiple pages) */

.ss-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ss-main-title {
  font-family: var(--mk-serif);
  font-size: 16px;
  color: var(--mk-bg-dark);
  font-weight: 400;
}

.ss-capacity-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--mk-text-muted);
}

.ss-capacity-track {
  width: 80px;
  height: 5px;
  background-color: #eceee9;
  border-radius: 3px;
  overflow: hidden;
}

.ss-capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mk-bg-dark), #1a5c5c);
  border-radius: 3px;
  width: 72%;
}

.ss-task-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ss-task-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background-color: #fafbf8;
  border: 1px solid #eef0eb;
  border-radius: 6px;
  font-size: 11px;
}

.ss-task-check {
  width: 14px;
  height: 14px;
  border: 1.5px solid #c8d0ce;
  border-radius: 3px;
  flex-shrink: 0;
}

.ss-task-check.ss-task-done {
  background-color: #28c840;
  border-color: #28c840;
  position: relative;
}

.ss-task-check.ss-task-done::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 3.5px;
  width: 4px;
  height: 6px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.ss-task-name {
  flex: 1;
  color: var(--mk-text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-task-name-done {
  text-decoration: line-through;
  opacity: 0.5;
}

.ss-task-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.ss-badge-done {
  background-color: rgba(40, 200, 64, 0.1);
  color: #1a8a2e;
}

.ss-badge-waiting {
  background-color: rgba(30, 64, 175, 0.08);
  color: #1E40AF;
}

.ss-badge-planned {
  background-color: var(--mk-accent-soft);
  color: #8a6d00;
}

/* Priority dots */

.ss-priority-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ss-priority-high { background-color: #EF4444; }
.ss-priority-medium { background-color: #3B82F6; }
.ss-priority-low { background-color: #9CA3AF; }

/* Duration badge */

.ss-duration-badge {
  font-size: 9px;
  font-weight: 600;
  color: var(--mk-text-muted);
  background-color: #f0f1ec;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Task action hints (three dots) */

.ss-task-actions-hint {
  display: flex;
  gap: 2px;
  opacity: 0.25;
  flex-shrink: 0;
}

.ss-action-dot {
  width: 3px;
  height: 3px;
  background-color: var(--mk-text-muted);
  border-radius: 50%;
}

/* Project groups */

.ss-project-group {
  margin-bottom: 10px;
}

.ss-project-group:last-of-type {
  margin-bottom: 0;
}

.ss-project-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--mk-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 2px;
  margin-bottom: 4px;
}

.ss-project-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Panel headers (Today, Tomorrow, To Plan) */

.ss-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.ss-panel-today {
  background-color: #0e3a3a;
  color: #fff;
}

.ss-panel-tomorrow {
  background-color: #0e3a3a;
  color: #fff;
}

.ss-panel-toplan {
  background-color: #0e3a3a;
  color: #fff;
  margin-bottom: 0;
}

.ss-panel-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-panel-title {
  font-size: 11px;
  font-weight: 600;
}

.ss-panel-count {
  font-size: 9px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.ss-count-amber {
  background-color: rgba(255, 255, 255, 0.3);
}

.ss-count-green {
  background-color: rgba(255, 255, 255, 0.3);
}

.ss-panel-chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* Panel capacity bar (multi-segment) */

.ss-panel-capacity {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-panel-capacity-track {
  width: 60px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  display: flex;
  overflow: hidden;
}

.ss-panel-capacity-seg {
  height: 100%;
}

.ss-cap-green { background-color: #34D399; }
.ss-cap-amber { background-color: #FBBF24; }
.ss-cap-red { background-color: #EF4444; }

.ss-panel-capacity-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

/* Fit message */

.ss-fit-message {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #15803d;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.ss-fit-check {
  font-weight: 700;
}

/* Quick add bar */

.ss-quick-add {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background-color: #f7f8f5;
  border: 1px solid #eceee9;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ss-quick-add-icon {
  width: 16px;
  height: 16px;
  background-color: var(--mk-bg-dark);
  color: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.ss-quick-add-placeholder {
  font-size: 11px;
  color: var(--mk-text-muted);
}

/* Sidebar enhanced */

.ss-sidebar-logo {
  font-family: var(--mk-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--mk-bg-dark);
  padding: 10px 16px 12px;
  border-bottom: 1px solid #eceee9;
  margin-bottom: 6px;
}

.ss-sidebar-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--mk-text-muted);
}

.ss-sidebar-icon svg {
  width: 100%;
  height: 100%;
}

.ss-sidebar-active .ss-sidebar-icon {
  color: var(--mk-bg-dark);
}

/* Search bar */

.ss-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background-color: #f7f8f5;
  border: 1px solid #eceee9;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ss-search-icon {
  width: 13px;
  height: 13px;
  color: var(--mk-text-muted);
  flex-shrink: 0;
}

.ss-search-placeholder {
  font-size: 11px;
  color: var(--mk-text-muted);
}

/* Waiting-for screenshot */

.ss-waiting-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-waiting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background-color: #fafbf8;
  border: 1px solid #eef0eb;
  border-radius: 6px;
}

.ss-waiting-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ss-waiting-item {
  font-size: 11px;
  font-weight: 500;
  color: var(--mk-text);
}

.ss-waiting-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-waiting-person {
  font-size: 10px;
  color: var(--mk-text-muted);
}

.ss-waiting-project-tag {
  font-size: 9px;
  font-weight: 500;
  color: var(--mk-text-secondary);
  background-color: #f0f1ec;
  padding: 1px 5px;
  border-radius: 3px;
}

.ss-waiting-days {
  font-size: 9px;
  font-weight: 600;
  color: #1E40AF;
  background-color: rgba(30, 64, 175, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ss-waiting-days-warn {
  color: #D97706;
  background-color: rgba(217, 119, 6, 0.1);
}

.ss-waiting-days-overdue {
  color: #DC2626;
  background-color: rgba(220, 38, 38, 0.08);
}

/* Capacity forecast */

.ss-capacity-forecast {
  padding: 4px 0;
}

.ss-forecast-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--mk-text);
  margin-bottom: 14px;
}

.ss-forecast-days {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-forecast-day {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ss-forecast-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-forecast-day-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--mk-text);
}

.ss-forecast-day-time {
  font-size: 10px;
  color: var(--mk-text-muted);
}

.ss-forecast-bar-track {
  width: 100%;
  height: 8px;
  background-color: #eceee9;
  border-radius: 4px;
  overflow: visible;
  position: relative;
}

.ss-forecast-bar-fill {
  height: 100%;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
}

.ss-forecast-bar-overflow {
  height: 100%;
  background-color: #EF4444;
  border-radius: 0 4px 4px 0;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.4;
}

.ss-forecast-green { background-color: #34D399; }
.ss-forecast-amber { background-color: #FBBF24; }
.ss-forecast-red { background-color: #EF4444; }

/* Day close screenshot */

.ss-dayclose-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--mk-text);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef0eb;
}

.ss-task-row-dayclose {
  flex-wrap: wrap;
}

.ss-dayclose-actions {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
  margin-left: auto;
}

.ss-dayclose-btn {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  background-color: #f0f1ec;
  color: var(--mk-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-dayclose-btn-active {
  background-color: var(--mk-bg-dark);
  color: #fff;
}

.ss-dayclose-btn-icon {
  padding: 2px 4px;
}

.ss-dayclose-btn-icon svg {
  width: 10px;
  height: 10px;
}

.ss-dayclose-btn-done {
  background-color: rgba(40, 200, 64, 0.12);
  color: #15803d;
  padding: 2px 4px;
}

.ss-dayclose-btn-done svg {
  width: 10px;
  height: 10px;
}

.ss-dayclose-btn-delete {
  background-color: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  padding: 2px 4px;
}

.ss-dayclose-btn-delete svg {
  width: 10px;
  height: 10px;
}

/* Fast capture screenshot */

.ss-capture-box {
  background: #f7f8f5;
  border: 1px solid #eceee9;
  border-radius: 8px;
  padding: 14px;
}

.ss-capture-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ss-capture-plus {
  width: 18px;
  height: 18px;
  background-color: var(--mk-bg-dark);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.ss-capture-input {
  flex: 1;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #e4e6e0;
  border-radius: 5px;
  font-size: 12px;
  color: var(--mk-text);
  display: flex;
  align-items: center;
}

.ss-capture-typed {
  font-weight: 500;
}

.ss-capture-cursor {
  width: 1px;
  height: 14px;
  background-color: var(--mk-bg-dark);
  margin-left: 1px;
  animation: ssCursorBlink 1.2s step-end infinite;
}

@keyframes ssCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ss-capture-parsed {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ss-capture-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.ss-capture-chip svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.ss-chip-project {
  background-color: rgba(14, 58, 58, 0.06);
  color: var(--mk-text-secondary);
}

.ss-chip-priority {
  background-color: rgba(239, 68, 68, 0.08);
  color: #DC2626;
}

.ss-chip-date {
  background-color: rgba(244, 196, 48, 0.12);
  color: #8a6d00;
}

.ss-chip-duration {
  background-color: rgba(14, 58, 58, 0.06);
  color: var(--mk-text-secondary);
}

/* Scroll Reveal (shared across pages) */

.mk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mk-reveal.mk-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Animations ---- */

@keyframes mkFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mkFadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mkFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mk-fade-up {
  animation: mkFadeUp 0.7s ease-out both;
}

.mk-fade-down {
  animation: mkFadeDown 0.6s ease-out both;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mk-fade-up,
  .mk-fade-down {
    animation: none;
  }

  .mk-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Typography Utilities ---- */

.mk-serif {
  font-family: var(--mk-serif);
}

.mk-text-center {
  text-align: center;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .mk-nav-links {
    display: none;
  }

  .mk-nav-actions {
    display: none;
  }

  .mk-nav-hamburger {
    display: flex;
  }

  .mk-section {
    padding: 72px 0;
  }

  .mk-section-header {
    margin-bottom: 48px;
  }

  .mk-footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mk-footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .mk-container,
  .mk-container-narrow {
    padding: 0 20px;
  }

  .mk-nav {
    padding: 12px 20px;
  }

  .mk-section {
    padding: 56px 0;
  }

  .mk-section-sm {
    padding: 48px 0;
  }

  .mk-section-header h2 {
    font-size: 26px;
  }

  .mk-footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .mk-footer-bottom {
    padding: 20px;
  }

  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .mk-mobile-menu {
    top: 68px;
  }

  .mk-mobile-menu-inner {
    padding: 24px 20px;
  }

  .mk-cta-section {
    padding: 72px 0;
  }
}

body.mobile-menu-open {
  overflow: hidden;
}
