/* ===========================================================================
   kjerr marketing site — the public pages on the root domain.
   Loaded after app.css and scoped to body.mkt, so boards, auth and the admin
   never see a rule from here. Full-width stacked sections on alternating
   white / pale cream, soft shadows, and one palette (Dumma "Minimal Colors":
   f09b93 ebd6d7 f9ebd9 e9dd8a 439093): teal brand, links and dark band,
   cream and blush washes, one salmon call to action, yellow as a highlight.
   Lighter and deeper steps are derived from it.
   =========================================================================== */

body.mkt {
  --m-brand:      #439093;   /* teal: borders, rings, the band (3.7:1, not for small text) */
  --m-brand-deep: #2a6366;   /* links and text on white: 6.7:1 */
  --m-teal-deep:  #2a6366;   /* icons on the tint */
  --m-brand-tint: #e5f1f1;
  --m-sand:       #f9ebd9;   /* cream */
  --m-blush:      #ebd6d7;
  --m-yellow:     #e9dd8a;
  --m-ink:        #1e2e2f;
  --m-body:       #455354;
  --m-meta:       #5d6b6c;   /* smallest text still passes AA on white */
  --m-line:       #e6d5c1;
  --m-soft:       #f9ebd9;   /* the cream itself: every other section, the footer */
  --m-soft-2:     #f3e3e3;   /* the blush, a step lighter: every fourth section */
  --m-coral-deep: #e98379;   /* the call to action, pressed */
  --coral:        #f09b93;   /* the one call to action; ink text, 7:1 */
  --m-ok:         #23774a;
  --m-err:        #c0342b;
  --m-r:          14px;
  --m-r-btn:      10px;
  --m-shadow:     0 2px 8px rgba(29, 31, 27, .06);
  --m-shadow-up:  0 14px 32px -12px rgba(30, 60, 62, .22);
  --m-header-h:   68px;

  --muted:    var(--m-meta);
  --hairline: var(--m-line);

  background: #fff;
  color: var(--m-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
@supports (overflow: clip) { body.mkt { overflow-x: clip; } }

.mkt h1, .mkt h2, .mkt h3 { color: var(--m-ink); }
.mkt :focus-visible { outline: 2px solid var(--m-brand-deep); outline-offset: 2px; border-radius: 6px; }
.mkt main :where(p, li, dd, td) a:not([class]), .mkt .link, .mkt .m-footer a:hover {
  color: var(--m-brand-deep); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; }
.mkt main :where(p, li, dd, td) a:not([class]):hover, .mkt .link:hover { color: var(--m-ink); }

.mkt .wrap { max-width: 1240px; padding: 0 32px; }
.mkt .page { padding-top: 0; padding-bottom: 0; }

/* pages without stacked sections (the docs): one readable column */
.mkt .page:not(:has(> .section, > article > .section)) { max-width: 960px; padding-top: 56px; padding-bottom: 96px; }

/* --------------------------------------------------------------- buttons -- */

.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--m-r-btn); border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .18s ease; }
.m-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.m-btn-solid { background: var(--coral); color: var(--m-ink); }
.m-btn-solid:hover { background: var(--m-coral-deep); transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(233, 131, 121, .75); }
.m-btn-outline { border-color: #ddd0c2; color: var(--m-ink); background: #fff; }
.m-btn-outline:hover { border-color: var(--m-ink); box-shadow: var(--m-shadow); transform: translateY(-1px); }
.m-btn-ghost { color: var(--m-ink); }
.m-btn-ghost:hover { background: #fcf6ee; }
.m-btn-onbrand { color: #fff; border-color: rgba(255, 255, 255, .45); }
.m-btn-onbrand:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.m-btn:disabled, .m-btn[aria-disabled="true"] { background: #e4e2da; color: #8b8d87; cursor: not-allowed;
  transform: none; box-shadow: none; }
.m-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- header -- */

.m-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.m-header.is-stuck { border-bottom-color: var(--m-line); box-shadow: 0 6px 20px -12px rgba(29, 31, 27, .25); }
.m-header-in { display: flex; align-items: center; gap: 28px; height: var(--m-header-h); }
.m-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700;
  letter-spacing: -0.04em; color: var(--m-ink); }
.m-logo-mark { border-radius: 50%; }
.m-menu { display: flex; align-items: center; flex: 1 1 auto; gap: 20px; }
.m-nav { display: flex; align-items: center; gap: 2px; }
.m-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.m-nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; white-space: nowrap;
  border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--m-body); cursor: pointer;
  list-style: none; user-select: none; transition: background-color .15s ease, color .15s ease; }
