/* ==========================================================================
   Skedula 2026 Design System
   High-Trust Institutional B2B Financial Architecture
   ========================================================================== */

:root {
  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Neutral Canvas & Surfaces */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-muted: #e2e8f0;
  --bg-card: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-card: #0f172a;
  --bg-dark-elevated: #1e293b;
  
  /* High-Gravity Text Palette */
  --text-main: #090d16;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-dark-muted: #cbd5e1;
  
  /* Primary Brand: Authoritative Ink Slate with Precision Sapphire Highlights */
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --primary-active: #020617;
  --primary-light: #f1f5f9;
  
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-light: #eff6ff;
  --accent-border: #bfdbfe;
  
  /* Statutory Compliance Green */
  --success: #059669;
  --success-hover: #047857;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --success-text: #166534;
  
  /* Advisory Amber */
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #92400e;
  
  /* Penalty / Trap Red */
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;
  
  /* Hairline Borders */
  --border: #e2e8f0;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-dark: #cbd5e1;
  --border-dark-subtle: rgba(255, 255, 255, 0.12);
  
  /* Elevations & Bevels */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.12);
  --bevel-card: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  
  /* Geometry */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* A jump to an id lands below the sticky header (73px), not under it */
  scroll-padding-top: 5.5rem;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-secondary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tabular figures for financial and legal precision */
.tabular,
.risk-stat,
.pack-price,
.plan-price,
.price-tag-big,
table td,
.trap-col,
.badge-metric {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tabler Icon Helper */
.ti {
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.15em;
}

.ti-spin {
  animation: ti-spin 1s infinite linear;
}
@keyframes ti-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

/* The narrow-screen menu's groups */
.nav-menu-group { padding: .45rem .85rem .2rem; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); }
.nav-menu-two-line span { display: flex; flex-direction: column; line-height: 1.3; }
.nav-menu-two-line small { font-size: .8rem; font-weight: 500; color: var(--text-muted); margin-top: .15rem; }
.nav-menu-panel a.nav-menu-suite { font-size: .86rem; color: var(--accent); font-weight: 650; background: var(--accent-light); }
.nav-menu-sep { height: 1px; background: var(--border); margin: .4rem .5rem; flex-shrink: 0; }

/* The header may run wider than the page, whose content stays at --max-width, so that the bar's five items fit
   (owner, 25 November 2026). The SME Packs panel (.packs-wide) spans the same width */
.site-header > .container {
  max-width: 1280px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none !important;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xs);
}

.logo-badge {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 750;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  flex-shrink: 0;
}

/* The bar's own links, not the SME Packs panel's, which it holds */
.nav-links > li > a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.2rem;
  transition: all 0.15s;
  position: relative;
}
.nav-links > li > a:hover {
  color: var(--text-main);
  text-decoration: none;
}
.nav-links > li > a.active {
  color: var(--text-main);
}
.nav-links > li > a.active::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
}

/* SME Packs in the bar: a native disclosure that opens the panel of the three packs on a click, Enter or Space,
   never on hover, and with no script (nav.js only adds ways to close it). The panel is the approved mockup's (the
   site menu's design, §2 and Appendix A). It spans the header's content, from the logo to the Suite button, and
   is placed against the sticky header, so .nav-packs and its li stay position: static */
