/* Tirada landing: printed-page look, light only. Fonts: Newsreader (text and headings), Inter (small UI). */
:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --ink: #1a1916;
  --ink-2: #4b4740;
  --ink-3: #7a7468;
  --rule: #d9d3c7;
  --rule-strong: #1a1916;
  --accent: #1f3f8f;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 32px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px / 1.55 var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 18px;
  }
}

/* Small caps label used for section numbers and meta */
.label {
  font: 500 12px / 1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Masthead */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--rule-strong);
}
.wordmark {
  font: 500 26px / 1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.masthead nav {
  display: flex;
  align-items: baseline;
  gap: 28px;
  font: 400 14px var(--sans);
  color: var(--ink-2);
}
.masthead nav a {
  text-decoration: none;
}
.masthead nav a:hover {
  color: var(--ink);
}
.masthead .enter {
  color: var(--ink);
  text-decoration: underline;
}
.dateline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 640px) {
  .masthead nav .opt {
    display: none;
  }
  .dateline .opt {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 96px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: end;
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0 72px;
  }
}
h1 {
  margin: 0;
  font: 400 clamp(52px, 8.4vw, 104px) / 0.98 var(--serif);
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-side p {
  margin: 0 0 28px;
  color: var(--ink-2);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font: 500 15px var(--sans);
  text-decoration: none;
  border-radius: 2px;
}
.cta:hover {
  background: #000;
}
.cta .arrow {
  transition: transform 160ms ease;
}
.cta:hover .arrow {
  transform: translateX(3px);
}
.cta-note {
  display: block;
  margin-top: 12px;
  font: 400 13px / 1.5 var(--sans);
  color: var(--ink-3);
}

/* Sections */
.section {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 860px) {
  .section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 56px 0;
  }
}
.section-head .label {
  display: block;
  margin-bottom: 10px;
}
h2 {
  margin: 0;
  font: 400 30px / 1.15 var(--serif);
  letter-spacing: -0.015em;
}
.intro {
  margin: 0 0 40px;
  max-width: 34em;
  font-size: 22px;
  line-height: 1.45;
}

/* Principles: two columns of short paragraphs */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 56px;
}
@media (max-width: 640px) {
  .principles {
    grid-template-columns: 1fr;
  }
}
.principles h3 {
  margin: 0 0 6px;
  font: 500 19px / 1.3 var(--serif);
}
.principles p {
  margin: 0;
  color: var(--ink-2);
}

/* Plans: three columns separated by hairlines */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}
@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  padding: 24px 28px 28px 0;
}
.plan + .plan {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
@media (max-width: 860px) {
  .plan,
  .plan + .plan {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }
}
.plan h3 {
  margin: 0 0 2px;
  font: 400 26px / 1.2 var(--serif);
}
.plan .who {
  margin: 0 0 22px;
  font: 400 14px var(--sans);
  color: var(--ink-3);
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.amount b {
  font: 400 56px / 1 var(--serif);
  letter-spacing: -0.03em;
  font-feature-settings: "lnum";
}
.amount span,
.plan .plus {
  font: 400 14px var(--sans);
  color: var(--ink-3);
}
.plan ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  color: var(--ink-2);
}
.plan li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
}
.terms {
  margin: 28px 0 0;
  font: 400 14px / 1.6 var(--sans);
  color: var(--ink-3);
  max-width: 52em;
}

/* Calculator: a sentence with inline fields */
.sentence {
  margin: 0;
  font: 400 clamp(28px, 3.6vw, 40px) / 1.35 var(--serif);
  letter-spacing: -0.01em;
}
.sentence input,
.sentence select {
  font: inherit;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 0 2px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.sentence input {
  width: 4.6em;
  text-align: center;
}
.sentence input::-webkit-outer-spin-button,
.sentence input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sentence select {
  cursor: pointer;
}
.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 640px) {
  .results {
    grid-template-columns: 1fr;
  }
}
.results div {
  padding: 16px 0;
}
.results .label {
  display: block;
  margin-bottom: 4px;
}
.results b {
  font: 400 32px / 1.1 var(--serif);
  font-feature-settings: "lnum", "tnum";
}
.emails-note {
  margin: 8px 0 0;
  font: 400 14px var(--sans);
  color: var(--ink-3);
}

