/* ==========================================================================
   FieldServo — Field Service Management, Automated.
   Premium B2B SaaS Marketing Stylesheet
   Brand palette extracted from logo:
   - Deep Navy:   #0A1F44 (containers, dark sections, headlines)
   - Mint Accent: #10B981 (CTAs, highlights, success states)
   - Slate BG:    #F8FAFC (functional surfaces)
   Typography:
   - Display/Headers: "Plus Jakarta Sans"
   - Body/UI:         "DM Sans"
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-900: #061635;
  --navy-800: #0A1F44;
  --navy-700: #11295A;
  --navy-600: #1B3870;
  --mint-500: #10B981;
  --mint-600: #0EA371;
  --mint-400: #34D399;
  --mint-50:  #ECFDF5;
  --slate-50: #F8FAFC;
  --slate-100:#F1F5F9;
  --slate-200:#E2E8F0;
  --slate-300:#CBD5E1;
  --slate-400:#94A3B8;
  --slate-500:#64748B;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1E293B;
  --slate-900:#0F172A;
  --white: #FFFFFF;
  --danger: #EF4444;
  --warn:   #F59E0B;
  --shadow-sm: 0 1px 2px rgba(10,31,68,0.06);
  --shadow-md: 0 6px 24px rgba(10,31,68,0.08);
  --shadow-lg: 0 20px 50px rgba(10,31,68,0.12);
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--navy-800);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--slate-600); }
a { color: var(--navy-800); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint-600); }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--mint-500); color: var(--white); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--navy-800); color: var(--slate-200); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--slate-300); }
.section--slate { background: var(--slate-50); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint-600);
  background: var(--mint-50);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16,185,129,0.18);
}
.section--dark .eyebrow {
  color: var(--mint-400);
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.28);
}

.section-header { max-width: 780px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-top: 16px; }
.section-header p { margin-top: 14px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint-500); color: var(--white); box-shadow: 0 8px 24px rgba(16,185,129,0.32); }
.btn-primary:hover { background: var(--mint-600); color: var(--white); box-shadow: 0 10px 28px rgba(16,185,129,0.4); }
.btn-secondary { background: var(--navy-800); color: var(--white); }
.btn-secondary:hover { background: var(--navy-700); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--slate-300); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: var(--slate-100); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

.section--dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.25); }
.section--dark .btn-outline:hover { border-color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--slate-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--navy-800); }
.nav-brand img { height: 36px; width: auto; display: block; }
.nav-brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--navy-800); color: var(--mint-400); }
.nav-brand-mark svg { width: 18px; height: 18px; }
.nav-brand .accent { color: var(--mint-500); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links li { position: relative; }
.nav-links a, .nav-links .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--slate-700); font-weight: 500; font-size: 0.95rem;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit;
}
.nav-links a:hover, .nav-links .nav-trigger:hover { background: var(--slate-100); color: var(--navy-800); }
.nav-links a.is-active { color: var(--navy-800); background: var(--slate-100); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; color: var(--slate-700); }
.dropdown a:hover { background: var(--slate-100); color: var(--navy-800); }
.dropdown small { display: block; color: var(--slate-500); font-size: 0.78rem; margin-top: 2px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--navy-800); }
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--slate-200);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .dropdown.is-open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(16,185,129,0.12), transparent 60%),
    radial-gradient(700px 400px at 95% 0%, rgba(10,31,68,0.08), transparent 60%),
    linear-gradient(180deg, var(--white), var(--slate-50));
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-title { margin-top: 18px; }
.hero-title span.accent { color: var(--mint-500); }
.hero-sub { margin-top: 18px; font-size: 1.125rem; max-width: 560px; color: var(--slate-600); }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { margin-top: 32px; display: flex; gap: 28px; flex-wrap: wrap; color: var(--slate-500); font-size: 0.9rem; }
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--mint-500); }

/* Browser frame mockup */
.browser-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200);
}
.browser-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--slate-300); }
.browser-dot.r { background: #FF5F57; } .browser-dot.y { background: #FEBC2E; } .browser-dot.g { background: #28C840; }
.browser-url {
  flex: 1; margin-left: 14px; height: 26px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--slate-200);
  display: flex; align-items: center; padding: 0 12px;
  font-size: 0.78rem; color: var(--slate-500);
}
.browser-body { padding: 14px; background: linear-gradient(180deg, #FAFCFE, var(--white)); overflow: hidden; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Dashboard mockup widgets */
.dash {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px;
}
.dash > * { min-width: 0; }
.dash-side {
  background: var(--navy-800); color: var(--slate-200);
  border-radius: 12px; padding: 12px;
  font-size: 0.72rem;
}
.dash-side-brand { display: flex; align-items: center; gap: 8px; font-family: "Plus Jakarta Sans"; font-weight: 700; color: var(--white); font-size: 0.82rem; margin-bottom: 12px; }
.dash-side-brand .mark { width: 20px; height: 20px; background: var(--mint-500); border-radius: 5px; display: grid; place-items: center; color: var(--navy-800); font-weight: 800; font-size: 0.62rem; }
.dash-side-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--slate-300); margin-bottom: 2px; white-space: nowrap; }
.dash-side-item.is-active { background: rgba(16,185,129,0.16); color: var(--white); }
.dash-side-item .ico { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.dash-side-item.is-active .ico { background: var(--mint-500); }

.dash-main { display: grid; gap: 10px; min-width: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dash-stat { background: var(--white); border: 1px solid var(--slate-200); border-radius: 9px; padding: 8px; min-width: 0; overflow: hidden; }
.dash-stat .label { font-size: 0.6rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-stat .val { font-family: "Plus Jakarta Sans"; font-weight: 800; color: var(--navy-800); font-size: 0.92rem; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-stat .delta { font-size: 0.62rem; color: var(--mint-600); font-weight: 600; white-space: nowrap; }

.dash-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; }
.dash-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 10px; padding: 10px; min-width: 0; overflow: hidden; }
.dash-card h5 { font-family: "Plus Jakarta Sans"; font-size: 0.74rem; color: var(--navy-800); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.dash-card h5 .tag { font-size: 0.56rem; padding: 2px 6px; background: var(--mint-50); color: var(--mint-600); border-radius: 999px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }

.chart {
  height: 64px; display: flex; align-items: flex-end; gap: 5px; padding-top: 6px;
}
.chart .bar { flex: 1; background: linear-gradient(180deg, var(--mint-400), var(--mint-600)); border-radius: 4px 4px 2px 2px; }

.job-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--slate-200); font-size: 0.72rem; min-width: 0; }
.job-row:last-child { border-bottom: 0; }
.job-row .avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--mint-500)); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 0.62rem; flex-shrink: 0; }
.job-row .info { flex: 1; min-width: 0; overflow: hidden; }
.job-row .info b { color: var(--navy-800); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row .info small { color: var(--slate-500); display: block; font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row .status { font-size: 0.58rem; padding: 2px 6px; border-radius: 999px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.status-on { background: var(--mint-50); color: var(--mint-600); }
.status-route { background: #EEF2FF; color: #4F46E5; }
.status-paid { background: #ECFDF5; color: var(--mint-600); }
.status-pend { background: #FFFBEB; color: #B45309; }

/* ---------- AI Capability Matrix ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mint-500), var(--navy-800));
  opacity: 0; transition: opacity .25s var(--ease);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-800); color: var(--mint-400);
  margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.96rem; }
.feature-tag {
  display: inline-block; margin-top: 18px;
  font-size: 0.72rem; font-weight: 600; padding: 5px 10px;
  background: var(--mint-50); color: var(--mint-600); border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ---------- How It Works (steps) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step-num {
  font-family: "Plus Jakarta Sans"; font-weight: 800;
  font-size: 0.85rem; color: var(--mint-600);
  background: var(--mint-50); border: 1px solid rgba(16,185,129,0.2);
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step ul { margin-top: 14px; list-style: none; }
.step ul li {
  display: flex; gap: 8px; font-size: 0.9rem; color: var(--slate-600);
  padding: 4px 0;
}
.step ul li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: var(--mint-50); border: 2px solid var(--mint-500); margin-top: 4px;
}

/* ---------- Personas tabs ---------- */
.persona-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: flex-start; }
@media (max-width: 960px) { .persona-wrap { grid-template-columns: 1fr; } }
.persona-tabs { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 960px) { .persona-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; } }
.persona-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--slate-200);
  cursor: pointer; font-family: inherit; font-size: 0.95rem; font-weight: 600;
  color: var(--slate-700); text-align: left; transition: all .2s var(--ease);
  white-space: nowrap;
}
.persona-tab:hover { border-color: var(--slate-300); }
.persona-tab.is-active { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.persona-tab .ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--slate-100); color: var(--navy-800);
}
.persona-tab.is-active .ico { background: var(--mint-500); color: var(--white); }
.persona-panel { display: none; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px; }
.persona-panel.is-active { display: block; }
.persona-panel h3 { margin-bottom: 12px; }
.persona-panel .bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.persona-panel .bullets div { display: flex; gap: 10px; font-size: 0.92rem; color: var(--slate-600); }
.persona-panel .bullets svg { width: 18px; height: 18px; color: var(--mint-500); flex-shrink: 0; margin-top: 2px; }

/* ---------- Logos strip ---------- */
.logo-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 36px; opacity: 0.85; }
.logo-strip .logo { font-family: "Plus Jakarta Sans"; font-weight: 800; color: var(--slate-500); letter-spacing: 0.04em; font-size: 1.1rem; }
.logo-strip .logo span { color: var(--mint-600); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--navy-800); color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 960px) { .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; } }
.cta-banner::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,185,129,0.45), transparent);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--slate-300); margin-top: 12px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900); color: var(--slate-300);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { font-family: "Plus Jakarta Sans"; font-weight: 800; color: var(--white); font-size: 1.4rem; }
.footer-brand img { height: 44px; width: auto; display: block; }
.footer-brand .accent { color: var(--mint-400); }
.footer-tag { margin-top: 14px; color: var(--slate-400); font-size: 0.93rem; max-width: 320px; }
.footer-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.72rem; padding: 6px 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; color: var(--slate-300); letter-spacing: 0.04em;
}
.footer-col h5 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-family: "Plus Jakarta Sans"; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--slate-400); font-size: 0.92rem; }
.footer-col a:hover { color: var(--mint-400); }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 14px;
  color: var(--white); font-family: inherit; font-size: 0.92rem;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--slate-500); }