.nav-packs-trigger {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  padding: 0.4rem 0.2rem;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.92rem;
  /* The height of the font, as an inline link's box has, so that the underline sits where the links' does */
  line-height: 1.3;
  transition: color 0.15s;
}
.nav-packs-trigger::-webkit-details-marker {
  display: none;
}
.nav-packs-trigger::marker {
  content: "";
}
.nav-packs-trigger i {
  font-size: 0.95rem;
  transition: transform 0.15s;
}
.nav-packs-trigger:hover,
.nav-packs-trigger.active,
.nav-packs[open] > .nav-packs-trigger {
  color: var(--text-main);
}
.nav-packs-trigger.active::after,
.nav-packs[open] > .nav-packs-trigger::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
}
.nav-packs[open] > .nav-packs-trigger i {
  transform: rotate(180deg);
}
.packs-wide a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.packs-wide {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  /* The header container's content width: its 1280px, less its padding */
  width: calc(min(1280px, 100%) - 3rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 120;
  /* On a short or zoomed window the panel scrolls inside itself, so the Suite strip stays within reach */
  max-height: calc(100vh - 5.5rem);
  max-height: calc(100dvh - 5.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.packs-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pack-col {
  padding: 1.4rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pack-col + .pack-col {
  border-left: 1px solid var(--border);
}
.pack-col-num {
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
}
.pack-col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.pack-col-head a {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.pack-col-price {
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.pack-col-when {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.4rem;
  line-height: 1.45;
  margin-top: -0.35rem;
  /* Only the column's gap below it, as under the mockup's <div>: not a paragraph's margin */
  margin-bottom: 0;
}
.pack-lead {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--text-main);
}
.pack-lead-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.pack-lead strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
}
.pack-lead small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.2rem;
}
.pack-also {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--text-body);
}
.pack-also i {
  color: var(--success);
}
.pack-col-more {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 700;
}
.packs-suite {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.95rem 1.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.suite-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}
.suite-link > i {
  color: var(--accent);
  font-size: 1.1rem;
}
.suite-link strong {
  color: var(--accent);
  font-weight: 750;
}
.packs-wide .pack-col-head a:hover {
  color: var(--accent);
  text-decoration: none;
}
.packs-wide .pack-lead:hover {
  color: var(--text-main);
  border-color: var(--accent);
  text-decoration: none;
}
.packs-wide .suite-link:hover {
  color: var(--text-main);
  text-decoration: none;
}
.packs-wide .suite-link:hover strong {
  color: var(--accent-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-portal-link {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-portal-link:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
  text-decoration: none;
}

/* Header menu for narrow screens: a native disclosure, so it works without script and from the keyboard */
.nav-menu {
  display: none;
  position: relative;
}
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav-menu summary::-webkit-details-marker {
  display: none;
}
.nav-menu summary::marker {
  content: "";
}
.nav-menu[open] summary {
  background: var(--bg-subtle);
  border-color: #94a3b8;
}
.nav-menu summary:focus-visible,
.nav-menu-panel a:focus-visible,
.nav-packs-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(19.5rem, calc(100vw - 2rem));
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  z-index: 110;
  /* On a short screen, such as a phone held sideways, the menu scrolls inside itself, so every link stays reachable */
  max-height: calc(100vh - 5.5rem);
  max-height: calc(100dvh - 5.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-menu-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-menu-panel a i {
  color: var(--text-muted);
}
.nav-menu-panel a:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  text-decoration: none;
}
.nav-menu-panel a.active {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 750;
}
.nav-menu-panel a.active i {
  color: var(--accent);
}
.nav-portal-link.active {
  color: var(--text-main);
  background: var(--bg-subtle);
}
.nav-menu-panel .nav-menu-cta {
  justify-content: center;
  margin-top: 0.35rem;
  background: var(--primary);
  color: #ffffff;
}
.nav-menu-panel .nav-menu-cta:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.15);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: var(--border-dark);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: #94a3b8;
  color: var(--text-main);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}

.btn-success {
  background-color: var(--success);
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(5, 150, 105, 0.2);
}
.btn-success:hover {
  background-color: var(--success-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-invert {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16);
}
.btn-invert:hover {
  background-color: #f1f5f9;
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.25);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f8fafc 85%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 650;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.hero-pill .pill-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
  display: inline-block;
}

.hero h1 {
  font-size: 3.15rem;
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-main);
  max-width: 1020px;
  margin: 0 auto 1.4rem;
}

.hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  background: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs), var(--bevel-card);
}
.trust-badge i {
  color: var(--accent);
  font-size: 1.15rem;
}
.trust-badge strong {
  color: var(--text-main);
  font-weight: 750;
}

/* ==========================================================================
   Persona Navigator Cards
   ========================================================================== */

