/* ===== Dynio seo area: compare, plays, guides, examples, company count ===== */

/* Hero with Nia beside the headline */
.s-hero { padding: 3.5rem 0 1.5rem; }
.s-hero-in { display: grid; gap: 1.75rem; align-items: center; }
.s-hero h1 { margin-bottom: 0.6rem; }
.s-hero .lede { color: var(--muted); max-width: 40rem; }
.s-crumbs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; list-style: none;
  font-size: 0.85rem; color: var(--muted);
}
.s-crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(11,13,18,0.3); }
.s-crumbs a { color: var(--muted); text-decoration: none; }
.s-crumbs a:hover { color: var(--wire-2); }
.s-kicker { display: block; margin: 0 0 0.6rem; font: 600 0.92rem/1.4 var(--font-body); color: var(--muted); }
.s-nia {
  position: relative; margin: 0; padding: 1.15rem 1.2rem 1.2rem; border-radius: 20px;
  background: var(--field); color: rgba(233,238,243,0.86);
  box-shadow: 0 24px 60px rgba(11,13,18,0.18); max-width: 24rem;
}
.s-nia-top { display: flex; align-items: center; gap: 0.85rem; }
.s-nia img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 3px var(--field), 0 0 0 5px rgba(91,140,255,0.75);
}
.s-nia b { display: block; font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.s-nia small { display: block; color: rgba(233,238,243,0.6); font-size: 0.82rem; }
.s-nia p { margin: 0.9rem 0 0; font-size: 0.98rem; line-height: 1.55; }
.s-nia .s-ask { text-decoration: none;
  margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer;
  background: transparent; color: #cfdcff; border: 0; border-bottom: 1px solid rgba(207,220,255,0.5);
  border-radius: 0; padding: 0.15rem 0; font: 600 0.92rem/1.3 var(--font-body);
}
.s-nia .s-ask:hover { color: #fff; border-bottom-color: #fff; }
@media (min-width: 900px) {
  .s-hero-in { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; }
  .s-hero-in .s-nia { justify-self: end; }
}

/* Light outline button for paper backgrounds */
.s-btn-line { background: #fff; color: var(--ink); border: 1px solid rgba(11,13,18,0.18); }
.s-btn-line:hover { background: var(--paper-2); color: var(--ink); }
.s-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.5rem; }

/* Link cards for index pages */
.s-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-card {
  display: flex; flex-direction: column; gap: 0.45rem; padding: 1.35rem 1.4rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.s-card:hover { color: var(--ink); border-color: var(--ink); }
.s-card small { font: 500 0.88rem/1.4 var(--font-body); color: var(--muted); }
.s-card b { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.25; }
.s-card span { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.s-card em { margin-top: auto; padding-top: 0.5rem; font-style: normal; font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11,13,18,0.3); }

/* Comparison table: stacked cards on phones */
.s-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1.25rem; font-size: 0.97rem; }
.s-table th, .s-table td { text-align: left; vertical-align: top; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.s-table thead th { font: 600 0.9rem/1.3 var(--font-body); color: var(--muted); }
.s-table tbody th { font-weight: 600; width: 26%; }
.s-table td.s-us { background: rgba(91,140,255,0.07); }
.s-table thead th.s-us { color: var(--wire-2); }
@media (max-width: 719px) {
  .s-table thead { display: none; }
  .s-table, .s-table tbody, .s-table tr, .s-table th, .s-table td { display: block; width: 100%; }
  .s-table tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 0.85rem; overflow: hidden; }
  .s-table tbody th { width: 100%; background: var(--paper-2); border-bottom: 1px solid var(--line); }
  .s-table td { border-bottom: 1px solid var(--line); }
  .s-table td:last-child { border-bottom: 0; }
  .s-table td::before {
    content: attr(data-label); display: block; margin-bottom: 0.2rem;
    font: 600 0.85rem/1.3 var(--font-body); color: var(--muted);
  }
  .s-table td.s-us::before { color: var(--wire-2); }
}

/* Dated source boxes */
.s-source {
  margin: 1.5rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--wire); background: #fff;
  border-radius: 0 12px 12px 0; font-size: 0.95rem; max-width: 46rem;
}
.s-source b { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.25rem; }
.s-source p { margin: 0.35rem 0 0; }

/* Example message card */
.s-msg {
  margin: 1.25rem 0 0; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11,13,18,0.05); max-width: 40rem; overflow: hidden;
}
.s-msg-head {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.1rem; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.s-msg-head .example-label { margin: 0; }
.s-msg-subj { padding: 0.9rem 1.1rem 0; font-weight: 600; }
.s-msg-subj span { color: var(--muted); font-weight: 400; margin-right: 0.35rem; }
.s-msg-body { padding: 0.5rem 1.1rem 1.1rem; white-space: pre-line; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }

/* Article / guide body */
.s-prose { max-width: 44rem; }
.s-prose h2 { margin-top: 2.6rem; }
.s-prose h3 { margin-top: 1.6rem; }
.s-prose p, .s-prose li { max-width: none; }
.s-prose ul, .s-prose ol { padding-left: 1.2rem; margin: 0.85rem 0 0; }
.s-prose li { margin-top: 0.45rem; }
.s-toc {
  margin: 0 0 2rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; max-width: 44rem;
}
.s-toc b { display: block; font-size: 0.95rem; color: var(--ink); }
.s-toc ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.s-toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(91,140,255,0.5); }
.s-quote {
  margin: 1.25rem 0 0; padding: 1rem 1.2rem; background: #fff; border: 1px solid rgba(91,140,255,0.3);
  border-radius: 14px; max-width: 40rem;
}
.s-quote q { display: block; font-size: 1.05rem; color: var(--ink); quotes: "\201C" "\201D"; }
.s-quote small { display: block; margin-top: 0.4rem; color: var(--muted); }
.s-yes, .s-no { list-style: none; padding: 0 !important; }
.s-yes li, .s-no li { padding-left: 1.6rem; position: relative; }
.s-yes li::before, .s-no li::before { content: ""; position: absolute; left: 0.3rem; top: 0.7em; width: 0.5rem; height: 2px; background: var(--muted); }