.newsletter-form input:focus { border-color: var(--mint-500); }
.newsletter-note { font-size: 0.78rem; color: var(--slate-500); margin-top: 10px; }

.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--slate-500); flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: var(--slate-300);
}
.footer-social a:hover { background: var(--mint-500); color: var(--white); border-color: var(--mint-500); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Features Page: sidebar + tabs ---------- */
.features-shell {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
}
@media (max-width: 960px) { .features-shell { grid-template-columns: 1fr; } }
.features-sidebar {
  position: sticky; top: 96px; align-self: start;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 16px;
}
.features-sidebar h4 { color: var(--slate-500); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 10px 12px; }
.features-sidebar button {
  width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.92rem; color: var(--slate-700);
  display: flex; align-items: center; gap: 12px; margin-bottom: 4px;
}
.features-sidebar button:hover { background: var(--slate-100); color: var(--navy-800); }
.features-sidebar button.is-active { background: var(--navy-800); color: var(--white); }
.features-sidebar button.is-active .num { background: var(--mint-500); color: var(--white); }
.features-sidebar .num {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--slate-100); color: var(--slate-600);
  font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 0.78rem;
}

.feature-panel { display: none; }
.feature-panel.is-active { display: block; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.feature-panel h2 { margin-bottom: 12px; }
.feature-panel > p { font-size: 1.05rem; }

.feature-mock {
  margin-top: 28px; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-md);
}
.feature-mock .mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.feature-mock .mock-header h4 { color: var(--navy-800); }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .mock-stats { grid-template-columns: repeat(2, 1fr); } }
.mock-stat {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 14px;
}
.mock-stat .label { font-size: 0.72rem; text-transform: uppercase; color: var(--slate-500); letter-spacing: 0.08em; }
.mock-stat .val { font-family: "Plus Jakarta Sans"; font-weight: 800; color: var(--navy-800); font-size: 1.4rem; margin-top: 4px; }
.mock-stat .delta { font-size: 0.78rem; font-weight: 600; color: var(--mint-600); margin-top: 4px; }
.mock-stat .delta.neg { color: var(--danger); }