.m-nav-link::-webkit-details-marker { display: none; }
.m-nav-link:hover, .m-dd[open] > .m-nav-link { background: #fcf6ee; color: var(--m-ink); }
.m-nav-link[aria-current] { color: var(--m-brand-deep); }
.m-caret { transition: transform .18s ease; }
.m-dd[open] .m-caret { transform: rotate(180deg); }

.m-dd { position: relative; }
.m-dd-panel { position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; z-index: 60; display: grid;
  grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 8px 12px; padding: 18px;
  background: #fffdfa; border: 1px solid var(--m-line); border-radius: var(--m-r);
  box-shadow: 0 24px 48px -16px rgba(29, 31, 27, .25); animation: m-drop .17s ease-out; }
.mkt .m-dd-lang .m-dd-panel { inset-inline-start: auto; inset-inline-end: 0; grid-auto-columns: minmax(170px, 1fr); padding: 8px; }
.mkt .m-lang-link { padding: 9px 12px; font-size: 15px; font-weight: 500; color: var(--m-ink); }
.mkt .m-lang-link[aria-current] { color: var(--m-brand-deep); font-weight: 600; }
@keyframes m-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.m-dd-col { display: flex; flex-direction: column; gap: 2px; }
.m-dd-h { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--m-meta); padding: 4px 10px 8px; }
.m-dd-link { display: flex; gap: 12px; padding: 10px; border-radius: 10px;
  transition: background-color .15s ease; }
.m-dd-link:hover { background: #fff; box-shadow: var(--m-shadow); }
.m-dd-icon { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px; background: var(--m-brand-tint); color: var(--m-teal-deep); }
.m-dd-label { display: block; font-size: 15px; font-weight: 600; color: var(--m-ink); line-height: 1.3; }
.m-dd-text { display: block; font-size: 13px; color: var(--m-meta); line-height: 1.45; }
.m-dd-feature { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; border-radius: 10px;
  background: linear-gradient(160deg, var(--m-brand-tint), #fff 85%); border: 1px solid var(--m-line);
  transition: box-shadow .18s ease, transform .18s ease; }
.m-dd-feature .m-dd-h { padding: 0; }
.m-dd-feature:hover { box-shadow: var(--m-shadow-up); transform: translateY(-2px); }
.m-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px;
  font-weight: 600; color: var(--m-brand-deep); }

.m-toggle { position: absolute; opacity: 0; width: 44px; height: 44px; inset-inline-end: 24px; margin: 0;
  pointer-events: none; }
.m-burger { display: none; }

/* -------------------------------------------------------------- sections -- */

.mkt .section { position: relative; isolation: isolate; padding: 96px 0; --band: #fff; }
.mkt .section::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--band); }
.mkt main .section:nth-of-type(even) { --band: var(--m-soft); }
.mkt main .section:nth-of-type(4n) { --band: var(--m-soft-2); }

.mkt .eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--m-brand-deep); }
.mkt .eyebrow-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em;
  text-transform: none; background: #fff; border: 1px solid var(--m-line); box-shadow: var(--m-shadow); }
.mkt .section-h { font-size: clamp(30px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.15; margin: 0; }
.mkt .section-h-sm { font-size: clamp(28px, 3.1vw, 36px); }
.mkt .hero-sub { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--m-body);
  max-width: 56ch; margin: 20px 0 30px; }
.mkt .muted { color: var(--m-body); }
.mkt .tiny.muted, .mkt .small.muted { color: var(--m-meta); }
.m-head { max-width: 760px; margin-bottom: 48px; }
.m-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.m-lede { margin: 18px 0 0; font-size: 17px; }
.mkt .section > .section-h { margin-bottom: 40px; max-width: 24ch; }
.mkt .split-text .section-h { margin-bottom: 18px; }

/* ------------------------------------------------------------------ hero -- */

.mkt .m-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px;
  align-items: center; padding: 72px 0 120px; }
