/* Editions page (/editions). Loaded only on that page, or on any page using the
 * Edition Cards, Comparison Table or Community Callout layouts (see
 * bricklayer_is_editions_page() in functions.php). Every rule is scoped to
 * .editions-page so no other page is affected.
 *
 * Values follow the Editions HTML reference (its .ed-* rules). Breakpoints:
 * desktop 990px+, tablet 768-989px, mobile below 768px.
 */

.editions-page {
  --ed-gutter: clamp(24px, 5vw, 96px);
  --ed-max: 1240px;
  --ed-sec: clamp(64px, 7vw, 112px);
  --ed-acc: var(--color-acc, #D5FF1C);
  --ed-ink: var(--color-ink, #fff);
  --ed-ink-2: rgba(255, 255, 255, .92);
  --ed-ink-3: rgba(255, 255, 255, .70);
  --ed-line: rgba(255, 255, 255, .10);
  --ed-line-2: rgba(255, 255, 255, .18);
  --ed-header: 84px;
}

/* ─── Hero (Page Hero layout, Section ID "editions-hero") ───────────────────
 * The stock Page Hero is a large centred block with 180px top padding. The
 * reference hero is a compact, left-aligned block on the 1240px grid that the
 * cards use, so the cards start inside the first 720px viewport. */
.editions-page #content.site-content {
  padding-top: 0;
}
.editions-page #editions-hero {
  padding: calc(var(--ed-header) + clamp(26px, 2.8vw, 42px) + 20px) var(--ed-gutter) clamp(26px, 2.8vw, 38px);
}
.editions-page #editions-hero > div {
  max-width: var(--ed-max);
  margin: 0 auto;
}
.editions-page #editions-hero > div > div {
  max-width: none;
  margin: 0;
}
.editions-page #editions-hero > div > div > div {
  max-width: none;
}
.editions-page #editions-hero span.font-mono {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: .22em;
}
.editions-page #editions-hero span.font-mono::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ed-acc);
  flex: none;
}
.editions-page #editions-hero h1 {
  max-width: 17ch;
  margin: 18px 0 0;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.editions-page #editions-hero p {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: clamp(16.5px, 1.25vw, 18px);
  line-height: 1.6;
}

/* Second line of the Editions H1 in lime. The span is added by page-hero.php for this section only. */
.editions-page #editions-hero h1 .ed-hl {
  display: block;
  color: var(--ed-acc);
}

/* ─── Shared band: the cards and signpost ──────────────────────────────── */
.editions-page .ed-band {
  position: relative;
  z-index: 2;
  padding: 0 var(--ed-gutter) var(--ed-sec);
}
.editions-page .ed-pair-band {
  padding-top: 0;
}

/* ─── Team and Enterprise cards ──────────────────────────────────────────
 * Two equal columns from 820px (reference), so iPad portrait (834px) keeps the
 * two-up layout; below 820px they stack. Neither card is highlighted. Cards stretch
 * to the same height and their button rows are pinned to the bottom. */
.editions-page .ed-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--ed-max);
  margin: 0 auto;
}
@media (min-width: 820px) {
  .editions-page .ed-pair {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.editions-page .ed-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ed-line);
  background: linear-gradient(to bottom, rgba(39, 62, 71, .22), rgba(13, 21, 23, .55));
  padding: clamp(24px, 2.4vw, 40px);
  transition: border-color .25s, transform .25s;
}
.editions-page .ed-card:hover {
  border-color: rgba(213, 255, 28, .45);
  transform: translateY(-3px);
}
.editions-page .ed-card .eyebrow {
  margin-bottom: 18px;
}
.editions-page .ed-card h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -.022em;
  font-weight: 300;
  margin: 0;
}
.editions-page .ed-card__aud {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ed-ink-3);
}
.editions-page .ed-card__rule {
  height: 1px;
  background: var(--ed-line);
  margin: 26px 0;
}
.editions-page .ed-card__offer {
  flex: 1 1 auto;
}
.editions-page .ed-card__offer strong {
  display: block;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  color: var(--ed-ink);
  margin-bottom: 12px;
}
.editions-page .ed-card__offer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ed-ink-2);
}
.editions-page .ed-card__inherit {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ed-ink-3);
}
.editions-page .ed-card .btn {
  margin-top: 30px;
  align-self: flex-start;
}
/* The button row sits on one baseline in both cards, whatever the copy length. */
.editions-page .ed-card__foot {
  margin-top: auto;
}

/* A button whose destination is not yet confirmed. It is a span with no link, so it
 * cannot be followed, and it keeps the hover response of the real button. No
 * placeholder text is shown to visitors. */