/* Comparison table */
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  padding: 0 0 10px;
  text-align: left;
  font: 500 12px / 1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule-strong);
}
td {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 20px;
}
td.num,
th.num {
  text-align: right;
  font-feature-settings: "lnum", "tnum";
}
tr.us td {
  color: var(--accent);
}
.source {
  margin: 16px 0 0;
  font: 400 13px / 1.6 var(--sans);
  color: var(--ink-3);
}

/* Questions */
.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}
@media (max-width: 640px) {
  .qa {
    grid-template-columns: 1fr;
  }
}
.qa h3 {
  margin: 0 0 6px;
  font: 500 19px / 1.3 var(--serif);
}
.qa p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

/* Closing */
.closing {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.closing p {
  margin: 0 0 32px;
  font: 400 clamp(36px, 5vw, 60px) / 1.1 var(--serif);
  letter-spacing: -0.02em;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 40px;
  border-top: 1px solid var(--rule-strong);
  font: 400 13px / 1.6 var(--sans);
  color: var(--ink-3);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

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

/* Plans: rows line up across the three columns (name, tagline, price, volume, list). */
.plans {
  grid-template-rows: repeat(5, auto);
}
.plan {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  align-content: start;
}
@media (max-width: 860px) {
  .plans {
    grid-template-rows: none;
  }
  .plan {
    display: block;
  }
}

/* Inline fields as wide as their content. */
.sentence input,
.sentence select {
  field-sizing: content;
  min-width: 2ch;
}
.sentence input {
  width: auto;
  padding: 0 6px;
}

/* Legal pages */
.doc {
  max-width: 42em;
  padding: 72px 0 96px;
}
.doc h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 12px;
}
.doc .updated {
  display: block;
  margin-bottom: 48px;
}
.doc h2 {
  margin: 48px 0 12px;
  font-size: 26px;
}
.doc h3 {
  margin: 28px 0 8px;
  font: 500 19px / 1.3 var(--serif);
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 6px;
}
.doc table {
  margin: 16px 0;
}
.doc td {
  font-size: 16px;
  vertical-align: top;
  padding: 12px 16px 12px 0;
}
.doc .placeholder {
  background: #fff3c4;
  color: var(--ink);
  padding: 0 4px;
}

/* ================= Newspaper header ================= */
.paper-head {
  padding-top: 18px;
}
.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: 400 13px / 1.4 var(--sans);
  color: var(--ink-2);
}
.utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.utility-left [data-today]::first-letter {
  text-transform: uppercase;
}
.utility .sep {
  color: var(--rule);
}
.utility a {
  text-decoration: none;
}
.utility a:hover {
  text-decoration: underline;
}
.utility-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pill {
  padding: 7px 12px;
  background: #f4d35e;
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.pill:hover {
  background: #eec73f;
  text-decoration: none;
}
.login {
  padding: 6px 12px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.login:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.mast {
  padding: 28px 0 26px;
  text-align: center;
}
.mast-title {
  display: inline-block;
  font: 700 clamp(52px, 8vw, 92px) / 0.9 var(--serif);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.mast-tagline {
  margin-top: 10px;
  font: 400 14px / 1.3 var(--serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .utility-left [data-today] {
    display: none;
  }
  .utility-left .sep {
    display: none;
  }
}
/* The hero follows the section rule: less top space. */
.paper-head + main .hero {
  padding-top: 72px;
}

/* ================= Sticky section bar ================= */
/* Inside the page width with its rules while in place; once it reaches the top it sticks, spans the whole
   viewport and shows the masthead name on the left and the actions on the right. */
.section-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: box-shadow 200ms ease;
}
.bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.bar-inner > .sections {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 4px 26px;
  padding: 12px 0;
  font: 500 13px / 1.3 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sections a {
  text-decoration: none;
}
.sections a:hover {
  color: var(--accent);
}
/* In place: the rules span only the content width, like the rest of the page. */
.section-bar:not(.is-stuck) .bar-inner {
  background: linear-gradient(var(--rule), var(--rule)) top / calc(100% - 2 * var(--gutter)) 1px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) bottom / calc(100% - 2 * var(--gutter)) 2px
    no-repeat;
}
/* Stuck: full-width bar. */
.section-bar.is-stuck {
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 6px 18px rgba(26, 25, 22, 0.06);
}
.bar-brand,
.bar-actions {
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms;
}
.section-bar.is-stuck .bar-brand,
.section-bar.is-stuck .bar-actions {
  opacity: 1;
  visibility: visible;
}
.bar-brand {
  grid-column: 1;
  justify-self: start;
  font: 700 22px / 1 var(--serif);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
}
.bar-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 8px;
  font: 400 13px / 1.4 var(--sans);
}
.bar-actions a {
  text-decoration: none;
}
.bar-sentinel {
  height: 1px;
  margin-bottom: -1px;
}
/* Anchored sections land below the bar. */
section[id] {
  scroll-margin-top: 64px;
}
@media (max-width: 860px) {
  .bar-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }
  .bar-inner > .sections {
    grid-column: 2;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .section-bar:not(.is-stuck) .bar-brand {
    display: none;
  }
  .bar-actions {
    display: none;
  }
}
.pill,
.login {
  white-space: nowrap;
}
.bar-actions {
  align-items: center;
}
/* Brand and actions take their own width; the sections stay centred in the space left. */
.bar-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 24px;
}
.section-bar.is-stuck .bar-inner > .sections {
  gap: 4px 22px;
}
/* In place, the sections are centred on the page: brand and actions only exist once the bar is stuck. */
.section-bar:not(.is-stuck) .bar-brand,
.section-bar:not(.is-stuck) .bar-actions {
  display: none;
}
/* Stuck: the content of the bar uses the whole viewport, not the page width. */
.section-bar.is-stuck .bar-inner {
  max-width: none;
  padding: 0 24px;
}
/* The sections keep exactly the same position whether the bar is stuck or not: two equal side columns keep
   them centred on the viewport (the page is centred too), and brand/actions live inside those columns. */
.bar-inner,
.section-bar.is-stuck .bar-inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.bar-brand {
  grid-column: 1;
}
.bar-inner > .sections {
  grid-column: 2;
}
.bar-actions {
  grid-column: 3;
}
.section-bar.is-stuck .bar-inner > .sections {
  gap: 4px 26px;
}
/* Stuck: the very same two rules (thin above, thick below), only stretched to the full width. No shadow. */
.section-bar.is-stuck {
  border-bottom: 0;
  box-shadow: none;
  background: linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) bottom / 100% 2px no-repeat, var(--paper);
}

