/* RevealEmail theme.
   Envelope-grey ground, white letter paper, airmail blue and red used only
   as the stripe and for action. One memorable device: the postmark. */

:root {
  --re-ink: #0c2340;
  --re-ink-2: #243b5a;
  --re-muted: #56657a;
  --re-line: #d9dee8;
  --re-line-soft: #e8ebf1;
  --re-envelope: #edf1f6;
  --re-letter: #ffffff;
  --re-blue: #0b5fb0;
  --re-blue-deep: #064a8e;
  --re-blue-wash: #e6f0fb;
  --re-red: #e0413f;
  --re-green: #1f8a5b;
  --re-green-wash: #e3f4ec;
  --re-amber: #a86300;
  --re-amber-wash: #fff1db;
  --re-bad: #c22f2d;
  --re-bad-wash: #fde8e7;
  --re-font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --re-radius-sm: 8px;
  --re-radius: 12px;
  --re-radius-lg: 18px;
  --re-stripe: repeating-linear-gradient(135deg, var(--re-blue) 0 14px, var(--re-letter) 14px 22px, var(--re-red) 22px 36px, var(--re-letter) 36px 44px);
  --re-paper-shadow: 0 1px 0 rgba(12, 35, 64, 0.04), 0 2px 4px rgba(12, 35, 64, 0.04), 0 28px 56px -28px rgba(12, 35, 64, 0.28);
  --re-wrap: 1180px;
  --re-gutter: clamp(16px, 4vw, 32px);
  --re-header-h: 72px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--re-header-h) + 16px); }