.editions-page .ed-pending {
  cursor: default;
}

/* Buttons, matching the reference's hover states. Scoped to Editions, so the
 * site-wide button styles are unchanged. */
.editions-page .btn {
  transition: all .28s cubic-bezier(.2, .7, .2, 1);
}
.editions-page .btn-acc:hover {
  background: #E4FF5C;
  border-color: #E4FF5C;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(213, 255, 28, .25);
}
.editions-page .btn-ghost:hover {
  border-color: #D5FF1C;
  color: #D5FF1C;
  transform: translateY(-1px);
}

/* ─── Community signpost ───────────────────────────────────────────────── */

/* Screen-reader-only text, scoped to Editions (the table header label is hidden visually, not removed). */
.editions-page .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;
}

/* ─── Shared section pieces ─────────────────────────────────────────────── */
/* The reference's eyebrow (mono label with a lime square). The live stylesheet has no
 * global .eyebrow rule, so it is defined here for this page only. */
.editions-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ed-acc);
}
.editions-page .eyebrow .sq {
  width: 8px;
  height: 8px;
  background: var(--ed-acc);
  flex: none;
}
.editions-page .ed-band__in {
  max-width: var(--ed-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.editions-page .ed-surface {
  background: #0C1316;
  border-top: 1px solid var(--ed-line);
  border-bottom: 1px solid var(--ed-line);
  padding-top: var(--ed-sec);
}
.editions-page .ed-sec-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.editions-page .ed-sec-head .eyebrow {
  margin-bottom: 20px;
  justify-content: center;
}
.editions-page .ed-sec-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 500;
}
.editions-page .ed-sec-head p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ed-ink-2);
}

/* ─── Comparison table ─────────────────────────────────────────────────── */
.editions-page .ed-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}
.editions-page .ed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 620px;
}
.editions-page .ed-table th,
.editions-page .ed-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--ed-line);
  text-align: center;
  vertical-align: middle;
}
.editions-page .ed-table th:first-child,
.editions-page .ed-table td:first-child {
  text-align: left;
  width: 50%;
  font-weight: 400;
  color: var(--ed-ink-2);
  line-height: 1.45;
}
.editions-page .ed-table thead th {
  background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid var(--ed-line-2);
  font-family: var(--font-title, "Titillium Web", sans-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ed-ink);
  letter-spacing: -.01em;
  padding-top: 22px;
  padding-bottom: 22px;
}
.editions-page .ed-table thead th:first-child {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ed-ink-3);
}
.editions-page .ed-table tbody tr:hover td,
.editions-page .ed-table tbody tr:hover th {
  background: rgba(255, 255, 255, .02);
}
.editions-page .ed-table .tick {
  color: var(--ed-acc);
  font-size: 17px;
  line-height: 1;
}
.editions-page .ed-table .no {
  color: rgba(255, 255, 255, .35);
}
.editions-page .ed-table .val {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ed-ink-2);
}
.editions-page .ed-table .cap-row td,
.editions-page .ed-table .cap-row th {
  background: rgba(213, 255, 28, .045);
}
.editions-page .ed-table .cap-row .val {
  color: var(--ed-acc);
  font-weight: 500;
}
.editions-page .ed-note {
  max-width: 1000px;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ed-ink-3);
}
.editions-page .ed-note + .ed-note {
  margin-top: 8px;
}
.editions-page .ed-ask {
  max-width: 1000px;
  margin: 36px auto 0;
  border: 1px solid rgba(245, 247, 242, .14);
  background: linear-gradient(rgba(39, 62, 71, .4), rgba(13, 21, 23, .6));
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.editions-page .ed-ask strong {
  display: block;
  font-weight: 500;
  font-size: 19px;
  color: var(--ed-ink);
  margin-bottom: 6px;
}
.editions-page .ed-ask p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ed-ink-3);
}
.editions-page .ed-ask .btn {
  flex-shrink: 0;
}

/* ─── Community callout ────────────────────────────────────────────────── */
.editions-page .ed-comm {
  max-width: var(--ed-max);
  margin: 0 auto;
  border: 1px solid var(--ed-line);
  border-left: 3px solid var(--ed-acc);
  background: rgba(13, 21, 23, .45);
  padding: clamp(28px, 2.6vw, 40px);
}
.editions-page .ed-comm__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.editions-page .ed-comm h2 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 300;
  margin: 16px 0 14px;
}
.editions-page .ed-comm__aud {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ed-ink-2);
}
.editions-page .ed-comm__offer strong {
  display: block;
  font-weight: 300;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ed-ink);
  margin-bottom: 10px;
}
.editions-page .ed-comm__offer p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ed-ink-2);
}
.editions-page .ed-comm .btn {
  margin-top: 24px;
}
.editions-page .ed-comm__side {
  border-top: 1px solid var(--ed-line);
  padding-top: 24px;
}
.editions-page .ed-comm__k {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ed-acc);
  margin: 0 0 16px;
}
.editions-page .ed-comm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.editions-page .ed-comm__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ed-ink-2);
}
.editions-page .ed-comm__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--ed-acc);
}
.editions-page .ed-comm__v {
  display: block;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ed-ink-3);
  margin-top: 3px;
}

