:root {
    --bg: #000000;
    --text: #C4C4C4;
    --text2: #E5E0E2;
    --line: #3a3a3e;
    --cherry: #E5E0E2;
    --bg-surface: #171717;
    --buy-border: #867969;
    --bg-surface-alt: #1e1e22;
    --bg-surface-input: #2a2a2e;
    --bg-surface-hover: #3a3a3e;
    --bg-content: rgba(26, 26, 30, 0.85);
    --text-heading: #e0dede;
    --text-sub: #F2F2F2;
    --text-mid: #b0aeae;
    --text-note: #794e5e;
    --text-muted: #777;
    --text-code: #b0aeae;
    --bg-code: #2e2e32;
    --bg-pre: #252528;
    --shadow-nav: 0px 3px 4px rgba(0, 0, 0, 0.2);
    --field-bg: #000000;
    --field-text: #d4d4d4;
    --node-active-bg: #2e2e32;
    --node-active-text: #e0dede;
    --receipt-selected-bg: #1a3030;
    --toolbar-bg: #252528;
    --dark: #000000;
    --text-on-dark: #E5E0E2;
    --pale-pink: #E49FCA;
    --buy: #843458;
    --wine: #782047;
    --signal: #B82158;
    --confirmed: #2E7D32;
    --neutral: #867969;
    --warm-off-white: #f4f1ed;
    --brown: #867969;
}

[data-theme="light"] {
    --bg: #ffffff;
    --text: #3B3B3B;
    --text2: #343333;
    --line: #d9d9d9;
    --cherry: #782047;
    --buy-border: #DEABC2;
    --bg-surface: #ffffff;
    --bg-surface-alt: #fafafa;
    --bg-surface-input: #ffffff;
    --bg-surface-hover: #e6e6e6;
    --bg-content: rgba(255, 255, 255, 0.65);
    --text-heading: #202020;
    --text-sub: #3B3A3A;
    --text-mid: #555757;
    --text-note: #794e5e;
    --text-muted: #999;
    --text-code: #555;
    --bg-code: #f0f0f0;
    --bg-pre: #f6f6f6;
/*    --shadow-nav: 0px 3px 4px #DBDBDB; */
    --shadow-nav: 0px 3px 4px rgba(0, 0, 0, 0.4);
    --field-bg: #000000;
    --field-text: #d4d4d4;
    --node-active-bg: #ffffff;
    --node-active-text: black;
    --receipt-selected-bg: #f0fafa;
    --toolbar-bg: #f9f9f9;
    --brown: #856C4E;
}

/* ── For Results── */

#result {
  scroll-margin-top: 20px;
}

/* Request-scoped Evidence Workspace shell. */
.evidence-workspace {
  position: relative;
  margin: 0 0 18px;
  scroll-margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--buy-border);
  border-radius: 16px;
  background: var(--bg-surface);
  color: var(--text-heading);
  box-shadow: var(--shadow-nav);
}

.evidence-workspace[hidden] { display: none; }

