/* ─────────────────────────────────────────
   BASE — reset, tokens, layout, typography
   ───────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #FAF8F4;
  --bg-warm:     #F3F0EA;
  --bg-card:     #FFFFFF;
  --bg-softer:   #F7F5F1;
  --ink:         #1A1A18;
  --ink-2:       #3D3D38;
  --ink-3:       #6B6B64;
  --ink-4:       #9A9990;
  --border:      #E2DED6;
  --border-dark: #C8C4BC;
  --orange:      #E8472A;
  --orange-dim:  rgba(232,71,42,0.08);
  --orange-mid:  rgba(232,71,42,0.18);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Shared typography helpers ── */
.section-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-3);
  max-width: 600px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}
/* ─────────────────────────────────────────
   NAV — banner + navigation bar
   ───────────────────────────────────────── */

/* ── Banner ── */
.banner {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 9px 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 101;
}
.banner a { color: var(--bg); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.banner a:hover { opacity: 1; }
.banner-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative; top: -1px;
}

/* ── Nav ── */
nav {
  position: fixed; top: 37px; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.logo img {
  height: 22px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--ink-3); text-decoration: none;
  transition: color 0.15s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  color: var(--ink) !important;
  padding: 7px 16px;
  border: 1px solid var(--ink);
  transition: all 0.15s;
  letter-spacing: -0.01em;
}
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }

@media (max-width: 768px) {
  .banner { padding: 9px 20px; }
  nav { top: 34px; }
  .nav-links { display: none; }
}
/* ─────────────────────────────────────────
   BUTTONS — all variants + CTA helpers
   ───────────────────────────────────────── */

.btn {
  padding: 12px 24px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: all 0.15s; letter-spacing: -0.01em;
}