/* ─── Desktop 990px and up ─────────────────────────────────────────────── */
@media (min-width: 990px) {
  .editions-page #editions-hero {
    padding-bottom: 38px;
    text-align: center;
  }
  .editions-page #editions-hero span.font-mono {
    justify-content: center;
  }
  .editions-page #editions-hero h1,
  .editions-page #editions-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .editions-page .ed-comm__grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .editions-page .ed-comm__side {
    border-top: 0;
    border-left: 1px solid var(--ed-line);
    padding-top: 0;
    padding-left: 40px;
  }
  /* Side-by-side layout: lowered so this eyebrow sits level with the left-hand "Support your community" eyebrow. */
  .editions-page .ed-comm__k {
    margin-top: 6px;
  }
}

/* ─── Hero centred below 990px (tablet and mobile) ─────────────────────────
 * On desktop the Hero stays left-aligned. Below 990px the eyebrow, heading and
 * description are centred, with the heading and description held to a readable
 * width by auto margins. Scoped to the Editions Hero only. */
@media (max-width: 989px) {
  .editions-page #editions-hero {
    text-align: center;
  }
  .editions-page #editions-hero span.font-mono {
    justify-content: center;
  }
  .editions-page #editions-hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .editions-page #editions-hero p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ─── Tablet 768-989px ─────────────────────────────────────────────────── */

/* From 768px up: the closing "closer look" row sits beside its button. */
@media (min-width: 768px) {
  .editions-page .ed-ask {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .editions-page .ed-ask {
    padding: 22px 20px;
  }
}

/* ─── Mobile below 768px ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .editions-page {
    --ed-header: 76px;
  }
  /* The table wraps instead of sliding sideways. Its head stays pinned under the
     header, with an opaque fill so rows passing beneath it do not show through. */
  .editions-page .ed-table-wrap {
    overflow-x: visible;
  }
  .editions-page .ed-table {
    min-width: 0;
    font-size: 12.5px;
  }
  .editions-page .ed-table th,
  .editions-page .ed-table td {
    padding: 13px 6px;
    overflow-wrap: anywhere;
  }
  .editions-page .ed-table th:first-child,
  .editions-page .ed-table td:first-child {
    width: 44%;
  }
  .editions-page .ed-table thead th {
    position: sticky;
    top: var(--ed-header);
    z-index: 3;
    background: #131A1D;
    box-shadow: 0 1px 0 var(--ed-line-2);
    font-size: 15px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .editions-page .ed-table thead th:first-child {
    font-size: 10px;
  }
  .editions-page .ed-table .val {
    font-size: 12px;
  }
  .editions-page .ed-comm__offer p,
  .editions-page .ed-comm__aud {
    font-size: 15px;
  }
  .editions-page #editions-hero h1 {
    font-size: 32px;
  }
    }

/* ─── Hero texture: background gradient, four pixel rows, scattered squares ──
 * Decorative markup is printed by the Page Hero partial only for the section
 * with ID "editions-hero". It sits behind the hero copy and ignores the pointer. */