.mkt .m-hero::before, .mkt .page-hero::before, .mkt .m-auth::before {
  background:
    radial-gradient(1000px 560px at 90% -10%, rgba(67, 144, 147, .42), transparent 65%),
    radial-gradient(800px 480px at 0% 0%, rgba(240, 155, 147, .55), transparent 62%),
    linear-gradient(180deg, var(--m-blush) 0%, var(--m-sand) 55%, #fff 100%); }
.mkt .m-hero h1 { font-size: clamp(38px, 4.7vw, 60px); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.08; }
.m-hero-note { margin: 22px 0 0; font-size: 14px; color: var(--m-meta); }
.m-hero-badge { display: inline-block; margin-top: 18px; line-height: 0; }
.m-hero-badge img { display: block; height: auto; }
.m-hero-visual { position: relative; min-width: 0; }
.mkt .m-hero-visual .demo { box-shadow: 0 40px 80px -32px rgba(30, 60, 62, .45), var(--m-shadow); }
.mkt .m-float { position: absolute; inset-inline-start: -28px; bottom: -62px; max-width: 400px; margin: 0;
  display: flex; flex-direction: row; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-r);
  box-shadow: 0 24px 48px -18px rgba(30, 60, 62, .4); }
.m-float-icon { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px; background: var(--m-blush); color: #a2453c; }
.m-float-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mkt .demo-mail-subject { color: var(--m-ink); font-weight: 600; font-size: 14px; line-height: 1.35; }

.mkt .page-hero { padding: 72px 0 72px; }
.mkt .page-hero .section-h { font-size: clamp(36px, 4.4vw, 54px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.1; max-width: 20ch; }
.mkt .page-hero .hero-sub { max-width: 66ch; }

/* sign-up form in the hero */
.m-signup { max-width: 480px; }
.m-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--m-ink); }
.m-signup-row { display: flex; gap: 10px; }
.m-field { position: relative; flex: 1 1 auto; min-width: 0; }
.m-input { width: 100%; height: 48px; padding: 0 40px 0 14px; font-size: 16px; color: var(--m-ink);
  background: #fdf9f3; border: 1px solid #e2d6c8; border-radius: var(--m-r-btn);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.m-input::placeholder { color: #8b8d87; }
.m-input:hover { border-color: #c3b5a5; }
.m-input:focus { outline: none; background: #fff; border-color: var(--m-brand);
  box-shadow: 0 0 0 3px rgba(67, 144, 147, .28); }
.m-field-ok { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%) scale(.6);
  color: var(--m-ok); opacity: 0; transition: opacity .15s ease, transform .15s ease; pointer-events: none;
  display: inline-flex; }
.is-valid .m-input { border-color: var(--m-ok); }
.is-valid .m-field-ok { opacity: 1; transform: translateY(-50%) scale(1); }
.is-invalid .m-input { border-color: var(--m-err); box-shadow: 0 0 0 3px rgba(192, 52, 43, .14); }
.m-field-msg { min-height: 0; margin: 6px 0 0; font-size: 13px; color: var(--m-err); }
.m-field-msg:empty { display: none; }
.m-consent { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--m-meta); }
.m-consent a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* sign-up, log in and the other signed-out forms: one card on the hero wash */
.mkt .m-auth { padding: 64px 0 104px; }
.m-auth-in { max-width: 480px; margin: 0 auto; }
.m-auth-split .m-auth-in { max-width: 1080px; display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.m-auth-split .m-auth-aside { order: -1; padding-top: 12px; }
.m-auth-card { padding: 36px; background: #fff; border: 1px solid var(--m-line); border-radius: 16px;
  box-shadow: var(--m-shadow-up); }
.mkt .m-auth-h { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 8px; }
.m-auth-sub { margin: 0 0 24px; font-size: 15px; color: var(--m-meta); }
.m-auth-h:last-child, .m-auth-h + form, .m-auth-h + p:not(.m-auth-sub) { margin-top: 20px; }
.m-auth-foot { margin: 20px 0 0; text-align: center; font-size: 14.5px; color: var(--m-meta); }
.mkt .m-auth .label { font-size: 14px; font-weight: 600; color: var(--m-ink); }
.mkt .m-auth .input { padding: 11px 14px; font-size: 16px; background: #fdf9f3; border-color: #e2d6c8;
  border-radius: var(--m-r-btn); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.mkt .m-auth .input:hover { border-color: #c3b5a5; }
.mkt .m-auth .input:focus { outline: none; background: #fff; border-color: var(--m-brand);
  box-shadow: 0 0 0 3px rgba(67, 144, 147, .28); }
.mkt .m-auth .input-invalid { border-color: var(--m-err); }
.mkt .m-auth .btn { border-radius: var(--m-r-btn); font-weight: 600; }
.mkt .m-auth .btn-primary { height: 48px; font-size: 16px; color: var(--m-ink); }
.mkt .m-auth .btn-primary:hover { background: var(--m-coral-deep); border-color: var(--m-coral-deep);
  color: var(--m-ink); }
.mkt .m-auth .notice, .mkt .m-auth .well { border-radius: var(--m-r-btn); }
.mkt .m-auth .notice { border-color: var(--m-line); background: var(--m-brand-tint); color: var(--m-ink); }
.mkt .m-auth-pitch { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.12; margin: 6px 0 14px; }
.m-auth-lede { margin: 0 0 28px; max-width: 52ch; }
.m-auth-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.m-auth-feats li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.m-auth-feats strong { display: block; color: var(--m-ink); font-weight: 600; font-size: 16px; }
.m-auth-more { margin: 28px 0 0; font-size: 14.5px; color: var(--m-meta); }

/* stats strip */
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 36px 0; }
.m-stat { display: flex; flex-direction: column; gap: 4px; padding: 4px 28px;
  border-inline-start: 1px solid var(--m-line); }
.m-stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.m-stat-n { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--m-brand-deep); }
.m-stat-t { font-size: 14px; line-height: 1.45; color: var(--m-meta); }

.mkt [id] { scroll-margin-top: calc(var(--m-header-h) + 16px); }

/* ----------------------------------------------------------------- cards -- */

.m-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.m-card, .mkt .faq-item, .mkt .price-card, .mkt .facts-card, .mkt .steps-wide li, .mkt a.card,
.mkt .fact-cards .fact {
  background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-r); box-shadow: var(--m-shadow);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.m-card:hover, .mkt .faq-item:hover, .mkt a.card:hover, .mkt .fact-cards .fact:hover,
.mkt .steps-wide li:hover { box-shadow: var(--m-shadow-up); transform: translateY(-3px); }
.m-card { padding: 30px 28px; }
.m-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 13px; background: var(--m-brand-tint); color: var(--m-teal-deep); margin-bottom: 22px;
  transition: background-color .2s ease, color .2s ease; }
.m-card:hover .m-icon { background: var(--m-teal-deep); color: #fff; }
.m-feature h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin: 0 0 10px; }
.m-feature p { margin: 0; font-size: 15.5px; }

.m-steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: none; }
.m-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 8px; text-align: center; font-size: 15px; font-weight: 600; color: var(--m-ink); }
.m-steps li::before { content: ""; position: absolute; top: 19px; inset-inline-start: -50%; width: 100%; height: 2px;
  background: var(--m-line); z-index: -1; }