/* Plays and example plans */
.s-steps { display: grid; gap: 1.1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; max-width: 44rem; }
.s-steps li { padding: 0 0 0 1rem; border-left: 2px solid var(--line); }
.s-steps li b { display: block; margin-bottom: 0.15rem; }
.s-grid2 { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .s-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
.s-plan-meta { display: grid; gap: 0.6rem; margin: 1.25rem 0 0; }
@media (min-width: 640px) { .s-plan-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-plan-meta div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; }
.s-plan-meta dt { font: 500 0.88rem/1.4 var(--font-body); color: var(--muted); }
.s-plan-meta dd { margin: 0.2rem 0 0; font-weight: 600; }
.s-live { color: var(--wire-2); }
.s-live[data-state="off"] { color: var(--muted); font-weight: 500; font-size: 0.95rem; }

/* Company count tool */
.s-count {
  margin-top: 0.5rem; padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(11,13,18,0.07); max-width: 52rem;
}
.s-count-form { display: grid; gap: 0.9rem; }
@media (min-width: 760px) { .s-count-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; } }
.s-count label { display: grid; gap: 0.35rem; font: 600 0.85rem/1.3 var(--font-body); color: var(--ink-2); }
.s-count select {
  width: 100%; min-height: 48px; padding: 0 0.8rem; border-radius: 10px; border: 1px solid rgba(11,13,18,0.18);
  background: var(--paper); font: 500 1rem/1.2 var(--font-body); color: var(--ink);
}
.s-count select:disabled { opacity: 0.55; }
.s-count .btn { min-height: 48px; }
.s-count-off p { margin-top: 0; }
.s-count-out { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); min-height: 3rem; }
.s-count-num { font: 700 clamp(2.4rem, 7vw, 3.6rem)/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }
.s-count-line { margin-top: 0.45rem; color: var(--ink-2); }
.s-count-src { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.s-count-off { color: var(--muted); }
.s-count [hidden] { display: none !important; }

/* Small helpers */
.s-note { color: var(--muted); font-size: 0.92rem; }
.s-mt { margin-top: 2rem; }
.s-sec-head { max-width: 42rem; margin-bottom: 1.25rem; }
.s-sec-head p { color: var(--muted); }
.s-mini-nia { display: flex; gap: 0.6rem; align-items: center; margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.s-mini-nia img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(91,140,255,0.55); }
.s-grid3 { display: grid; gap: 1rem; }
.s-grid3 .s-msg { margin: 0; max-width: none; }
@media (min-width: 1000px) { .s-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-msg-head b { font-size: 0.85rem; }

/* Quiet terms lines and the route out of each entry page */
.s-terms { margin: 0.9rem 0 0; color: var(--ink-2); font-size: 0.98rem; max-width: 42rem; }
.s-hero .s-terms { color: var(--ink); font-weight: 500; }
.s-route { border-top: 1px solid var(--line); }
.s-route h2 { max-width: 30ch; }
.s-route-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1.1rem 0 0; }
.s-route-links a {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(91,140,255,0.7);
}
.s-route-links a:hover { color: var(--wire-2); }
.s-hero h1 { max-width: 24ch; }

/* ===== Depth pass (1 Dec 2026): seo pages. Hero lives in offer.css (.ih). ===== */
.s-card { border: 0; border-radius: var(--r-card); background: var(--paper-2); box-shadow: var(--z1); position: relative; transition: box-shadow var(--ui) ease; }
.s-card:hover { border: 0; box-shadow: var(--z2); }
.s-card::before { content: ""; position: absolute; top: -1px; left: 24px; width: 56px; height: 3px; background: var(--signal); border-radius: 0 0 2px 2px; opacity: 0; transition: opacity var(--ui) ease; }
.s-card:hover::before, .s-card:focus-visible::before { opacity: 1; }
.s-card em { text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
@media (min-width: 720px) { .s-cards { grid-template-columns: 1.1fr .9fr; gap: 18px 22px; } }
.s-table td.s-us { background: none; box-shadow: inset 2px 0 0 var(--signal); }
.s-table thead th.s-us { color: var(--ink); }
@media (max-width: 719px) {
  .s-table tr { border: 0; border-radius: var(--r-card); background: var(--paper-2); box-shadow: var(--z1); }
  .s-table tbody th { background: none; }
}
.s-btn-line { border-radius: var(--r-control); }
.s-divider { margin: 0 0 clamp(40px, 5vw, 64px); }

/* ===== Integrations (1 Dec 2026): /integrations/ index, one guide per CRM, API guide. si- prefix. ===== */
.si-prose { max-width: 46rem; }
.si-prose code, .si-crms code, .si-table code, .si-note code {
  font: 500 0.88em/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  background: rgba(11,13,18,.06); padding: 0.08em 0.35em; border-radius: 3px; overflow-wrap: anywhere;
}
.si-state { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.25rem; font: 600 0.92rem/1.4 var(--font-body); color: var(--ink); }
.si-state span { flex: none; width: 8px; height: 8px; background: var(--signal); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.si-state.si-soon { color: var(--mute-on-paper); }
.si-state.si-soon span { background: transparent; border: 1.5px solid var(--mute-on-paper); box-shadow: none; }
.si-aside { margin-top: 1rem; padding-left: 14px; border-left: 2px solid var(--signal); color: var(--text-on-paper); font-size: 0.97rem; }

/* Numbered setup steps */
.si-steps { counter-reset: si; list-style: none; padding: 0 !important; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.si-steps li { counter-increment: si; position: relative; padding: 0.1rem 0 0 2.6rem; margin: 0 !important; min-height: 1.9rem; }
.si-steps li::before {
  content: counter(si); position: absolute; left: 0; top: 0; width: 1.85rem; height: 1.85rem; display: grid; place-items: center;
  font: 700 0.95rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--paper-2); border-radius: var(--r-control); box-shadow: var(--z1);
}
.si-steps li:last-child::before { background: var(--ink); color: var(--signal-lit); box-shadow: var(--z2); }

/* Mapping tables: own width on desktop, stacked cards on phones (base .s-table rules) */
.si-tablewrap { max-width: 100%; }
.si-table tbody th { width: 30%; }
@media (min-width: 720px) { .si-table { background: var(--paper-2); border-radius: var(--r-card); box-shadow: var(--z1); overflow: hidden; } }

/* Split section: copy beside the ink note card */
.si-split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .si-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; } }

/* The note each reply becomes: an ink card with the signal inlet */
.si-note {
  position: relative; margin: 0; padding: 1.5rem 1.4rem 1.3rem; background: var(--ink-3); color: var(--text-on-ink);
  border-radius: var(--r-card); box-shadow: var(--z3);
}
.si-note::before { content: ""; position: absolute; top: -1px; left: 24px; width: 56px; height: 3px; background: var(--signal); border-radius: 0 0 2px 2px; }
.si-note-top { margin: 0 0 0.9rem; font: 700 1.05rem/1.3 var(--font-display); color: #fff; }
.si-note dl { margin: 0; display: grid; gap: 0; }
.si-note dl div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--rule-ink); }
.si-note dt { font: 600 0.9rem/1.45 var(--font-body); color: #fff; }
.si-note dd { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--text-on-ink); }
.si-note-foot { margin: 0.8rem 0 0; font-size: 0.85rem; color: var(--mute-on-ink); }
@media (max-width: 520px) { .si-note dl div { grid-template-columns: 1fr; } }