.mock-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.88rem; }
.mock-table th, .mock-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--slate-200); }
.mock-table th { font-family: "Plus Jakarta Sans"; font-weight: 600; color: var(--slate-500); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.mock-table td { color: var(--slate-700); }
.mock-table .pill { display: inline-block; font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.pill-green { background: var(--mint-50); color: var(--mint-600); }
.pill-blue  { background: #EEF2FF; color: #4F46E5; }
.pill-amber { background: #FFFBEB; color: #B45309; }
.pill-slate { background: var(--slate-100); color: var(--slate-700); }
.pill-red   { background: #FEF2F2; color: #B91C1C; }

.feature-list { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list .item { display: flex; gap: 12px; padding: 14px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; }
.feature-list .item svg { width: 22px; height: 22px; color: var(--mint-500); flex-shrink: 0; margin-top: 2px; }
.feature-list .item b { color: var(--navy-800); font-family: "Plus Jakarta Sans"; }
.feature-list .item small { display: block; color: var(--slate-500); font-size: 0.85rem; margin-top: 4px; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 960px) { .kanban { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kanban { grid-template-columns: 1fr; } }
.kanban-col {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 12px; min-height: 200px;
}
.kanban-col h6 { font-family: "Plus Jakarta Sans"; font-size: 0.78rem; color: var(--slate-700); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; display: flex; justify-content: space-between; }
.kanban-col h6 span { color: var(--slate-500); }
.kanban-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 10px; padding: 10px; margin-bottom: 8px; font-size: 0.8rem; cursor: grab; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.kanban-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.kanban-card b { color: var(--navy-800); font-family: "Plus Jakarta Sans"; }
.kanban-card .meta { color: var(--slate-500); font-size: 0.72rem; margin-top: 4px; display: flex; justify-content: space-between; }

/* Calendar mock */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; }
.cal-h { font-size: 0.7rem; font-weight: 600; color: var(--slate-500); text-align: center; padding: 6px 0; text-transform: uppercase; letter-spacing: 0.06em; }
.cal-d { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; min-height: 60px; padding: 6px; font-size: 0.72rem; color: var(--slate-700); }
.cal-d.is-today { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.cal-d .ev { font-size: 0.62rem; padding: 2px 6px; background: var(--mint-50); color: var(--mint-600); border-radius: 4px; margin-top: 3px; }
.cal-d.is-today .ev { background: var(--mint-500); color: var(--white); }

/* Map mock */
.map-mock {
  position: relative; height: 280px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(180deg, #DEEFFE 0%, #E8F5FB 100%);
  border: 1px solid var(--slate-200);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,31,68,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,31,68,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.map-road {
  position: absolute; height: 4px; background: var(--white); top: 50%; left: 6%; right: 6%; transform: translateY(-50%);
  box-shadow: 0 0 0 1px var(--slate-200);
}
.map-road.v { width: 4px; height: 80%; left: 40%; top: 10%; right: auto; transform: none; }
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0;
  background: var(--mint-500); border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  transform-origin: 100% 100%;
  rotate: -45deg;
}
.map-pin.navy { background: var(--navy-800); }
.map-pin::after {
  content: ""; position: absolute; inset: 5px; background: var(--white); border-radius: 50%;
}

/* ---------- Pricing ---------- */
.toggle-bill {
  display: inline-flex; background: var(--slate-100); border-radius: 12px; padding: 4px; margin: 20px 0 40px;
}
.toggle-bill button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--slate-600); cursor: pointer;
}
.toggle-bill button.is-active { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.toggle-bill .save { font-size: 0.7rem; padding: 3px 8px; background: var(--mint-500); color: var(--white); border-radius: 999px; margin-left: 8px; font-weight: 700; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.price-card:hover { transform: translateY(-3px); }
.price-card.is-featured {
  background: var(--navy-800); color: var(--white);
  border-color: var(--navy-800); position: relative;
}
.price-card.is-featured h3, .price-card.is-featured .price-val { color: var(--white); }
.price-card.is-featured .price-feat svg { color: var(--mint-400); }
.price-card.is-featured .price-feat { color: var(--slate-300); }
.price-card.is-featured .price-desc { color: var(--slate-300); }

.price-badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--mint-500); color: var(--white);
  font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.05em;
}
.price-card h3 { font-family: "Plus Jakarta Sans"; }
.price-desc { color: var(--slate-500); font-size: 0.92rem; margin-top: 8px; }
.price-val { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 3rem; color: var(--navy-800); margin: 20px 0 4px; }
.price-val small { font-size: 0.95rem; font-weight: 500; color: var(--slate-500); }
.price-period { color: var(--slate-500); font-size: 0.88rem; margin-bottom: 24px; }
.price-feats { list-style: none; flex: 1; }
.price-feat { display: flex; gap: 10px; padding: 7px 0; font-size: 0.94rem; color: var(--slate-700); }
.price-feat svg { width: 18px; height: 18px; color: var(--mint-500); flex-shrink: 0; margin-top: 2px; }

.cc-callout {
  margin-top: 56px;
  background: linear-gradient(120deg, var(--mint-50), var(--white));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
@media (max-width: 720px) { .cc-callout { grid-template-columns: 1fr; } }
.cc-callout h3 { color: var(--navy-800); }
.cc-callout p { margin-top: 6px; }
.cc-callout .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; background: var(--navy-800); color: var(--white); padding: 4px 10px; border-radius: 999px; font-weight: 700; letter-spacing: 0.05em; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  font-family: "Plus Jakarta Sans"; font-weight: 600; font-size: 1rem;
  color: var(--navy-800); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center;
  text-align: left;
}
.faq-q .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--slate-100); display: grid; place-items: center;
  transition: transform .2s var(--ease), background .2s var(--ease);
  color: var(--slate-700);
}
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); background: var(--mint-500); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); padding: 0 22px; color: var(--slate-600); }
.faq-item.is-open .faq-a { max-height: 400px; padding: 0 22px 20px; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-filter {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 999px; padding: 8px 14px; font-size: 0.85rem;
  cursor: pointer; font-family: inherit; color: var(--slate-700);
  font-weight: 500;
}
.blog-filter.is-active { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.blog-thumb.green { background: linear-gradient(135deg, var(--mint-600), var(--navy-800)); }
.blog-thumb.slate { background: linear-gradient(135deg, var(--slate-700), var(--navy-800)); }
.blog-thumb svg { position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; color: rgba(255,255,255,0.45); }
.blog-thumb .tag { position: absolute; top: 14px; left: 14px; font-size: 0.72rem; padding: 5px 10px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: var(--white); border-radius: 999px; font-weight: 600; }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-family: "Plus Jakarta Sans"; font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.blog-body p { font-size: 0.92rem; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 0.8rem; color: var(--slate-500); }
.blog-meta .author { display: flex; align-items: center; gap: 8px; }
.blog-meta .avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--mint-500)); color: var(--white); font-size: 0.65rem; font-weight: 700; display: grid; place-items: center; }