/* ================= Sticky bar: smooth version ================= */
/* The rules are two pseudo-elements that start at the page width and slide out to the edges; the name and the
   actions fade and slide in at the viewport edges. The sections never move. */
.section-bar,
.section-bar.is-stuck {
  background: var(--paper);
  border-bottom: 0;
  box-shadow: none;
}
.section-bar:not(.is-stuck) .bar-inner,
.section-bar.is-stuck .bar-inner {
  background: none;
  max-width: var(--max);
  padding: 0 var(--gutter);
  display: block;
}
.bar-inner > .sections {
  display: flex;
}
.section-bar::before,
.section-bar::after {
  content: "";
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  transition: left 420ms cubic-bezier(0.22, 1, 0.36, 1), right 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.section-bar::before {
  top: 0;
  height: 1px;
  background: var(--rule);
}
.section-bar::after {
  bottom: 0;
  height: 2px;
  background: var(--rule-strong);
}
.section-bar.is-stuck::before,
.section-bar.is-stuck::after {
  left: 0;
  right: 0;
}
.section-bar .bar-brand,
.section-bar .bar-actions,
.section-bar:not(.is-stuck) .bar-brand,
.section-bar:not(.is-stuck) .bar-actions {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 420ms;
}
.section-bar .bar-brand {
  left: 24px;
  transform: translate(-10px, -50%);
}
.section-bar .bar-actions {
  right: 24px;
  transform: translate(10px, -50%);
}
.section-bar.is-stuck .bar-brand,
.section-bar.is-stuck .bar-actions {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition: opacity 320ms ease 80ms, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
@media (max-width: 860px) {
  .section-bar .bar-actions,
  .section-bar.is-stuck .bar-actions {
    display: none;
  }
  .section-bar.is-stuck .bar-inner {
    padding-left: 104px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-bar::before,
  .section-bar::after,
  .section-bar .bar-brand,
  .section-bar .bar-actions {
    transition: none;
  }
}

/* ================= Comparison chart (HTML bars: the figures stay as real text) ================= */
.chart {
  margin: 8px 0 0;
  display: grid;
  gap: 4px;
}
.bar-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.bar-name {
  font-size: 20px;
}
.bar-track {
  height: 14px;
  background: transparent;
}
.bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  min-width: 3px;
  background: var(--ink-3);
  transform-origin: left;
  animation: bar-grow 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.bar-row.us .bar-fill {
  background: var(--accent);
}
.bar-row.us .bar-name,
.bar-row.us .bar-value {
  color: var(--accent);
}
.bar-value {
  text-align: right;
  font-size: 20px;
  font-feature-settings: "lnum", "tnum";
  line-height: 1.2;
}
.bar-value small {
  display: block;
  font: 400 12px / 1.4 var(--sans);
  color: var(--ink-3);
}
@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
}
@media (max-width: 640px) {
  .bar-row {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bar-fill {
    animation: none;
  }
}

/* The bars grow when the chart scrolls into view (calc.js adds .in-view); without JS they are simply drawn. */
.js .chart .bar-fill {
  animation: none;
  transform: scaleX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .chart.in-view .bar-fill {
  transform: scaleX(1);
}
.js .chart.in-view .bar-row:nth-child(3) .bar-fill {
  transition-delay: 80ms;
}
.js .chart.in-view .bar-row:nth-child(4) .bar-fill {
  transition-delay: 160ms;
}
.js .chart.in-view .bar-row:nth-child(5) .bar-fill {
  transition-delay: 240ms;
}
@media (prefers-reduced-motion: reduce) {
  .js .chart .bar-fill {
    transform: none;
    transition: none;
  }
}

/* Stacked bars: what you pay to send + the platform's cut of your revenue. Widths relative to the largest total
   (€250). Update together with the figures in index.html and en/index.html. */
.bar-track {
  display: flex;
  height: 16px;
}
.seg {
  display: block;
  height: 100%;
  min-width: 3px;
  transform-origin: left;
}
.seg-send {
  background: var(--ink-3);
}
.bar-row.us .seg-send {
  background: var(--accent);
}
.seg-rev,
.key-rev::before {
  background: repeating-linear-gradient(-45deg, var(--ink-3) 0 2px, transparent 2px 6px);
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.seg-send-tirada {
  width: 5.1%;
}
.seg-send-mailcheap {
  width: 14.4%;
}
.seg-send-beehiiv {
  width: 51.2%;
}
.seg-rev-substack {
  width: 100.0%;
}
.chart-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 6px;
  font: 400 13px / 1.4 var(--sans);
  color: var(--ink-3);
}
.key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.key::before {
  content: "";
  width: 14px;
  height: 10px;
}
.key-send::before {
  background: var(--ink-3);
}
/* Grow on entering the viewport (calc.js adds .in-view). */
.js .chart .seg {
  transform: scaleX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .chart.in-view .seg {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .js .chart .seg {
    transform: none;
    transition: none;
  }
}
.bar-row {
  grid-template-columns: 120px minmax(0, 1fr) 270px;
}
.bar-value small {
  white-space: nowrap;
}
@media (max-width: 860px) {
  .bar-row {
    grid-template-columns: 1fr auto;
  }
  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Interactive comparison: the sentence above the chart drives it (calc.js). */
.compare-form {
  margin: 0 0 28px;
}
.sentence-sm {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
}
.bar-total {
  font-weight: 400;
}
/* Without data the segment has no width; never draw a stub then. */
.seg[style*="width: 0"] {
  min-width: 0;
}
.seg-rev-tirada,
.seg-rev-mailcheap,
.seg-rev-beehiiv,
.seg-send-substack {
  width: 0;
  min-width: 0;
}

/* Section titles sit on the same baseline as the first line of their section; the number floats above. */
.section {
  align-items: first baseline;
}
.section-head {
  position: relative;
}
.section-head .label {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .section {
    align-items: start;
  }
  .section-head .label {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
}
/* Tirada: solid up to the cheapest plan, a lighter stretch up to the most expensive one. */
.seg-range {
  background: var(--accent);
  opacity: 0.28;
}
/* The breakdown wraps inside its column instead of crossing the right edge. */
.bar-value {
  min-width: 0;
}
.bar-value small {
  white-space: normal;
  text-wrap: balance;
}