.evidence-workspace__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.evidence-workspace__title {
  margin: 0 0 20px;
  color: var(--text-heading);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.evidence-workspace__notice {
  margin: 5px 0 0;
  color: var(--text-mid);
  font-size: 12px;
}

.evidence-workspace__notice--guidance {
  color: #E49FCA;
}

.evidence-workspace__guidance-arrow { color: #B82158; }

.evidence-workspace__view-kind {
  text-align: right;
}

.evidence-workspace__controls {
  display: grid;
  justify-items: end;
}

.evidence-workspace__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.evidence-workspace__grid {
  --evidence-source-line: var(--line);
  --evidence-source-panel-bg: var(--bg-surface-alt);
  --evidence-source-header-bg: var(--bg-surface);
  --evidence-source-text: var(--text-heading);
  --evidence-source-text-mid: var(--text-mid);
  --evidence-source-text-muted: var(--text-muted);
  --evidence-source-code-bg: var(--bg-code);
  --evidence-source-pre-bg: var(--bg-pre);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.evidence-workspace__grid.is-light {
  --evidence-source-line: #d9d9d9;
  --evidence-source-panel-bg: #fafafa;
  --evidence-source-header-bg: #ffffff;
  --evidence-source-text: #202020;
  --evidence-source-text-mid: #555757;
  --evidence-source-text-muted: #999;
  --evidence-source-code-bg: #f0f0f0;
  --evidence-source-pre-bg: #f6f6f6;
}

.evidence-source-theme-toggle {
  grid-column: 1 / -1;
  justify-self: center;
  width: 28px;
  margin: -4px 0 -8px;
  padding: 0;
  border: 1px solid silver;
  background: transparent;
  cursor: pointer;
}

.evidence-source-theme-toggle__image {
  display: block;
  width: 100%;
  height: auto;
}

.evidence-source-theme-toggle:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 3px;
}

.evidence-workspace__signals-toggle,
.evidence-workspace__collapse-toggle,
.evidence-signals-drawer__close {
  border: 1px solid var(--buy-border);
  border-radius: 7px;
  background: var(--bg-surface-alt);
  color: var(--buy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.evidence-workspace__signals-toggle,
.evidence-workspace__collapse-toggle {
  align-self: flex-start;
  padding: 8px 10px;
  white-space: nowrap;
}

.evidence-workspace__signals-toggle:focus-visible,
.evidence-workspace__collapse-toggle:focus-visible,
.evidence-signals-drawer__close:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 2px;
}

.evidence-signals-drawer {
  position: fixed;
  z-index: 1000;
  top: 64px;
  right: 16px;
  width: min(390px, calc(100% - 32px));
  max-height: min(420px, calc(100vh - 24px));
  margin: 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--buy-border);
  border-radius: 12px;
  background: var(--bg-surface);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.evidence-signals-drawer[hidden] { display: none; }

.evidence-signals-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.evidence-signals-drawer__header:active { cursor: grabbing; }

.evidence-signals-drawer__header h3 {
  margin: 0;
}

.evidence-source-panel {
  min-width: 0;
  border: 1px solid var(--evidence-source-line);
  border-radius: 10px;
  background: var(--evidence-source-panel-bg);
  color: var(--evidence-source-text);
  overflow: hidden;
}

.evidence-source-panel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--evidence-source-line);
  background: var(--evidence-source-header-bg);
}

.evidence-source-panel__side {
  color: #E49FCA;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.evidence-source-panel__filename {
  overflow: hidden;
  color: var(--evidence-source-text-mid);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-source-panel__body {
  max-height: 580px;
  overflow: auto;
  padding: 12px;
  outline: none;
}

.evidence-source-panel__body:focus-visible {
  box-shadow: inset 0 0 0 3px var(--pale-pink);
}

.evidence-source-block {
  position: relative;
  margin: 0 0 11px;
  padding: 9px 36px 9px 10px;
  border-left: 3px solid var(--neutral);
  background: var(--evidence-source-header-bg);
  color: var(--evidence-source-text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.evidence-source-block--active {
  border-left-color: var(--signal);
  box-shadow: inset 0 0 0 1px var(--pale-pink);
}

.evidence-source-mark {
  padding: 0 1px;
  background: rgba(184, 33, 88, 0.24);
  color: inherit;
  box-shadow: inset 0 -2px 0 var(--signal);
}

.evidence-source-block__markers {
  position: absolute;
  top: 7px;
  right: 6px;
  display: grid;
  gap: 4px;
}

.evidence-source-marker,
.evidence-signal-rail__control {
  border: 1px solid var(--buy-border);
  background: var(--bg-surface);
  color: var(--text-heading);
  cursor: pointer;
  font: inherit;
}

.evidence-source-marker {
  min-width: 23px;
  min-height: 23px;
  padding: 1px 5px;
  border-radius: 999px;
  color: var(--buy);
  font-size: 11px;
  font-weight: 800;
}

.evidence-source-marker[aria-current="true"],
.evidence-signal-rail__control[aria-current="true"] {
  border-color: var(--signal);
  background: var(--signal);
  color: #fff;
}

.evidence-signal-rail__control:not([aria-current="true"]):hover {
  border-color: #E49FCA;
  color: #E49FCA;
}

.evidence-source-marker:focus-visible,
.evidence-signal-rail__control:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 2px;
}

.evidence-source-block--heading { border-left-color: var(--buy); font-weight: 750; }
.evidence-source-block--code_line,
.evidence-source-block--code_line_range {
  border-left-color: #4a6f8d;
  background: var(--evidence-source-code-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.evidence-source-block--structured_node,
.evidence-source-block--json_node {
  border-left-color: #35736c;
  background: var(--evidence-source-pre-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.evidence-source-block--table_row { border-left-color: #806b22; }
.evidence-source-block--schematic_line { border-left-color: #6d5c92; }

.evidence-source-block__locator {
  display: block;
  margin-bottom: 5px;
  color: var(--evidence-source-text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: normal;
}

.evidence-source-block__text { display: block; }
.evidence-source-panel__empty { margin: 0; padding: 12px; color: var(--evidence-source-text-mid); font-size: 13px; }
.evidence-workspace__grid.is-light .evidence-source-marker:not([aria-current="true"]) {
  border-color: #DEABC2;
  background: #fff;
  color: var(--buy);
}
.evidence-source-panel__caution { margin: 0; padding: 8px 12px; border-top: 1px solid #c9a94c; background: #fff7d6; color: #6a4d00; font-size: 12px; }

.evidence-workspace__status {
  min-height: 1.5em;
  margin: 0 0 10px;
  color: var(--text-mid);
  font-size: 12px;
}

.evidence-signal-rail {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.evidence-signal-rail__control,
.evidence-signal-rail__unresolved {
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--buy-border);
  border-radius: 7px;
  background: var(--bg-surface-alt);
  color: var(--text-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
  text-align: left;
}

.evidence-signal-rail__control--partially_mapped { border-style: dashed; }
.evidence-signal-rail__unresolved { color: var(--text-muted); }

.evidence-report-finding--active {
  box-shadow: 0 0 0 3px rgba(184, 33, 88, 0.25);
}

.evidence-report-finding > .magic_button {
  margin-top: 10px;
}

.evidence-report-finding__unavailable {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
}

@media (max-width: 768px) {
  .evidence-workspace { padding: 12px; }
  .evidence-workspace__header { display: block; }
  .evidence-workspace__view-kind { margin-top: 8px; text-align: left; }
  .evidence-workspace__controls { justify-items: start; margin-top: 10px; }
  .evidence-workspace__grid { grid-template-columns: 1fr; }
  .evidence-workspace__signals-toggle { margin-top: 10px; }
  .evidence-signals-drawer {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    max-height: min(360px, calc(100vh - 24px));
  }
  .evidence-source-panel__body { max-height: 440px; }
}

#chart {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 240px !important;
}

/* ── 0. OVERALL ASSESSMENT VALUES ── */

#versions,
#highContinuity,
#driftPoints,
#avgScore {
  color: #843458;
}

/* ── SUMMARY BOX (first card) — system status messages only ── */

#summaryBox {
  color: #A5927B;
}

/* ── RESULT-CARD TEXT (white card backgrounds) ── */

#decisionViewPanel,
#riskMatrixPanel,
#diffBlocks,
#intentDashboard {
  color: #262626;
}

#decisionViewPanel strong,
#riskMatrixPanel strong,
#diffBlocks strong,
#intentDashboard strong {
  color: #262626;
}

/* ── MAGIC KEY ── */
.access-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  border-radius: 25px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;

  backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.4);
  color: #fff;
}

/* ── pink── */
.access-bar.paid {
  background: #E49FCA; 
  opacity: 0.9;
}

/* ── green ── */
.access-bar.free {
  background: rgba(76, 175, 80, 0.85); 
  opacity: 0.9;
}

/* ── red ── */
.access-bar.expired {
  background: rgba(229, 57, 53, 0.9);
  opacity: 0.9;
}


/* ── LINKS ── */

a:link {
    color: var(--text-light);
    text-decoration: none;
}

/* visited link */
a:visited {
    color: var(--text-mid);
}

/* mouse over link */
a:hover {
    color: #DC8AAE;
    text-decoration: underline;
}

/* selected link */
a:active {
    color: #DC8AAE;
    text-decoration: underline;
}

input[type=‘text’]:focus {
    outline: 0;
}


/* ── PAGE ── */

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Montserrat, Inter, Tahoma, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
}


/* === 50/50 SPLIT BACKGROUND === */

.yinyang {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(
      to right,
      var(--dark) 50%,
      var(--warm-off-white) 50%
    );
     position: relative;
}

.yinyang::before {
  content: "";
  position: absolute;
  inset: 0;
    background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.10),
      transparent 50%,
      transparent 50%,
      rgba(0,0,0,0.06)
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(255,255,255,0.01),
      transparent 60%
    );

  pointer-events: none;
}

.yinyang::after {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.08),
    transparent 60%
  );

  opacity: 0.2;
  transition: all 0.5s ease;

  pointer-events: none;
}

.yinyang.focus::after {
  transform: scale(0.85);
  opacity: 0.35;
}

/* === Compare BUTTON === */