/* Card-as-link state (blog list cards) */
a.blog-card { color: inherit; text-decoration: none; }
a.blog-card:hover { color: inherit; }
a.blog-card:hover .blog-body h3 { color: var(--mint-600); }

/* ---------- Blog detail (article) page ---------- */
.article-hero {
  position: relative;
  padding: 64px 0 40px;
  background:
    radial-gradient(700px 360px at 18% 0%, rgba(16,185,129,0.12), transparent 60%),
    linear-gradient(180deg, var(--white), var(--slate-50));
  border-bottom: 1px solid var(--slate-200);
}
.article-hero .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--slate-500);
  margin-bottom: 18px;
}
.article-hero .back-link:hover { color: var(--mint-600); }
.article-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  max-width: 880px; margin-top: 14px; line-height: 1.12;
}
.article-hero .deck {
  margin-top: 18px; max-width: 760px;
  font-size: 1.1rem; color: var(--slate-600); line-height: 1.55;
}
.article-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 28px; font-size: 0.88rem; color: var(--slate-500);
}
.article-meta .author { display: flex; align-items: center; gap: 10px; }
.article-meta .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--mint-500));
  color: var(--white); display: grid; place-items: center;
  font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 0.85rem;
}
.article-meta .author b { color: var(--navy-800); font-family: "Plus Jakarta Sans"; font-weight: 700; display: block; font-size: 0.95rem; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300); }

