/* SOMIN site chrome + shared templates.
   Page sections migrated from Leadpages carry their own scoped CSS inline; this file styles everything around them
   (header, footer, blog, docs, lead pages). Brand: teal #2DBF9C on deep teal-black #16201F, Montserrat + Inter. */

:root {
  --teal: #2DBF9C;
  --teal-600: #1F8A70;
  --teal-wash: #D5F2EA;
  --lime: #9CD632;
  --ink: #16201F;
  --ink-2: #1A2A28;
  --ink-3: #1F2A29;
  --ink-line: #243832;
  --ink-line-soft: #1B2624;
  --on-ink: #FFFFFF;
  --on-ink-2: #C9D1D0;
  --on-ink-3: #9BA8A6;
  --paper: #FFFFFF;
  --paper-2: #F2FAF8;
  --paper-line: #DDE6E4;
  --text: #2A3635;
  --text-2: #4F5E5C;
  --text-3: #6B7A78;
  --display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --radius: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--on-ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
html.nav-locked { overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--teal); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wm { font-family: var(--display); font-weight: 800; letter-spacing: 0; }
.wm b { color: var(--teal); font-weight: 800; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--teal); color: var(--ink); }
.btn--solid:hover { background: #fff; }
.btn--line { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--line:hover { background: var(--teal); color: var(--ink); }
.btn--ghost { border-color: var(--ink-line); color: #fff; background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--on-ink-3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(22,32,31,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--ink-line); background: rgba(22,32,31,.97); }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo img { width: 70px; height: auto; display: block; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.nav-link:hover, .nav-sub-toggle:hover, .nav-item.is-current > .nav-link { color: #fff; }
.nav-item.has-sub { display: flex; align-items: center; }
.nav-item.has-sub > .nav-link { padding-right: 2px; }
.nav-sub-toggle { padding-left: 4px; padding-right: 8px; }
.nav-sub-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; max-width: 360px; list-style: none; margin: 0; padding: 10px; background: #1A2422; border: 1px solid var(--ink-line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--teal); font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.35; text-decoration: none; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(45,191,156,.1); color: #fff; }
.nav-sub .nav-sub-head a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--ink-line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
@media (hover: hover) and (min-width: 1081px) {
  .nav-item.has-sub:hover > .nav-sub, .nav-item.has-sub:focus-within > .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-item.has-sub:hover > .nav-sub-toggle svg { transform: rotate(180deg); }
}
.nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-item.is-open > .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--teal); margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 32px; background: var(--ink); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; margin: 0; }
  .site-header.is-open { background: var(--ink); }
  .site-header.is-open .site-nav { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-item { border-bottom: 1px solid var(--ink-line-soft); }
  .nav-item.has-sub { flex-wrap: wrap; }
  .nav-item.has-sub > .nav-link { flex: 1; }
  .nav-link, .nav-sub-toggle { padding: 16px 4px; font-size: 16px; }
  .nav-sub-toggle { padding: 16px 12px; }
  .nav-sub { position: static; min-width: 0; max-width: none; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 8px; }
  .nav-item.is-open > .nav-sub { display: block; }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------------- footer ---------------- */
.site-footer { background: #121A19; border-top: 1px solid var(--ink-line); color: var(--on-ink-2); font-size: 14px; }
.site-footer a { color: var(--on-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.f-compare { border-bottom: 1px solid var(--ink-line-soft); }
.f-compare ul { list-style: none; margin: 0 auto; padding: 22px var(--pad); max-width: 1320px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 24px; }
.f-compare a { display: block; text-align: center; font-size: 13px; line-height: 1.45; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.f-main { max-width: 1320px; margin: 0 auto; padding: 48px var(--pad) 24px; display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0,1fr)); gap: 32px; }
.f-brand p { margin: 14px 0 18px; color: var(--on-ink-3); max-width: 300px; }
.f-brand img { width: 84px; }
.f-col h3 { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin: 4px 0 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-badges { max-width: 1320px; margin: 0 auto; padding: 8px var(--pad) 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.f-badge { display: flex; align-items: center; gap: 14px; }
.f-badge img { width: 64px; height: auto; border-radius: 6px; }
.f-badge span { max-width: 150px; line-height: 1.4; color: var(--on-ink-2); }
.f-reviews { margin-left: auto; display: flex; gap: 10px; align-items: center; color: var(--on-ink-3); }
.f-reviews a { border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.f-bottom { border-top: 1px solid var(--ink-line-soft); }
.f-bottom div { max-width: 1320px; margin: 0 auto; padding: 18px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--on-ink-3); font-size: 13px; }
@media (max-width: 1080px) { .f-compare ul { grid-template-columns: repeat(3, minmax(0,1fr)); } .f-main { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } .f-reviews { margin-left: 0; } }
@media (max-width: 560px) { .f-compare ul { grid-template-columns: 1fr 1fr; } .f-compare a { text-align: left; } }

/* ---------------- migrated landing sections ---------------- */
.page-fragment main { display: block; }
.secret-button { display: block; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 22px 16px 26px; font-size: 11px; color: rgba(255,255,255,.07); text-decoration: none; text-align: center; transition: color .3s; }
.secret-button:hover, .secret-button:focus-visible { color: var(--teal); }

/* ---------------- dark hero (shared by blog, docs, lead pages) ---------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); isolation: isolate;
  background: radial-gradient(1100px 560px at 88% -12%, rgba(45,191,156,.20), transparent 62%),
              radial-gradient(900px 480px at -12% 112%, rgba(45,191,156,.10), transparent 60%),
              radial-gradient(rgba(255,255,255,.065) 1px, transparent 1px) 0 0 / 22px 22px, var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45,191,156,.18); }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 18px 0 18px; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-ink-2); max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: 13px; color: var(--on-ink-3); margin-bottom: 4px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-line); }
.breadcrumbs a { text-decoration: none; color: var(--on-ink-2); }
.breadcrumbs a:hover { color: var(--teal); }

/* ---------------- blog index ---------------- */
.blog-hero h1 { max-width: 20ch; }
.blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--display); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255,255,255,.03); color: var(--on-ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--teal); color: #fff; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.search { margin-left: auto; position: relative; }
.search input { width: 260px; max-width: 100%; padding: 11px 16px 11px 40px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--on-ink-3); }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--on-ink-3); }
@media (max-width: 720px) { .search { margin-left: 0; width: 100%; } .search input { width: 100%; } }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; margin-top: 44px; border: 1px solid var(--ink-line); border-radius: 22px; overflow: hidden; background: var(--ink-2); text-decoration: none; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(45,191,156,.5); transform: translateY(-3px); }
.feature-media { aspect-ratio: 3 / 2; background: #0f1716; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 14px 0 14px; color: #fff; }
.feature-body p { color: var(--on-ink-2); margin: 0 0 22px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.blog-list { background: var(--paper-2); color: var(--text); padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.blog-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.blog-list-head h2 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 0; color: var(--ink); }
.blog-list-head p { margin: 0; color: var(--text-3); font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(22,32,31,.35); border-color: rgba(45,191,156,.55); }
.card-media { aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.28; margin: 10px 0 10px; color: var(--ink); }
.card p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-top: auto; }
.meta .dot::before { content: "·"; }
.byline { flex-wrap: nowrap; gap: 10px; }
.byline .who { display: grid; line-height: 1.3; min-width: 0; }
.byline .who b { font-weight: 600; color: var(--text); font-size: 13px; }
.byline .who small { font-size: 12px; color: var(--text-3); }
.feature .byline .who b { color: #fff; }
.feature .byline .who small { color: var(--on-ink-3); }
.mini[hidden] { display: none; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--teal); font-family: var(--display); font-weight: 800; font-size: 11px; flex: none; }
.feature .meta { color: var(--on-ink-3); }
.empty { text-align: center; padding: 48px 0; color: var(--text-3); }

/* ---------------- article ---------------- */
.read-progress { position: fixed; left: 0; right: 0; top: var(--header-h); height: 3px; z-index: 899; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--lime)); transform-origin: 0 50%; transform: scaleX(0); }
.post-hero { padding-bottom: clamp(120px, 14vw, 200px); }
.post-hero h1 { max-width: 22ch; font-size: clamp(32px, 4.6vw, 56px); }
.post-hero .lede { margin-top: 4px; }
.post-hero .meta { margin-top: 26px; color: var(--on-ink-2); font-size: 14px; }
.post-hero .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(45,191,156,.4); color: var(--teal); text-decoration: none; }
.post-cover { position: relative; margin-top: calc(-1 * clamp(96px, 12vw, 170px)); z-index: 2; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; display: block; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); border: 1px solid var(--ink-line); background: var(--ink-2); }
.post-wrap { background: var(--paper); color: var(--text); padding: 56px 0 90px; margin-top: -120px; padding-top: 170px; }
.post-grid-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
@media (max-width: 1000px) { .post-grid-layout { grid-template-columns: 1fr; } .post-aside { display: none; } }
.prose { max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; color: var(--ink); margin: 2em 0 .7em; letter-spacing: -.01em; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--ink); margin: 1.7em 0 .6em; }
.prose h4 { font-family: var(--display); font-size: 18px; margin: 1.5em 0 .5em; color: var(--ink); }
.prose a { color: var(--teal-600); text-decoration: underline; text-decoration-color: rgba(31,138,112,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: .4em 0; }
.prose li p { margin: 0; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { color: var(--teal-600); font-weight: 700; font-family: var(--display); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--teal); font-size: 20px; color: var(--ink); font-weight: 500; }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose hr { border: 0; height: 1px; background: var(--paper-line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--paper-line); padding: 10px 12px; text-align: left; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: 14px; overflow: hidden; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.toc { border-left: 1px solid var(--paper-line); padding-left: 18px; }
.toc h2 { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { display: block; font-size: 14px; line-height: 1.4; color: var(--text-2); text-decoration: none; transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--teal-600); }
.toc a.is-active { font-weight: 600; }
.toc .lvl-3 { padding-left: 12px; font-size: 13px; }
.share { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--paper-line); background: #fff; color: var(--text-2); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { border-color: var(--teal); color: var(--teal-600); }
.share svg { width: 17px; height: 17px; }
.share button.is-done { background: var(--teal); color: #fff; border-color: var(--teal); }
.aside-cta { margin-top: 28px; padding: 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.aside-cta h3 { font-family: var(--display); font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.aside-cta p { font-size: 14px; color: var(--on-ink-2); margin: 0 0 16px; line-height: 1.5; }
.inline-cta { margin: 2.6em 0; padding: 30px 32px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; position: relative; overflow: hidden; }
.inline-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(45,191,156,.35), transparent 70%); }
.inline-cta h3 { font-family: var(--display); font-size: 22px; line-height: 1.25; margin: 0 0 6px; color: #fff; }
.inline-cta p { margin: 0; color: var(--on-ink-2); font-size: 15px; line-height: 1.5; }
.inline-cta .btn { position: relative; z-index: 1; }
@media (max-width: 640px) { .inline-cta { grid-template-columns: 1fr; } }
.author-box { max-width: 720px; margin-top: 48px; padding: 24px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--paper-line); display: flex; gap: 18px; align-items: center; }
.author-box .avatar { width: 56px; height: 56px; font-size: 18px; }
.author-box strong { display: block; font-family: var(--display); color: var(--ink); }
.author-box span { color: var(--text-3); font-size: 14px; }
.post-tags { max-width: 720px; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.post-tags .tag { color: var(--teal-600); border-color: var(--paper-line); background: #fff; }
.related { background: var(--paper-2); color: var(--text); padding: 70px 0 90px; border-top: 1px solid var(--paper-line); }
.related h2 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 0 0 26px; color: var(--ink); }

/* ---------------- CTA band ---------------- */
.cta-band { text-align: center; padding: clamp(64px, 8vw, 110px) 0; background: radial-gradient(700px 300px at 50% 0%, rgba(45,191,156,.14), transparent 70%), var(--ink); }
.cta-band h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; margin: 0 auto 16px; max-width: 18ch; letter-spacing: -.02em; }
.cta-band h2 em { font-style: normal; color: var(--teal); }
.cta-band p { color: var(--on-ink-2); margin: 0 auto 28px; max-width: 56ch; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- documents (legal, vision) ---------------- */
.doc-hero h1 { max-width: 24ch; font-size: clamp(32px, 4.4vw, 52px); }
.doc-hero .updated { margin-top: 14px; color: var(--on-ink-3); font-size: 14px; }
.doc-wrap { background: #fff; color: var(--text); }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding: 56px 0 96px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .doc-layout .toc-dark { display: none; } }
.toc-dark { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; border-left: 2px solid var(--teal-wash); padding-left: 16px; }
.toc-dark h2 { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600); margin: 0 0 12px; }
.toc-dark ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc-dark a { color: var(--text-2); text-decoration: none; font-size: 13px; line-height: 1.4; }
.toc-dark a:hover { color: var(--teal-600); }
.doc { max-width: 780px; color: var(--text); font-size: 16px; line-height: 1.75; }
.doc a { color: var(--teal-600); }
.doc strong { color: var(--ink); }
.doc h2, .doc h3, .doc h4 { font-family: var(--display); font-weight: 800; color: var(--ink); line-height: 1.3; }
.doc h2 { font-size: 24px; margin: 2em 0 .6em; }
.doc h3 { font-size: 19px; margin: 1.8em 0 .5em; }
.doc h4 { font-size: 16px; margin: 1.4em 0 .4em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .35em 0; }
.doc ul li::marker { color: var(--teal); }
.doc-intro { padding: 22px 24px; border: 1px solid var(--paper-line); border-radius: 16px; background: var(--paper-2); margin-bottom: 28px; }
.doc-intro p:last-child { margin-bottom: 0; }
/* vision: statement typography */
.vision-wrap { background: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.vision-body { max-width: 860px; margin: 0 auto; font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.vision-body p { margin: 0 0 1.1em; }
.vision-body .hl { color: var(--teal-600); }
.vision-body .wm b { color: var(--teal); }
.vision-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1080px; margin: 56px auto 0; }
.vision-pillars div { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 18px; padding: 24px; }
.vision-pillars strong { display: block; font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--teal-600); line-height: 1; }
.vision-pillars span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .vision-pillars { grid-template-columns: 1fr; } }
/* vision: redemptive marketing (faithdriven.sg, orthodox.sg) + strategic partners */
.fde-sec, .pt-sec { max-width: 1080px; margin: clamp(56px, 7vw, 88px) auto 0; }
.fde-sec { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--paper-line); border-radius: 22px; background: var(--paper-2); }
.fde-sec h2, .pt-sec h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: var(--ink); margin: 6px 0 16px; }
.fde-sec p { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 820px; margin: 0 0 14px; }
.fde-sec p a { color: var(--teal-600); font-weight: 700; }
.fde-sec .wm b { color: var(--teal-600); }
.fde-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.fde-links:last-child { margin-bottom: 0; }
.btn--ink-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ink-line:hover { background: var(--ink); color: var(--on-ink); }
@media (max-width: 560px) { .fde-links .btn { width: 100%; text-align: center; } }
.pt-lede { color: var(--text-2); font-size: 17px; max-width: 760px; margin: 0 0 22px; }
/* partner cards: 4 / 3 / 2 / 1 per row, a short last row centred */
.pt-grid { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pt-card { flex: 0 1 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--paper-line); border-radius: 16px; background: var(--paper); text-decoration: none; color: var(--text-2); transition: border-color .2s, transform .2s; }
.pt-card:hover, .pt-card:focus-visible { border-color: var(--teal-600); transform: translateY(-2px); }
.pt-logo { display: flex; align-items: center; height: 48px; margin-bottom: 10px; }
.pt-logo img { display: block; height: calc(var(--lh) * 1px); width: auto; max-width: min(100%, 190px); object-fit: contain; object-position: left center; }
.pt-card strong { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--ink); }
.pt-short { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); }
.pt-desc { font-size: 14.5px; line-height: 1.5; flex: 1; margin-top: 2px; }
.pt-card em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--teal-600); margin-top: 4px; }
@media (max-width: 1000px) { .pt-grid { --cols: 3; } }
@media (max-width: 760px) { .pt-grid { --cols: 2; } }
@media (max-width: 520px) { .pt-grid { --cols: 1; } }
/* home hero: strategic partners logo plate under the client marquee. Logos sit at per-logo optical heights (--lh px, from
   data/partners.json strip_h), muted until hover/focus; max two lines on desktop, one scrolling line on small screens */