.action-row {
  text-align: center;
  margin-top: 5px;
}

/* FONTS */
  h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 35vw, 35px);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0.5em 0 0.3em 0;   /* fixed spacing, not em */
    line-height: 1.1; 
    color: black;
/*    color: black; */
/*  mix-blend-mode: difference;  */
}

  h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0.5em 0 0.3em 0;   /* fixed spacing, not em */
    line-height: 1.1;
    color: #808080;
/*  mix-blend-mode: difference;  */
}

  h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 20vw, 10px);
    font-weight: 400;
    color: #808080;
}

  h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 14vw, 14px);
    font-weight: 400;
    color: #808080;
    letter-spacing: 0.05em;
}

/* TAGLINE */
.tag {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: clamp(20px, 10vw, 20px);
    color: #B82158;
    font-weight: 500;
    mix-blend-mode: difference;
    letter-spacing: 0.08em;
}

.tag2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(20px, 10vw, 20px);
    color: #843458;
    font-weight: 500;
    mix-blend-mode: difference;
    letter-spacing: 0.08em;
}

.comparison-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--pale-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.subheading {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 22vw, 22px);
/*     color: #794E5E; */
    color: #8A5166;
    font-weight: 400;
/*    mix-blend-mode: difference; */
}

@media (max-width: 768px) {
.subheading {
    font-size: 18px;
    margin: 12px 0 5px 0;
  }
}

@media (max-width: 480px) {
.subheading {
    font-size: 17px;
    margin: 10px 0 5px 0;
  }
}

.subheading2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(14px, 16vw, 16px);
    color: #867969;
    font-weight: 500;
/*    mix-blend-mode: difference; */
/*    opacity: 0.9; */
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
.subheading2 {
    font-size: 14px;
    margin: 12px 0 5px 0;
  }
}

@media (max-width: 480px) {
.subheading2 {
    font-size: 13px;
    margin: 10px 0 5px 0;
  }
}

.shop {
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 24vw, 24px);
    color: #794E5E;
    font-weight: 500;
/*    mix-blend-mode: difference; */
}

.shop2 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(14px, 16vw, 16px);
    color: #794E5E;
    font-weight: 600;
/*    mix-blend-mode: difference; */
}