body {
  margin: 0;
  background: var(--re-envelope);
  color: var(--re-ink);
  font: 400 16px/1.6 var(--re-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img,
svg { max-width: 100%; }
img { height: auto; }

a { color: var(--re-blue); text-underline-offset: 3px; }
a:hover { color: var(--re-blue-deep); }

h1, h2, h3, h4 { margin: 0; color: var(--re-ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--re-blue); outline-offset: 2px; }

.re-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--re-radius-sm);
  background: var(--re-ink);
  color: #fff;
  font-weight: 700;
}
.re-skip:focus { top: 12px; color: #fff; }

.re-wrap {
  width: 100%;
  max-width: calc(var(--re-wrap) + 2 * var(--re-gutter));
  margin-inline: auto;
  padding-inline: var(--re-gutter);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--re-radius-sm);
  font: 700 15px/1 var(--re-font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.re-btn svg { width: 18px; height: 18px; }
.re-btn--primary { background: var(--re-blue); color: #fff; }
.re-btn--primary:hover { background: var(--re-blue-deep); color: #fff; }
.re-btn--secondary { background: var(--re-letter); border-color: var(--re-line); color: var(--re-ink); }
.re-btn--secondary:hover { border-color: var(--re-ink); color: var(--re-ink); }
.re-btn--light { background: #fff; color: var(--re-blue-deep); }
.re-btn--light:hover { background: var(--re-blue-wash); color: var(--re-blue-deep); }
.re-btn--ghost-ink { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.re-btn--ghost-ink:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.re-btn:disabled { opacity: 0.6; cursor: progress; }

.re-textlink { font-weight: 700; text-decoration: none; }
.re-textlink:hover { text-decoration: underline; }

/* ── Header ───────────────────────────────────────────────────────────── */

.re-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 241, 246, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.admin-bar .re-header { top: var(--wp-admin--admin-bar--height, 32px); }
.re-header.is-stuck { border-bottom-color: var(--re-line); }
.re-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--re-header-h);
}

.re-brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.re-brand__logo { display: block; width: auto; height: 54px; }
@media (max-width: 560px) {
  .re-brand__logo { height: 44px; }
}
.re-footer .re-brand__logo { height: 52px; }

.re-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.re-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.re-nav__list > li { position: relative; }
.re-nav__link,
.re-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--re-radius-sm);
  color: var(--re-ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.re-nav__link:hover { background: rgba(12, 35, 64, 0.06); color: var(--re-ink); }
.re-nav__link.is-active { color: var(--re-ink); box-shadow: inset 0 -2px 0 var(--re-blue); border-radius: 0; }
.re-nav__cta { min-height: 42px; padding: 0 18px; }

.re-menu__summary { list-style: none; }
.re-menu__summary::-webkit-details-marker { display: none; }
.re-menu__chevron { width: 16px; height: 16px; transition: transform 0.2s ease; }
.re-menu__details[open] .re-menu__chevron { transform: rotate(180deg); }
.re-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 28px;
  padding: 22px 24px;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-lg);
  background: var(--re-letter);
  box-shadow: 0 24px 48px -20px rgba(12, 35, 64, 0.3);
}
.re-menu__panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.re-menu__heading { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--re-muted); }
.re-menu__list { margin: 0; padding: 0; list-style: none; }
.re-menu__list.is-two { display: grid; grid-template-columns: repeat(2, minmax(130px, auto)); column-gap: 16px; }
.re-menu__link {
  display: block;
  padding: 6px 10px;
  margin-inline: -10px;
  border-radius: var(--re-radius-sm);
  color: var(--re-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.re-menu__link:hover { background: var(--re-envelope); color: var(--re-ink); }
.re-menu__link.is-active { color: var(--re-blue); font-weight: 700; }

.re-burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-sm);
  background: var(--re-letter);
  color: var(--re-ink);
  cursor: pointer;
}
.re-burger svg { width: 22px; height: 22px; }
.re-burger__close { display: none; }
.re-menu-open .re-burger__open { display: none; }
.re-menu-open .re-burger__close { display: block; }

@media (max-width: 900px) {
  .re-burger { display: grid; }
  .re-nav {
    position: fixed;
    inset: var(--re-header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--re-gutter) 32px;
    background: var(--re-letter);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .admin-bar .re-nav { top: calc(var(--re-header-h) + var(--wp-admin--admin-bar--height, 46px)); }
  .re-menu-open { overflow: hidden; }
  .re-menu-open .re-nav { visibility: visible; opacity: 1; transform: none; }
  .re-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .re-nav__list > li > a,
  .re-nav__link { padding: 14px 0; border-bottom: 1px solid var(--re-line-soft); border-radius: 0; font-size: 17px; }
  .re-nav__link.is-active { box-shadow: none; color: var(--re-blue); }
  .re-menu__summary { display: none; }
  .re-menu__panel {
    position: static;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 8px 0 18px;
    border: 0;
    border-bottom: 1px solid var(--re-line-soft);
    border-radius: 0;
    box-shadow: none;
  }
  .re-menu__list.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-menu__link { white-space: normal; }
  .re-nav__cta { min-height: 52px; }
}

/* ── Type ─────────────────────────────────────────────────────────────── */

.re-display {
  max-width: 15ch;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.042em;
}
.re-display--sm { max-width: none; font-size: clamp(36px, 4.6vw, 54px); }
.re-lead { max-width: 52ch; margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--re-ink-2); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.re-hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); }
.re-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.re-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--re-ink-2);
}
.re-hero__points li { display: flex; align-items: center; gap: 7px; }
.re-hero__points svg { width: 18px; height: 18px; color: var(--re-green); }
.re-hero__panel { position: relative; }

@media (max-width: 900px) {
  .re-hero__grid { grid-template-columns: 1fr; }
  .re-display { max-width: 18ch; }
}

/* The "Free check" badge is a postage stamp: a perforated edge made from a
   dotted mask around a solid content box. */