.persona-section {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0;
}
.persona-head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.persona-head h2 {
  font-size: 1.55rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
}
.persona-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* The home page's six tiles: three by two, then two by three, then one column */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.persona-section .persona-title span {
  text-wrap: balance;
}
@media (max-width: 900px) {
  .persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* On a phone each tile puts its icon beside its title, so the six fit in little more than a screen */
@media (max-width: 600px) {
  .persona-section {
    padding: 2rem 0;
  }
  .persona-head {
    margin-bottom: 1.25rem;
  }
  .persona-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .persona-section .persona-card {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 1rem;
  }
  .persona-section .persona-icon-wrap {
    grid-row: 1 / span 2;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
  }
  .persona-section .persona-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .persona-section .persona-desc {
    font-size: 0.85rem;
    line-height: 1.45;
  }
}

.persona-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.5rem;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs), var(--bevel-card);
}
.persona-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.persona-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-xs);
}

.persona-title {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.persona-arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: transform 0.15s ease, color 0.15s ease;
}
.persona-card:hover .persona-arrow {
  color: var(--text-main);
  transform: translateX(3px);
}

.persona-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Quantified Risk & Enforcement Section
   ========================================================================== */

.risk-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-head h2 {
  font-size: 2.35rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.risk-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs), var(--bevel-card);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.risk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.risk-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  align-self: flex-start;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.risk-card.danger .risk-tag {
  color: var(--danger-text);
  background: var(--danger-bg);
  border-color: var(--danger-border);
}
.risk-card.warning .risk-tag {
  color: var(--warning-text);
  background: var(--warning-bg);
  border-color: var(--warning-border);
}
.risk-card.primary .risk-tag {
  color: var(--accent);
  background: var(--accent-light);
  border-color: var(--accent-border);
}

.risk-stat {
  font-size: 2.4rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.risk-title {
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}

.risk-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.risk-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.6rem;
  opacity: 0.85;
}

/* ==========================================================================
   SME Packs
   ========================================================================== */

.catalog-section {
  padding: 4.5rem 0;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.pack-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pack-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

/* Shared note under a pack grid: keeps Excel requirements and filing scope in one clear place */
.scope-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.35rem;
  margin: -1.75rem 0 2.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  box-shadow: var(--shadow-xs);
}
.scope-note i {
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.scope-note strong {
  color: var(--text-main);
}

.pack-header {
  margin-bottom: 1.25rem;
}

.pack-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 750;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pack-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.pack-price {
  font-size: 2rem;
  font-weight: 850;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.85rem 0;
}
.pack-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.pack-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.55;
}

.pack-features {
  list-style: none;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
}
.pack-features li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  line-height: 1.55;
}
.pack-features li i.feature-check {
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: var(--success);
  font-size: 1.05rem;
}

/* Each pack's rule: when the job comes up */
.pack-rule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.9rem;
  line-height: 1.4;
  min-height: 3.6rem;
}
.pack-rule i {
  color: var(--accent);
  flex-shrink: 0;
}

/* Which packs to buy */
.pack-guide {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0 2rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
}
.pack-guide h2 {
  font-size: 1.45rem;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.pack-guide h2 i {
  color: var(--accent);
}
.pack-guide > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pack-guide-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.pack-guide-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pack-guide-list a {
  color: var(--text-main);
}
.pack-guide-list span {
  font-size: 0.9rem;
  color: var(--text-body);
}
.pack-guide .pack-guide-sum {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}
.pack-guide .pack-guide-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.pack-guide-note i {
  color: var(--accent);
}

/* A card's main text and its price column, side by side until they wrap */
.flex-main {
  flex: 1;
  min-width: min(320px, 100%);
}
.flex-side {
  text-align: right;
  min-width: min(220px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* A card's buy buttons, stacked: the card payment first, PayNow under it */
.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* The four ways to buy, at the top of the pricing page. The Suite's card is the featured one: the site's
   light blue with a blue edge, never grey, which reads as disabled. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.plan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
  display: flex;
  flex-direction: column;
}
.plan-card.is-featured {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.plan-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  /* The same box as the featured card's label, so that every card's name and price line up */
  border: 1px solid transparent;
  padding: 0.18rem 0;
}
.is-featured .plan-flag,
.row-featured .plan-flag {
  color: var(--accent);
  background: #ffffff;
  border-color: var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 0.18rem 0.55rem;
}
.plan-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.plan-price {
  font-size: 1.9rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}
.plan-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0.6rem;
}
.plan-card .plan-scope {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.plan-card .buy-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}
.plan-card .btn {
  width: 100%;
  min-height: 2.75rem;
}
.plan-card .plan-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.65rem 0 0;
}
.plan-footnote {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  text-wrap: balance;
  margin: 1rem 0 2.5rem;
}