.m-steps li:first-child::before { display: none; }
.m-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: #fff; border: 2px solid var(--m-brand); color: var(--m-teal-deep);
  font-size: 15px; font-weight: 700; }
.m-steps li:last-child .m-step-n { background: var(--m-yellow); border-color: var(--m-yellow); color: var(--m-ink); }

/* the previews and the pieces shared with the other public pages */
.mkt .split { gap: 72px; align-items: center; }
.mkt .split:has(> .split-text + .split-text) { align-items: start; }
.mkt .split-text p { max-width: 54ch; }
.mkt .demo { border-radius: 16px; border-color: var(--m-line); box-shadow: var(--m-shadow-up); }
.mkt .demo-row { border-radius: var(--m-r); }
.mkt .demo-row, .mkt .rep-tile, .mkt .ws-demo-item[aria-current="true"] { background: var(--m-soft); }

/* The Insights mock-up (/feedback-analysis-tool): observations ranked by reach */
.mkt .mi-tabs { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }
.mkt .mi-tabs span[aria-current] { color: var(--m-ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--m-brand); }
.mkt .mi-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.mkt .mi-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "kind title status" "bar bar people";
  gap: 6px 10px; align-items: center; background: var(--m-soft); border-radius: var(--m-r); padding: 12px 14px; }