.article-shell {
  display: grid;
  grid-template-columns: 240px 1fr 80px;
  gap: 48px;
  align-items: flex-start;
}
.article-shell > * { min-width: 0; } /* prevent grid blowout from <pre>/<table> children */
@media (max-width: 1100px) { .article-shell { grid-template-columns: 220px 1fr; } }
@media (max-width: 880px) { .article-shell { grid-template-columns: 1fr; } .article-toc { position: static; } }

.article-toc {
  position: sticky; top: 96px; align-self: start;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 18px;
  max-height: calc(100vh - 120px); overflow: auto;
}
.article-toc h5 { color: var(--slate-500); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.article-toc a {
  display: block; padding: 7px 10px; border-radius: 8px;
  color: var(--slate-700); font-size: 0.85rem; line-height: 1.35;
  border-left: 2px solid transparent;
}
.article-toc a.is-h3 { padding-left: 22px; font-size: 0.8rem; color: var(--slate-500); }
.article-toc a:hover { background: var(--slate-100); color: var(--navy-800); }
.article-toc a.is-active { background: var(--mint-50); color: var(--mint-600); border-left-color: var(--mint-500); font-weight: 600; }

.article-body { max-width: 740px; }
.article-body > .lede { font-size: 1.1rem; color: var(--slate-700); margin-bottom: 24px; padding: 16px 18px; background: var(--mint-50); border-left: 3px solid var(--mint-500); border-radius: 4px 12px 12px 4px; }
.article-body h2 { font-size: 1.65rem; margin: 36px 0 12px; scroll-margin-top: 96px; }
.article-body h3 { font-size: 1.18rem; margin: 26px 0 10px; scroll-margin-top: 96px; color: var(--navy-800); }
.article-body p, .article-body li { font-size: 1rem; line-height: 1.75; color: var(--slate-700); }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 4px 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--navy-800); }
.article-body code {
  background: var(--slate-100); padding: 2px 7px; border-radius: 5px;
  font-size: 0.92em; color: var(--navy-800);
  font-family: "Source Code Pro", Menlo, Consolas, monospace;
}
.article-body pre {
  background: var(--navy-900); color: var(--slate-200);
  padding: 18px 20px; border-radius: 12px;
  max-width: 100%; overflow-x: auto;
  font-family: "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.86rem; line-height: 1.55;
  margin: 0 0 20px;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body blockquote {
  margin: 24px 0; padding: 18px 22px;
  background: var(--slate-50);
  border-left: 3px solid var(--navy-800);
  border-radius: 4px 12px 12px 4px;
  font-style: italic; color: var(--slate-700);
}
.article-body blockquote cite {
  display: block; margin-top: 10px;
  font-style: normal; font-weight: 700; font-size: 0.88rem;
  color: var(--navy-800); font-family: "Plus Jakarta Sans";
}
.article-body img { width: 100%; border-radius: 12px; margin: 18px 0; }
.article-body .callout {
  background: linear-gradient(120deg, var(--mint-50), var(--white));
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0;
}
.article-body .callout h4 { color: var(--navy-800); font-family: "Plus Jakarta Sans"; margin-bottom: 6px; }
.article-body .callout p { margin-bottom: 0; font-size: 0.95rem; }
.article-body hr { border: 0; height: 1px; background: var(--slate-200); margin: 36px 0; }

.article-share {
  position: sticky; top: 96px; align-self: start;
  display: flex; flex-direction: column; gap: 8px;
}
@media (max-width: 1100px) { .article-share { display: none; } }
.article-share .share-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--slate-500); writing-mode: vertical-rl;
  margin: 0 auto 4px; padding: 6px 0;
}
.article-share button, .article-share a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 10px; cursor: pointer; color: var(--slate-700);
  transition: all .2s var(--ease);
}
.article-share button:hover, .article-share a:hover {
  border-color: var(--mint-500); color: var(--mint-600);
  transform: translateY(-2px);
}
.article-share svg { width: 16px; height: 16px; }