.twotone { color: var(--text2); }
.cherry { color: var(--cherry); }
.fire { color: #ff6600; }
.berry { color: #782047; }
.white { color: #E5E0E2; }
.black { color: #000000; }
.light_grey { color: #C4C4C4; }
.mid_grey { color: #817E7E }
.sand { color: #A5927B; }
.pink { color: #E49FCA; }
.buy { 
    color: #843458;
    font-size: 14px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
}

.colour { 
/*      color: #782047; */
    color: #B82158;
      opacity: 0.85; 
}

.colour2 { 
    color: #867969;
}

.colour3 { 
    color: #b82158;
}

.colour4 { 
    color: var(--brown);
    font-weight: 600;
}

/* navigation */
.nav {
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 2px 4px;
  font-size: 13.5px;
  line-height: 1;
  vertical-align: baseline;
  background-color: var(--bg-surface);
/*  mix-blend-mode: difference; */
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  letter-spacing: 0.05em;
}

.nav td:first-child { width: 18%; }
.nav td:nth-child(n + 2):nth-child(-n + 6) { width: 15%; }
.nav td:nth-child(7) { width: 7%; }

.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
    .nav {
        border-radius: 15px;
        padding: 3px;
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 9px 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--bg-surface);
        color: var(--text);
        box-shadow: var(--shadow-nav);
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        cursor: pointer;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible,
    .nav-toggle[aria-expanded="true"] {
        border-color: #E49FCA;
        outline: none;
    }

    .nav {
        display: none;
        margin-top: 6px;
        border-radius: 10px;
        padding: 5px;
        font-size: 12px;
        table-layout: auto;
    }

    .nav.is-open {
        display: table;
    }

    .nav tr,
    .nav td {
        display: block;
        width: 100% !important;
    }

    .nav td {
        padding: 0 !important;
        overflow: visible;
        text-align: left;
    }

    .nav a {
        display: block;
        padding: 9px 12px;
        white-space: normal;
    }

    .nav .sign_button {
        padding: 0;
        border-radius: 8px;
        text-align: left;
    }
}

/* === HEADER === */

.header {
    text-align: left;
    margin-bottom: 25px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.logo {
    display: block;
    margin: 0 auto 12px auto;
}

.title {
  margin-bottom: 10px;
  font-size: 25px;
  color: var(--text-heading);
}

.strap {
    margin: 0;
    font-size: 20px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: #DBDBDB;
    color: var(--text-sub);
/*    color: var(--text-heading); */
}

th,
td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

/* === CENTER WRAPPER === */
.center {
  width: 100%;
  margin: 0 auto;
  max-width: 90%;
  padding: 20px 20px; /* match .content */
}

/* Page container */
.page {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 5px 15px;
    z-index: 1;
}

@media (max-width: 1100px) {
    .page {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .page {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 0 5px;
    }
}

/* === UPLOAD ROW (A/B split) === */
.upload-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.upload-cell {
  flex: 1 1 0;
  min-width: 0;
}

/* responsive */
@media (max-width: 768px) {
  .upload-row {
    flex-direction: column;
  }
  .upload-cell {
    width: 100%;
  }
}

.cell {
  display: flex;
  justify-content: center;
}

/* === Tables === */

.table-wrap {
  display: inline-block; /* keeps it tight to table size */
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
/*  overflow: hidden; /* ensures clean rounded corners */
  transform: translateZ(0);
}

.content {
  box-shadow: var(--shadow-nav);
/*  background: var(--bg-content); */
  border: 1px solid rgba(100,100,100,0.20);
  border-collapse: separate;  /* IMPORTANT for radius  */
  border-radius: 25px;
  border-spacing: 0;
  padding: 20px 35px;
  min-height: 100vh;
  backdrop-filter: blur(1px);
  background: rgba(255,255,255,0.03); /* subtle base */
/*  background: transparent; */
}

@media (max-width: 768px) {
  .content {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 10px 15px;
    border-left: none;
    border-right: none;
  }
}

.content p {
  margin: 0 0 15px 0;
}

.intro-table  {
  border: 1px solid #3B3B3B;
  box-shadow: var(--shadow-nav);
  border: 1px solid rgba(100,100,100,0.20);
  border-collapse: separate;  /* IMPORTANT for radius */
  border-radius: 25px;
  border-spacing: 0;
  padding: 15px 25px;
  background-size: contain;
  backdrop-filter: blur(1px);
  background: rgba(255,255,255,0.03); /* subtle base */
}

@media (max-width: 768px) {

    .table,
    .intro-table {
        padding: 5px 5px;
        border-radius: 15px;
    }

    .table td,
    .intro-table td {
        padding: 5px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .intro-table {
        padding: 5px 5px;
        border-radius: 10px;
    }

    .table td,
    .intro-table td {
        padding: 5px 5px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table {
  border-radius: 25px;
  border-left: 0px solid var(--line);
  border-right: 0px solid var(--line);
  border-top: 0px solid var(--line);
  border-bottom: 0px solid var(--line);
  padding: 10px 10px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.table_white {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border: 2px solid var(--line);
  letter-spacing: 0.05em;
  padding: 15px 15px;
  width: 100%;
  font-size: 12px;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-page code {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .pricing-prompts tr,
  .pricing-prompts td,
  .pricing-plan-options,
  .pricing-plan-options > td,
  .pricing-api-details__columns,
  .pricing-api-details__columns > td,
  .pricing-details tr,
  .pricing-details td {
    display: block;
    width: 100% !important;
  }

  .pricing-prompts td + td,
  .pricing-plan-options > td + td,
  .pricing-api-details__columns > td + td,
  .pricing-details td + td {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .pricing-plan-options > td {
    padding-bottom: 14px;
  }

  .pricing-api-support > tbody {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-api-support__labels,
  .pricing-api-support__headings,
  .pricing-api-support__content {
    display: contents;
  }

  .pricing-api-support__labels > td {
    grid-row: 1;
  }

  .pricing-api-support__headings > td:first-child { order: 1; }
  .pricing-api-support__content > td:first-child { order: 2; }
  .pricing-api-support__headings > td:last-child { order: 3; }
  .pricing-api-support__content > td:last-child { order: 4; }

  .pricing-api-support__headings > td,
  .pricing-api-support__content > td {
    display: block;
    width: 100% !important;
  }

  .pricing-api-support__headings > td:last-child {
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 768px) {

    .table,
    .table_white {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_white td {
        padding: 8px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_white {
        padding: 6px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_white td {
        padding: 5px 5px;
        font-size: 10px;
        word-break: break-word;
    }
}

.table_solid {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  color: var(--text);
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_solid {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_solid td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_solid {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_solid td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_cherry {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0px 3px 4px #782047;
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_solid {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_solid td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_solid {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_solid td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_grey {
  background-color: #ffffff;
  border-radius: 25px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #808080;
  box-shadow: var(--shadow-nav);
  color: #858585;
  padding: 10px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_grey {
        padding: 8px 8px;
        border-radius: 15px;
    }

    .table td,
    .table_grey td {
        padding: 5px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_grey {
        padding: 6px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_grey td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_listing {
  background-color: var(--bg-surface);
/* opacity: 0.30; */
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #6A5B62;
  color: var(--text);
  font-size: 13px;
  border-radius: 25px;
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_listing {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_listing td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_listing {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_listing td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_listing_plan {
  background-color: var(--bg-surface);
/* opacity: 0.30; */
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #DC8AAE;
  color: #81807E;
  border-radius: 25px;
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_listing_plan {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_listing_plan td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_listing_plan {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_listing_plan td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}


.table_listing2 {
  background-color: var(--bg-surface);
/* opacity: 0.30; */
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #697565;
  color: #81807E;
  border-radius: 25px;
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_listing2 {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_listing2 td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_listing2 {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_listing2 td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}


.table_api {
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 10px;
  background: url("./images/api.jpg") center center no-repeat;
  background-size: contain;
  opacity: 0.2;
  border-collapse: separate;
  border-spacing: 0;
}

[data-theme="dark"] .table_api {
    background-image: url("./images/api_bk.jpg");
}

.field {
  background-color: var(--field-bg);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 15px 15px 15px 15px;
  font-size: 12px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: var(--field-text);
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.copy-endpoint-field {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.copy-endpoint-field code {
  transition: color 0.18s ease;
}

.copy-endpoint-field:hover,
.copy-endpoint-field:focus-visible,
.copy-endpoint-field:active,
.copy-endpoint-field.is-copied {
  border-color: #E49FCA;
  outline: none;
}

.copy-endpoint-field:hover code,
.copy-endpoint-field:focus-visible code {
  color: #E49FCA;
}

.copy-endpoint-field.is-copied code {
  color: #E49FCA;
}

@media (max-width: 768px) {
    .field {
        padding: 10px 10px 10px 10px;
        border-radius: 15px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .field {
        padding: 10px 10px 10px 10px;
        border-radius: 10px;
        font-size: 10px;
    }
}

.api_field {
    border-radius: 25px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 15px 15px 15px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: var(--field-text);
    background: url("./images/api.jpg") center center no-repeat;
    background-size: contain;
    opacity: 0.1;
}

[data-theme="dark"] .api_field {
    background-image: url("./images/api_bk.jpg");
}

/* THEME TOGGLE */

html {
  transition: background 0.5s ease, color 0.5s ease;
}

.toggle {
  border-radius: 15px;
  border: 1px solid var(--line);
  padding: 5px 5px 5px 5px;
  color: #555757;
  cursor: pointer;
  display: table;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
}

.toggle img {
  width: 4vw;
  min-width: 28px;
  max-width: 40px;
}

/* API Pipeline */

.pipeline {
  background-color: #000000;
  border-radius: 25px;
  border: 1px solid #787777;
  padding: 15px;
  margin: 10px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 5px;
  gap: 5px;
  overflow-x: auto;
  width: 100%;
  box-sizing: border-box;
}

.node {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pipeline {
    gap: 3px;
    row-gap: 3px;
    padding: 8px;
  }

  .node {
    padding: 3px 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .pipeline {
    gap: 2px;
    row-gap: 2px;
    padding: 6px;
    justify-content: flex-start;
    margin: 8px 0;
  }

  .node {
    padding: 2px 4px;
    font-size: 10px;
  }

  .node code {
    font-size: 9px;
  }
}

.node.active {
    background: var(--node-active-bg);
    color: var(--node-active-text);
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.option {
    background: #969696;
    color: #000;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.demo {
    background: #EBD8EB;
    color: #000;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.extra {
    background: #969696;
    color: #fff;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.muted {
    background: #cccccc;
    color: #888;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.arrow {
  margin: 0 6px;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .arrow {
    margin: 0 3px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .arrow {
    margin: 0 1px;
    font-size: 10px;
  }
}


#textInput {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-heading);
    background: var(--bg-surface-input);
    line-height: 1.4;
    box-sizing: border-box;
    padding: 10px 10px 10px 10px;
}

/* Backgrounds */
.bg-geometry {
    position: fixed;
    inset: 0;
    background: url("./images/spider-web.jpg") center center no-repeat;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.bg-halftone {
    position: fixed;
    inset: 0;
    background: url("./images/halftone.jpg") center center no-repeat;
    background-size: cover;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.bg-multi-yin-yang {
    position: fixed;
    padding: 10px;
    inset: 0;
    background: url("./images/multi-yin-yang.jpg") center center no-repeat;
    background-size: cover;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.bg-yin-yang {
    position: fixed;
    padding: 10px;
    inset: 0;
    background: url("./images/yin-yang-symbol_vert.png") center center no-repeat;
    background-size: 170%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* Dark theme background image swaps */

[data-theme="dark"] .bg-geometry {
    background-image: url("./images/spider-web_bk.jpg");
    opacity: 0.23;
}

[data-theme="dark"] .bg-halftone {
    background-image: url("./images/halftone.jpg");
    opacity: 0.6;
}

[data-theme="dark"] .bg-multi-yin-yang {
    background-image: url("./images/multi-yin-yang_dark.jpg");
    opacity: 0.6;
    padding: 0px;
}

[data-theme="dark"] .bg-multi-yin-yang {
    background-image: url("./images/yin-yang-symbol.png");
    opacity: 0.6;
    padding: 0px;
}

/* Form */
.box {
    border: 1px solid #787777;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
}

.textarea {
    width: 100%;
    min-height: 120px;
}

.button {
    margin-top: 10px;
    padding: 10px 10px;
    font-size: 14px;
    cursor: pointer;
}

.pre {
    background: var(--bg-pre);
    padding: 12px;
    overflow-x: auto;
    font-size: 14px;
}

.note {
    font-size: 14px;
/*    color: var(--text-note); */
     color: #A5927B;
}

/* Buttons */

.form_upload {
/*  background: var(--bg-content); */
/*  background-color: var(--bg-surface); */
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
    border-radius: 15px;
    padding: 10px;
    background-color: #fff;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: #794E5E;
    font-size: 14px;
    cursor: pointer;
}

button.form_button {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-nav);
/*    box-shadow: 0px 2px 3px #782047; */
    border-radius: 15px;
    border: 2px solid #E49FCA;
    padding: 10px;
    color: #E49FCA;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

button.form_button:hover {
/*  background: rgba(255, 255, 255, 0.8); */
  background: #fff;
  border-color: #843458;
  color: #782047;
}

button.form_button:active {
  transform: scale(0.96);
  border-color: #843458;
  background: #fff;
}

button.form_button a {
  text-decoration: none;
  border-color: #843458;
}

button.form_button a:hover {
  color: #843458;
  background: #fff;
  color: #782047;
}

button.request_key {
    background: var(--bg-content);
    box-shadow: var(--shadow-nav);
    border-radius: 25px;
    border: 1px solid var(--line);
    padding: 15px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: var(--text-mid);
    font-size: 14px;
    cursor: pointer;
}

/* EMAIL BUTTON */
button.email_button {
/*   background: #242423; */
  background: var(--bg-content);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2); 
  border: 1px solid #DEABC2;
  border-radius: 15px;
  padding: 12px 12px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: #DC8AAE;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.email_button:hover {
  border-color: #843458;
  color: #DC8AAE;
  border: 1px solid;
}

button.email_button:active {
  transform: scale(0.96);
  border-color: #782047;
}

.page-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.page-action {
  display: block;
  padding: 12px;
  border: 1px solid #DEABC2;
  border-radius: 15px;
  background: var(--bg-content);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
  color: #DC8AAE;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-action:hover,
.page-action:focus-visible {
  border-color: #843458;
  color: #DC8AAE;
  text-decoration: none;
  outline: none;
}

.page-action:focus-visible {
  outline: 2px solid #E49FCA;
  outline-offset: 2px;
}

.page-action:active {
  border-color: #782047;
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .page-actions {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }
}

/* MAGIC BUTTON */
button.magic_button {
/*   background: #242423; */
  background: var(--bg-content);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2); 
  border: 1px solid #DEABC2;
  border-radius: 15px;
  padding: 12px 12px;
  font-family: "Montserrat", Tahoma, Verdana, sans-serif;
  color: #E5E0E2;
  font-size: 13px;
  margin-top: 5px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.magic_button:hover {
  border-color: #843458;
  color: #DC8AAE;
  border: 1px solid;
}

button.magic_button:active {
  transform: scale(0.97); 
  border-color: #782047;
}

button.magic_button a {
  text-decoration: none;
  color: #843458;
  border-color: #782047;
}

button.magic_button a:hover {
  color: #843458;
}

/* === COMPARETHISTHAT HOME HERO === */

.site-header,
.comparison-stage {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 3;
}

.comparison-stage {
  padding-top: 5px;
}

/* Once a valid comparison is available, keep the product identity while
   prioritising the persistent upload workspace and result drawers. */
.has-results .comparison-stage {
  padding-top: 0;
}

.has-results .comparison-stage__lead h1 {
  margin: 8px 0 0;
  color: #000;
/*  font-size: clamp(25px, 3vw, 34px); */
/*  line-height: 1.12; */
}

.has-results .comparison-stage__tagline h2 {
  margin: 4px 0 16px;
  color: var(--text-on-dark);
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.3;
}

.has-results .comparison-hero {
  display: none;
}

.comparison-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  gap: clamp(22px, 2.5vw, 40px);
  min-height: clamp(470px, 37vw, 570px);
  padding: clamp(38px, 3vw, 68px) clamp(14px, 2vw, 32px) clamp(36px, 3vw, 64px);
}

.comparison-hero__copy {
  max-width: 540px;
  color: var(--text-on-dark);
}

.comparison-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--pale-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.comparison-hero__eyebrow span[aria-hidden="true"] {
  color: var(--signal);
}

.comparison-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--text-on-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.comparison-hero__support {
  max-width: 39ch;
  margin: 24px 0 0;
  color: #E49FCA;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.45;
}

.comparison-hero__closing {
  margin: 16px 0 0;
  color: var(--neutral);
  font-size: 14px;
}

.comparison-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.comparison-hero__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.comparison-hero__button--primary:link,
.comparison-hero__button--primary:visited {
  background: var(--buy);
  color: #fff;
}

.comparison-hero__button--primary:hover {
  background: var(--wine);
  color: #fff;
  text-decoration: none;
}

.comparison-hero__button--secondary:link,
.comparison-hero__button--secondary:visited {
  border-color: rgba(229, 224, 226, 0.7);
  color: var(--text-on-dark);
}

.comparison-hero__button--secondary:hover {
  border-color: var(--pale-pink);
  color: #fff;
  text-decoration: none;
}

.comparison-hero__button:focus-visible,
.comparison-demo__indicators button:focus-visible,
.existing-workspace:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 3px;
}

.comparison-demo {
  min-width: 0;
  padding-left: 12px;
  color: #292526;
}

.comparison-demo__content {
  position: relative;
  opacity: 1;
  transition: opacity 850ms ease;
  padding: 0px 10px;
}

.comparison-demo__content.is-switching {
  opacity: 0.22;
}

.comparison-demo__label {
  min-height: 20px;
  margin: 0 0 14px;
  color: var(--neutral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #867969;
}

.comparison-demo__documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.comparison-document__label {
  margin: 0 0 8px;
  color: #352e31;
  font-size: 14px;
  line-height: 1.3;
}

.comparison-document--that .comparison-document__label strong {
  color: var(--signal);
}

.comparison-document__label span {
  color: var(--neutral);
}

.comparison-document__paper {
  height: 220px;
  padding: 17px 18px;
  border-radius: 25px;
  border: 1px solid #C5C4C4;
  background: #fffdf9;
  color: #696969;
  box-shadow: 0 8px 20px rgba(25, 16, 19, 0.08);
}

.comparison-document__section,
.comparison-document__line,
.comparison-document__quiet {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(12px, 1.05vw, 14px);
  color: #696969;
  line-height: 1.55;
}

.comparison-document__section {
  min-height: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(77, 65, 57, 0.2);
  color: #332e2e;
  font-weight: 700;
}

.comparison-document__line {
  min-height: 74px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(77, 65, 57, 0.16);
  color: #292525;
  overflow-wrap: anywhere;
}

.comparison-document mark {
  background: transparent;
  color: var(--signal);
  font-weight: 700;
}

.comparison-document__quiet {
  padding-top: 12px;
  color: #756c66;
}

.comparison-change-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.comparison-change-lines path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-change-lines circle {
  fill: var(--signal);
}

.comparison-demo__content.is-equivalent .comparison-change-lines path {
  stroke: var(--confirmed);
}

.comparison-demo__content.is-equivalent .comparison-change-lines circle {
  fill: var(--confirmed);
}

.comparison-change-callout {
  position: relative;
  z-index: 4;
  display: block;
  width: min(400px, calc(100% - 32px));
  min-height: 76px;
  margin: 34px auto 24px;
  padding: 14px 50px;
  border: 1px solid var(--signal);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 6px 18px rgba(31, 17, 23, 0.12);
  color: #332e31;
  text-align: center;
}

.comparison-change-callout__icon {
  display: grid;
  width: 27px;
  height: 27px;
  position: absolute;
  top: 50%;
  left: 15px;
  place-items: center;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: #fffdf9;
  color: var(--signal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.comparison-change-callout > div,
.comparison-change-callout p {
  text-align: center;
}

.comparison-change-callout strong {
  display: block;
  color: var(--signal);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.comparison-change-callout p {
  margin: 5px 0 0;
  color: #55494a;
  font-size: 12px;
  line-height: 1.35;
}

.comparison-demo__content.is-equivalent .comparison-change-callout,
.comparison-demo__content.is-equivalent .comparison-change-callout__icon {
  border-color: var(--confirmed);
}

.comparison-demo__content.is-equivalent .comparison-change-callout__icon,
.comparison-demo__content.is-equivalent .comparison-change-callout strong,
.comparison-demo__content.is-equivalent [data-hero-continuity],
.comparison-demo__content.is-equivalent [data-hero-verdict] {
  color: var(--confirmed);
}

.comparison-assessment {
  display: grid;
  grid-template-columns: 0.55fr 0.8fr 1.35fr 1.6fr;
  margin: 0;
  border-radius: 25px;
  border: 1px solid #C5C4C4;
  background: rgba(255, 253, 249, 0.94);
}

.comparison-assessment dl {
  min-width: 0;
  margin: 0;
  padding: 12px 5px;
  border-right: 1px solid rgba(77, 65, 57, 0.2);
  text-align: center;
}

.comparison-assessment dl:first-child {
  padding-left: 5px;
}

.comparison-assessment dl:last-of-type {
  border-right: 0;
}

.comparison-assessment dt {
  color: var(--neutral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.comparison-assessment dd {
  margin: 4px 0 0;
  color: #C20E51;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 700;
  line-height: 1.25;
}

.comparison-assessment dl:last-of-type dd {
  color: var(--signal);
}

.comparison-assessment p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 10px;
  color: #55494a;
  font-size: 12px;
}

.comparison-demo__indicators {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-height: 20px;
  margin-top: 18px;
}

.comparison-demo__indicators button {
  width: 22px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.comparison-demo__indicators button::before {
  display: block;
  width: 100%;
  height: 10px;
  background: var(--neutral);
  content: "";
  opacity: 0.55;
}

.comparison-demo__indicators button.is-active::before {
  background: var(--signal);
  opacity: 1;
}

.existing-workspace {
  position: relative;
  z-index: 2;
  scroll-margin-top: 18px;
}

.upload-cell--that .table_solid {
  border-color: rgba(134, 121, 105, 0.48);
  background: rgba(255, 253, 249, 0.0);
  color: #262323;
}

.upload-cell--that .white {
  color: #f2f2f2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1050px) {
  .comparison-hero {
    grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.25fr);
    gap: 28px;
    padding-right: 0;
    padding-left: 0;
    border-top: solid 1px #ADADAD;
  }

  .comparison-hero h1 {
    font-size: clamp(25px, 4.0vw, 35px);
  }

  .comparison-document__paper {
    padding: 14px;
  }
}

@media (max-width: 920px) {
  .comparison-hero {
    display: block;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    min-height: 0;
    padding: 38px 22px 42px;
    background: rgba(20, 18, 18, 0.80);
    border-top: solid 1px #6E6D6D;
    border-bottom: solid 1px #6E6D6D;
  }

  .comparison-hero__copy {
    width: 100%;
    max-width: 540px;
    min-height: 0;
  }

  .comparison-document--this .comparison-document__label {
    color: var(--text-on-dark);
  }

  .comparison-document--this .comparison-document__label span {
    color: var(--pale-pink);
  }

  .comparison-demo {
    margin-top: 24px;
    padding-left: 0;
  }

  .comparison-document__label {
    color: var(--text-on-dark);
  }

  .comparison-document__label span {
    color: var(--pale-pink);
  }

  .comparison-document__paper {
    height: 186px;
  }

  .comparison-document__line {
    min-height: 64px;
  }
}

@media (max-width: 640px) {
  .comparison-hero {
    padding: 28px 22px 42px;
  }

  .comparison-hero h1 {
    font-size: clamp(32px, 9vw, 43px);
  }

  .comparison-hero__support {
    font-size: 16px;
  }

  .comparison-hero__actions {
    gap: 10px;
  }

  .comparison-demo__documents {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-document__paper {
    height: auto;
  }

  .comparison-document__line {
    min-height: 0;
  }

  .comparison-change-lines,
  .comparison-change-callout {
    display: none;
  }

  .comparison-assessment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .comparison-assessment dl:nth-of-type(2) {
    border-right: 0;
  }

  .comparison-assessment dl:nth-of-type(-n + 2) {
    border-bottom: 1px solid rgba(77, 65, 57, 0.2);
  }

  .comparison-assessment dl {
    padding-left: 10px;
  }

  .comparison-assessment dl:first-child {
    padding-left: 0;
  }

  .comparison-demo__indicators {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .comparison-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .comparison-hero__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comparison-demo__content,
  .comparison-hero__button {
    transition: none;
  }
}

/* === EXAMPLE REPORTS SLIDESHOW === */

.examples-showcase {
  --examples-accent: var(--pale-pink);
  margin: 28px 0 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-content);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  color: var(--text);
  overflow: hidden;
}

.examples-showcase__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.examples-showcase__kicker,
.examples-showcase__eyebrow,
.examples-showcase__panel-label,
.examples-showcase__source-label,
.examples-showcase__counter {
  margin: 0 0 0 20px;
  color: var(--neutral);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.examples-showcase__header h3,
.examples-showcase__case-title {
  margin: 5px;
  color: var(--text-heading);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.05;
}

.examples-showcase__header h3 {
  font-size: clamp(24px, 3vw, 20px);
}

.examples-showcase__counter {
  flex: 0 0 auto;
  color: var(--examples-accent);
}

.examples-showcase__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 490px;
  transition: opacity 180ms ease;
}

.examples-showcase__stage.is-changing {
  opacity: 0.45;
}

.examples-showcase__sources,
.examples-showcase__results {
  min-width: 0;
  padding: 24px;
}

.examples-showcase__sources {
  border-right: 1px solid var(--line);
}

.examples-showcase__case-heading {
  margin-bottom: 20px;
}

.examples-showcase__case-title {
  font-size: clamp(28px, 3vw, 42px);
}

.examples-showcase__case-description {
  max-width: 54ch;
  margin: 12px 0 0;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.55;
}

.examples-showcase__source-list {
  display: grid;
  gap: 16px;
}

.examples-showcase__source {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-surface-alt);
}

.examples-showcase__source-label {
  display: block;
  margin-bottom: 10px;
  color: var(--examples-accent);
}

.examples-showcase__source img,
.examples-showcase__result-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.examples-showcase__source img {
  width: 100%;
  max-height: 168px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.examples-showcase img[data-examples-zoomable="true"] {
  cursor: zoom-in;
}

.examples-showcase img[data-examples-zoomable="true"]:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 4px;
}

.examples-showcase__results {
  display: flex;
  flex-direction: column;
}

.examples-showcase__result-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.examples-showcase__result-tab,
.examples-showcase__case-button,
.examples-showcase__indicator {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.examples-showcase__result-tab {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.examples-showcase__result-tab:hover,
.examples-showcase__result-tab.is-active {
  border-color: var(--examples-accent);
  background: var(--examples-accent);
  color: #fff;
}

.examples-showcase__result-frame {
  display: grid;
  min-height: 300px;
  flex: 1;
  margin: 0;
  padding: 14px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-surface-alt);
}

.examples-showcase__result-image {
  width: 100%;
  max-height: 490px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.examples-showcase__result-frame figcaption {
  width: 100%;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}

.examples-showcase__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}

.examples-showcase__case-nav,
.examples-showcase__indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.examples-showcase__case-button {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12px;
}

.examples-showcase__case-button:hover {
  border-color: var(--pale-pink);
  color: var(--text-heading);
  transform: translateY(-1px);
}

.examples-showcase__indicator {
  width: 28px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
}

.examples-showcase__indicator:hover,
.examples-showcase__indicator.is-active {
  background: var(--examples-accent);
}

.examples-showcase button:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 3px;
}

[data-theme="light"] .examples-showcase {
  --examples-accent: var(--wine);
  box-shadow: 0 16px 34px rgba(36, 27, 29, 0.1);
}

.examples-lightbox {
  width: min(calc(100vw - 32px), 1680px);
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  padding: 52px 20px 20px;
  border: 1px solid rgba(229, 224, 226, 0.34);
  border-radius: 16px;
  background: rgba(12, 11, 12, 0.98);
  color: var(--text-on-dark);
  overflow: auto;
}

.examples-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.examples-lightbox__close {
  position: absolute;
  top: 12px;
  right: 14px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(229, 224, 226, 0.56);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.examples-lightbox__close:hover {
  border-color: var(--pale-pink);
  color: var(--pale-pink);
}

.examples-lightbox__close:focus-visible {
  outline: 3px solid var(--pale-pink);
  outline-offset: 3px;
}

.examples-lightbox__figure {
  display: grid;
  min-height: 100%;
  margin: 0;
  place-items: center;
}

.examples-lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 126px);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}

.examples-lightbox__caption {
  width: 100%;
  margin-top: 12px;
  color: #d7d0d3;
  font-size: 13px;
  text-align: center;
}

[data-theme="light"] .examples-lightbox {
  border-color: rgba(77, 65, 57, 0.25);
  background: rgba(255, 253, 249, 0.99);
  color: #332e31;
}

[data-theme="light"] .examples-lightbox__close {
  border-color: rgba(77, 65, 57, 0.45);
  color: #332e31;
}

[data-theme="light"] .examples-lightbox__caption {
  color: #55494a;
}

@media (max-width: 760px) {
  .examples-showcase__header,
  .examples-showcase__footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .examples-showcase__stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .examples-showcase__sources,
  .examples-showcase__results {
    padding: 18px 16px;
  }

  .examples-showcase__sources {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .examples-showcase__result-frame {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .examples-showcase {
    border-radius: 14px;
  }

  .examples-showcase__header {
    display: block;
  }

  .examples-showcase__counter {
    display: block;
    margin-top: 12px;
  }

  .examples-showcase__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .examples-showcase__case-nav {
    width: 100%;
  }

  .examples-showcase__case-button {
    flex: 1;
  }

  .examples-lightbox {
    width: 100vw;
    height: 100dvh;
    padding: 48px 12px 14px;
    border: 0;
    border-radius: 0;
  }

  .examples-lightbox__figure img {
    max-height: calc(100dvh - 116px);
  }
}

/* BUY BUTTON */
button.buy_button {
  background: #782047;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid;
  border-color: var(--buy-border);
  border-radius: 15px;
  padding: 10px 12px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.buy_button:hover {
  border-color: var(--buy-border);
  color: #DC8AAE;
}

button.buy_button a:hover {
  color: #DC8AAE;
  text-decoration: none;
}

button.buy_button:active {
  transform: scale(0.96);
/*   border-color: #ffffff; */
  color: #DC8AAE;
  text-decoration: none;
}

button.buy_button a { 
   text-decoration: none;
} 


/* SIGN BUTTON */
button.sign_button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  background-color: #782047;
  border: 1px solid #867969;
  border-radius: 15px;
  padding: 6px 10px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: white;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  vertical-align: baseline;
}

button.sign_button:hover {
/* border-color: #843458; */
  color: #E49FCA;
}

button.sign_button a:hover {
  color: #E49FCA;
  text-decoration: none;
}

button.sign_button:active {
/*   transform: scale(0.98); */
  border-color: #fff;
  color: #E49FCA;
  text-decoration: none;
}

button.sign_button a { 
   display: block;
   max-width: 100%;
   white-space: nowrap;
   text-decoration: none;
} 

button.sign_button code {
  font-size: inherit;
}

@media (max-width: 768px) {
  button.sign_button {
    padding: 4px 3px;
    font-size: inherit;
  }
}

@media (max-width: 480px) {
  button.sign_button {
    padding: 2px 1px;
  }
}


/* Status block */
.status {
    margin: 20px 0 10px 0;
    font-size: 14px;
}

.status .pending {
    margin-top: 20px;
}

/* Motto */

.motto {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    font-family: "Poiret One", "Trajan Pro", serif;
    font-size: 16px;
    letter-spacing: 1.4px;
    color: #525151;
    white-space: nowrap;
}

/* Footer */

.footer {
    margin-top: 0px;
    text-align: center;
    font-size: 12px;
    color: #b5b5b5;
}


/* ── Image responsiveness ── */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* ── Table responsiveness ── */

table {
    width: 100%;
    border-collapse: collapse;
}

td,
th {
    word-break: break-word;
    padding: 5px;
}

/* ── Heading and text scales ── */

h2,
h3,
h4,
h5,
h6 {
    margin: 1em 0 0.3em 0;
}

/* Semantic headings are frequently used as the first item in a table card.
   Their document-flow spacing should not create an empty band above the title. */
td > h1,
td > h2,
td > h3,
td > h4,
td > h5,
td > h6,
th > h1,
th > h2,
th > h3,
th > h4,
th > h5,
th > h6 {
    margin-top: 0 !important;
}

/* The trial and returning-access cards share this wrapper, including when the
   returning panel is rendered by JavaScript. */
.access-panel,
.access-panel__content {
    width: 100%;
}

.access-panel > h4,
.access-panel__content > h4 {
    margin-top: 0;
}

/* The trial card reserves this status area only after it has feedback to show. */
#gateMessage:empty {
    display: none;
}

/* Four-column API labels need a smaller scale before the phone breakpoint. */
@media (max-width: 768px) {
    .api-endpoints h4 {
        font-size: 14px;
        letter-spacing: 0.03em;
    }

    .api-endpoints tr,
    .api-endpoints td,
    .responsive-records tr,
    .responsive-records td,
    .api-comparison-card__layout,
    .api-comparison-card__layout > td,
    .api-guardrails tr,
    .api-guardrails td {
        display: block;
        width: 100% !important;
    }

    .api-endpoints tr.responsive-records__labels,
    .responsive-records tr.responsive-records__labels,
    .api-guardrails .api-guardrails__empty {
        display: none;
    }

    .api-endpoints tr:not(.responsive-records__labels) + tr,
    .responsive-records tr:not(.responsive-records__labels) + tr,
    .api-guardrails td + td,
    .api-guardrails tr + tr td:first-child {
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .api-endpoints td,
    .responsive-records td {
        text-align: center;
    }

    .api-endpoints td::before,
    .responsive-records td::before {
        display: block;
        margin-bottom: 3px;
        color: var(--brown);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.03em;
        content: attr(data-label);
    }

    .api-comparison-card__image {
        padding-bottom: 16px !important;
    }

    .api-comparison-card__image img {
        width: min(200px, 60vw);
        max-width: 100%;
        margin: 0 auto;
    }

    .api-comparison-matrix {
        display: table;
        min-width: 0;
        table-layout: fixed;
    }
}

@media (max-width: 480px) {
    .api-endpoints h4 {
        font-size: 12px;
        line-height: 1.15;
    }
}

p {
    margin: 0.5em 0;
}

/* ── Content sections ── */
/* Note: .content is also defined above at line 797 with proper padding */

/* Header table specific styles */

.content > table:first-child {
  width: 100%;
}

.content > table:first-child td {
  vertical-align: middle;
}

.content > table:first-child td[align="left"] {
  text-align: left;
}

.content > table:first-child td[align="right"] {
  text-align: right;
  padding-right: 10px;
}

/* Logo alignment */
.content .logo {
  display: block;
  margin: 0;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .content .logo {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .content .logo {
    max-width: 180px;
  }
}


.strap {
    font-size: 14px;
    margin: 12px 0;
    word-break: break-word;
}

.subtitle {
    font-size: 16px;
    margin: 16px 0 8px 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .page {
        padding: 15px 12px 12px;
    }

    .strap {
        font-size: 12px;
    }

    .subtitle {
        font-size: 14px;
        margin: 12px 0 6px 0;
    }
    
    .tag {
        font-size: 16px;
        margin: 12px 0 6px 0;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 14px;
    }

    .motto {
        font-size: 12px;
        letter-spacing: 0.5px;
        white-space: normal;
    }

    td {
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 12px 8px 8px;
    }

    .logo {
        max-width: 200px !important;
    }

    .strap {
        font-size: 11px;
        margin: 8px 0;
    }

    .subtitle {
        font-size: 13px;
        margin: 10px 0 5px 0;
    }
    
    .tag {
        font-size: 13px;
        margin: 12px 0 6px 0;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
        margin: 8px 0;
    }

    .motto {
        font-size: 10px;
        letter-spacing: 0.2px;
        white-space: normal;
        word-break: break-word;
    }

    .footer {
        font-size: 10px;
        margin-top: 12px;
    }

    td {
        padding: 3px;
        font-size: 11px;
    }

    .nav td {
        padding: 3px 3px;
    }
}