/* Doubled class: the plugin stylesheet loads after this one. */
.re-lookup .re-lookup__head { padding-right: 96px; position: relative; }
.re-lookup .re-lookup__free {
  --r: 3px;
  position: absolute;
  right: -6px;
  top: 50%;
  padding: calc(2 * var(--r) + 5px) calc(2 * var(--r) + 8px);
  border-radius: 0;
  background: var(--re-red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  transform: translateY(-50%) rotate(4deg);
  -webkit-mask: conic-gradient(#000 0 0) content-box, radial-gradient(var(--r), #000 97%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round;
  mask: conic-gradient(#000 0 0) content-box, radial-gradient(var(--r), #000 97%, #0000) 0 0 / calc(2 * var(--r)) calc(2 * var(--r)) round;
  box-shadow: none;
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.re-section { padding-block: clamp(56px, 8vw, 104px); }
.re-section--paper { background: var(--re-letter); border-block: 1px solid var(--re-line); }
.re-section + .re-section--paper,
.re-section--paper + .re-section { border-top-color: var(--re-line); }

.re-section__head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 48px); }
.re-section__head--center { margin-inline: auto; text-align: center; }
.re-section__head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}
.re-section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.re-section__lead { margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--re-muted); max-width: 58ch; }
.re-section__head--center .re-section__lead { margin-inline: auto; }
.re-section__lead a { font-weight: 600; white-space: nowrap; }

/* A true sequence, so it is numbered. */
.re-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: re-step;
}
.re-steps__item {
  counter-increment: re-step;
  padding-top: 20px;
  border-top: 2px solid var(--re-ink);
}
.re-steps__item::before {
  content: counter(re-step);
  display: block;
  margin-bottom: 14px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--re-blue);
  font-variant-numeric: tabular-nums;
}
.re-steps__item h3 { font-size: 21px; font-weight: 700; }
.re-steps__item p { margin-top: 8px; color: var(--re-muted); }
@media (max-width: 760px) {
  .re-steps { grid-template-columns: 1fr; }
}

/* Steps with illustrations: picture first, then the number and copy. */
.re-steps--media .re-steps__item {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  border-top: 0;
}
.re-steps--media .re-steps__item::before {
  padding-top: 18px;
  border-top: 2px solid var(--re-ink);
}
.re-steps__media {
  order: -1;
  margin: 0 0 18px;
  aspect-ratio: 1100 / 515;
  overflow: hidden;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius);
  background: #dfe3e8;
}
.re-steps__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Report showcase */
.re-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.re-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.re-tiers h3 { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--re-line); font-size: 17px; font-weight: 700; }
.re-tiers ul { margin: 0; padding: 0; list-style: none; }
.re-tiers li { display: flex; gap: 9px; padding: 7px 0; font-size: 15px; line-height: 1.4; color: var(--re-ink-2); }
.re-tiers li svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--re-green); }
.re-tiers__col--full li svg { color: var(--re-blue); }

.re-specimen { margin: 0; }
.re-specimen .re-report { transform: rotate(-1deg); }
.re-specimen .re-report__email { font-size: clamp(22px, 2.3vw, 26px); }
.re-specimen__locked {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 12px 0;
  padding: 14px 16px;
  border: 1.5px dashed #b7bfd0;
  border-radius: var(--re-radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--re-ink-2);
}
.re-specimen__locked svg { width: 20px; height: 20px; flex: none; color: var(--re-blue); }

@media (max-width: 960px) {
  .re-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .re-tiers { grid-template-columns: 1fr; gap: 16px; }
  .re-specimen .re-report { transform: none; }
}

/* Use cases and splits */
.re-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.re-split--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.re-split .re-btn { margin-top: 28px; }
@media (max-width: 860px) {
  .re-split,
  .re-split--wide { grid-template-columns: 1fr; }
}

.re-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.re-cases__item { padding: 20px 0; border-top: 1px solid var(--re-line); }
.re-cases__item dt { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.re-cases__item dd { margin: 6px 0 0; color: var(--re-muted); }
@media (max-width: 600px) {
  .re-cases { grid-template-columns: 1fr; }
}

.re-signals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.re-signals__group h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.re-signals__group h3 svg { width: 22px; height: 22px; color: var(--re-blue); flex: none; }
.re-signals__group ul { margin: 14px 0 0; padding: 0; list-style: none; }
.re-signals__group li { padding: 8px 0; border-top: 1px solid var(--re-line-soft); color: var(--re-ink-2); font-size: 15px; }
@media (max-width: 960px) {
  .re-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .re-signals { grid-template-columns: 1fr; }
}

.re-checklist { margin: 24px 0 0; padding: 0; list-style: none; }
.re-checklist li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--re-line); font-size: 17px; font-weight: 500; }
.re-checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--re-green); }