.somin-embed .se-partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; max-width: 1180px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; line-height: 1.5; }
.somin-embed .se-partners-label { max-width: 17em; font-family: var(--display); font-size: 10.5px; font-weight: 700; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.somin-embed .se-partners-label b { color: var(--teal); }
.somin-embed .se-partners a { color: rgba(255,255,255,.82); text-decoration: none; white-space: nowrap; }
.somin-embed .se-partners-logo { flex: none; display: block; padding: 4px 0; border-radius: 4px; }
.somin-embed .se-partners-logo img { display: block; height: calc(var(--lh) * 1px); width: auto; max-width: none; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.somin-embed .se-partners-logo:hover img, .somin-embed .se-partners-logo:focus-visible img { filter: none; opacity: 1; }
.somin-embed .se-partners a.se-partners-all { color: var(--teal); font-weight: 600; }
.somin-embed .se-partners a.se-partners-all:hover { color: var(--on-ink); }
/* below 1280px the strip narrows: scale every logo by (viewport + 120px) / 1400px (0.73 at 901px, 1 at 1280px) so it keeps to two lines */
@media (min-width: 901px) and (max-width: 1279px) {
  .somin-embed .se-partners { column-gap: clamp(16px, 2vw, 26px); }
  .somin-embed .se-partners-logo img { height: calc(var(--lh) * (.0857px + .0714vw)); }
}
@media (max-width: 900px) {
  .somin-embed .se-partners { flex-wrap: nowrap; justify-content: flex-start; gap: 12px 24px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, black 88%, transparent); mask-image: linear-gradient(to right, black 88%, transparent); padding-bottom: 4px; }
  .somin-embed .se-partners::-webkit-scrollbar { display: none; }
  .somin-embed .se-partners-label { flex: none; }
  .somin-embed .se-partners-logo img { height: calc(var(--lh) * .9px); }
}

/* ---------------- native pages (case, offer) ---------------- */
.np-band { padding: clamp(40px, 6vw, 80px) 0; }
.np-band--grey { background: #363537; }
.np-band--light { background: #fff; color: #2A3635; }
.np-band--black { background: #000; }
.np-kicker { margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; }
.np-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.np-split--hero { align-items: start; }
@media (max-width: 860px) { .np-split { grid-template-columns: 1fr; } }
.np-copy h1, .np-copy h2 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 14px; }
.np-copy h1 { font-size: clamp(30px, 3.4vw, 44px); }
.np-copy p { margin: 0 0 1em; }
.np-copy--dark { color: #fff; }
.np-media img { width: 100%; border-radius: 14px; display: block; margin-bottom: 18px; }
.np-center { text-align: center; max-width: 1180px; }
.np-center h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 14px; }
.np-label { font-family: var(--display); font-weight: 700; margin: 28px 0 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: 16px; justify-content: center; margin: 0 auto 32px; }
.countdown div { display: grid; gap: 10px; }
.countdown b { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(var(--teal) 50%, #1F8A70 50%); color: #fff; font-family: var(--display); font-size: clamp(36px, 6vw, 72px); font-weight: 800; }
.countdown span { font-family: var(--display); font-weight: 800; font-size: clamp(14px, 1.8vw, 22px); text-transform: uppercase; }
.np-cta-h h2 { font-size: clamp(28px, 4vw, 48px); }
.np-cta-p { color: var(--on-ink-2); margin-bottom: 26px; }
.np-rule { border: 0; height: 1px; background: rgba(255,255,255,.25); margin: 48px 0; }
.np-doc h2, .np-doc h3 { color: var(--teal); font-family: var(--display); font-size: 15px; letter-spacing: .06em; margin: 1.6em 0 .5em; }
.np-price { overflow-x: auto; }
.np-stripe { margin-top: 32px; display: flex; justify-content: center; }

/* ---------------- lead pages (try, case study request, thank-you, download) ---------------- */
.lead-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .lead-layout { grid-template-columns: 1fr; } }
.lead-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lead-points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--on-ink-2); }
.lead-points li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316201F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lead-points strong { color: #fff; }
.form-card { background: #fff; color: var(--text); border-radius: 22px; padding: 10px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.7); min-height: 640px; position: relative; }
.form-card [data-lead-form-inline] { min-height: 620px; border-radius: 16px; overflow: hidden; }
.form-fallback { display: grid; place-items: center; text-align: center; min-height: 600px; padding: 32px; color: var(--text-2); }
.trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-ink-3); font-size: 13px; }
.trust b { color: #fff; font-family: var(--display); }

.ty-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.ty-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(45,191,156,.22), transparent 70%); pointer-events: none; }
.ty-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(45,191,156,.14); border: 1px solid rgba(45,191,156,.5); color: var(--teal); margin-bottom: 18px; }
.ty-check svg { width: 30px; height: 30px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--on-ink-2); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: var(--teal); font-size: 15px; border: 1px solid var(--ink-line); border-radius: 10px; height: 40px; display: grid; place-items: center; }
.steps strong { color: #fff; display: block; font-family: var(--display); }
.dl-card { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; }
@media (max-width: 640px) { .dl-card { grid-template-columns: 1fr; } }
.dl-cover { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1F2A29, #0f1716); border: 1px solid var(--ink-line); position: relative; display: grid; place-items: center; }
.dl-cover img { width: 100%; height: 100%; object-fit: cover; }
.dl-cover .pdf { position: absolute; left: 12px; bottom: 12px; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .14em; color: var(--ink); background: var(--teal); padding: 5px 8px; border-radius: 6px; }
.dl-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 6px 0 6px; color: #fff; }
.dl-meta { color: var(--on-ink-3); font-size: 14px; margin-bottom: 20px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-note { margin-top: 16px; font-size: 13px; color: var(--on-ink-3); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }
.mini { display: block; padding: 20px; border-radius: 16px; border: 1px solid var(--ink-line); background: rgba(255,255,255,.02); text-decoration: none; transition: border-color .2s, transform .2s; }
.mini:hover { border-color: rgba(45,191,156,.55); transform: translateY(-3px); }
.mini span { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.mini strong { display: block; margin-top: 8px; font-family: var(--display); color: #fff; line-height: 1.35; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 24px; }

/* ---------------- 404 ---------------- */
.nf { text-align: center; }
.nf .code { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 16vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--teal); margin: 0; }
.nf h1 { margin: 10px auto 12px; max-width: none; }
.nf .lede { margin: 0 auto; }
.nf .mini-grid { margin-top: 40px; text-align: left; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------------- case studies hub (/cases-ai-marketing-strategy/) ---------------- */
.cases-hero h1 { max-width: 16ch; }
.cases-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 30px; }
.cases-stats div { display: flex; align-items: baseline; gap: 10px; }
.cases-stats strong { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); color: #fff; line-height: 1; }
.cases-stats span { color: var(--on-ink-2); font-size: 15px; }
.cs-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.cs-proof a { display: block; padding: 18px 20px; border: 1px solid var(--ink-line); border-radius: 16px; background: rgba(255,255,255,.03); text-decoration: none; color: var(--on-ink-2); transition: border-color .2s, transform .2s; }
.cs-proof a:hover { border-color: var(--teal); transform: translateY(-2px); }
.cs-proof strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); color: var(--teal); line-height: 1.1; }
.cs-proof span { display: block; font-size: 14px; margin-top: 6px; }
.cs-proof em { font-style: normal; color: #fff; font-weight: 600; }
.cases-hero .blog-tools { margin-top: 40px; }
.cases-hero .search input { width: 310px; }
.cs-group + .cs-group { margin-top: 64px; }
.cs-group[hidden], .cs-card[hidden] { display: none; }
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(22,32,31,.35); border-color: rgba(45,191,156,.55); }
.cs-media { display: block; aspect-ratio: 40 / 21; background: var(--ink); overflow: hidden; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.cs-card:hover .cs-media img { transform: scale(1.04); }
.cs-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cs-kicker { margin: 0; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.cs-card h3 { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.25; margin: 8px 0; color: var(--ink); }
.cs-sum { margin: 0 0 18px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.cs-actions { margin-top: auto; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.cs-actions .btn svg { width: 16px; height: 16px; }
.cs-read { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--teal-600); text-decoration: none; }
.cs-read svg { width: 14px; height: 14px; transition: transform .2s; }
.cs-read:hover { color: var(--ink); }
.cs-read:hover svg { transform: translateX(3px); }
.cases-list .empty { margin-top: 24px; color: var(--text-2); }
@media (max-width: 1000px) { .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cs-grid { grid-template-columns: 1fr; } .cases-hero .search { margin-left: 0; width: 100%; } .cases-hero .search input { width: 100%; } }

/* =====================================================================================================
   UNIFIED THEME LAYER — every page section is one of four surfaces (build.py assigns them):
     .u-hero  dark hero with the SOMIN glow + dot grid      .u-dark  dark proof / CTA band
     .u-light white content section                         .u-mist  #F2FAF8 content section
   Page templates imported from Leadpages (prefixes sc/se/sa/sb/si) read their colours from tokens, so each
   surface re-points those tokens to the SOMIN palette. Brand: teal #2DBF9C, ink #16201F, white pages.
   ===================================================================================================== */
.u-light, .u-mist {
  --sc-charcoal: #FFFFFF; --se-charcoal: #FFFFFF; --sa-charcoal: #FFFFFF; --sb-charcoal: #FFFFFF; --si-charcoal: #FFFFFF;
  --sc-charcoal-2: #F2FAF8; --se-charcoal-2: #F2FAF8; --sa-charcoal-2: #F2FAF8; --sb-charcoal-2: #F2FAF8; --si-charcoal-2: #F2FAF8;
  --sc-charcoal-3: #E6F4EF; --se-charcoal-3: #E6F4EF; --sa-charcoal-3: #E6F4EF; --sb-charcoal-3: #E6F4EF; --si-charcoal-3: #E6F4EF;
  --sc-c2: #F2FAF8; --se-c2: #F2FAF8; --sa-c2: #F2FAF8; --sb-c2: #F2FAF8; --si-c2: #F2FAF8;
  --sc-c3: #E6F4EF; --se-c3: #E6F4EF; --sa-c3: #E6F4EF; --sb-c3: #E6F4EF; --si-c3: #E6F4EF;
  --sc-line: #DDE6E4; --se-line: #DDE6E4; --sa-line: #DDE6E4; --sb-line: #DDE6E4; --si-line: #DDE6E4;
  --sc-line-soft: #E6EEEC; --se-line-soft: #E6EEEC; --sa-line-soft: #E6EEEC; --sb-line-soft: #E6EEEC; --si-line-soft: #E6EEEC;
  --sc-white: #16201F; --se-white: #16201F; --sa-white: #16201F; --sb-white: #16201F; --si-white: #16201F;
  --sc-white-2: #2A3635; --se-white-2: #2A3635; --sa-white-2: #2A3635; --sb-white-2: #2A3635; --si-white-2: #2A3635;
  --sc-w2: #2A3635; --se-w2: #2A3635; --sa-w2: #2A3635; --sb-w2: #2A3635; --si-w2: #2A3635;
  --sc-white-soft: #4F5E5C; --se-white-soft: #4F5E5C; --sa-white-soft: #4F5E5C; --sb-white-soft: #4F5E5C; --si-white-soft: #4F5E5C;
  --sc-w3: #4F5E5C; --se-w3: #4F5E5C; --sa-w3: #4F5E5C; --sb-w3: #4F5E5C; --si-w3: #4F5E5C;
  --sc-white-faint: #6B7A78; --se-white-faint: #6B7A78; --sa-white-faint: #6B7A78; --sb-white-faint: #6B7A78; --si-white-faint: #6B7A78;
  --sc-w4: #6B7A78; --se-w4: #6B7A78; --sa-w4: #6B7A78; --sb-w4: #6B7A78; --si-w4: #6B7A78;
  --sc-mint: #1F8A70; --se-mint: #1F8A70; --sa-mint: #1F8A70; --sb-mint: #1F8A70; --si-mint: #1F8A70;
  --sc-mint-soft: #D5F2EA; --se-mint-soft: #D5F2EA; --sa-mint-soft: #D5F2EA; --sb-mint-soft: #D5F2EA; --si-mint-soft: #D5F2EA;
  --sc-mint-glow: rgba(45,191,156,.16); --se-mint-glow: rgba(45,191,156,.16); --sa-mint-glow: rgba(45,191,156,.16); --sb-mint-glow: rgba(45,191,156,.16); --si-mint-glow: rgba(45,191,156,.16);
  --sc-mint-deep: #1F8A70; --se-mint-deep: #1F8A70; --sa-mint-deep: #1F8A70; --sb-mint-deep: #1F8A70; --si-mint-deep: #1F8A70;
  --sc-teal: #1F8A70; --se-teal: #1F8A70; --sa-teal: #1F8A70; --sb-teal: #1F8A70; --si-teal: #1F8A70;
  --sc-lime: #1F8A70; --se-lime: #1F8A70; --sa-lime: #1F8A70; --sb-lime: #1F8A70; --si-lime: #1F8A70;
  --sc-ks: #1F8A70; --se-ks: #1F8A70; --sa-ks: #1F8A70; --sb-ks: #1F8A70; --si-ks: #1F8A70;
}
.u-dark, .u-hero {
  --sc-charcoal: #16201F; --se-charcoal: #16201F; --sa-charcoal: #16201F; --sb-charcoal: #16201F; --si-charcoal: #16201F;
  --sc-charcoal-2: #1F2A29; --se-charcoal-2: #1F2A29; --sa-charcoal-2: #1F2A29; --sb-charcoal-2: #1F2A29; --si-charcoal-2: #1F2A29;
  --sc-charcoal-3: #243331; --se-charcoal-3: #243331; --sa-charcoal-3: #243331; --sb-charcoal-3: #243331; --si-charcoal-3: #243331;
  --sc-c2: #1F2A29; --se-c2: #1F2A29; --sa-c2: #1F2A29; --sb-c2: #1F2A29; --si-c2: #1F2A29;
  --sc-c3: #243331; --se-c3: #243331; --sa-c3: #243331; --sb-c3: #243331; --si-c3: #243331;
  --sc-line: #2A3635; --se-line: #2A3635; --sa-line: #2A3635; --sb-line: #2A3635; --si-line: #2A3635;
  --sc-line-soft: #1F2A29; --se-line-soft: #1F2A29; --sa-line-soft: #1F2A29; --sb-line-soft: #1F2A29; --si-line-soft: #1F2A29;
  --sc-white: #FFFFFF; --se-white: #FFFFFF; --sa-white: #FFFFFF; --sb-white: #FFFFFF; --si-white: #FFFFFF;
  --sc-white-2: rgba(255,255,255,.86); --se-white-2: rgba(255,255,255,.86); --sa-white-2: rgba(255,255,255,.86); --sb-white-2: rgba(255,255,255,.86); --si-white-2: rgba(255,255,255,.86);
  --sc-w2: rgba(255,255,255,.86); --se-w2: rgba(255,255,255,.86); --sa-w2: rgba(255,255,255,.86); --sb-w2: rgba(255,255,255,.86); --si-w2: rgba(255,255,255,.86);
  --sc-white-soft: #C9D1D0; --se-white-soft: #C9D1D0; --sa-white-soft: #C9D1D0; --sb-white-soft: #C9D1D0; --si-white-soft: #C9D1D0;
  --sc-w3: #C9D1D0; --se-w3: #C9D1D0; --sa-w3: #C9D1D0; --sb-w3: #C9D1D0; --si-w3: #C9D1D0;
  --sc-white-faint: #9BA8A6; --se-white-faint: #9BA8A6; --sa-white-faint: #9BA8A6; --sb-white-faint: #9BA8A6; --si-white-faint: #9BA8A6;
  --sc-w4: #9BA8A6; --se-w4: #9BA8A6; --sa-w4: #9BA8A6; --sb-w4: #9BA8A6; --si-w4: #9BA8A6;
  --sc-mint: #2DBF9C; --se-mint: #2DBF9C; --sa-mint: #2DBF9C; --sb-mint: #2DBF9C; --si-mint: #2DBF9C;
  --sc-mint-soft: rgba(45,191,156,.12); --se-mint-soft: rgba(45,191,156,.12); --sa-mint-soft: rgba(45,191,156,.12); --sb-mint-soft: rgba(45,191,156,.12); --si-mint-soft: rgba(45,191,156,.12);
  --sc-mint-glow: rgba(45,191,156,.30); --se-mint-glow: rgba(45,191,156,.30); --sa-mint-glow: rgba(45,191,156,.30); --sb-mint-glow: rgba(45,191,156,.30); --si-mint-glow: rgba(45,191,156,.30);
  --sc-mint-deep: #1F8A70; --se-mint-deep: #1F8A70; --sa-mint-deep: #1F8A70; --sb-mint-deep: #1F8A70; --si-mint-deep: #1F8A70;
  --sc-teal: #2DBF9C; --se-teal: #2DBF9C; --sa-teal: #2DBF9C; --sb-teal: #2DBF9C; --si-teal: #2DBF9C;
  --sc-lime: #9CD632; --se-lime: #9CD632; --sa-lime: #9CD632; --sb-lime: #9CD632; --si-lime: #9CD632;
  --sc-ks: #2DBF9C; --se-ks: #2DBF9C; --sa-ks: #2DBF9C; --sb-ks: #2DBF9C; --si-ks: #2DBF9C;
}
.u-light, .u-mist { --u-deep: #EAF5F1; --u-sh: .22; color: #2A3635; color-scheme: light; }
.u-light { background: #FFFFFF !important; }
.u-mist { background: #F2FAF8 !important; }
.u-dark, .u-hero { --u-deep: #101817; --u-sh: 1; color: #FFFFFF; }
.u-dark { background: #16201F !important; }
.u-band { position: relative; z-index: 1; width: 100%; overflow-x: clip; }
.u-band > * { background-color: transparent !important; background-image: none !important; border-top-color: transparent !important; border-bottom-color: transparent !important; }
.u-hero { position: relative; isolation: isolate;
  background: radial-gradient(1100px 560px at 88% -12%, rgba(45,191,156,.20), transparent 62%),
              radial-gradient(900px 480px at -12% 112%, rgba(45,191,156,.10), transparent 60%),
              radial-gradient(rgba(255,255,255,.065) 1px, transparent 1px) 0 0 / 22px 22px,
              #16201F !important; }
.u-hero [class$="-hero-grid"], .u-hero [class*="-hero-grid "] { display: none !important; }
.u-hero-tail { background: #16201F !important; border-top: 1px solid #1F2A29 !important; }
.u-dark.u-cta { background: radial-gradient(900px 420px at 50% 120%, rgba(45,191,156,.22), transparent 65%), #16201F !important; }
/* light surfaces: soften template-specific dark details */
.u-light img, .u-mist img { border-color: #DDE6E4; }
.u-light ::selection, .u-mist ::selection { background: #D5F2EA; color: #16201F; }

/* ---------------- shared content sections (native pages) ---------------- */
.sec { padding: clamp(56px, 7vw, 100px) 0; }
.sec--light { background: #fff; color: var(--text); }
.sec--mist { background: var(--paper-2); color: var(--text); }
.sec--dark { background: var(--ink); color: #fff; }
.sec h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin: 12px 0 14px; }
.sec h3 { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
.sec p { line-height: 1.65; color: var(--text-2); }
.sec-head { max-width: 760px; }
.sec-head--center { margin: 0 auto 34px; text-align: center; }
.eyebrow--ink { color: var(--teal-600); }
.eyebrow--ink::before { background: var(--teal-600); box-shadow: 0 0 0 4px rgba(31,138,112,.14); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; height: auto; display: block; border-radius: 20px; border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.hero-media--shot img { background: #fff; }
.cta-row--left { justify-content: flex-start; margin-top: 30px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list--sm { gap: 6px; margin-top: 10px; }
.check-list--sm li { font-size: 14px; padding-left: 26px; }
.check-list--sm li::before { width: 17px; height: 17px; background-size: 11px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.tile { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 26px 24px; }
.sec--light .tile { background: var(--paper-2); }
.tile-num { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--teal); line-height: 1; margin-bottom: 16px; }
.tile p { margin: 0; font-size: 15px; }
.table-scroll { overflow-x: auto; margin-top: 10px; border: 1px solid var(--paper-line); border-radius: 18px; background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.price-table th { text-align: left; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); padding: 16px 20px; border-bottom: 1px solid var(--paper-line); background: var(--paper-2); }
.price-table td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--paper-line); color: var(--text); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.price-total { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 40px; margin-top: 22px; }
.price-total div { text-align: right; }
.price-total span { display: block; font-size: 13px; color: var(--text-2); }
.price-total strong { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); }
.price-total .pay { color: var(--teal-600); }
.terms { display: grid; gap: 14px; margin: 18px 0 0; }
.terms div { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 16px; padding: 20px 22px; }
.terms dt { font-family: var(--display); font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.terms dd { margin: 0; color: var(--text-2); line-height: 1.6; }
.wm { font-family: var(--display); font-weight: 800; }
.wm b { color: var(--teal); }
@media (max-width: 900px) { .split, .hero-split { grid-template-columns: 1fr; } .card-grid { grid-template-columns: 1fr; } }
/* contrast fixes on light surfaces */
.u-band [class*="score-badge"] { color: #16201F !important; }
.u-light .se-status, .u-mist .se-status { color: #4F5E5C; border-color: #C9D1D0; }
.sec--light .tile-num, .sec--mist .tile-num, .tile .tile-num { color: var(--teal-600); }

/* ---------------- wordmark logo (brand: "SO" teal + "MIN" white/ink, joined, no tracking) ---------------- */
.site-logo, .f-brand > a { text-decoration: none; }
.wm-logo { font-family: var(--display); font-weight: 900; font-size: 23px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.wm-logo .so { color: var(--teal); }
.wm-logo .min { color: #fff; }
.f-brand .wm-logo { font-size: 26px; }

/* ---------------- session replays (recorded agent runs from Marketing Mondays) ---------------- */
html body .mm-screen { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--paper-line); box-shadow: 0 24px 60px -30px rgba(9,18,16,.45); color: var(--text); }
html body .u-dark .mm-screen, html body .u-hero .mm-screen, html body .hero .mm-screen { border-color: #2A3635; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
html body .mm-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #16201F; color: #fff; font-size: 13px; line-height: 1.35; }
html body .mm-dots { display: inline-flex; gap: 6px; flex: none; }
html body .mm-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A3635; }
html body .mm-dots i:first-child { background: var(--teal); }
html body .mm-q { font-family: var(--display); font-weight: 700; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .mm-skill { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
html body .mm-toggle { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #2A3635; background: transparent; color: #fff; display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
html body .mm-toggle:hover { border-color: var(--teal); color: var(--teal); }
html body .mm-toggle svg { width: 13px; height: 13px; fill: currentColor; }
html body .mm-toggle .i-play { display: none; }
html body .mm-toggle[aria-pressed="false"] .i-play { display: block; }
html body .mm-toggle[aria-pressed="false"] .i-pause { display: none; }
html body .mm-screen video { display: block; width: 100%; height: auto; aspect-ratio: 1152 / 432; object-fit: cover; background: #F2FAF8; cursor: pointer; }
html body .mm-cap { margin: 0; padding: 10px 16px 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); background: #fff; border-top: 1px solid var(--paper-line); }
html body .mm-cap a { color: var(--teal-600); font-weight: 600; }
html body .mm-player { display: grid; gap: 14px; }
html body .mm-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
html body .mm-tab { position: relative; overflow: hidden; appearance: none; text-align: left; cursor: pointer; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 12px 14px 14px; transition: border-color .2s, background .2s; }
html body .mm-tab:hover { border-color: var(--teal); }
html body .mm-tab .mm-n { display: block; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--teal-600); }
html body .mm-tab b { display: block; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); margin-top: 2px; }
html body .mm-tab small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--text-2); margin-top: 3px; }
html body .mm-tab::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--teal); transition: width .25s linear; }
html body .mm-tab[aria-selected="true"] { border-color: var(--teal); background: #F2FAF8; }
html body .u-mist .mm-tab { background: #fff; }
html body .u-mist .mm-tab[aria-selected="true"] { background: #D5F2EA; }
html body .u-dark .mm-tab, html body .u-hero .mm-tab { background: #1F2A29; border-color: #2A3635; color: #C9D1D0; }
html body .u-dark .mm-tab b, html body .u-hero .mm-tab b { color: #fff; }
html body .u-dark .mm-tab small, html body .u-hero .mm-tab small { color: #9BA8A6; }
html body .u-dark .mm-tab .mm-n, html body .u-hero .mm-tab .mm-n { color: var(--teal); }
html body .u-dark .mm-tab[aria-selected="true"], html body .u-hero .mm-tab[aria-selected="true"] { border-color: var(--teal); background: #243331; }
html body .mm-replay { margin: clamp(28px, 4vw, 44px) auto 0; max-width: 1080px; }
html body .mm-replay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1080px; margin: clamp(32px, 4vw, 48px) auto 12px; }
html body .mm-replay-head + .mm-replay { margin-top: 0; }
html body .mm-replay-head p { margin: 0; }
html body .mm-kicker { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-600); }
html body .u-dark .mm-kicker, html body .u-hero .mm-kicker, html body .hero .mm-kicker { color: var(--teal); }
html body .mm-loop-head { text-align: center; max-width: 760px; margin: 0 auto clamp(24px, 3vw, 36px); }
html body .mm-loop-foot { display: flex; align-items: center; justify-content: center; gap: 12px 18px; flex-wrap: wrap; margin-top: 22px; }
html body .mm-loop-foot p { margin: 0; font-size: 14px; color: var(--text-2); }
html body .u-dark .mm-loop-foot p, html body .u-hero .mm-loop-foot p { color: #C9D1D0; }
html body .mm-questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 auto clamp(24px, 3vw, 34px); max-width: 1080px; padding: 0; list-style: none; counter-reset: q; }
html body .mm-questions li { counter-increment: q; border: 1px solid var(--paper-line); background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
html body .mm-questions li::before { content: counter(q); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 12px; margin: 0 8px 0 0; vertical-align: middle; }
html body .mm-questions b { display: block; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 15px; }
html body .mm-questions em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
@media (max-width: 900px) {
  html body .mm-tabs { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  html body .mm-tab { scroll-snap-align: start; }
  html body .mm-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .mm-skill { display: none; }
}
@media (max-width: 560px) { html body .mm-tab small { display: none; } html body .mm-questions { gap: 8px; } html body .mm-questions li { padding: 12px; font-size: 13px; } html body .mm-questions b { font-size: 13.5px; } html body .mm-questions em { font-size: 9.5px; letter-spacing: .12em; } }

/* ---------------- Marketing Mondays plugin: hero card + landing + thank-you ---------------- */
html body .mm-plugin-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 30px; max-width: 600px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(45,191,156,.16), rgba(45,191,156,.04)); border: 1px solid rgba(45,191,156,.45); transition: border-color .2s, transform .2s, background .2s; }
html body .mm-plugin-card:hover { border-color: var(--teal); transform: translateY(-2px); background: linear-gradient(135deg, rgba(45,191,156,.24), rgba(45,191,156,.06)); }
html body .mm-plugin-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--teal); display: grid; place-items: center; flex: none; }
html body .mm-plugin-ico svg { width: 28px; height: 28px; stroke: #16201F; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html body .mm-plugin-text { display: grid; gap: 2px; min-width: 0; }
html body .mm-plugin-text .k { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
html body .mm-plugin-text b { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.25; }
html body .mm-plugin-text span:last-child { font-size: 13px; line-height: 1.45; color: #C9D1D0; }
html body .mm-plugin-cta { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #16201F; background: var(--teal); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
@media (max-width: 560px) { html body .mm-plugin-card { grid-template-columns: auto 1fr; } html body .mm-plugin-cta { grid-column: 1 / -1; text-align: center; }  }
html body .pl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 620px; }
html body .pl-stats div { border-left: 2px solid var(--teal); padding: 2px 0 2px 14px; }
html body .pl-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1; color: #fff; }
html body .pl-stats span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-top: 6px; }
html body .pl-skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
html body .pl-skill { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
html body .sec--light .pl-skill { background: var(--paper-2); }
html body .pl-skill .st { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600); }
html body .pl-skill h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.25; }
html body .pl-skill p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
html body .pl-skill q { font-size: 13px; color: var(--text); font-style: italic; quotes: '“' '”'; margin-top: auto; padding-top: 6px; }
html body .pl-skill code { font-size: 11.5px; color: var(--teal-600); word-break: break-all; }
html body .pl-steps { counter-reset: s; display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
html body .pl-steps > li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; padding: 20px 22px; }
html body .pl-steps > li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 17px; }
html body .pl-steps h3 { margin: 4px 0 6px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
html body .pl-steps p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
html body .pl-steps a { color: var(--teal-600); font-weight: 600; }
html body .pl-steps img { border-radius: 12px; border: 1px solid var(--paper-line); margin-top: 8px; max-width: min(100%, 560px); }
html body .pl-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #F2FAF8; border: 1px solid var(--paper-line); border-radius: 10px; padding: 8px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: var(--ink); margin: 6px 0 8px; }
html body .pl-prompt { background: #16201F; color: #E6F4EF; border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.6; margin: 8px 0 10px; }
html body .pl-dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
html body .pl-file { font-size: 13px; color: var(--on-ink-2); margin-top: 10px; }
@media (max-width: 1000px) { html body .pl-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }  }
@media (max-width: 640px) { html body .pl-skills { grid-template-columns: 1fr; } html body .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body .pl-steps > li { grid-template-columns: 1fr; }  }
html body .sec--mist .mm-tab { background: #fff; }
html body .sec--mist .mm-tab[aria-selected="true"] { background: #D5F2EA; }
html body .sec--light .pl-skills + .cta-row { margin-top: 26px; }
html body .faq-list { display: grid; gap: 10px; max-width: 900px; margin-top: 22px; }
html body .faq-list details { background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 0 20px; }
html body .sec--light .faq-list details { background: var(--paper-2); }
html body .faq-list summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
html body .faq-list summary::-webkit-details-marker { display: none; }
html body .faq-list summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 600; color: var(--teal-600); }
html body .faq-list details[open] summary::after { content: '–'; }
html body .faq-list details p { margin: 0 0 18px; color: var(--text-2); line-height: 1.65; }
html body .faq-list a { color: var(--teal-600); font-weight: 600; }
html body .faq-list code { font-size: 13px; background: #E6F4EF; border-radius: 6px; padding: 1px 6px; }
html body .se-demo-bar .se-shot-dot { flex: none; }
html body .mm-questions em { vertical-align: middle; }
html body .mm-questions b { margin-top: 8px; }
html body .u-light .se-status.preview, html body .u-mist .se-status.preview { color: #1F8A70; border-color: #A9DCCD; background: #E6F4EF; }

/* ---------------- case-study hero backgrounds (SOMIN image-generate, one per case topic) ---------------- */
.u-hero--img { position: relative; isolation: isolate; }
.u-hero--img::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--hero-img) right center / cover no-repeat; opacity: .62;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.35) 34%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.35) 34%, #000 62%); }
.u-hero--img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, #16201F); }
.u-hero--img > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .u-hero--img::before { opacity: .38; background-position: 70% center;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.2), #000 45%, rgba(0,0,0,.55));
            mask-image: linear-gradient(180deg, rgba(0,0,0,.2), #000 45%, rgba(0,0,0,.55)); }
}
/* hero plugin banner: spans both hero columns so nothing is left empty beside it */
html body .mm-plugin-card--wide { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 22px; max-width: none; width: 100%; margin: 40px 0 8px; padding: 18px 20px 18px 18px; position: relative; z-index: 2; }
html body .mm-plugin-card--wide .mm-plugin-text b { font-size: 18px; }
html body .mm-plugin-steps { display: flex; align-items: center; gap: 0; }
html body .mm-plugin-steps i { font-style: normal; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C9D1D0; padding: 7px 11px; border: 1px solid rgba(45,191,156,.35); border-radius: 999px; background: rgba(22,32,31,.6); white-space: nowrap; }
html body .mm-plugin-steps i + i { margin-left: 18px; position: relative; }
html body .mm-plugin-steps i + i::before { content: ''; position: absolute; left: -16px; top: 50%; width: 14px; height: 1px; background: rgba(45,191,156,.6); }
@media (max-width: 1180px) { html body .mm-plugin-steps i { font-size: 10px; padding: 6px 8px; letter-spacing: .08em; } html body .mm-plugin-steps i + i { margin-left: 6px; } html body .mm-plugin-steps i + i::before { display: none; } }
@media (max-width: 900px) { html body .mm-plugin-steps { display: none; } }
@media (max-width: 640px) { html body .mm-plugin-card--wide { grid-template-columns: auto 1fr; margin-top: 28px; } html body .mm-plugin-card--wide .mm-plugin-cta { grid-column: 1 / -1; text-align: center; } }

/* ---------------- third-party ratings (G2 / Capterra) + review excerpts ---------------- */
html body .rv-stars { position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 1px; color: rgba(155,168,166,.45); white-space: nowrap; font-family: Arial, sans-serif; }
html body .rv-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--teal); }
html body .rv-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html body .rv-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; text-decoration: none; border: 1px solid #DDE6E4; background: #fff; color: #2A3635; font-size: 13px; line-height: 1; transition: border-color .2s, transform .2s; }
html body .rv-badge:hover { border-color: var(--teal); transform: translateY(-1px); }
html body .rv-src { font-family: var(--display); font-weight: 900; font-size: 12px; letter-spacing: .02em; padding: 6px 9px; border-radius: 999px; background: #16201F; color: #fff; }
html body .rv-score { font-family: var(--display); color: #4F5E5C; }
html body .rv-score b { font-weight: 900; font-size: 15px; color: #16201F; }
html body .rv-count { color: #4F5E5C; font-weight: 600; }
.u-dark .rv-badge, .u-hero .rv-badge, html body .site-footer .rv-badge, html body .hero .rv-badge { background: rgba(255,255,255,.04); border-color: #2A3635; color: #C9D1D0; }
.u-dark .rv-src, .u-hero .rv-src, html body .site-footer .rv-src, html body .hero .rv-src { background: var(--teal); color: #16201F; }
.u-dark .rv-score, .u-hero .rv-score, .u-dark .rv-count, .u-hero .rv-count, html body .site-footer .rv-score, html body .site-footer .rv-count, html body .hero .rv-score, html body .hero .rv-count { color: #C9D1D0; }
.u-dark .rv-score b, .u-hero .rv-score b, html body .site-footer .rv-score b, html body .hero .rv-score b { color: #fff; }
html body .rv-badges--hero { margin-top: 22px; }
html body .rv-badges--footer { display: inline-flex; margin-right: 6px; }
html body .rv-badges--footer .rv-badge { padding: 5px 10px 5px 5px; font-size: 12px; }
html body .rv-section { padding: clamp(56px, 7vw, 96px) var(--pad); }
html body .rv-wrap { max-width: 1180px; margin: 0 auto; }
html body .rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px; }
html body .rv-kicker { margin: 0 0 10px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-600); }
html body .rv-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; color: #16201F; max-width: 20ch; }
html body .rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .rv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .rv-grid--1 { grid-template-columns: minmax(0, 720px); }
html body .rv-card { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 22px; border-radius: 18px; background: #fff; border: 1px solid #DDE6E4; box-shadow: 0 18px 40px -32px rgba(9,18,16,.4); }
.u-light .rv-card, html body .sec--light .rv-card { background: #F2FAF8; }
html body .rv-card blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.4; color: #16201F; flex: 1; }
html body .rv-card figcaption { display: grid; gap: 3px; font-size: 13px; color: #4F5E5C; border-top: 1px solid #DDE6E4; padding-top: 12px; }
html body .rv-card figcaption b { font-family: var(--display); font-weight: 800; color: #16201F; font-size: 14px; }
html body .rv-card figcaption a { color: var(--teal-600); font-weight: 600; text-decoration: none; font-size: 12px; }
html body .rv-card figcaption a:hover { text-decoration: underline; }
html body .rv-note { margin: 18px 0 0; font-size: 12.5px; color: #6B7A78; }
html body .rv-note a { color: var(--teal-600); font-weight: 600; }
.u-dark .rv-head h2 { color: #fff; } .u-dark .rv-kicker { color: var(--teal); }
.u-dark .rv-card { background: #1F2A29; border-color: #2A3635; } .u-dark .rv-card blockquote, .u-dark .rv-card figcaption b { color: #fff; } .u-dark .rv-card figcaption { color: #C9D1D0; border-color: #2A3635; }
@media (max-width: 900px) { html body .rv-grid, html body .rv-grid--2 { grid-template-columns: 1fr; } html body .rv-head { align-items: flex-start; } }
html body .rv-stars { color: #77857F; }
html body .rv-stars-on { color: var(--teal-600); }
.u-dark .rv-stars, .u-hero .rv-stars, html body .hero .rv-stars, html body .site-footer .rv-stars { color: #6B7A78; }
.u-dark .rv-stars-on, .u-hero .rv-stars-on, html body .hero .rv-stars-on, html body .site-footer .rv-stars-on { color: var(--teal); }
/* compact rating plates: platform · stars · score (no review counts) */
html body .rv-badge { gap: 8px; padding: 6px 12px 6px 6px; }
html body .rv-badge .rv-stars { font-size: 13px; }
html body .rv-score b { font-size: 14px; }
html body .rv-badges--footer .rv-badge { padding: 4px 10px 4px 4px; }

/* ---------------- case-study hero creative (a real page of the case study) ---------------- */
html body .sc-hero.cs-has-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
html body .cs-panel { margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid #2A3635; background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.75); }
html body .cs-panel::after { content: ''; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(45,191,156,.3); pointer-events: none; }
html body .cs-panel img { display: block; width: 100%; height: auto; }
html body .cs-panel figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #16201F; background: var(--teal); padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
@media (max-width: 900px) { html body .sc-hero.cs-has-panel { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- composed case-study pages (data/case-pages) ---------------- */
html body .cs-hero .hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
html body .cs-hero h1 { max-width: 20ch; font-size: clamp(32px, 4.4vw, 56px); }
html body .cs-meta { margin: 14px 0 0; font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
html body .cs-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 34px; border-top: 1px solid var(--ink-line); }
html body .cs-hero-stats div { padding: 18px 16px 4px 0; border-right: 1px solid var(--ink-line); }
html body .cs-hero-stats div + div { padding-left: 18px; }
html body .cs-hero-stats div:last-child { border-right: 0; }
html body .cs-hero-stats strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.8vw, 38px); line-height: 1; color: #fff; letter-spacing: -.02em; }
html body .cs-hero-stats strong span { font-size: .5em; font-weight: 700; color: var(--teal); margin-left: 3px; letter-spacing: 0; }
html body .cs-hero-stats small { display: block; margin-top: 8px; font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-2); line-height: 1.35; }
html body .cs-deliver { align-items: start; }
html body .cs-gallery { display: grid; gap: 18px; }
html body .cs-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--paper-line); background: #fff; box-shadow: 0 24px 50px -36px rgba(9,18,16,.5); }
html body .cs-shot img { display: block; width: 100%; height: auto; }
html body .cs-shot figcaption { padding: 10px 14px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); border-top: 1px solid var(--paper-line); }
html body .cs-quote { text-align: center; background: radial-gradient(800px 360px at 50% 120%, rgba(45,191,156,.18), transparent 65%), #16201F; }
html body .cs-quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.01em; color: #fff; }
html body .cs-quote p { margin: 18px 0 0; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
html body .sec--light .mini, html body .sec--mist .mini { border-color: var(--paper-line); background: #fff; }
html body .sec--light .mini { background: var(--paper-2); }
html body .sec--light .mini strong, html body .sec--mist .mini strong { color: var(--ink); }
html body .sec--light .mini span, html body .sec--mist .mini span { color: var(--teal-600); }
html body .btn--ink { border-color: var(--ink); color: var(--ink); background: transparent; }
html body .btn--ink:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { html body .cs-hero .hero-split { grid-template-columns: 1fr; } html body .cs-hero-stats { grid-template-columns: 1fr 1fr 1fr; } html body .mini-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { html body .cs-hero-stats strong { font-size: 24px; } html body .cs-hero-stats div { padding-right: 8px; } html body .cs-hero-stats div + div { padding-left: 10px; } }
/* long case-study dropdowns: multi-column on desktop */
@media (min-width: 1081px) {
  .nav-sub.nav-sub--cols { columns: 3; column-gap: 6px; min-width: 900px; max-width: 960px; }
  .nav-sub.nav-sub--cols li { break-inside: avoid; }
  .nav-sub.nav-sub--cols a { font-size: 13px; padding: 8px 12px; }
}

/* ------------------------------------------------------------------ research: papers and talks (<!--mm:research-->, /research/) */
html body .rs-section { padding: clamp(56px, 7vw, 96px) var(--pad); }
html body .rs-wrap { max-width: 1180px; margin: 0 auto; }
html body .rs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 28px; }
html body .rs-head > div:first-child { flex: 1 1 520px; }
html body .rs-kicker { margin: 0 0 10px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-600); }
html body .rs-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); max-width: 22ch; }
html body .rs-lede { margin: 14px 0 0; max-width: 62ch; color: var(--text-2); font-size: 16px; line-height: 1.6; }
html body .rs-venues { display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; }
html body .rs-chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--paper-line); background: #fff; font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
html body .rs-chip:hover { border-color: var(--teal); color: var(--teal-600); }
html body .rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .rs-paper { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; border: 1px solid var(--paper-line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
html body .rs-paper:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(22,32,31,.08); }
html body .rs-venue { font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
html body .rs-paper strong { font-family: var(--display); font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--ink); }
html body .rs-topic { font-size: 14px; line-height: 1.5; color: var(--text-2); }
html body .rs-kind { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 700; color: var(--teal-600); }
html body .rs-talks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
html body .rs-tlabel { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }
html body .rs-talk { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--paper-line); background: var(--paper-2); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); text-decoration: none; max-width: 340px; }
html body .rs-talk span { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
html body .rs-talk:hover { border-color: var(--teal); }
html body .rs-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 26px 0 0; }
html body .rs-btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; text-decoration: none; }
html body .rs-btn:hover { background: var(--teal); color: var(--ink); }
html body .rs-ext { font-weight: 700; font-size: 14px; color: var(--teal-600); }
.u-dark .rs-head h2, .u-hero .rs-head h2 { color: #fff; }
.u-dark .rs-lede { color: var(--on-ink-2); }
.u-dark .rs-kicker { color: var(--teal); }
@media (max-width: 900px) { html body .rs-grid { grid-template-columns: 1fr; } html body .rs-venues { max-width: none; } }

/* compact line: "Built by seasoned marketers and an AI professor" */
html body .rs-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 18px 0 0; font-size: 13px; color: var(--on-ink-2); }
html body .rs-line-k { font-family: var(--display); font-weight: 800; color: #fff; }
html body .rs-line-t { color: var(--on-ink-3); }
html body .rs-venues--line { max-width: none; gap: 6px; }
html body .rs-venues--line .rs-chip { padding: 4px 10px; font-size: 11px; background: rgba(255,255,255,.04); border-color: var(--ink-line); color: var(--on-ink-2); }
html body .rs-venues--line .rs-chip:hover { border-color: var(--teal); color: #fff; }
html body .rs-line-more { font-weight: 700; color: var(--teal); text-decoration: none; }
html body .rs-line-more:hover { text-decoration: underline; }
.u-light .rs-line, .u-mist .rs-line, .sec--light .rs-line, .sec--mist .rs-line { color: var(--text-2); }
.u-light .rs-line-k, .u-mist .rs-line-k, .sec--light .rs-line-k, .sec--mist .rs-line-k { color: var(--ink); }
.u-light .rs-line-t, .u-mist .rs-line-t, .sec--light .rs-line-t, .sec--mist .rs-line-t { color: var(--text-3); }
.u-light .rs-venues--line .rs-chip, .u-mist .rs-venues--line .rs-chip, .sec--light .rs-venues--line .rs-chip, .sec--mist .rs-venues--line .rs-chip { background: #fff; border-color: var(--paper-line); color: var(--ink); }
.u-light .rs-line-more, .u-mist .rs-line-more, .sec--light .rs-line-more, .sec--mist .rs-line-more { color: var(--teal-600); }
html body .rs-line--center { justify-content: center; }

/* research credit in case studies */
html body .rs-note { margin: 18px 0 0; max-width: 78ch; font-size: 14px; line-height: 1.6; color: var(--text-2); }
html body .rs-note a { color: var(--teal-600); font-weight: 700; }

/* /research/ page */
html body .rs-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
html body .rs-theme { padding: 26px; border-radius: 18px; border: 1px solid var(--paper-line); background: #fff; }
html body .rs-theme h3 { margin: 10px 0 8px; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.25; }
html body .rs-theme p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; }
html body .rs-theme ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
html body .rs-theme li a { display: block; font-size: 14px; line-height: 1.45; color: var(--text); text-decoration: none; }
html body .rs-theme li a:hover { color: var(--teal-600); }
html body .rs-theme li b { display: inline-block; min-width: 92px; margin-right: 6px; font-family: var(--display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
html body .rs-uses { font-weight: 700; font-size: 14px; color: var(--teal-600); text-decoration: none; }
html body .rs-uses:hover { text-decoration: underline; }
html body .rs-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
html body .rs-list li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--paper-line); background: #fff; }
html body .sec--light .rs-list li { background: var(--paper-2); }
html body .rs-list li > a { text-decoration: none; }
html body .rs-list strong { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.35; }
html body .rs-list li > a:hover strong { color: var(--teal-600); }
html body .rs-auth { font-size: 13px; color: var(--text-3); line-height: 1.5; }
html body .rs-pdf { font-size: 13px; font-weight: 700; color: var(--teal-600); }
html body .rs-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
html body .rs-tcard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid var(--paper-line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
html body .rs-tcard:hover { border-color: var(--teal); transform: translateY(-2px); }
html body .rs-tcard strong { font-family: var(--display); font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--ink); }
html body .rs-tcard em { font-style: normal; font-size: 13px; color: var(--text-3); }
html body .rs-tcard p { margin: 4px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
html body .rs-profiles ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
html body .rs-profiles li a { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--paper-line); background: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
html body .rs-profiles li a:hover { border-color: var(--teal); color: var(--teal-600); }
html body .rs-small { margin-top: 14px; font-size: 13px; color: var(--text-3); }
html body .rs-small a { color: var(--teal-600); }
@media (max-width: 900px) { html body .rs-themes, html body .rs-tgrid { grid-template-columns: 1fr; } }

/* case studies: breadcrumbs in imported heroes, related cases, FAQ/about block */
html body .cs-crumbs { margin: 0 0 14px; font-size: 13px; }
html body .cs-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
html body .cs-crumbs li { color: var(--on-ink-3); }
html body .cs-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-line); }
html body .cs-crumbs a { color: var(--on-ink-2); text-decoration: none; }
html body .cs-crumbs a:hover { color: var(--teal); }
html body .cs-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
html body .cs-rel { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; border: 1px solid var(--paper-line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
html body .cs-rel:hover { border-color: var(--teal); transform: translateY(-2px); }
html body .cs-rel span { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
html body .cs-rel strong { font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); }
html body .cs-rel em { font-style: normal; font-size: 14px; line-height: 1.5; color: var(--text-2); }
html body .cs-rel-all { margin: 22px 0 0; }
html body .cs-rel-all a { font-weight: 700; color: var(--teal-600); }
html body .somin-embed-case .cs-related h2 { margin: 14px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
html body .u-light .cs-rel { background: var(--paper-2); }
html body .cs-about { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--paper-line); }
html body .cs-about p { color: var(--text-2); }
html body .cs-outcome p:last-child { max-width: 68ch; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { html body .cs-rel-grid { grid-template-columns: 1fr; } }
html body .rs-line--light { margin-top: 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--paper-line); background: var(--paper-2); color: var(--text-2); }
html body .rs-line--light .rs-line-k { color: var(--ink); }
html body .rs-line--light .rs-line-t { color: var(--text-3); }
html body .rs-line--light .rs-venues--line .rs-chip { background: #fff; border-color: var(--paper-line); color: var(--ink); }
html body .rs-line--light .rs-line-more { color: var(--teal-600); }
html body .rs-talks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
html body .rs-tlabel { grid-column: 1 / -1; }
html body .rs-talk { max-width: none; }
html body .cs-crumbs li + li::before { color: rgba(201,209,208,.45); }

/* FAQ blocks inside blog posts (FAQPage schema comes from these) */
html body .prose details { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 14px; padding: 0 20px; margin: 10px 0; }
html body .prose details + :not(details) { margin-top: 28px; }
html body .prose summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--ink); }
html body .prose summary::-webkit-details-marker { display: none; }
html body .prose summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 600; color: var(--teal-600); }
html body .prose details[open] summary::after { content: '–'; }
html body .prose details p { margin: 0 0 16px; color: var(--text-2); }

/* ---------------- pricing (/pricing/, data/pricing.json) ---------------- */
.pr-glance li { color: var(--text); }
.pr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.pr-toggle { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff; padding: 4px; gap: 2px; }
.pr-toggle button { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--text-2); background: transparent; border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.pr-toggle button small { opacity: .7; font-weight: 500; }
.pr-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pr-badge { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 6px; background: var(--teal); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.pr-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--paper-line); background: #fff; }
.pr-table { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 14px; color: var(--text); }
.pr-table th, .pr-table td { border-bottom: 1px solid var(--paper-line); padding: 12px 14px; vertical-align: top; text-align: left; }
.pr-table td + td, .pr-table th + th, .pr-table th + td { border-left: 1px solid var(--paper-line); }
.pr-tier { background: var(--ink); color: #fff; text-align: center !important; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .03em; padding: 16px 10px !important; }
.pr-tier span { display: block; margin-top: 4px; font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--on-ink-3); text-transform: uppercase; }
.pr-tier--ent { background: var(--ink-3); }
.pr-feat { width: 230px; background: #FAFCFB; font-weight: 600; color: var(--ink); }
.pr-head { background: var(--paper-2); text-align: center !important; padding: 18px 10px 20px !important; }
.pr-price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); white-space: nowrap; }
.pr-per { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.pr-sel { display: inline-block; margin-top: 12px; padding: 8px 20px; border-radius: 999px; background: var(--teal); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13px; text-decoration: none; }
.pr-sel:hover { background: var(--ink); color: #fff; }
.pr-grp th { background: #EDF4F2; color: var(--teal-600); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; }
.pr-c { text-align: center !important; }
.pr-yes { color: var(--teal-600); font-weight: 800; }
.pr-no { color: #B9C3C1; }
.pr-ent { background: #F6FBF9; color: var(--teal-600); font-weight: 700; }
.pr-fx summary { cursor: pointer; list-style: none; }
.pr-fx summary::-webkit-details-marker { display: none; }
.pr-feat .pr-fx summary::after { content: "?"; display: inline-block; width: 15px; height: 15px; line-height: 13px; margin-left: 6px; text-align: center; border: 1px solid #B8C2C0; border-radius: 50%; color: #8A9997; font-size: 10px; font-weight: 700; vertical-align: 1px; }
.pr-val summary { color: var(--teal-600); font-weight: 700; }
.pr-exp { margin: 8px 0 0; padding: 9px 11px; background: var(--paper-2); border-left: 3px solid var(--teal); font-size: 12.5px; font-weight: 400; color: var(--text-2); text-align: left; line-height: 1.55; }
.pr-note { font-size: 13px; color: var(--text-3); margin: 14px 0 0; max-width: 90ch; }
.pr-calc { margin-top: 22px; padding: 24px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--paper-line); max-width: 920px; }
.pr-calc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pr-calc label { display: block; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.pr-calc select { display: block; width: 100%; margin-top: 6px; padding: 10px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; color: var(--text); font: 500 14px var(--body); }
.pr-brk { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: 14px; }
.pr-brk b, .pr-tot strong { color: var(--ink); }
.pr-tot { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-end; margin-top: 14px; }
.pr-tot small { display: block; font-size: 12px; color: var(--text-3); }
.pr-tot strong { font-family: var(--display); font-size: 24px; font-weight: 800; }
.pr-small { font-size: 12.5px; color: var(--text-3); margin: 10px 0 0; }
.pr-alert { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--teal-600); background: var(--teal-wash); color: var(--text); font-size: 13.5px; border-radius: 8px; }
@media (max-width: 760px) { .pr-calc-grid { grid-template-columns: 1fr 1fr; } .pr-bar { justify-content: flex-start; } }

/* ---------------- about + authors ---------------- */
.ab-facts { display: grid; gap: 0; margin: 18px 0 0; border-top: 1px solid var(--paper-line); }
.ab-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); }
.ab-facts dt { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); }
.ab-facts dd { margin: 0; color: var(--text); }
.sec .ab-links a, .ab-hero ~ .sec .sec-head p a, .pr-hero ~ .sec .sec-head p a, .au-hero ~ .sec .sec-head p a { color: var(--teal-600); }
.mini--light { background: #fff; border-color: var(--paper-line); }
.sec--light .mini--light { background: var(--paper-2); }
.mini--light strong { color: var(--ink); }
.mini--light span { color: var(--teal-600); }
.mini--light em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--text-3); }
.ab-team { margin-top: 24px; }
.author-box a { color: inherit; text-decoration: none; }
.author-box a:hover { color: var(--teal-600); }
.author-box .author-more { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--teal-600); }
.post-hero .meta a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.au-posts { padding-top: 0; }
@media (max-width: 760px) { .ab-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------------- language links (home + /<lang>/) ---------------- */
.locale-nav { background: var(--ink); border-top: 1px solid var(--ink-line-soft); padding: 18px 0; font-size: 13px; }
.locale-nav .container { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.locale-nav span { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-right: 6px; }
.locale-nav a { color: var(--on-ink-2); text-decoration: none; }
.locale-nav a:hover { color: #fff; }
.locale-nav a[aria-current="page"] { color: #fff; font-weight: 700; }