/* The workbook pages. A screenshot slot shows its picture once the file exists, until then a placeholder. */
.workbook-lead {
  max-width: 780px;
  margin: 0 auto 0.5rem;
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.7;
}
.shot {
  margin: 1.75rem 0 2.25rem;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.shot-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--bg-subtle);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
}
.shot-placeholder i {
  font-size: 2.2rem;
  color: var(--text-light);
}
.shot-placeholder code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
}
.shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}
/* The home page's two workbooks, under the chooser */
.workbooks-section {
  padding: 4rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}
.workbooks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.workbook-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
}
.workbook-panel .shot {
  width: 100%;
  margin: 0 0 1.25rem;
}
.workbook-panel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.workbook-panel p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.workbook-panel .workbook-panel-packs {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.workbook-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Two screenshots side by side, one under the other on a phone */
.shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
/* A workbook page's buy box: the pack beside the Suite, in the plan cards' style */
.workbook-buy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: left;
}
.workbook-buy-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  text-wrap: balance;
}
/* An edition page's buy box: one card in the b2b card's style */
.edition-buy { max-width: 460px; margin: 0 auto 3rem; text-align: left; }

/* The Home Pack, where business editions are listed */
.home-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
}
.home-strip-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.home-strip-text {
  flex: 1;
  min-width: min(280px, 100%);
}
.home-strip-text h3 {
  font-size: 1.3rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.home-strip-price {
  font-size: 1.15rem;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}
.home-strip-text p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Home Pack Page
   ========================================================================== */

.home-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.home-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-body);
  box-shadow: var(--shadow-xs);
}
.home-fact i {
  color: var(--success);
}
.home-buy-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: -1rem auto 1.75rem;
  max-width: 660px;
}
.home-buy-top form {
  margin: 0;
}
.home-buy-top-note {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}
.home-h2 {
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 0.5rem;
  text-align: center;
}
.home-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 1.75rem;
}
.home-q-group + .home-q-group {
  margin-top: 2rem;
}
.home-q-group-head {
  margin-bottom: 1rem;
}
.home-q-group-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.55;
  max-width: 760px;
}
.home-q-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 1.25rem;
}
.home-q {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-xs), var(--bevel-card);
  display: flex;
  flex-direction: column;
}
.home-q .persona-icon-wrap {
  margin-bottom: 1rem;
}
.home-q h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.home-q p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0;
}
.home-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 1.25rem auto 0;
}
.home-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}
.home-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.85rem 2rem;
  box-shadow: var(--shadow-xs);
}
.home-panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.home-panel h3 i {
  color: var(--accent);
}
.home-panel p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-body);
}
.home-ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.home-ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-body);
}
.home-ticks li i {
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--success);
}
.home-limits {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
}
.home-limits ol {
  list-style: none;
  counter-reset: limit;
  display: grid;
  gap: 1.1rem;
}
.home-limits li {
  counter-increment: limit;
  position: relative;
  padding-left: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}
