/* Tenant Site theme — structure & typography, styled to match the live pasifikcloud.com
 * (uSkinned "Source" / Bootstrap-3 look): fixed white header + thin utility bar, full-bleed
 * dark-overlay hero with white left-aligned copy, alternating white/#f4f4f4 bands punctuated by
 * full-width cyan CTA strips, square compact buttons, multi-column grey footer.
 *
 * 2026-07-23: the V2 "Pacific Dawn" visual restyle was REVERTED by operator direction ("revert to
 * the previous theme but incorporate the new content") — this file is the V1 enterprise design
 * language extended with V1-styled rules for the V2 content vocabulary (persona-led IA, tri-offer
 * copy platform). The V2 COPY stays; the V2 pastel/pill/gold look does not.
 *
 * Brand values arrive as CSS custom properties from the per-tenant /site-theme.css
 * (365.Core.TenantSite): --site-primary (cyan #37C4F5 — button/CTA-strip fill, brand accents),
 * --site-interactive (teal #0C7A9E — text links on white, WCAG 4.89:1), --site-font.
 * Neutral fallbacks keep an unbranded tenant presentable; E2E treats fallback-rendered as UNTHEMED.
 *
 * House classes for rich-text (authoring vocabulary — recipe HTML uses these):
 *   .ts-checklist .ts-tiers .ts-note                      (v1)
 *   .ts-wide                                              widen a rich-text section to container width
 *   .ts-band-dawn/-sky/-alt                               light band wash (all map to the V1 alt grey)
 *   .ts-band-ocean/-midnight                              dark navy band (white copy, cyan accents)
 *   .ts-kicker                                            eyebrow label (cyan, uppercase)
 *   .ts-doccard                                           document card (cyan top bar + footer row)
 *   .ts-guarantee                                         guarantee strip (bordered, cyan check)
 *   .ts-offers > .ts-offer (.ts-badge-free .ts-chip)      tri-offer cards
 *   .ts-personas > .ts-persona--sky/-ocean/-midnight/-ledger   persona router cards
 *   .ts-faq (details/summary)                             accordion
 *   .ts-table (.ts-col-us)                                comparison table, zebra + tinted "us" column
 *   .ts-steps                                             numbered step cards
 *   .ts-facts                                             hairline-separated fact row
 *   .ts-split / .ts-imgcard                               two-column split / bordered image card
 *   .ts-painlist                                          pain -> response cards
 *   .ts-index                                             hairline index list
 *   .ts-btn-secondary / .ts-btn-ghost                     button variants
 */