.btn-primary { background: var(--orange); color: #fff; border: 1px solid var(--orange); }
.btn-primary:hover { background: #d43e24; border-color: #d43e24; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-dark); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-white { background: var(--bg); color: var(--ink); border: 1px solid var(--bg); }
.btn-white:hover { background: var(--bg-warm); border-color: var(--bg-warm); }

.btn-outline-white { background: transparent; color: var(--bg); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: var(--bg); }

.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cta-note { font-size: 12px; color: var(--ink-4); letter-spacing: -0.01em; }
/* ─────────────────────────────────────────
   FOOTER — CTA band + footer
   ───────────────────────────────────────── */

/* ── CTA Band ── */
.cta-band { background: var(--ink); color: var(--bg); padding: 80px 0; }
.cta-band-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.cta-band-headline {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
}
.cta-band-sub { font-size: 13px; color: rgba(250,248,244,0.5); margin-top: 8px; letter-spacing: -0.01em; }

/* ── Footer ── */
footer {
  background: var(--ink); color: var(--bg);
  padding: 60px 0 36px;
  border-top: 1px solid rgba(250,248,244,0.08);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; margin-bottom: 52px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px; opacity: 0.35;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(250,248,244,0.5); text-decoration: none;
  font-size: 13px; transition: color 0.15s; letter-spacing: -0.01em;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(250,248,244,0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; color: rgba(250,248,244,0.25); letter-spacing: -0.01em; }
.footer-badges { display: flex; gap: 10px; }
.badge {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(250,248,244,0.25); padding: 3px 8px; border: 1px solid rgba(250,248,244,0.12);
}

@media (max-width: 1024px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cta-band-inner { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
/* ─────────────────────────────────────────
   SLACK — all Slack/Teams mock card styles

   Three naming conventions in use:
   · sk-*        homepage notification cards (full-height)
   · sm-*        solution page capability mocks (compact)
   · slack-mock-* adoption page capability mocks
   ───────────────────────────────────────── */

/* ══════════════════════════════════════════
   sk-* — Homepage notification cards
   ══════════════════════════════════════════ */
.sk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  min-width: 348px; max-width: 348px; height: 480px;
  flex-shrink: 0; display: flex; flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.sk-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  border-color: var(--border-dark);
  transform: translateY(-2px);
}
.sk-card-label {
  padding: 9px 16px;
  background: var(--bg-softer); border-bottom: 1px solid var(--border);
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); flex-shrink: 0;
}
.sk-body {
  padding: 14px 16px; flex: 1; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.sk-body::-webkit-scrollbar { width: 3px; }
.sk-body::-webkit-scrollbar-track { background: transparent; }
.sk-body::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.sk-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sk-avatar {
  width: 30px; height: 30px; border-radius: 6px;
  background: #4A154B;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 400; color: white;
  flex-shrink: 0; overflow: hidden;
}
.sk-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.sk-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.sk-badge {
  font-size: 9px; font-weight: 700; color: white;
  background: #4A154B; padding: 2px 5px; border-radius: 3px; margin-left: 3px; letter-spacing: 0.04em;
}
.sk-time { font-size: 11px; color: var(--ink-4); margin-left: 3px; }
.sk-channel { font-size: 11px; color: var(--ink-4); margin-bottom: 10px; padding-left: 36px; }
.sk-channel strong { color: var(--ink); font-weight: 600; }
.sk-msg { font-size: 13px; line-height: 1.6; color: var(--ink); margin-bottom: 10px; }
.sk-msg strong { font-weight: 600; }
.sk-attachment {
  background: var(--bg-warm); border-left: 3px solid var(--border-dark);
  border-radius: 0 6px 6px 0; padding: 9px 12px; margin-bottom: 12px;
  font-size: 12px; color: var(--ink-3); line-height: 1.55;
}
.sk-attachment strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.sk-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.sk-btn {
  font-size: 11px; font-weight: 600; color: var(--ink);
  background: var(--bg-card); border: 1px solid var(--border-dark);
  border-radius: 4px; padding: 4px 10px; cursor: pointer;
  transition: all 0.1s; white-space: nowrap;
}
.sk-btn:hover { background: var(--bg-warm); border-color: #aaa; }
.sk-divider { height: 1px; background: var(--border); margin: 10px 0; }
.sk-field { font-size: 13px; line-height: 1.7; color: var(--ink); margin-bottom: 4px; }
.sk-field strong { font-weight: 600; display: inline; font-size: 13px; color: var(--ink); }
.sk-inline-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 0; font-size: 13px; color: var(--ink); gap: 12px;
}
.sk-select {
  font-size: 11px; color: var(--ink);
  border: 1px solid var(--border-dark); border-radius: 4px;
  padding: 5px 24px 5px 8px;
  background: var(--bg-card); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; flex-shrink: 0;
}
.sk-link { font-size: 13px; color: #1264A3; text-decoration: none; }
.sk-link:hover { text-decoration: underline; }
.sk-context { font-size: 11px; color: var(--ink-4); margin-top: 8px; }

/* Platform toggle */
.platform-toggle {
  display: inline-flex;
  border: 1px solid var(--border-dark); border-radius: 6px;
  overflow: hidden; background: var(--bg-card);
}
.toggle-btn {
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border: none; background: transparent;
  cursor: pointer; color: var(--ink-3);
  display: flex; align-items: center;
  transition: background 0.15s, color 0.15s;
  letter-spacing: -0.01em; line-height: 1;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--border-dark); }
.toggle-btn.active { background: var(--orange); color: var(--bg); }
.toggle-btn.active svg path,
.toggle-btn.active svg circle,
.toggle-btn.active svg rect { fill: white !important; opacity: 1 !important; }
.toggle-btn:not(.active):hover { background: var(--bg-warm); }

/* Card swap animation */
.notif-scroll { transition: opacity 0.15s; }
.notif-scroll.switching { opacity: 0; }

/* ── Teams card skin ── */
.sk-card.teams { border-radius: 4px; border-color: #e1e1e1; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.sk-card.teams:hover { border-color: #c8c8c8; transform: translateY(-2px); }
.sk-card.teams .sk-body { padding: 12px 14px; }
.sk-card.teams .sk-avatar { background: #5059C9; border-radius: 4px; width: 28px; height: 28px; }
.sk-card.teams .sk-badge { background: #5059C9; border-radius: 2px; font-size: 9px; }
.sk-card.teams .sk-name { font-size: 13px; font-weight: 700; color: #242424; }
.sk-card.teams .sk-time { color: #707070; font-size: 11px; }
.sk-card.teams .sk-attachment { border-left: 3px solid #5059C9; background: #f5f5ff; border-radius: 0 3px 3px 0; }
.sk-card.teams .sk-actions { flex-direction: column; gap: 6px; margin-top: 4px; }
.sk-card.teams .sk-btn {
  width: 100%; justify-content: center; text-align: center;
  border-radius: 3px; border-color: #5059C9;
  color: #5059C9; font-weight: 600; padding: 6px 10px; background: #fff;
}
.sk-card.teams .sk-btn:hover { background: #f0f0ff; border-color: #4248a8; color: #4248a8; }
.sk-card.teams .sk-select { border-radius: 3px; border-color: #c8c8c8; width: 100%; }
.sk-card.teams .sk-inline-row { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; color: #424242; }
.sk-card.teams .sk-inline-row .sk-btn { width: 100%; text-align: center; }
.sk-card.teams .sk-divider { background: #f0f0f0; }
.sk-card.teams .sk-link { color: #5059C9; }
.sk-card.teams .sk-field strong { color: #242424; }


/* ══════════════════════════════════════════
   sm-* — Solution page capability mocks
   (meeting-prep, auto-log)
   ══════════════════════════════════════════ */
.sm {
  background: #fff; border: 1px solid #E0DDD6;
  border-radius: 8px; overflow: hidden;
  width: 100%; max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sm-bar {
  background: #F7F5F1; border-bottom: 1px solid #E0DDD6;
  padding: 9px 14px; font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #9A9990;
}
.sm-body { padding: 16px 14px; }
.sm-hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sm-av { width: 28px; height: 28px; border-radius: 6px; background: #E8472A; flex-shrink: 0; overflow: hidden; }
.sm-av img { width: 100%; height: 100%; object-fit: cover; }
.sm-name { font-size: 13px; font-weight: 700; color: #1A1A18; }
.sm-badge { font-size: 9px; font-weight: 700; color: #fff; background: #4A154B; padding: 2px 5px; border-radius: 3px; margin-left: 3px; }
.sm-time { font-size: 11px; color: #9A9990; margin-left: 3px; }
.sm-title { font-size: 14px; font-weight: 700; color: #1A1A18; margin-bottom: 10px; line-height: 1.3; }
.sm-field { font-size: 12px; line-height: 1.7; color: #1A1A18; margin-bottom: 4px; }
.sm-field strong { font-weight: 600; }
.sm-div { height: 1px; background: #E8E5DE; margin: 10px 0; }
.sm-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.sm-btn { font-size: 11px; font-weight: 600; color: #1A1A18; background: #fff; border: 1px solid #D0CCC4; border-radius: 4px; padding: 4px 10px; cursor: default; white-space: nowrap; }
.sm-att { background: #F5F2EB; border-left: 3px solid #E8472A; border-radius: 0 4px 4px 0; padding: 8px 12px; margin-bottom: 10px; font-size: 12px; color: #6B6B64; line-height: 1.55; }
.sm-att strong { color: #1A1A18; font-weight: 600; display: block; margin-bottom: 2px; }
.sm-inline { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #1A1A18; gap: 10px; margin-top: 4px; }
.sm-sel {
  font-size: 11px; color: #1A1A18; border: 1px solid #D0CCC4; border-radius: 4px;
  padding: 4px 22px 4px 8px; background: white; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
}


/* ══════════════════════════════════════════
   slack-mock-* — Adoption page mocks
   ══════════════════════════════════════════ */
.slack-mock {
  background: #fff; border: 1px solid #E0DDD6;
  border-radius: 8px; overflow: hidden;
  width: 100%; max-width: 380px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.slack-mock-bar {
  background: #F7F5F1; border-bottom: 1px solid #E0DDD6;
  padding: 9px 14px; font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #9A9990;
}
.slack-mock-body { padding: 16px 14px; }
.slack-mock-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.slack-mock-avatar {
  width: 28px; height: 28px; border-radius: 6px;
  background: #E8472A; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.slack-mock-avatar img { width: 100%; height: 100%; object-fit: cover; }
.slack-mock-name { font-size: 13px; font-weight: 700; color: #1A1A18; }
.slack-mock-badge { font-size: 9px; font-weight: 700; color: #fff; background: #4A154B; padding: 2px 5px; border-radius: 3px; margin-left: 3px; }
.slack-mock-time { font-size: 11px; color: #9A9990; margin-left: 3px; }
.slack-mock-title { font-size: 14px; font-weight: 700; color: #1A1A18; margin-bottom: 10px; line-height: 1.3; }
.slack-mock-field { font-size: 12px; line-height: 1.7; color: #1A1A18; margin-bottom: 4px; }
.slack-mock-field strong { font-weight: 600; }
.slack-mock-divider { height: 1px; background: #E8E5DE; margin: 10px 0; }
.slack-mock-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.slack-mock-btn {
  font-size: 11px; font-weight: 600; color: #1A1A18;
  background: #fff; border: 1px solid #D0CCC4;
  border-radius: 4px; padding: 4px 10px; cursor: default; white-space: nowrap;
}
.slack-mock-attachment {
  background: #F5F2EB; border-left: 3px solid #E8472A;
  border-radius: 0 4px 4px 0; padding: 8px 12px; margin-bottom: 10px;
  font-size: 12px; color: #6B6B64; line-height: 1.55;
}
.slack-mock-attachment strong { color: #1A1A18; font-weight: 600; display: block; margin-bottom: 2px; }
.slack-mock-inline {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #1A1A18; gap: 10px; margin-top: 4px;
}
.slack-mock-select {
  font-size: 11px; color: #1A1A18; border: 1px solid #D0CCC4; border-radius: 4px;
  padding: 4px 22px 4px 8px; background: white; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
}
.slack-mock-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 3px; margin-bottom: 8px; }
.tag-red { background: #FEE2E2; color: #991B1B; }
.tag-amber { background: #FEF3C7; color: #92400E; }
.tag-green { background: #D1FAE5; color: #065F46; }