.home-limits li::before {
  content: counter(limit);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-limits li strong {
  color: var(--text-main);
}
.home-indep {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.home-indep i {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}
.home-buy {
  margin: 3.5rem 0 0;
}
.home-buy form,
.home-buy .btn {
  width: 100%;
}
.home-buy-small {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  line-height: 1.55;
  text-align: left;
}
.home-buy-small a {
  color: #e2e8f0;
  text-decoration: underline;
}
.full-pack-banner .home-buy-small {
  margin-bottom: 0;
}
.home-faq {
  max-width: 760px;
  margin: 0 auto;
}
.home-faq h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.5rem 0 0.35rem;
}
.home-faq p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ==========================================================================
   Full Pack Feature Banner (Obsidian Institutional Canvas)
   ========================================================================== */

.full-pack-banner {
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #090d16 100%);
  color: #ffffff;
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.full-pack-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.full-pack-banner h3 {
  font-size: 2.25rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffffff;
}
.full-pack-banner p {
  color: #94a3b8;
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.zero-penalty-callout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}
.zero-penalty-title {
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  font-weight: 750;
}
.zero-penalty-callout p {
  font-size: 0.88rem;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.zero-penalty-callout p strong {
  color: #ffffff;
}

.full-pack-pricing {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
}
.price-tag-big {
  font-size: 3.4rem;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}
.price-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
/* The home banner's buy buttons, under its price and above what the Suite holds */
.full-pack-pricing .buy-actions {
  margin-bottom: 1.75rem;
}
.full-pack-pricing .btn {
  width: 100%;
}
.full-pack-pricing .home-buy-small {
  margin-top: 0;
  text-align: center;
}
/* A link in the dark banner's list: the site's blue is too dark on navy */
.full-pack-pricing .pack-features a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Under an edition card's buy buttons: a holder upgrades in the portal instead (Master Terms 7.6) */
.buy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   B2B & Engineering Editions
   ========================================================================== */

/* The home page's editions, a line each: each leads to its own page, which holds its card and buy box */
.editions-section {
  padding: 3.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.editions-section .section-head {
  margin-bottom: 1.75rem;
}
.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.edition-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
}
/* The price under the name, in all three alike: Corporate's name and price don't fit one line of a third */
.edition-line h3 {
  font-size: 1.12rem;
  font-weight: 850;
  margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.edition-line-price {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.edition-line p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.edition-line .card-more {
  margin-top: auto;
}
@media (max-width: 900px) {
  .editions-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 1.75rem;
}

.b2b-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm), var(--bevel-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.b2b-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}
.b2b-card .btn,
.pack-card .btn {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
}
/* The buy buttons sit under the price, so a jump to the card shows them; the See link follows */
.b2b-card .buy-actions,
.pack-card .buy-actions {
  margin-bottom: 1.5rem;
}

/* Which edition: how it is used (workbooks or code) against whose payroll it serves */
.edition-map {
  margin: 0 0 2.5rem;
}
.edition-map h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.edition-map h3 i {
  color: var(--accent);
}
.edition-map .table-wrap {
  margin: 1rem 0 0.75rem;
}
.edition-grid th[scope="row"] {
  width: 22%;
  background: var(--bg-secondary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-subtle);
}
.edition-grid td {
  width: 39%;
  vertical-align: top;
}
.edition-map-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* The title of /changes/, the first line of CHANGES.md rendered as Markdown */
.changes-title h1 {
  font-size: 2.75rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

/* An edition's support, and the fence it is licensed within, stated before its buy button */
.edition-support {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-body);
}
.edition-support-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.edition-support p {
  margin: 0 0 0.45rem;
}
.edition-support p:last-child {
  margin-bottom: 0;
}
.edition-fence {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  margin: 0;
}
.edition-fence i {
  color: var(--accent);
  margin-top: 0.15rem;
}
.edition-claim {
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
.edition-fence + .edition-claim {
  margin-top: 0.85rem;
}

/* ==========================================================================
   Markdown Prose in Section Pages
   ========================================================================== */

.content-body > h2,
.prose-narrow > h2 {
  margin: 2.5rem 0 0.75rem;
}
.content-body > h3,
.prose-narrow > h3 {
  margin: 1.75rem 0 0.4rem;
}
.content-body > h2:first-child,
.content-body > h3:first-child,
.prose-narrow > h2:first-child {
  margin-top: 0;
}
.content-body > ul,
.content-body > ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose-narrow {
  max-width: 860px;
}
.prose-narrow > ul,
.prose-narrow > ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
/* A narrow text column centred under a centred page head, as on the workbook pages */
.prose-center {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Tables & Data Presentation
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th, td {
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
th {
  background: var(--bg-secondary);
  font-weight: 750;
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: rgba(248, 250, 252, 0.6);
}
/* The Suite's row in the price table: the plan card's light blue and blue edge, hovered or not */
.row-featured td,
.row-featured:hover td {
  background: var(--accent-light);
}
.row-featured td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}
.row-featured .plan-flag {
  margin: 0.4rem 0 0;
}

/* ==========================================================================
   Benchmark Traps Cards
   ========================================================================== */

.trap-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs), var(--bevel-card);
}

.trap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  font-size: 0.74rem;
  font-weight: 750;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trap-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.trap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.trap-col {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.trap-col.bad {
  border-left: 4px solid var(--danger);
  background: #fffcfc;
}
.trap-col.good {
  border-left: 4px solid var(--success);
  background: #fbfdfc;
}

.trap-status-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}
.trap-col.bad .trap-status-header {
  color: var(--danger-text);
}
.trap-col.good .trap-status-header {
  color: var(--success-text);
}

/* ==========================================================================
   Customer Portal Cards & Controls
   ========================================================================== */

.portal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
}

.portal-input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: all 0.15s ease;
}
.portal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* ==========================================================================
   Inline Single-Case Reference Calculators & Guides Grid
   ========================================================================== */

.calc-box {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
  box-shadow: var(--shadow-sm), var(--bevel-card);
}
.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.calc-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-head h3 i {
  color: var(--accent);
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.calc-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}
.calc-field input,
.calc-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.calc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}
.calc-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.calc-metric-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.calc-metric-value {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.calc-metric-value.accent {
  color: var(--accent);
}
.calc-metric-value.danger {
  color: var(--danger-text);
}
.calc-metric-value.success {
  color: var(--success-text);
}
.calc-metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.calc-alert {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}
.calc-alert.good {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-text);
}
.calc-alert.danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger-text);
}
.calc-foot {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.calc-trace {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}
.calc-trace-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.calc-trace-title i {
  color: var(--accent);
}
.calc-trace-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.calc-trace-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.15rem 1rem;
  font-size: 0.87rem;
  color: var(--text-body);
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--border);
}
.calc-trace-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
/* A figure wider than the room beside its label moves below it, right-aligned (320 px phones). */
.calc-trace-list li > span:first-child {
  flex: 1 1 6rem;
  min-width: 0;
}
.calc-trace-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: break-word;
  margin-left: auto;
  text-align: right;
}
.calc-trace-source {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.calc-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.calc-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.calc-tab.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}
.calc-details {
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
}
.calc-details summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
}
.calc-details[open] summary {
  margin-bottom: 0.85rem;
}