.editions-page #editions-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 420px at 50% 0%, rgba(39, 62, 71, .5), transparent 70%);
}
.editions-page #editions-hero > div:not(.ed-hero-fx) {
  position: relative;
  z-index: 1;
}
.editions-page .ed-hero-fx {
  position: absolute;
  inset: var(--ed-header) 0 0 0;
  z-index: 0;
  pointer-events: none;
}
.editions-page .ed-hero-fx .px-row { position: absolute; left: 0; right: 0; height: 12px; pointer-events: none; background-repeat: repeat-x }
.editions-page .ed-hero-fx .px-row.r1 { top: 0; background-image: linear-gradient(90deg, #273E47 12px, transparent 12px), linear-gradient(90deg, #273E47 12px, transparent 12px); background-size: 24px 12px, 60px 12px; background-position: 0 0, 12px 0 }
.editions-page .ed-hero-fx .px-row.r2 { top: 12px; background-image: linear-gradient(90deg, #273E47 12px, transparent 12px), linear-gradient(90deg, #273E47 12px, transparent 12px); background-size: 48px 12px, 132px 12px; background-position: 12px 0, 36px 0 }
.editions-page .ed-hero-fx .px-row.r3 { top: 24px; background-image: linear-gradient(90deg, #273E47 12px, transparent 12px), linear-gradient(90deg, #273E47 12px, transparent 12px); background-size: 96px 12px, 228px 12px; background-position: 24px 0, 60px 0 }
.editions-page .ed-hero-fx .px-row.r4 { top: 36px; background-image: linear-gradient(90deg, #273E47 12px, transparent 12px); background-size: 252px 12px; background-position: 108px 0 }
.editions-page .ed-hero-fx .px-dot { position: absolute; width: 12px; height: 12px; background: var(--ed-acc); pointer-events: none }
.editions-page .ed-hero-fx .pt { position: absolute; width: 7px; height: 7px; pointer-events: none; animation: edPtTwinkle 5s ease-in-out infinite }
.editions-page .ed-hero-fx .pt.c1 { background: #D5FF1C }
.editions-page .ed-hero-fx .pt.c2 { background: #6CC5C9 }
.editions-page .ed-hero-fx .pt.c3 { background: #fff; --o: .7 }
.editions-page .ed-hero-fx .pt.c4 { background: #C2334D }
@keyframes edPtTwinkle { 0%, 100% { opacity: var(--o, 1) } 50% { opacity: calc(var(--o, 1) * .35) } }
@media (prefers-reduced-motion: reduce) { .editions-page .ed-hero-fx .pt { animation: none } }
/* Tablet and mobile keep the texture, at lower density. Children of .ed-hero-fx are, in order: four rows, four squares, fourteen particles. */
@media (max-width: 1100px) { .editions-page .ed-hero-fx .pt:nth-child(n+17) { display: none } }
@media (max-width: 767px) {
  .editions-page .ed-hero-fx .px-row.r3,
  .editions-page .ed-hero-fx .px-row.r4,
  .editions-page .ed-hero-fx .px-dot:nth-child(n+7),
  .editions-page .ed-hero-fx .pt:nth-child(n+15) { display: none }
}

/* ─── Footer badges (Editions only; printed by footer.php on this page alone) ──
 * Sit under the social icons in the brand column, grey. */
.editions-page .foot-badges {
  --bh: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.editions-page .foot-badges img {
  display: block;
  height: var(--bh);
  width: auto;
  filter: grayscale(1);
  opacity: .75;
}
/* The SOC 2 file has a 13px transparent border on each side (160px image, 134px artwork), so it is drawn
 * larger by that ratio and its artwork matches the other two. Fortress and Breakthrough have no border. */
.editions-page .foot-badges img:nth-child(3) {
  height: calc(var(--bh) * 1.194);
}
@media (max-width: 989px) {
  .editions-page .foot-badges {
    --bh: 56px;
  }
}
@media (max-width: 767px) {
  .editions-page .foot-badges {
    --bh: 48px;
  }
}

/* ─── Design update: Community pointer under the cards (ed-also) and the comparison table ── */
.editions-page .ed-also {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: var(--ed-max);
  margin: clamp(36px, 3.6vw, 52px) auto 24px;
  padding: 24px 28px;
  border: 1px solid rgba(213, 255, 28, .55);
  background: linear-gradient(90deg, rgba(213, 255, 28, .10), rgba(213, 255, 28, .03));
  color: var(--ed-ink);
  text-decoration: none;
  transition: background .25s, transform .25s, border-color .25s;
}
@media (min-width: 860px) {
  .editions-page .ed-also {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 26px 32px;
  }
}
.editions-page .ed-also::before,
.editions-page .ed-also::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ed-acc);
}
.editions-page .ed-also::before { left: -5px; top: -5px }
.editions-page .ed-also::after { right: -5px; bottom: -5px }
.editions-page .ed-also:hover {
  background: linear-gradient(90deg, rgba(213, 255, 28, .16), rgba(213, 255, 28, .06));
  border-color: var(--ed-acc);
  transform: translateY(-2px);
}
.editions-page .ed-also:focus-visible {
  outline: 2px solid var(--ed-acc);
  outline-offset: 3px;
}
.editions-page .ed-also__k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ed-acc);
}
.editions-page .ed-also__k .sq {
  width: 8px;
  height: 8px;
  background: var(--ed-acc);
  flex: none;
}
.editions-page .ed-also__t {
  display: block;
  margin-top: 10px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ed-ink);
}
.editions-page .ed-also__d {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ed-ink-2);
  max-width: 70ch;
}
.editions-page .ed-also__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--ed-acc);
  color: #060B0D;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}
.editions-page .ed-also__go span {
  transition: transform .25s;
}
.editions-page .ed-also:hover .ed-also__go span {
  transform: translateY(3px);
}

/* Table frame, sticky header under the site header, group bands, lime tick badges, footer buttons. */
.editions-page .ed-table-wrap {
  border: 1px solid rgba(245, 247, 242, .14);
  background: linear-gradient(rgba(39, 62, 71, .3), rgba(13, 21, 23, .6));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
@media (min-width: 701px) {
  .editions-page .ed-table-wrap {
    overflow: visible;
  }
}
.editions-page .ed-table thead th {
  position: sticky;
  top: var(--ed-header);
  z-index: 3;
  background: #16262D;
  box-shadow: inset 0 -3px 0 var(--ed-acc);
  border-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.editions-page .ed-table thead th:first-child {
  border-left: 0;
}
.editions-page .ed-table .cmp__ed {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.editions-page .ed-table .cmp__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ed-acc);
}
.editions-page .ed-table tr.grp th {
  width: auto;
  padding: 11px 22px;
  background: rgba(39, 62, 71, .55);
  text-align: left;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.editions-page .ed-table .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ed-acc);
  color: #060B0D;
}
.editions-page .ed-table .tick svg {
  width: 14px;
  height: 14px;
  display: block;
}
.editions-page .ed-table .no {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  vertical-align: middle;
  font-size: 0;
}
.editions-page .ed-table .val {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.editions-page .ed-table tfoot th,
.editions-page .ed-table tfoot td {
  padding: 22px;
  border-bottom: 0;
  background: rgba(6, 11, 13, .35);
}
.editions-page .ed-table tfoot .btn {
  padding: 13px 18px;
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .editions-page .ed-table th,
  .editions-page .ed-table td {
    padding: 12px 8px;
    overflow-wrap: anywhere;
  }
  .editions-page .ed-table thead th {
    padding: 14px 6px;
    overflow-wrap: normal;
  }
  .editions-page .ed-table .cmp__ed {
    font-size: 14.5px;
  }
  .editions-page .ed-table .cmp__sub {
    display: none;
  }
  .editions-page .ed-table .val {
    font-size: 12.5px;
  }
  .editions-page .ed-table tr.grp th {
    padding: 9px 8px;
    font-size: 10px;
  }
  .editions-page .ed-table tfoot .btn {
    padding: 10px 8px;
    font-size: 10px;
    letter-spacing: .06em;
    white-space: normal;
  }
}

/* ─── Mobile below 768px: comparison table as stacked rows, and the closer-look box centred ─── */
@media (max-width: 767px) {
  .editions-page .ed-table-wrap {
    overflow: visible;
  }
  .editions-page .ed-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .editions-page .ed-table thead {
    display: block;
    position: sticky;
    top: var(--ed-header);
    z-index: 4;
    background: #16262D;
    box-shadow: inset 0 -3px 0 var(--ed-acc);
  }
  .editions-page .ed-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .editions-page .ed-table thead th {
    padding: 14px 6px;
    border-left: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 0;
    text-align: center;
  }
  .editions-page .ed-table thead th:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .editions-page .ed-table tbody,
  .editions-page .ed-table tfoot {
    display: block;
  }
  .editions-page .ed-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .editions-page .ed-table tbody tr:not(.grp) {
    border-bottom: 1px solid var(--ed-line);
  }
  .editions-page .ed-table tbody tr:not(.grp) > th {
    grid-column: 1 / -1;
    width: auto;
    padding: 16px 16px 10px;
    text-align: left;
  }
  .editions-page .ed-table tbody tr:not(.grp) > td {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 12px 8px 16px;
    border-left: 1px solid var(--ed-line);
  }
  .editions-page .ed-table tbody tr:not(.grp) > td::before {
    content: none;
  }
  .editions-page .ed-table tr.grp th {
    grid-column: 1 / -1;
    width: auto;
  }
  .editions-page .ed-table tfoot {
    margin-top: 0;
    border-top: 1px solid var(--ed-line-2);
    background: rgba(6, 11, 13, .35);
  }
  .editions-page .ed-table tfoot tr {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 16px 20px;
  }
  .editions-page .ed-table tfoot th {
    display: none;
  }
  .editions-page .ed-table tfoot td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 0;
    border-left: 0;
  }
  .editions-page .ed-table tfoot .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 12px 6px;
    font-size: 10.5px;
    letter-spacing: .04em;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .editions-page .ed-ask {
    align-items: center;
    text-align: center;
  }
  .editions-page .ed-ask .btn {
    align-self: center;
  }
}
