/* ==========================================================
   BLOOMZY MARKETING — SHARED DESIGN SYSTEM
   Used by all marketing pages (about, pricing, features, etc.)
   ========================================================== */

:root {
  --bg-sage: #D5D6C9;
  --teal: #094D5F;
  --teal-dk: #063845;
  --amber: #FFBD59;
  --cream: #F2F2F1;
  --paper: #FDFBF5;
  --warm: #C58F74;
  --mauve: #8B5E6E;
  --ink: #1C1C1B;
  --muted: #5a6b60;
  --muted-2: #8a8880;
  --hairline: #e8e6e0;
  --soft: #f1efe8;
}

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

html, body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { background: var(--paper); }

.bz-tm {
  font-size: 0.55em;
  vertical-align: super;
  font-weight: 600;
  font-style: normal;
  color: var(--amber);
  margin-left: 1px;
  letter-spacing: 0;
  line-height: 1;
}

/* ===== CONTAINER ===== */
.container { max-width: 1400px; margin: 0 auto; }

/* ===== NAV ===== */
/* Sticky belongs on the wrapper, not on .mkt-nav: a sticky element only
   travels inside its parent's box, and [data-mkt-nav] is exactly as tall
   as the nav, so there would be no room to travel. */
[data-mkt-nav] {
  position: sticky;
  top: 0;
  z-index: 300;
}
.mkt-nav {
  padding: 20px 44px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 251, 245, 0.92);
  backdrop-filter: blur(14px);
  max-width: 1400px;
  margin: 0 auto;
}
.mkt-nav-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mkt-logo-mark {
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mkt-logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.mkt-logo-text em { color: var(--amber); font-style: italic; }
.mkt-nav-items {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.mkt-nav-items a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.mkt-nav-items a:hover {
  color: var(--teal);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}
.mkt-nav-items .mkt-nav-cta:hover,
.mkt-nav-items .mkt-nav-signin:hover { border-bottom: none; padding-bottom: 0; }
/* Needs the .mkt-nav-items prefix: `.mkt-nav-items a` is (0,1,1) and would
   otherwise win over a lone class. */
.mkt-nav-items .mkt-nav-signin {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.mkt-nav-items .active {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 3px;
}
.mkt-nav-cta {
  background: var(--teal);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mkt-nav-cta:hover {
  background: var(--teal-dk);
  color: var(--cream) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(9, 77, 95, 0.25);
}

/* ===== LANG SWITCH ===== */
.mkt-lang-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  overflow: hidden;
  font-size:11px;
  font-weight: 700;
}
.mkt-lang-switch button {
  padding: 5px 10px;
  color: var(--muted-2);
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
  /* Button reset: these were spans, and the switch must look identical. */
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
}
.mkt-lang-switch button.on {
  background: var(--ink);
  color: var(--cream);
}
.mkt-lang-switch button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

/* ===== MOBILE MENU TOGGLE (hidden on desktop) ===== */
.mkt-nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
}
.mkt-nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

/* ===== FOOTER ===== */
.mkt-footer {
  padding: 48px 80px 36px;
  border-top: 1px solid var(--hairline);
  max-width: 1400px;
  margin: 0 auto;
}
.mkt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.mkt-footer-col h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.mkt-footer-col ul { list-style: none; }
.mkt-footer-col li { margin-bottom: 10px; }
.mkt-footer-col a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.mkt-footer-col a:hover { color: var(--teal); }
.mkt-footer-brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.55;
  margin-top: 12px;
}
.mkt-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted-2);
}

/* ===== BUTTONS ===== */
.mkt-btn-primary {
  background: var(--teal);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}
.mkt-btn-primary:hover { opacity: 0.92; }
.mkt-btn-primary:active { transform: scale(0.98); }
.mkt-btn-ghost {
  background: transparent;
  color: var(--teal);
  padding: 14px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.mkt-btn-ghost:hover { background: rgba(9,77,95,0.05); }

/* ===== RESPONSIVE ===== */
/* The nav switches earlier than the footer. With six items the desktop bar
   needs ~1002px; below that the links collide with the wordmark and wrap to
   a second line, so the hamburger takes over at 1010px. */
@media (max-width: 1010px) {
  .mkt-nav { padding: 16px 20px; }
  .mkt-nav-items { display: none; }
  .mkt-nav-hamburger { display: block; }
}

@media (max-width: 900px) {
  .mkt-footer { padding: 40px 24px 28px; }
  .mkt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .mkt-footer-brand { grid-column: 1 / -1; }
  .mkt-footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ==========================================================
   TRANSFORMATION BLOCK — "before / with Bloomzy" comparison
   Lifted verbatim from the six use-case pages, where it was
   duplicated. Only .transform* lives here; the neighbouring
   classes (.hero, .problem, .features, .faq, …) stay on their
   pages — those names mean different things on the landing
   page and on about.html.
   ========================================================== */
.transform {
  padding: 100px 80px;
  max-width: 1400px; margin: 0 auto;
}
.transform-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.transform h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 400;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1.05;
  grid-column: 2 / 4;
  margin-bottom: 48px;
}
.transform h2 em { color: var(--warm); font-style: italic; }
.transform-col {
  padding: 0;
}
.transform-col.before { grid-column: 2; }
.transform-col.after { grid-column: 3; }
.transform-col h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.transform-col.after h3 { color: var(--amber); }
.transform-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.transform-list li {
  display: flex; gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.transform-list .ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  margin-top: 1px;
}
/* Scoped to the column: bare .before / .after / .ic are too generic to
   live in a shared sheet. */
.transform-col.before .ic { background: #eeddd4; color: var(--warm); }
.transform-col.after .ic { background: var(--teal); color: var(--amber); }
.transform-col.before li { color: var(--muted); }

@media (max-width: 960px) {
  .transform { padding-left: 24px; padding-right: 24px; }
  .transform-grid { grid-template-columns: 1fr; gap: 24px; }
  .transform h2 { grid-column: 1; margin-bottom: 24px; }
  /* Without this the columns keep their explicit placement and grid
     creates implicit tracks for them, overflowing the viewport. */
  .transform-col.before, .transform-col.after { grid-column: 1; min-width: 0; }
}