/* Code blocks: scroll inside the block, never the page */
.si-code { margin: 1rem 0 0; max-width: 100%; background: var(--ink-3); border-radius: var(--r-card); box-shadow: var(--z2); overflow: hidden; }
.si-code figcaption { padding: 0.55rem 1rem; font: 600 0.82rem/1.3 var(--font-body); color: var(--mute-on-ink); border-bottom: 1px solid var(--rule-ink); }
.si-code pre { margin: 0; padding: 0.9rem 1rem 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.si-code code { font: 400 0.84rem/1.6 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #E6EAF2; white-space: pre; }
.si-prose .example-label { margin: 1.25rem 0 0; }
.si-prose .example-label + .si-code { margin-top: 0.4rem; }

/* Troubleshooting and sources */
.si-trouble { max-width: 46rem; }
.si-trouble details p { margin-top: 0.5rem; }
.si-sources { margin-top: 2.5rem; }
.si-sources ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.si-sources li { margin-top: 0.3rem; overflow-wrap: anywhere; }

/* CRM cards on the index */
@media (min-width: 720px) { .s-cards.si-crms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .s-cards.si-crms { grid-template-columns: 1.15fr 1fr 1.05fr; } }
.si-card .si-state { margin: 0; font-size: 0.85rem; }
.si-card:last-child { background: var(--ink-3); box-shadow: var(--z3); }
.si-card:last-child b { color: #fff; }
.si-card:last-child span:not([aria-hidden]) { color: var(--text-on-ink); }
.si-card:last-child em { color: #fff; }
.si-card:last-child .si-state { color: #fff; }

/* Reply flow: stations at uneven heights; the last one is an ink panel breaking out of the paper */
.si-flow { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.si-flow li { position: relative; padding: 1.15rem 1.2rem 1.2rem 1.2rem; background: var(--paper-2); border-radius: var(--r-card); box-shadow: var(--z1); }
.si-flow li::before { content: ""; position: absolute; top: -1px; left: 20px; width: 40px; height: 3px; background: var(--signal); border-radius: 0 0 2px 2px; }
.si-flow b { display: block; font: 700 1.05rem/1.3 var(--font-display); color: var(--ink); }
.si-flow span { display: block; margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.55; color: var(--text-on-paper); }
.si-flow .si-flow-end { background: var(--ink-3); box-shadow: var(--z3); }
.si-flow .si-flow-end b { color: #fff; }
.si-flow .si-flow-end span { color: var(--text-on-ink); }
.si-flow .si-flow-end::before { background: var(--signal-lit); }
@media (min-width: 900px) {
  .si-flow { grid-template-columns: 1fr 1.15fr 1.05fr 1.2fr; gap: 18px; align-items: start; }
  .si-flow::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule-paper); z-index: -1; }
  .si-flow li:nth-child(2) { margin-top: 28px; }
  .si-flow li:nth-child(3) { margin-top: 10px; }
  .si-flow li:nth-child(4) { margin-top: 40px; transform: translateY(6px); }
}
.si-steps .si-scopes { list-style: none; padding: 0 !important; margin: 0.5rem 0 0; display: grid; gap: 0.3rem; }
.si-steps .si-scopes li { counter-increment: none; padding: 0 0 0 1rem; min-height: 0; position: relative; }
.si-steps .si-scopes li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.45rem; height: 2px; background: var(--signal); box-shadow: none; border-radius: 0; }
/* Integrations: keep the narrow reading column on the page's left edge, in line with the headings above it */
.wrap.si-prose { max-width: var(--max, 1200px); }
.wrap.si-prose > * { max-width: 46rem; }
.wrap.si-prose > .current-divider { max-width: none; }