.re-note {
  padding: 28px 28px 28px 34px;
  border-radius: 0 var(--re-radius) var(--re-radius) 0;
  background: var(--re-letter);
  border-left: 8px solid;
  border-image: var(--re-stripe) 1;
  box-shadow: var(--re-paper-shadow);
}
.re-note h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.re-note p { color: var(--re-ink-2); }
.re-note p + p { margin-top: 10px; }

/* FAQ */
.re-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.re-faq__list { border-top: 1px solid var(--re-line); }
.re-faq__item { border-bottom: 1px solid var(--re-line); }
.re-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.re-faq__item summary::-webkit-details-marker { display: none; }
.re-faq__item summary:hover { color: var(--re-blue); }
.re-faq__icon { width: 20px; height: 20px; flex: none; transition: transform 0.2s ease; }
.re-faq__item[open] .re-faq__icon { transform: rotate(180deg); }
.re-faq__item p { max-width: 64ch; padding: 0 0 22px; color: var(--re-ink-2); }
@media (max-width: 860px) {
  .re-faq { grid-template-columns: 1fr; }
}

/* Article cards */
.re-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.re-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius);
  background: var(--re-letter);
  overflow: hidden;
}
.re-card__media { display: block; aspect-ratio: 16 / 10; background: var(--re-envelope); overflow: hidden; }
.re-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.re-card__placeholder { display: grid; place-items: center; height: 100%; color: #b7bfd0; }
.re-card__placeholder svg { width: 48px; height: 48px; }
.re-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.re-card__cat { font-size: 13px; font-weight: 700; color: var(--re-blue); }
.re-card__title { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.25; }
.re-card__title a { color: var(--re-ink); text-decoration: none; }
.re-card__title a::after { content: ""; position: absolute; inset: 0; }
.re-card:hover .re-card__title a { color: var(--re-blue); }
.re-card__excerpt { flex: 1; margin-top: 8px; font-size: 15px; color: var(--re-muted); }
.re-card__date { margin-top: 14px; font-size: 13px; color: var(--re-muted); }

/* Closing CTA: airmail blue with the stripe along its top edge. */
.re-cta { position: relative; background: var(--re-blue); color: #fff; }
.re-cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--re-stripe); }
.re-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 7vw, 88px);
}
.re-cta__title { max-width: 22ch; color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.re-cta__lead { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }
.re-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.re-footer { background: var(--re-ink); color: #b9bfd4; font-size: 15px; }
.re-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  padding-block: 64px 48px;
}
.re-footer__about p { max-width: 34ch; margin-top: 16px; }
.re-footer__label { margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #fff; }
.re-footer ul { margin: 0; padding: 0; list-style: none; }
.re-footer ul.is-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.re-footer li { padding: 4px 0; }
.re-footer a:not(.re-brand) { color: #b9bfd4; text-decoration: none; }
.re-footer a:not(.re-brand):hover { color: #fff; text-decoration: underline; }
.re-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-block: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #8d93ab;
}
.re-footer__legal p:last-child { max-width: 70ch; }
@media (max-width: 960px) {
  .re-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .re-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Pages ────────────────────────────────────────────────────────────── */

.re-page { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.re-page__header { max-width: 760px; margin: 0 auto 28px; }
.re-page__header--center { max-width: 640px; text-align: center; margin-bottom: 40px; }
.re-page__header h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.re-page__header p { margin-top: 12px; font-size: 18px; color: var(--re-muted); }
.re-page__doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 6px;
  background: var(--re-letter);
  box-shadow: var(--re-paper-shadow);
}
.re-page__doc > .re-page__header { margin: 0 0 24px; }
.re-page__app { max-width: 1180px; margin: 0 auto; }

.re-prose { font-size: 17px; line-height: 1.7; color: var(--re-ink-2); }
.re-prose > * + * { margin-top: 1.1em; }
.re-prose h2 { margin-top: 1.8em; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.re-prose h3 { margin-top: 1.5em; font-size: 21px; font-weight: 700; }
.re-prose ul,
.re-prose ol { padding-left: 1.3em; }
.re-prose li + li { margin-top: 0.4em; }
.re-prose blockquote { margin-inline: 0; padding-left: 18px; border-left: 3px solid var(--re-blue); color: var(--re-ink); font-size: 19px; }
.re-prose img { border-radius: var(--re-radius); }
.re-prose code { padding: 2px 6px; border-radius: 4px; background: var(--re-envelope); font-size: 0.9em; }
.re-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.re-prose th,
.re-prose td { padding: 10px 12px; border-bottom: 1px solid var(--re-line); text-align: left; }
.re-prose .re-btn { color: #fff; }

/* Single article */
.re-single { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.re-single__article { max-width: 760px; margin: 0 auto; }
.re-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--re-muted); }
.re-breadcrumb a { color: var(--re-muted); text-decoration: none; }
.re-breadcrumb a:hover { color: var(--re-blue); text-decoration: underline; }
.re-single__header { margin: 22px 0 28px; }
.re-single__header h1 { font-size: clamp(34px, 4.8vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.re-single__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 15px; color: var(--re-muted); }
.re-single__hero { margin: 0 0 36px; }
.re-single__hero img { display: block; width: 100%; border-radius: var(--re-radius); }
.re-single__cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  margin: 44px 0;
  padding: 28px;
  border-radius: var(--re-radius-lg);
  background: var(--re-blue-wash);
}
.re-single__cta h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.re-single__cta p { margin-top: 8px; color: var(--re-ink-2); }
@media (max-width: 700px) {
  .re-single__cta { grid-template-columns: 1fr; padding: 20px; }
}
.re-post-faq { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--re-line); }
.re-related { margin-top: 64px; }
.re-related h2 { margin-bottom: 20px; font-size: 26px; font-weight: 800; }
.re-related .re-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.re-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.re-post-nav__link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius);
  background: var(--re-letter);
  text-decoration: none;
}
.re-post-nav__link--next { text-align: right; }
.re-post-nav__link:hover { border-color: var(--re-blue); }
.re-post-nav__dir { display: block; font-size: 13px; color: var(--re-muted); }
.re-post-nav__title { display: block; margin-top: 4px; color: var(--re-ink); font-weight: 700; line-height: 1.3; }
@media (max-width: 560px) {
  .re-post-nav { grid-template-columns: 1fr; }
  .re-post-nav__link--next { text-align: left; }
}

/* Archive */
.re-archive { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.re-archive__header { margin-bottom: 40px; }
.re-archive__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.re-chip {
  padding: 7px 14px;
  border: 1px solid var(--re-line);
  border-radius: 999px;
  background: var(--re-letter);
  color: var(--re-ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.re-chip:hover { border-color: var(--re-ink); color: var(--re-ink); }
.re-chip.is-active { background: var(--re-ink); border-color: var(--re-ink); color: #fff; }
.re-pagination { margin-top: 48px; }
.re-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.re-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-sm);
  background: var(--re-letter);
  color: var(--re-ink);
  font-weight: 600;
  text-decoration: none;
}
.re-pagination .page-numbers.current { background: var(--re-ink); border-color: var(--re-ink); color: #fff; }

/* 404: the code is franked like a returned letter. */
.re-lost { max-width: 620px; margin: 0 auto; text-align: center; }
.re-lost__code {
  display: inline-grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin-bottom: 28px;
  border: 4px solid var(--re-red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--re-envelope), inset 0 0 0 7px var(--re-red);
  color: var(--re-red);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  transform: rotate(-10deg);
}
.re-lost h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.035em; }
.re-lost p { margin-top: 14px; color: var(--re-muted); font-size: 18px; }
.re-lost .re-btn { margin-top: 10px; }

/* ── WooCommerce touch-ups ────────────────────────────────────────────── */

.woocommerce,
.wc-block-checkout,
.wc-block-cart { font-family: var(--re-font); }
.wc-block-components-button:not(.is-link),
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background: var(--re-blue) !important;
  border-radius: var(--re-radius-sm) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover,
.woocommerce button.button.alt:hover { background: var(--re-blue-deep) !important; }
.woocommerce-order { max-width: 760px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