:root {
  --site-primary: #334155;      /* fallback; P1 seeds #37C4F5 */
  --site-interactive: #1d4ed8;  /* fallback; P1 seeds #0C7A9E */
  --site-font: system-ui, sans-serif;

  --ts-primary-hover: #26a9d6;  /* real-site button hover (darker cyan) */
  --ts-fg: #555555;             /* body */
  --ts-heading: #333333;        /* headings */
  --ts-bg: #ffffff;
  --ts-bg-alt: #f4f4f4;         /* off-white alternating band + footer */
  --ts-border: #e3e3e3;
  --ts-hero-overlay: rgba(24, 24, 24, 0.62);
  --ts-hero-bg: #1b2b34;        /* dark base behind the hero (photo optional via SiteHero) */
  --ts-navy: #16303f;           /* dark content band (ocean/midnight washes) */
  --ts-navy-deep: #102532;
  --ts-max-width: 1170px;       /* Bootstrap 3 container */
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--site-font);
  font-size: 14px;               /* original: body 14px/1.4 #555 */
  line-height: 1.5;
  color: var(--ts-fg);
  background: var(--ts-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ts-heading);
  font-weight: 600;
  letter-spacing: -0.02em;       /* original heading tracking */
  margin: 0 0 0.5em;
  line-height: 1.15;
}
/* Original scale: 30/25/22 mobile → 35/30/26 ≥992 → 45/35/30 ≥1200 */
h1 { font-size: 30px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
@media (min-width: 992px) {
  h1 { font-size: 35px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
}
@media (min-width: 1200px) {
  h1 { font-size: 45px; }
  h2 { font-size: 35px; }
  h3 { font-size: 26px; }
}
p { margin: 0 0 1em; }

a { color: var(--site-interactive); text-decoration: none; }
a:hover, a:focus { color: #c4570f; text-decoration: none; } /* real-site orange link hover */

:focus-visible { outline: 3px solid var(--site-interactive); outline-offset: 2px; }

img { max-width: 100%; height: auto; }

.ts-container {
  max-width: var(--ts-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ── Utility bar (thin top strip) ─────────────────────────── */
.ts-utilitybar {
  background: var(--ts-bg-alt);
  border-bottom: 1px solid var(--ts-border);
  font-size: 13px;
}
.ts-utilitybar .ts-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  min-height: 34px;
}
.ts-utilitybar a { color: var(--ts-heading); }
.ts-utilitybar a:hover { color: var(--site-interactive); }
.ts-login-link::before { content: "\1F464"; margin-right: 0.35rem; } /* user glyph */

/* ── Header (sticky white bar) ───────────────────────────── */
.ts-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ts-bg);
  border-bottom: 1px solid var(--ts-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.ts-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  flex-wrap: wrap;
}
.ts-logo { display: inline-flex; align-items: center; }
.ts-logo img { max-height: 46px; width: auto; display: block; }
.ts-logo-text { font-size: 1.3rem; font-weight: 700; color: var(--ts-heading); }
.ts-nav { flex: 1; }
/* The OC Menu shape renders <nav><ul class="menu ...">; nested dropdown lists carry no class. */
.ts-nav ul.menu { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.ts-nav a { color: var(--ts-heading); font-size: 15px; font-weight: 500; display: inline-block; padding: 0.4rem 0; }
.ts-nav a:hover, .ts-nav a:focus { color: var(--site-primary); }

/* Dropdown nav (CSS-only, V1 styling — square panel): opens on hover/focus-within. */
.ts-nav ul.menu > li { position: relative; }
.ts-nav ul.menu > li > ul {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 260px;
  margin: 0;
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.12);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  z-index: 600;
}
.ts-nav ul.menu > li:hover > ul,
.ts-nav ul.menu > li:focus-within > ul { display: flex; }
.ts-nav ul.menu > li:has(> ul) > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.4rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  padding: 2.5px;
  transform: rotate(45deg) translateY(-2px);
}
.ts-nav ul.menu > li > ul a { display: block; padding: 0.5rem 1rem; font-weight: 500; }
.ts-nav ul.menu > li > ul a:hover { background: var(--ts-bg-alt); color: var(--site-interactive); }
.ts-header-actions { display: flex; align-items: center; gap: 1rem; }
.ts-header .ts-login-link { color: var(--ts-heading); font-size: 14px; font-weight: 500; }
.ts-header .ts-login-link:hover { color: var(--site-primary); }

/* ── Buttons (original .btn: square, 12px 15px, 14px/600) ── */
.ts-btn {
  display: inline-block;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.ts-btn:active { transform: translateY(1px); }
.ts-btn-primary { background: var(--site-primary); color: #ffffff; }
.ts-btn-primary:hover, .ts-btn-primary:focus { background: var(--ts-primary-hover); color: #ffffff; }
.ts-btn-onfill { background: #ffffff; color: var(--ts-heading); }
.ts-btn-onfill:hover { background: #f0f0f0; color: var(--ts-heading); }
.ts-btn-secondary {
  background: transparent;
  color: var(--site-interactive);
  box-shadow: inset 0 0 0 1px var(--site-interactive);
}
.ts-btn-secondary:hover, .ts-btn-secondary:focus { background: var(--ts-bg-alt); color: var(--site-interactive); }
.ts-btn-ghost {
  background: transparent;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.ts-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* ── Hero (full-bleed photo banner, dark overlay, white left copy — original .apc.banner) ── */
.ts-main { min-height: 55vh; }
.ts-hero {
  position: relative;
  overflow: hidden;
  background: var(--ts-hero-bg);
  color: #ffffff;
  padding: 5rem 0;
}
.ts-hero-photo { padding: 7rem 0; }
/* CMS banner photo as a real <img> (CSP img-src 'self'); overlay + copy stack above it. */
.ts-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.ts-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ts-hero-overlay);
  z-index: 1;
}
/* Photo heroes get a left-weighted gradient so the white copy stays legible over bright
   imagery (the flat wash isn't enough on busy photos). */
.ts-hero-photo::before {
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.6) 55%, rgba(18, 18, 18, 0.35) 100%);
}
.ts-hero .ts-note { color: rgba(255, 255, 255, 0.88); font-style: normal; }
.ts-hero .ts-container { position: relative; z-index: 2; max-width: var(--ts-max-width); }
.ts-hero-inner { max-width: 62%; animation: ts-rise 0.55s ease-out both; }
.ts-hero h1 { color: #ffffff; max-width: 20ch; }
@keyframes ts-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ts-hero-inner { animation: none; }
}
.ts-kicker {
  color: var(--site-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.ts-hero-sub { color: rgba(255, 255, 255, 0.92); font-size: 1.15rem; max-width: 60ch; }
.ts-hero-footnote { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-top: 1rem; max-width: 60ch; }
.ts-hero .ts-btn { margin-top: 0.25rem; }
@media (max-width: 860px) {
  .ts-hero { padding: 3rem 0; }
  .ts-hero-inner { max-width: 100%; }
}

/* ── Section bands ───────────────────────────────────────── */
.ts-pagehead {
  background: var(--ts-bg-alt);
  border-bottom: 1px solid var(--ts-border);
  padding: 3rem 0;
}
.ts-pagehead .ts-container { max-width: 820px; }
.ts-pagehead h1 { margin: 0; }
.ts-page-textlead .ts-richtext { padding: 1.25rem 0; }
.ts-page-textlead .ts-richtext:first-of-type { padding-top: 2rem; }

.ts-stats { background: var(--ts-bg-alt); padding: 2.5rem 0; }
.ts-stats-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.ts-stat { flex: 1 1 220px; }
.ts-stat-value { font-size: 2.1rem; font-weight: 700; color: var(--site-primary); margin: 0; letter-spacing: -0.02em; }
.ts-stat-label { font-weight: 600; color: var(--ts-heading); margin: 0 0 0.25em; }
.ts-stat-caption { font-size: 0.9rem; margin: 0; color: var(--ts-fg); }

.ts-cardband { padding: 3.5rem 0; }
.ts-cardband:nth-of-type(even) { background: var(--ts-bg-alt); }
.ts-cardband-intro { max-width: 62ch; }
.ts-cards { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.ts-card {
  /* Cap at an even third so a trailing partial row (e.g. 5 cards = 3 + 2) keeps the same
     column width and left-aligns, instead of stretching wider than the row above. */
  flex: 1 1 300px;
  max-width: calc((100% - 3rem) / 3);
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (max-width: 980px) { .ts-card { max-width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .ts-card { max-width: 100%; } }
/* A band with EXACTLY four cards balances as 2x2 instead of orphaning the 4th card (see v1 note;
   :has() ships in all evergreen engines; older engines keep the 3+1 wrap — degraded, not broken). */
@media (min-width: 981px) {
  .ts-cards:has(> .ts-card:nth-child(4):last-child) > .ts-card {
    flex-basis: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}
.ts-card:hover {
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.1);
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .ts-card, .ts-card:hover, .ts-offer, .ts-offer:hover, .ts-persona, .ts-persona:hover { transform: none; transition: none; }
}
.ts-card h3 { margin-bottom: 0.4em; }
.ts-card-link { font-weight: 600; }

/* ── Rich text sections + washes ─────────────────────────── */
.ts-richtext { padding: 2.5rem 0; }
.ts-richtext .ts-container { max-width: 820px; }
.ts-richtext h2 { margin-top: 1.2em; }
.ts-richtext h2:first-child, .ts-richtext .ts-kicker + h2 { margin-top: 0; }
.ts-richtext .ts-kicker { margin-top: 0; }
/* Marketing-width rich sections opt in with .ts-wide on any inner element. */
.ts-richtext:has(.ts-wide) .ts-container { max-width: var(--ts-max-width); }
.ts-richtext:has(.ts-wide) { padding: 3.5rem 0; }
/* Section washes: the wash class sits on an inner div; :has() paints the full-bleed section.
   V1 language: every light wash is the alternating grey; ocean/midnight are enterprise navies. */
.ts-richtext:has(.ts-band-dawn),
.ts-richtext:has(.ts-band-sky),
.ts-richtext:has(.ts-band-alt) { background: var(--ts-bg-alt); }
.ts-richtext:has(.ts-band-ocean),
.ts-richtext:has(.ts-band-midnight) { color: rgba(255, 255, 255, 0.82); }
.ts-richtext:has(.ts-band-ocean) { background: var(--ts-navy); }
.ts-richtext:has(.ts-band-midnight) { background: var(--ts-navy-deep); }
.ts-richtext:has(.ts-band-ocean) h1, .ts-richtext:has(.ts-band-ocean) h2,
.ts-richtext:has(.ts-band-ocean) h3, .ts-richtext:has(.ts-band-ocean) h4,
.ts-richtext:has(.ts-band-midnight) h1, .ts-richtext:has(.ts-band-midnight) h2,
.ts-richtext:has(.ts-band-midnight) h3, .ts-richtext:has(.ts-band-midnight) h4 { color: #ffffff; }
.ts-richtext:has(.ts-band-ocean) a:not(.ts-btn),
.ts-richtext:has(.ts-band-midnight) a:not(.ts-btn) { color: var(--site-primary); }
.ts-richtext:has(.ts-band-ocean) a:not(.ts-btn):hover,
.ts-richtext:has(.ts-band-midnight) a:not(.ts-btn):hover { color: #ffffff; }
.ts-richtext:has(.ts-band-ocean) .ts-note,
.ts-richtext:has(.ts-band-midnight) .ts-note { color: rgba(255, 255, 255, 0.7); }
.ts-richtext:has(.ts-band-ocean) .ts-stat-label,
.ts-richtext:has(.ts-band-midnight) .ts-stat-label { color: #ffffff; }
.ts-richtext:has(.ts-band-ocean) .ts-stat-caption,
.ts-richtext:has(.ts-band-midnight) .ts-stat-caption { color: rgba(255, 255, 255, 0.7); }
.ts-richtext:has(.ts-band-ocean) .ts-checklist li::before,
.ts-richtext:has(.ts-band-midnight) .ts-checklist li::before { color: var(--site-primary); }
.ts-richtext:has(.ts-band-ocean) .ts-imgcard,
.ts-richtext:has(.ts-band-midnight) .ts-imgcard {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}
.ts-richtext:has(.ts-band-ocean) .ts-imgcard figcaption,
.ts-richtext:has(.ts-band-midnight) .ts-imgcard figcaption { color: rgba(255, 255, 255, 0.7); }
.ts-richtext:has(.ts-band-ocean) .ts-doccard,
.ts-richtext:has(.ts-band-midnight) .ts-doccard {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}
.ts-richtext:has(.ts-band-ocean) .ts-guarantee,
.ts-richtext:has(.ts-band-midnight) .ts-guarantee {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}
.ts-richtext:has(.ts-band-ocean) .ts-steps > li,
.ts-richtext:has(.ts-band-midnight) .ts-steps > li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.ts-richtext:has(.ts-band-ocean) .ts-steps h3,
.ts-richtext:has(.ts-band-midnight) .ts-steps h3 { color: #ffffff; }

/* Full-width cyan CTA strip (real-site .cta-strip.c1-bg) */
.ts-ctaband {
  padding: 3rem 0;
  background: var(--site-primary);
  color: #ffffff;
  text-align: center;
}
.ts-ctaband h2 { color: #ffffff; }
.ts-ctaband-sub { color: rgba(255, 255, 255, 0.95); max-width: 60ch; margin: 0 auto 1.25rem; }
.ts-ctaband .ts-btn-primary { background: #ffffff; color: var(--ts-heading); }
.ts-ctaband .ts-btn-primary:hover { background: #f0f0f0; color: var(--ts-heading); }

/* ── Forms (themes any module form in the content zone — e.g. the Licence Health Check
      request at {tenant}/healthcheck; markup is label+input siblings, no wrappers) ── */
.ts-main form {
  max-width: 640px;
  margin: 2rem auto 3rem;
  padding: 2rem;
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
}
.ts-main form label {
  display: block;
  margin: 1.1rem 0 0.35rem;
  font-weight: 600;
  color: var(--ts-heading);
}
.ts-main form label:first-of-type { margin-top: 0; }
.ts-main form input[type="text"],
.ts-main form input[type="email"],
.ts-main form input[type="tel"],
.ts-main form input:not([type]),
.ts-main form select,
.ts-main form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: var(--site-font);
  font-size: 14px;
  color: var(--ts-heading);
  background: var(--ts-bg);
  border: 1px solid #c0cad6;
  border-radius: 0;
}
.ts-main form textarea { min-height: 110px; resize: vertical; }
.ts-main form input:focus,
.ts-main form select:focus,
.ts-main form textarea:focus {
  outline: 3px solid var(--site-interactive);
  outline-offset: 0;
  border-color: var(--site-interactive);
}
.ts-main form button[type="submit"],
.ts-main form input[type="submit"],
.ts-main form button:not([type]) {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 24px;
  font-family: var(--site-font);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--site-primary);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.ts-main form button[type="submit"]:hover,
.ts-main form input[type="submit"]:hover,
.ts-main form button:not([type]):hover { background: var(--ts-primary-hover); }
.ts-main form .field-validation-error,
.ts-main form .validation-summary-errors {
  color: #a94442;                /* original validation red */
  font-size: 13px;
  display: block;
  margin-top: 0.25rem;
}
.ts-main form h1 { font-size: 30px; }
.ts-main > h1 {
  max-width: 640px;
  margin: 2.5rem auto 0.5rem;
  padding: 0 15px;
  font-size: 30px;
  text-align: center;
}
.ts-main > p {
  max-width: 640px;
  margin: 0 auto 1rem;
  padding: 0 15px;
  text-align: center;
  color: var(--ts-fg);
}
.ts-main:has(form) > h1 { text-align: left; }
.ts-main:has(form) { padding-bottom: 3rem; }

/* ── Rich-text house classes (V1 originals) ──────────────── */
.ts-checklist { list-style: none; padding: 0; }
.ts-checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.6em; }
.ts-checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--site-primary); font-weight: 700; }

.ts-tiers { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0; padding: 0; list-style: none; }
.ts-tiers > li { flex: 1 1 280px; border: 1px solid var(--ts-border); padding: 1.25rem; background: var(--ts-bg); }

.ts-note { font-size: 0.92rem; color: var(--ts-fg); font-style: italic; }

/* ── V2-content house classes, V1 design language ────────── */

/* Document card — "everything in writing" as an artifact: cyan top bar + small footer row. */
.ts-doccard {
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
  padding: 1.5rem;
  margin: 1.25rem 0;
}
.ts-doccard-footer {
  border-top: 1px solid var(--ts-border);
  margin-top: 1rem;
  padding-top: 0.75rem;
  font-size: 13px;
  color: var(--ts-fg);
}

/* Guarantee strip — bordered box, cyan check. */
.ts-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-left: 3px solid var(--site-primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--ts-heading);
  font-size: 15px;
}
.ts-guarantee::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: var(--site-primary);
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Chips (time / effort) + FREE badge — compact square labels. */
.ts-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 1rem; padding: 0; list-style: none; }
.ts-chip {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--ts-border);
  background: var(--ts-bg-alt);
  color: var(--ts-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
a.ts-chip:hover { border-color: var(--site-interactive); color: var(--site-interactive); }
.ts-badge-free {
  display: inline-block;
  padding: 3px 10px;
  background: var(--site-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Tri-offer chooser cards — V1 card idiom. */
.ts-offers { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.ts-offer {
  flex: 1 1 300px;
  max-width: calc((100% - 3rem) / 3);
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ts-offer:hover { box-shadow: 0 10px 24px rgba(24, 24, 24, 0.1); transform: translateY(-3px); }
.ts-offer img { display: block; margin-bottom: 1rem; border: 1px solid var(--ts-border); }
.ts-offer .ts-btn { margin-top: auto; align-self: flex-start; }
.ts-offer ul:not(.ts-chips) { padding-left: 1.2rem; margin: 0 0 1rem; }
.ts-offer li { margin-bottom: 0.35em; }
@media (max-width: 980px) { .ts-offer { max-width: 100%; } }

/* Persona router cards — top accent bar per persona, V1 card body. */
.ts-personas { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.ts-persona {
  flex: 1 1 260px;
  max-width: calc((100% - 1.5rem) / 2);
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 4px solid var(--site-primary);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ts-persona:hover { box-shadow: 0 10px 24px rgba(24, 24, 24, 0.1); transform: translateY(-3px); }
.ts-persona--sky { border-top-color: var(--site-primary); }
.ts-persona--ocean { border-top-color: var(--ts-navy); }
.ts-persona--midnight {
  border-top-color: var(--site-primary);
  background: var(--ts-navy-deep);
  color: rgba(255, 255, 255, 0.82);
}
.ts-persona--midnight h3, .ts-persona--midnight h4 { color: #ffffff; }
.ts-persona--midnight a { color: var(--site-primary); }
.ts-persona--midnight a:hover { color: #ffffff; }
.ts-persona--ledger { border-top-color: var(--ts-heading); }
@media (max-width: 640px) { .ts-persona { max-width: 100%; } }

/* FAQ accordion — native details/summary, no JS. */
.ts-faq { max-width: 760px; }
.ts-faq details { border-bottom: 1px solid var(--ts-border); padding: 0.3rem 0; }
.ts-faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ts-heading);
  padding: 0.55rem 1.75rem 0.55rem 0;
  position: relative;
  list-style: none;
}
.ts-faq summary::-webkit-details-marker { display: none; }
.ts-faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--site-interactive);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.ts-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ts-faq details p { max-width: 65ch; padding-bottom: 0.6rem; }

/* Comparison table — navy header, zebra rows, tinted "us" column. */
.ts-tablewrap { overflow-x: auto; margin: 1.5rem 0; }
.ts-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.ts-table th, .ts-table td { padding: 0.7rem 0.9rem; text-align: left; border: 1px solid var(--ts-border); }
.ts-table thead th { background: var(--ts-navy); color: #ffffff; border-color: rgba(255, 255, 255, 0.16); }
.ts-table tbody tr:nth-child(even) { background: var(--ts-bg-alt); }
.ts-table tbody .ts-col-us { background: #eaf7fd; }
/* The "us" header cell stays on the navy header row — a light tint there would leave white
   header text unreadable; the cyan underline marks the column instead. */
.ts-table thead th.ts-col-us { background: var(--ts-navy); color: #ffffff; box-shadow: inset 0 -3px 0 var(--site-primary); }

/* Numbered step cards. */
.ts-steps { display: flex; gap: 1.5rem; flex-wrap: wrap; counter-reset: ts-step; margin: 1.5rem 0; padding: 0; list-style: none; }
.ts-steps > li {
  flex: 1 1 260px;
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-top: 3px solid var(--site-primary);
  padding: 1.5rem;
  counter-increment: ts-step;
}
.ts-steps > li::before {
  content: "0" counter(ts-step);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--site-interactive);
  margin-bottom: 0.5rem;
}

/* Hairline fact row (credentials, quote terms). */
.ts-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin: 1.25rem 0; padding: 0; list-style: none; font-size: 13px; }
.ts-facts li { padding: 0 1rem; border-left: 1px solid var(--ts-border); }
.ts-facts li:first-child { padding-left: 0; border-left: 0; }
.ts-richtext:has(.ts-band-ocean) .ts-facts li,
.ts-richtext:has(.ts-band-midnight) .ts-facts li { border-color: rgba(255, 255, 255, 0.25); }

/* Two-column copy/image split + bordered image card. */
.ts-split { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
.ts-split > * { flex: 1 1 380px; min-width: 0; }
.ts-split-media img, .ts-imgcard img { display: block; width: 100%; }
.ts-imgcard {
  border: 1px solid var(--ts-border);
  background: var(--ts-bg);
  box-shadow: 0 2px 8px rgba(24, 24, 24, 0.06);
}
.ts-imgcard figcaption { padding: 0.7rem 1rem; font-size: 13px; color: var(--ts-fg); }
figure.ts-imgcard { margin: 0; }

/* Pain -> response cards ("Sound familiar?"). */
.ts-painlist { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.5rem 0; padding: 0; list-style: none; }
.ts-painlist > li {
  flex: 1 1 300px;
  max-width: calc((100% - 1.5rem) / 2);
  background: var(--ts-bg);
  border: 1px solid var(--ts-border);
  border-left: 3px solid var(--site-primary);
  padding: 1.5rem;
}
.ts-painlist > li strong { display: block; color: var(--ts-heading); font-size: 16px; margin-bottom: 0.35em; }
.ts-painlist .ts-pain-fix { color: var(--site-interactive); font-weight: 600; margin: 0.5rem 0 0; }
.ts-painlist .ts-pain-fix::before { content: "\2192  "; }
@media (max-width: 640px) { .ts-painlist > li { max-width: 100%; } }

/* Ledger index list (procurement supply catalogue). */
.ts-index { margin: 1.5rem 0; padding: 0; list-style: none; }
.ts-index li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--ts-border);
  transition: background-color 0.15s ease;
}
.ts-index li:first-child { border-top: 1px solid var(--ts-border); }
.ts-index li:hover { background: var(--ts-bg-alt); }
.ts-index a { font-weight: 600; white-space: nowrap; }

/* ── Footer (grey, V1 palette; V2 columns rendered from the nested footer menu) ── */
.ts-footer {
  margin-top: 0;
  background: var(--ts-bg-alt);
  border-top: 1px solid var(--ts-border);
  padding: 2.5rem 0 1.5rem;
}
.ts-footer-cols { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.ts-footer-col { flex: 1 1 220px; }
.ts-footer-menucols { flex: 3 1 480px; }
.ts-footer-col h4 { font-size: 16px; color: var(--ts-heading); margin-bottom: 0.6em; }
.ts-footer-col p, .ts-footer-col li { font-size: 14px; margin: 0 0 0.35em; }
.ts-footer-nav ul { list-style: none; margin: 0; padding: 0; }
.ts-footer-nav li { margin-bottom: 0.35em; }
.ts-footer-nav a { color: var(--ts-fg); font-size: 14px; }
.ts-footer-nav a:hover { color: var(--site-interactive); }
/* Nested footer menu: top-level items render as column groups (root list = ul.menu, see nav). */
.ts-footer-nav ul.menu { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.ts-footer-nav ul.menu > li { flex: 1 1 160px; }
.ts-footer-nav ul.menu > li > a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ts-heading);
  margin-bottom: 0.7em;
  pointer-events: none; /* column headings are '#' anchors — render as labels */
}
.ts-footer-nav ul.menu > li > ul { margin-top: 0.25rem; padding: 0; list-style: none; }
.ts-footer .ts-social a { font-weight: 600; color: var(--site-interactive); }
.ts-footer .ts-social a:hover { color: #c4570f; }
.ts-footer-brand img { max-height: 40px; width: auto; display: block; margin-bottom: 0.75rem; }
.ts-footer-brand .ts-btn { margin-top: 0.5rem; }
.ts-footer-legal {
  border-top: 1px solid var(--ts-border);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 13px;
  color: var(--ts-fg);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Stacked mobile header: logo row → horizontal wrap nav → full-width CTA. */
  .ts-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 0;
  }
  .ts-nav { width: 100%; }
  .ts-nav ul.menu { gap: 0.4rem 1.1rem; }
  /* CSS-only mobile nav: dropdown panels render inline (no absolute positioning). */
  .ts-nav ul.menu > li > ul {
    position: static;
    display: flex;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.9rem;
    background: transparent;
  }
  .ts-header-actions { width: 100%; }
  .ts-header-cta { display: block; width: 100%; text-align: center; }
  .ts-cards, .ts-stats-row, .ts-footer-cols, .ts-offers, .ts-personas { gap: 1.25rem; }
  .ts-split { gap: 1.5rem; }
}