/* Mobile share row */
.article-share-mobile {
  display: none; gap: 8px; margin: 24px 0 0;
}
@media (max-width: 1100px) { .article-share-mobile { display: flex; } }
.article-share-mobile button, .article-share-mobile a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--slate-200);
  background: var(--white); border-radius: 999px;
  font-size: 0.82rem; color: var(--slate-700); cursor: pointer;
  font-family: inherit;
}
.article-share-mobile svg { width: 14px; height: 14px; }
.article-share-mobile button:hover, .article-share-mobile a:hover { border-color: var(--mint-500); color: var(--mint-600); }

.article-tags { margin: 28px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a {
  font-size: 0.78rem; padding: 6px 12px;
  background: var(--slate-100); border-radius: 999px;
  color: var(--slate-700); font-weight: 600;
}
.article-tags a:hover { background: var(--mint-50); color: var(--mint-600); }

.related-shell { background: var(--slate-50); padding: 72px 0; border-top: 1px solid var(--slate-200); }
.related-shell h3 { font-family: "Plus Jakarta Sans"; margin-bottom: 28px; font-size: 1.5rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.about-stat {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 14px; padding: 22px;
}
.about-stat .val { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 2rem; color: var(--mint-600); }
.about-stat .label { font-size: 0.85rem; color: var(--slate-600); margin-top: 4px; }

.timeline { position: relative; padding-left: 40px; margin-top: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--mint-500), var(--slate-200));
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint-500); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--mint-500);
}
.timeline-item .year { font-family: "Plus Jakarta Sans"; font-weight: 700; color: var(--mint-600); font-size: 0.92rem; }
.timeline-item h4 { color: var(--navy-800); margin-top: 4px; }
.timeline-item p { margin-top: 6px; font-size: 0.93rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--mint-500));
  color: var(--white); font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.4rem;
  display: grid; place-items: center; margin: 0 auto 14px;
}
.team-card h4 { color: var(--navy-800); }
.team-card .role { color: var(--mint-600); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.team-card p { font-size: 0.85rem; margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: flex-start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-item {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 22px; margin-bottom: 14px;
  display: flex; gap: 16px; align-items: flex-start;
}
.info-item .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mint-50); color: var(--mint-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-item h4 { color: var(--navy-800); }
.info-item p { font-size: 0.92rem; margin-top: 4px; }
.info-item a { color: var(--mint-600); font-weight: 600; font-size: 0.92rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Plus Jakarta Sans"; font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--slate-200);
  border-radius: 10px; font-family: inherit; font-size: 0.95rem;
  color: var(--navy-800); background: var(--white);
  outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.78rem; color: var(--slate-500); margin-top: 6px; }

.date-picker {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 16px; margin-top: 8px;
}
.date-picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.date-picker-head button { background: var(--white); border: 1px solid var(--slate-200); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; color: var(--slate-700); }
.date-picker-head h5 { font-family: "Plus Jakarta Sans"; color: var(--navy-800); font-size: 0.95rem; }
.date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.date-grid .head { text-align: center; font-size: 0.7rem; color: var(--slate-500); padding: 6px 0; font-weight: 600; text-transform: uppercase; }
.date-grid .cell {
  text-align: center; padding: 8px 0; border-radius: 6px;
  font-size: 0.85rem; cursor: pointer; color: var(--slate-700);
  background: transparent; border: 0; font-family: inherit;
}
.date-grid .cell:hover { background: var(--slate-100); }
.date-grid .cell.is-muted { color: var(--slate-300); }
.date-grid .cell.is-selected { background: var(--mint-500); color: var(--white); font-weight: 700; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.time-grid button {
  padding: 10px; border-radius: 8px; border: 1px solid var(--slate-200);
  background: var(--white); cursor: pointer; font-family: inherit; font-size: 0.82rem; color: var(--slate-700);
}
.time-grid button:hover { border-color: var(--mint-500); color: var(--mint-600); }
.time-grid button.is-selected { background: var(--mint-500); color: var(--white); border-color: var(--mint-500); font-weight: 600; }

/* ---------- Auth ---------- */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 960px) { .auth-shell { grid-template-columns: 1fr; } }
.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 56px 24px;
}
.auth-form {
  width: 100%; max-width: 420px;
}
.auth-form h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 8px; }
.auth-form > p { color: var(--slate-600); margin-bottom: 28px; }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border: 1px solid var(--slate-200); border-radius: 10px;
  background: var(--white); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.9rem;
  color: var(--slate-700);
}
.oauth-btn:hover { border-color: var(--slate-300); background: var(--slate-50); }
.oauth-btn svg { width: 18px; height: 18px; }