.mkt .mi-kind { grid-area: kind; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--m-line); color: var(--m-brand-deep); }
.mkt .mi-kind-problem { color: #8a3b2e; border-color: #e8c0b4; }
.mkt .mi-title { grid-area: title; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.mkt .mi-status { grid-area: status; font-size: 12px; color: var(--muted); }
.mkt .mi-bar { grid-area: bar; height: 6px; border-radius: 3px; background: #fff; position: relative; overflow: hidden; }
.mkt .mi-bar::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--m-brand); border-radius: 3px; }
.mkt .mi-people { grid-area: people; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) {
  .mkt .mi-row { grid-template-columns: auto 1fr; grid-template-areas: "kind status" "title title" "bar bar" "people people"; }
  .mkt .mi-status { justify-self: end; }
}
.mkt .landing-pre { background: #1e2e2f; color: #f9ebd9; border-radius: 10px; font-size: 13.5px;
  line-height: 1.6; }
.mkt .plain-list { gap: 14px; }
.mkt .plain-list li { color: var(--m-body); padding-inline-start: 30px; }
.mkt .plain-list li::before { top: 3px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: var(--m-brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a6366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mkt .plain-list strong, .mkt .steps strong, .mkt .fact strong { color: var(--m-ink); font-weight: 600; }
.mkt .plain-list.is-excluded li::before {
  background: #f4ecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363655f' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.mkt .fact-grid { gap: 0 40px; }
.mkt .fact-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.mkt .fact-cards .fact { padding: 22px 24px; border-top: 1px solid var(--m-line); gap: 6px; }
.mkt .fact .muted { font-size: 14.5px; line-height: 1.55; }
.mkt .facts-card { padding: 8px 28px; }
.mkt .facts-row { grid-template-columns: 140px 1fr; padding: 14px 0; font-size: 15px; }
.mkt .facts-row dt { color: var(--m-meta); }
.mkt .facts-row dd { color: var(--m-ink); }

.mkt .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mkt .faq-item { padding: 26px 28px; border-inline-start: 3px solid var(--m-brand); }
.mkt .faq-q { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.mkt .faq-a { color: var(--m-body); font-size: 15.5px; line-height: 1.6; }

.mkt .price-grid { gap: 24px; max-width: 900px; }
.mkt .price-card { padding: 32px; border-color: var(--m-brand); box-shadow: var(--m-shadow-up); }
.mkt .price-card-quiet { border-color: var(--m-line); box-shadow: var(--m-shadow); background: #fdf8f1; }
.mkt .price-card .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--m-brand-deep); }
.mkt .price-amount { font-weight: 700; color: var(--m-ink); }
.mkt .price-card .btn-primary { border-radius: var(--m-r-btn); color: var(--m-ink); font-weight: 600;
  height: 48px; }
.mkt .price-card .btn-primary:hover { background: var(--m-coral-deep); border-color: var(--m-coral-deep);
  color: var(--m-ink); }

.mkt .table-wrap { border: 1px solid var(--m-line); border-radius: var(--m-r); box-shadow: var(--m-shadow);
  background: #fff; }
.mkt .compare { font-size: 15px; border-radius: 0; background: transparent; }
.mkt .compare th, .mkt .compare td { padding: 16px 20px; border-color: var(--m-line); }
.mkt .compare thead th { font-weight: 600; color: var(--m-ink); background: var(--m-soft); }
.mkt .compare tbody th { color: var(--m-meta); font-weight: 600; }
.mkt .compare td:last-child, .mkt .compare thead th:last-child { background: var(--m-brand-tint); color: var(--m-ink); }
.mkt .compare tbody tr { transition: background-color .15s ease; }
.mkt .compare tbody tr:hover { background: #fefaf5; }

.mkt .steps { gap: 18px; color: var(--m-body); max-width: 64ch; }
.mkt .steps-wide { max-width: none; gap: 16px; }
.mkt .steps-wide li { padding: 24px 28px; }
.mkt a.card { display: block; color: inherit; text-decoration: none; padding: 26px 28px; }
.mkt a.card .card-h { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.mkt .kbd { background: var(--m-soft); }

/* the "{competitor} alternative" pages */
.mkt .m-hero-compare h1 { font-size: clamp(34px, 3.9vw, 50px); line-height: 1.1; }
.m-hero-claims { color: var(--m-brand-deep); }
.mkt .m-hero-compare .hero-sub { margin-bottom: 14px; }
.mkt .m-hero-compare .hero-sub strong { color: var(--m-ink); font-weight: 600; }
.m-hero-more { margin: 0 0 28px; max-width: 56ch; font-size: 15.5px; color: var(--m-meta); }
.m-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.m-stats-3 { grid-template-columns: repeat(3, 1fr); padding: 0; }
.m-versus { padding: 26px 28px; }
.m-versus + .m-versus { margin-top: 20px; }
.m-versus-h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--m-brand-deep); }
.m-versus .plain-list { margin-top: 0; }
.m-versus p { margin: 0; font-size: 15.5px; }
.m-versus-them { background: #fdf8f1; box-shadow: none; }
.m-versus-them .m-versus-h { color: var(--m-meta); }
.mkt .compare-ours-first td:last-child, .mkt .compare-ours-first thead th:last-child { background: transparent;
  color: inherit; }
.mkt .compare-ours-first thead th:last-child { background: var(--m-soft); color: var(--m-ink); }
.mkt .compare-ours-first td:nth-child(2), .mkt .compare-ours-first thead th:nth-child(2) {
  background: var(--m-brand-tint); color: var(--m-ink); }
.mkt .compare-ours-first tbody th { width: 200px; }
.mkt .prose { max-width: 70ch; }
.mkt .prose p + p { margin-top: 16px; }

/* -------------------------------------------------------------- CTA band -- */

.mkt main .section.m-cta-band { --band: linear-gradient(135deg, #22565a 0%, #35797c 100%);   /* white text: 5:1 at the light end */
  padding: 96px 0; text-align: center; color: rgba(255, 255, 255, .9); }
.mkt .m-cta-band .section-h { color: #fff; max-width: 22ch; margin: 0 auto 16px; }
.mkt .m-cta-band p { max-width: 52ch; margin: 0 auto 32px; font-size: 17px; }
.mkt .m-cta-band .m-cta-row { justify-content: center; }
.mkt .m-cta-band :focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- footer -- */

.m-footer { background: var(--m-soft); border-top: 1px solid var(--m-line); padding: 64px 0 36px;
  font-size: 14.5px; color: var(--m-meta); }
.mkt .foot-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.mkt .foot-col { gap: 10px; }
.mkt .foot-h { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--m-ink); margin-bottom: 4px; }
.mkt .foot-col a { color: var(--m-body); }
.mkt .foot-about p { margin-top: 8px; max-width: 44ch; font-size: 14px; }
/* The language links on a translated page: plain anchors, one per version. */
.mkt .foot-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 40px;
  font-size: 14px; color: var(--m-body); }
.mkt .foot-langs svg { flex: none; margin-inline-end: 2px; }
.mkt .foot-langs a { color: var(--m-body); text-decoration: underline; text-underline-offset: 3px; }
.mkt .foot-langs [aria-current] { font-weight: 600; }
.mkt .foot-langs + .foot-base { margin-top: 20px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--m-line); font-size: 13.5px; }
.foot-base a { color: var(--m-body); text-decoration: underline; text-underline-offset: 3px; }

/* scroll-in, added by marketing.js only when motion is welcome */
.m-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.m-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive -- */

/* just above the hamburger breakpoint the menu is at its tightest, most of all in German and French */
@media (min-width: 1024px) and (max-width: 1219px) {
  .m-header-in { gap: 14px; }
  .m-menu { gap: 8px; }
  .m-nav { gap: 0; }
  .m-nav-link { padding: 0 9px; font-size: 14.5px; }
  .m-actions { gap: 4px; }
  .m-actions .m-btn-sm { padding: 0 11px; }
}

@media (max-width: 1023px) {
  .mkt .section { padding: 72px 0; }
  .mkt .m-hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 88px; }
  .mkt .m-float { inset-inline-start: 16px; }
  .m-auth-split .m-auth-in { grid-template-columns: 1fr; gap: 48px; max-width: 560px; }
  .m-auth-split .m-auth-aside { order: 0; padding-top: 0; }
  .m-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .m-stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .mkt .split { grid-template-columns: 1fr; gap: 40px; }
  .mkt .split-flip .split-text { order: 0; }
  .mkt .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt .foot-about { grid-column: 1 / -1; }

  /* the hamburger menu */
  .m-toggle { pointer-events: auto; top: 12px; z-index: 2; cursor: pointer; }
  .m-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-inline-start: auto; padding: 0 11px; border-radius: 10px; }
  .m-burger span { display: block; height: 2px; border-radius: 2px; background: var(--m-ink);
    transition: transform .2s ease, opacity .2s ease; }
  .m-toggle:focus-visible + .m-burger { outline: 2px solid var(--m-brand-deep); outline-offset: 2px; }
  .m-toggle:checked + .m-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .m-toggle:checked + .m-burger span:nth-child(2) { opacity: 0; }
  .m-toggle:checked + .m-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .m-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 16px; padding: 12px 20px 24px; background: #fff;
    border-bottom: 1px solid var(--m-line); box-shadow: 0 24px 40px -20px rgba(29, 31, 27, .3);
    max-height: calc(100vh - var(--m-header-h)); overflow-y: auto; }
  .m-toggle:checked ~ .m-menu { display: flex; animation: m-drop .18s ease-out; }
  .m-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .m-nav-link { min-height: 48px; justify-content: space-between; font-size: 16px; padding: 0 8px; }
  .m-dd-panel { position: static; grid-auto-flow: row; grid-auto-columns: auto; padding: 4px 0 12px;
    border: 0; box-shadow: none; background: transparent; animation: none; }
  .m-actions { margin: 0; flex-direction: column; align-items: stretch; }
  .m-actions .m-btn { min-height: 48px; font-size: 16px; }
  .m-actions .m-btn-ghost { border-color: #ddd0c2; }
}

@media (max-width: 767px) {
  body.mkt { font-size: 15.5px; --m-header-h: 60px; }
  .mkt .wrap { padding: 0 20px; }
  .mkt .section { padding: 56px 0; }
  .mkt .m-hero { padding: 40px 0 48px; gap: 36px; }
  .mkt .m-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .mkt .page-hero { padding: 44px 0 48px; }
  .mkt .m-auth { padding: 32px 0 56px; }
  .m-auth-card { padding: 26px 22px; }
  .mkt .page-hero .section-h { font-size: clamp(30px, 8.4vw, 38px); }
  .mkt .section-h, .mkt .section-h-sm { font-size: clamp(25px, 7vw, 30px); }
  .mkt .m-float { position: static; max-width: none; margin-top: 14px; }
  .m-signup-row { flex-direction: column; }
  .m-signup-row .m-btn, .m-cta-row .m-btn { width: 100%; }
  .m-head { margin-bottom: 32px; }
  .m-grid-3, .m-grid-2, .mkt .faq-list { grid-template-columns: 1fr; gap: 16px; }
  .m-stats-3 { grid-template-columns: 1fr; gap: 20px; }
  .m-stats-3 .m-stat { border-inline-start: 0; padding-inline-start: 0; }
  .m-stats { padding: 28px 0; }
  .m-stat { padding: 0 0 0 16px; }
  .m-stat-n { font-size: 26px; }
  .m-steps { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .m-steps li { flex-direction: row; text-align: start; padding: 0; }
  .m-steps li::before { top: -14px; inset-inline-start: 19px; width: 2px; height: 14px; }
  .m-card, .mkt .faq-item, .mkt .price-card { padding: 24px 22px; }
  .mkt .facts-row { grid-template-columns: 1fr; gap: 2px; }
  .mkt .foot-grid { gap: 32px 24px; }
  .mkt .foot-col a { padding: 4px 0; }
  .m-footer { padding: 48px 0 28px; }
  .foot-base { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .mkt *, .mkt *::before, .mkt *::after { transition: none !important; animation: none !important; }
  .mkt { scroll-behavior: auto; }
  .m-reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- right to left -- */
/* Arabic pages: logical properties above do the layout; the arrow icons that
   mean "onwards" turn round. */
.mkt .m-more svg:dir(rtl), .mkt .m-btn svg:dir(rtl) { transform: scaleX(-1); }

/* /docs/api: the endpoint reference */
body.mkt .apidoc-h2 { font-size: 28px; margin: 44px 0 12px; }
body.mkt .apidoc-endpoint { padding: 18px 0; border-top: 1px solid var(--m-line); }
body.mkt .apidoc-endpoint h3 { font-size: 17px; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
body.mkt .apidoc-verb { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--m-brand-deep);
  border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; }
body.mkt .apidoc-params { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
body.mkt .apidoc-params th { text-align: start; font-weight: 500; font-size: 13px; color: var(--muted);
  padding: 6px 12px 6px 0; border-bottom: 1px solid var(--m-line); }
body.mkt .apidoc-params td { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--m-line); vertical-align: top; }
body.mkt .apidoc-req { font-size: 11px; color: var(--m-brand-deep); margin-inline-start: 4px; }