.guides-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}
/* The home page's calculators and guides, each by its tag and title */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0.85rem;
}
.guide-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.25rem;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.18s ease;
}
.guide-card:hover {
  background: #ffffff;
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.guide-card-tag {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.guide-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem;
  margin-top: 5rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-dark-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.footer-col a {
  color: #94a3b8;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* The header keeps to one row. It has no room for the logo's badge beside the bar's five items and
   three actions (the footer keeps it); the menu takes over the bar, then the evaluation button, the
   portal label and the suite button give way to it in turn. The bar folds where its items no longer
   fit with their gaps of 1.5rem: measured in Chromium, from a window of 1253px with a 15px classic
   scrollbar (a 1238px container), so the fold is at 1260px */
.site-header .logo-badge {
  display: none;
}

@media (max-width: 1260px) {
  .nav-links {
    display: none;
  }
  .nav-menu {
    display: block;
  }
}

@media (max-width: 960px) {
  .nav-cta-free {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-portal-text {
    display: none;
  }
}

/* The plan cards go four, then two by two, then one: never three and one alone. Four only from 1151px:
   below about 1115px (with a 15px scrollbar) the Suite's name and button label no longer fit a quarter */
@media (max-width: 1150px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .plan-grid,
  .workbook-buy {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .shot-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 760px) {
  .workbooks-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .full-pack-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .trap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .btn {
    white-space: normal;
  }
  .btn-lg {
    padding: 0.85rem 1.25rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .full-pack-banner {
    padding: 2rem 1.5rem;
  }
  .flex-side {
    text-align: center;
  }
  .pack-guide,
  .home-limits,
  .home-panel {
    padding: 1.5rem 1.25rem;
  }
  .home-strip {
    padding: 1.5rem 1.25rem;
  }
  .b2b-card {
    padding: 1.75rem 1.25rem;
  }
  .edition-grid th,
  .edition-grid td {
    padding: 0.75rem 0.6rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .nav-cta-suite {
    display: none;
  }
}

/* A short pack card: the headline item that decides the purchase, then a link to the pack's page */
.pack-headline {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  margin: 0 0 1.1rem;
}
.pack-headline i {
  color: var(--accent);
}
.pack-headline a {
  color: var(--accent);
}
.card-more {
  display: inline-block;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* "Is Skedula for you?": six short exits in a grid. */
.not-for-you { padding: 1.25rem 0; border-bottom: 1px solid var(--border-subtle); }
.not-for-you h2 { font-size: 1.25rem; font-weight: 850; margin: 0 0 0.75rem; text-align: center; }
.nfy-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.nfy-grid li { font-size: 0.8rem; line-height: 1.35; color: var(--text-muted); background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 0.5rem 0.7rem; }
.nfy-grid strong { display: block; color: var(--text-main); margin-bottom: 0.2rem; }
@media (max-width: 900px) { .nfy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nfy-grid { grid-template-columns: 1fr; gap: 0.35rem; } .nfy-grid strong { display: inline; } }

/* Corporate & BPO: the uses beside the screenshot on a wide screen */
.use-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; text-align: left; }
.use-grid .shot { margin: 0; }
.use-grid ul { margin: 0; }
@media (max-width: 900px) { .use-grid { grid-template-columns: minmax(0, 1fr); } }
/* Pricing's "Already use payroll software?": the text, then the rule workbook's picture at the section's full width,
   so that its figures can be read (Plan 3 Task 11) */
.keep-software { margin: 2.5rem 0; text-align: left; }
.keep-software h3 { font-size: 1.45rem; font-weight: 850; margin: 0 0 0.5rem; }
.keep-software p { margin: 0; }
.keep-software .shot { margin: 1.25rem 0 0; }
/* The payroll workbook page: the rest of the pack beside a page of its rule book, one under the other below 900px */
.pack-book { margin: 0 0 2.5rem; align-items: start; }
.pack-book ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.supplier-facts { text-align: left; }
.supplier-facts h2 { margin: 2.5rem 0 0.75rem; }
.supplier-facts ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.supplier-facts code { overflow-wrap: anywhere; }

/* The SDK page's code: each box scrolls inside itself, so the page never scrolls sideways */
.prose-narrow pre {
  text-align: left;
  overflow-x: auto;
  max-width: 100%;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.82rem;
  line-height: 1.5;
}
.prose-narrow .table-wrap { text-align: left; }
.prose-narrow .table-wrap table { font-size: 0.85rem; }

/* Pricing's folded questions: the summary looks like the old question heading */
.faq-item {
  border-bottom: 1px solid var(--border, #d9dde3);
}
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}
.faq-item[open] > summary::before {
  transform: rotate(45deg);
}
.faq-item > summary > h3 {
  margin: 0;
  display: inline;
}
.faq-item > summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}
.faq-item[open] > summary {
  padding-bottom: 0.4rem;
}
.faq-item > :not(summary):last-child {
  margin-bottom: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > summary::before { transition: none; }
}

/* Print shows every answer, with no script: where the browser exposes the slot, it is made visible */
@media print {
  .faq-item::details-content {
    content-visibility: visible;
    display: block;
    height: auto;
  }
}

.editions-compare { text-align: center; margin: 1.5rem 0 0; }