.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--slate-500); font-size: 0.82rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--slate-200); }

.auth-foot { font-size: 0.92rem; color: var(--slate-600); margin-top: 18px; text-align: center; }
.auth-foot a { color: var(--mint-600); font-weight: 600; }

/* Demo launch panel (sign-in page) */
.demo-launch {
  margin-top: 26px;
  padding: 18px;
  border: 1px dashed var(--slate-300);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04), rgba(10, 31, 68, 0.02));
}
.demo-launch-head { margin-bottom: 14px; }
.demo-launch-eyebrow {
  display: inline-block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mint-600);
}
.demo-launch-head small { display: block; color: var(--slate-600); font-size: 0.82rem; margin-top: 2px; }
.demo-launch-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 540px) { .demo-launch-row { grid-template-columns: 1fr; } }
.demo-launch-card--admin {
  background: linear-gradient(135deg, #0A1429, #1E293B) !important;
  border-color: #F59E0B !important; color: #F8FAFC !important;
}
.demo-launch-card--admin .demo-launch-ico { background: rgba(245,158,11,0.18); color: #FBBF24; }
.demo-launch-card--admin small { color: #CBD5E1; }
.demo-launch-card--admin .demo-launch-arrow { color: #FBBF24; }
.demo-launch-card--admin:hover { box-shadow: 0 8px 24px -12px rgba(245,158,11,0.45); border-color: #FBBF24 !important; }
.demo-launch-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--slate-200); border-radius: 10px;
  text-decoration: none; color: var(--navy-800);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.demo-launch-card:hover {
  border-color: var(--mint-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px rgba(16, 185, 129, 0.35);
}
.demo-launch-ico {
  flex: 0 0 36px; height: 36px; display: grid; place-items: center;
  background: var(--navy-50, #EEF2FB); border-radius: 8px; color: var(--navy-800);
}
.demo-launch-ico svg { width: 18px; height: 18px; }
.demo-launch-card b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.92rem; display: block; }
.demo-launch-card small { display: block; color: var(--slate-500); font-size: 0.76rem; margin-top: 2px; }
.demo-launch-arrow { margin-left: auto; color: var(--mint-600); font-weight: 700; font-size: 1.1rem; }

.auth-side {
  background: var(--navy-800); color: var(--white);
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,185,129,0.35), transparent);
}
.auth-side h2 { color: var(--white); max-width: 460px; }
.auth-side p { color: var(--slate-300); margin-top: 14px; max-width: 460px; }
.auth-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.auth-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 18px;
}
.auth-stat .v { font-family: "Plus Jakarta Sans"; font-weight: 800; color: var(--mint-400); font-size: 1.6rem; }
.auth-stat .l { font-size: 0.82rem; color: var(--slate-300); margin-top: 2px; }
.auth-quote { font-size: 0.92rem; color: var(--slate-300); border-left: 3px solid var(--mint-500); padding-left: 14px; }
.auth-quote cite { display: block; font-style: normal; color: var(--white); margin-top: 6px; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 0.88rem; }
.auth-quote cite small { color: var(--slate-400); font-weight: 500; display: block; }

/* ---------- Legal ---------- */
.legal-shell { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
@media (max-width: 960px) { .legal-shell { grid-template-columns: 1fr; } }
.legal-toc {
  position: sticky; top: 96px; align-self: start;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 18px;
}
.legal-toc h5 { color: var(--slate-500); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.legal-toc a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--slate-700); font-size: 0.88rem; }
.legal-toc a:hover { background: var(--slate-100); color: var(--navy-800); }

.legal-body { max-width: 760px; }
.legal-body h2 { margin: 32px 0 12px; padding-top: 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 20px 0 10px; }
.legal-body p, .legal-body li { color: var(--slate-700); line-height: 1.75; font-size: 0.98rem; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 8px 0 16px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .meta { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 16px 18px; margin-bottom: 28px; font-size: 0.88rem; color: var(--slate-600); }

/* ---------- Page headers (sub-pages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 360px at 80% -10%, rgba(16,185,129,0.1), transparent 60%),
    linear-gradient(180deg, var(--white), var(--slate-50));
  border-bottom: 1px solid var(--slate-200);
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.page-hero p { margin-top: 14px; max-width: 720px; font-size: 1.05rem; }

/* ---------- Utility ---------- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

.toast-host {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--navy-800); color: var(--white);
  padding: 14px 18px; border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex; gap: 10px; align-items: center;
  animation: slideIn .25s var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
}
.toast svg { width: 18px; height: 18px; color: var(--mint-400); }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
