@charset "UTF-8";
/* ==========================================================================
   TOKENS
   The scale the rest of the theme measures against. Section padding, inner
   rhythm and type sizes all resolve to values from here rather than to the
   ad-hoc numbers the first build used.
   ========================================================================== */
:root {
  /* --- Spacing -------------------------------------------------------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 7.5rem;
  /* Vertical padding for a full-width section, fluid between phone and desktop. */
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --section-y-tight: clamp(3rem, 5vw, 5rem);
  /* --- Type ----------------------------------------------------------- */
  --fs-display: clamp(2.5rem, 6.5vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 5.5vw, 4rem);
  --fs-h2: clamp(2.375rem, 5vw, 4.3rem);
  --fs-h3: clamp(1.375rem, 2.4vw, 2rem);
  --fs-h4: clamp(1.125rem, 1.8vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.62;
  --measure: 68ch;
  /* --- Surfaces ------------------------------------------------------- */
  --ground: #101113;
  --ground-deep: #05070d;
  --surface-glass: rgba(19, 22, 32, 0.4);
  --hairline: rgba(255, 255, 255, 0.12);
  /* Text on the dark ground. The first build used alpha values between
     0.2 and 0.5, which fall below the 4.5:1 contrast floor. */
  /* Two derivatives of the brand orange, so the brand colour itself never
     has to change. --accent-strong is a fill dark enough for white body
     text; --accent-on-dark is light enough to read as small text on the
     dark ground, where the brand orange measures 4.4:1. */
  --accent-strong: #B4511F;
  --accent-on-dark: #E07A45;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --on-dark-subtle: rgba(255, 255, 255, 0.58);
  --focus-ring: 2px solid var(--accent);
  --focus-offset: 3px;
}

/* ==========================================================================
   ACCESSIBILITY UTILITIES
   ========================================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

.skip-link:focus {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--space-xs) var(--space-md);
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: var(--radius);
  background: var(--accent-strong);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

/* A single, consistent focus indicator. The first build defined none. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 3px;
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ==========================================================================
   SHARED PRIMITIVES
   ========================================================================== */
/* --- Main ---------------------------------------------------------------- */
/* Keeps the last block off the footer. Pages built from full-width sections
   already end on a section's own bottom padding, so they are exempt. */
.site-main {
  padding-bottom: 3.5rem;
}

.site-main:has(> section:last-child) {
  padding-bottom: 0;
}

.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: var(--space-md);
}

/* The opening heading sits flush with the top of its column, so it lines up
   with the share rail beside it. */
.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: var(--space-xl);
  font-size: var(--fs-h3);
}

.prose h3 {
  margin-top: var(--space-lg);
  font-size: var(--fs-h4);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  list-style: revert;
}

.prose li + li {
  margin-top: var(--space-2xs);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  border-radius: var(--radius);
}

.pill {
  display: inline-block;
  /* The em keeps the shape proportional to the label; the added 2px is the
     extra breathing room asked for on top of it. */
  padding: calc(0.25em + 2px) calc(0.75em + 2px);
  border: 1px solid var(--accent);
  border-radius: 50px;
  background: transparent;
  color: var(--on-dark-muted);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill:hover,
.pill:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--white);
}

.section-head {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.notice-inline {
  padding: var(--space-md);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ==========================================================================
   BLOG
   Archive head, post grid, single post, pagination, comments.
   ========================================================================== */
/* --- Archive header ------------------------------------------------------ */
.archive-head {
  padding: calc(var(--section-y) + 4rem) 0 var(--section-y-tight);
}

.archive-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: end;
}

.archive-head__eyebrow {
  margin-bottom: var(--space-2xs);
  color: var(--accent-on-dark);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-head__title {
  color: var(--on-dark);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

.archive-head__intro {
  max-width: 46ch;
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
}

@media (max-width: 900px) {
  .archive-head__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: start;
  }
}
/* --- Category filter ----------------------------------------------------- */
.filter-row {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--hairline);
}

.filter-row__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}

.filter-row__link {
  color: var(--on-dark-subtle);
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  letter-spacing: 0.02em;
}

.filter-row__link:hover,
.filter-row__link:focus-visible {
  color: var(--on-dark);
}

.filter-row__link.is-active {
  color: var(--accent-on-dark);
}

/* --- Post grid ----------------------------------------------------------- */
.post-grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
}

.post-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .post-grid--two,
  .post-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .post-grid--two,
  .post-grid--three {
    grid-template-columns: 1fr;
  }
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.post-card--featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .post-card--featured {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.post-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ground-deep);
}

.post-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.03);
}

.post-card__placeholder {
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(196, 92, 42, 0.25), transparent 60%), var(--ground-deep);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.post-card__flag {
  color: var(--accent-on-dark);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* The anchor inside has to be named too: the base rule sets every link to the
   body face, which would otherwise override the heading. */
.post-card__title,
.post-card__title a {
  font-family: var(--font-sans);
  font-weight: 400;
}

.post-card__title {
  font-size: var(--fs-h3);
  line-height: var(--lh-tight);
  letter-spacing: 0.02em;
  color: var(--on-dark);
  text-wrap: balance;
}

.post-card--featured .post-card__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.post-card__title a:hover,
.post-card__title a:focus-visible {
  color: var(--accent);
}

.post-card__excerpt {
  max-width: 52ch;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  font-weight: 300;
}

.post-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-sm);
  align-items: center;
  margin-top: var(--space-2xs);
}

.post-card__date {
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs);
  margin: 0;
  padding: 0;
}

/* --- Pagination ---------------------------------------------------------- */
.pagination {
  margin: var(--space-3xl) 0 var(--space-2xl);
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
}

.pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 var(--space-2xs);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.pagination__item .page-numbers:hover,
.pagination__item .page-numbers:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination__item .page-numbers.current {
  border-color: var(--accent);
  background: var(--accent-strong);
  color: var(--white);
}

.pagination__item .page-numbers.dots {
  border-color: transparent;
}

/* --- Empty state --------------------------------------------------------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl) var(--space-md);
  max-width: 34rem;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state__message {
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
}

/* --- Single post --------------------------------------------------------- */
.post-single__head {
  padding: calc(var(--section-y) + 4rem) 0 var(--section-y-tight);
}

.post-single__head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .post-single__head-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}
.post-single__title {
  color: var(--on-dark);
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

.post-single__deck {
  max-width: 52ch;
  margin-top: var(--space-md);
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
  font-weight: 300;
}

.post-meta {
  display: flex;
  flex-flow: row wrap;
  gap: var(--space-md) var(--space-xl);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--hairline);
}

@media (max-width: 600px) {
  .post-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
.post-meta__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.post-meta__label {
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-meta__value {
  color: var(--on-dark);
  font-size: var(--fs-small);
}

.post-meta__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xs);
}

.post-single__media {
  margin: 0 0 var(--section-y-tight);
}

.post-single__image {
  width: 100%;
  /* Stops the lead image stretching across very wide screens, where a truly
     full-bleed crop loses the subject. */
  max-width: 1600px;
  height: auto;
  max-height: 34rem;
  margin-inline: auto;
  object-fit: cover;
}

.post-single__caption {
  max-width: 1440px;
  margin: var(--space-2xs) auto 0;
  padding: 0 24px;
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
}

.post-single__body {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  padding-bottom: var(--section-y);
}

.post-single__content {
  max-width: var(--measure);
  color: var(--on-dark-muted);
}

.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
  color: var(--on-dark);
}

.post-single__content strong {
  color: var(--on-dark);
}

@media (max-width: 900px) {
  .post-single__body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}
/* --- Share rail ---------------------------------------------------------- */
.post-single__rail {
  position: sticky;
  top: 7rem;
}

@media (max-width: 900px) {
  .post-single__rail {
    position: static;
  }
}
.post-share__title {
  margin-bottom: var(--space-xs);
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-share__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .post-share__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
}
.post-share__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-3xs) 0;
  border: 0;
  background: none;
  color: var(--on-dark-muted);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.post-share__link:hover,
.post-share__link:focus-visible {
  color: var(--accent);
}

.post-share__link.is-copied {
  color: var(--accent);
}

/* --- Conclusion, tags, author -------------------------------------------- */
.conclusion-panel {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-glass);
}

.conclusion-panel__label {
  margin-bottom: var(--space-2xs);
  color: var(--accent-on-dark);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.conclusion-panel__body {
  color: var(--on-dark-muted);
}

/* The prose block re-enables list markers, so the tag list has to opt out
   again with matching specificity. */
.tag-list,
.prose .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-2xl);
  padding-left: 0;
  list-style: none;
}

.prose .tag-list li + li {
  margin-top: 0;
}

.tag-list a,
.prose .tag-list a {
  display: inline-block;
  padding: 0.3em 0.85em;
  border: 1px solid var(--hairline);
  border-radius: 50px;
  color: var(--on-dark-muted);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.tag-list a:hover,
.prose .tag-list a:hover,
.tag-list a:focus-visible,
.prose .tag-list a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.author-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-top: 1px solid var(--hairline);
}

.author-card__label {
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-card__body {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.author-card__avatar {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

.author-card__name {
  color: var(--on-dark);
  font-weight: 600;
}

.author-card__role {
  color: var(--accent-on-dark);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-card__bio {
  margin-top: var(--space-2xs);
  max-width: 56ch;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  font-weight: 300;
}

/* --- Post navigation and related ----------------------------------------- */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 600px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}
.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding: var(--space-md);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.post-nav__link--next {
  text-align: right;
}

.post-nav__link:hover,
.post-nav__link:focus-visible {
  border-color: var(--accent);
}

.post-nav__label {
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-nav__title {
  color: var(--on-dark);
  font-size: var(--fs-small);
  font-weight: 600;
}

.related-posts {
  padding: var(--space-xl) 0 var(--section-y);
  border-top: 1px solid var(--hairline);
}

.related-posts__title {
  margin-bottom: var(--space-xl);
  color: var(--on-dark);
  font-size: var(--fs-h3);
}

/* --- Search form --------------------------------------------------------- */
.search-form {
  display: flex;
  gap: var(--space-2xs);
  width: 100%;
  max-width: 26rem;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface-glass);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
}

.search-form__input::placeholder {
  color: var(--on-dark-subtle);
}

.search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  background: var(--accent-strong);
  color: var(--white);
  cursor: pointer;
}

.search-again {
  margin-bottom: var(--space-xl);
}

/* --- Comments ------------------------------------------------------------ */
.comments {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-xl) 0 var(--section-y);
  border-top: 1px solid var(--hairline);
}

.comments__title {
  margin-bottom: var(--space-lg);
  color: var(--on-dark);
  font-size: var(--fs-h3);
}

.comments__list {
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.comments__list .children {
  margin-left: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 1px solid var(--hairline);
  list-style: none;
}

.comments__list li {
  margin-bottom: var(--space-lg);
}

.comments .comment-meta,
.comments .comment-body {
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.comments .fn {
  color: var(--on-dark);
  font-style: normal;
  font-weight: 600;
}

.comments__closed {
  color: var(--on-dark-subtle);
  font-size: var(--fs-small);
}

.comment-form label {
  display: block;
  margin-bottom: var(--space-3xs);
  color: var(--on-dark-muted);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface-glass);
  color: var(--on-dark);
  font-family: var(--font-body);
}

.comment-form p {
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   PAGES
   Page header, legal pages, contact details, FAQ and the 404.
   ========================================================================== */
/* --- Page header --------------------------------------------------------- */
.page-hero {
  padding: calc(var(--section-y) + 4rem) 0 var(--section-y-tight);
}

.page-hero--compact {
  padding-bottom: var(--space-xl);
}

.page-hero--centered .container {
  max-width: 52rem;
  text-align: center;
}

.page-hero__eyebrow {
  margin-bottom: var(--space-xs);
  color: var(--accent-on-dark);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero__title {
  max-width: 20ch;
  color: var(--on-dark);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero__title span {
  color: var(--accent-on-dark);
}

.page-hero--centered .page-hero__title {
  max-width: none;
  margin-inline: auto;
}

.page-hero__deck {
  max-width: 56ch;
  margin-top: var(--space-md);
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
  font-weight: 300;
}

.page-hero--centered .page-hero__deck {
  margin-inline: auto;
}

.page-hero__media {
  margin-top: var(--space-xl);
}

.page-hero__media img {
  width: 100%;
  height: auto;
  max-height: 30rem;
  object-fit: cover;
}

/* --- Entry content on inner pages ---------------------------------------- */
.entry-content {
  color: var(--on-dark-muted);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--on-dark);
}

.page-template .entry-content,
.page-single .entry-content {
  padding-bottom: var(--section-y);
}

/* --- Legal pages --------------------------------------------------------- */
.legal-page__body {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
  padding-bottom: var(--section-y);
}

@media (max-width: 900px) {
  .legal-page__body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}
.legal-page__toc {
  position: sticky;
  top: 7rem;
  padding: var(--space-md);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.legal-page__toc.is-empty {
  display: none;
}

@media (max-width: 900px) {
  .legal-page__toc {
    position: static;
  }
}
.legal-page__toc-title {
  margin-bottom: var(--space-xs);
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-page__toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
}

.legal-page__toc-list a {
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.legal-page__toc-list a:hover,
.legal-page__toc-list a:focus-visible {
  color: var(--accent);
}

.legal-page__updated {
  margin-top: var(--space-md);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--hairline);
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
}

.legal-page__content h2 {
  scroll-margin-top: 7rem;
}

/* --- Contact details ----------------------------------------------------- */
.contact-details {
  padding-bottom: var(--section-y);
}

.contact-details__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-lg);
  margin: 0;
  padding: var(--space-xl) 0 0;
  border-top: 1px solid var(--hairline);
}

.contact-details__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.contact-details__label {
  color: var(--on-dark-subtle);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details__value {
  color: var(--on-dark);
  font-size: var(--fs-body);
  font-style: normal;
}

a.contact-details__value:hover,
a.contact-details__value:focus-visible {
  color: var(--accent);
}

/* --- FAQ ----------------------------------------------------------------- */
.faq-section {
  padding: var(--section-y) 0;
  text-align: center;
}

.faq-section h2 {
  font-size: var(--fs-h2);
  color: var(--on-dark);
  text-transform: uppercase;
}

.faq-section .subtitle {
  margin-bottom: var(--space-xl);
  color: var(--on-dark-muted);
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--on-dark);
  font-size: var(--fs-h4);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] .faq-item__q::after {
  content: "–";
}

.faq-item__a {
  padding-bottom: var(--space-md);
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  font-weight: 300;
}

/* --- 404 ----------------------------------------------------------------- */
.error-404 {
  padding: calc(var(--section-y) + 4rem) 0 var(--section-y);
}

.error-404 .error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.error-404__code {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.85;
  opacity: 0.35;
}

.error-404 .title {
  color: var(--on-dark);
  font-size: var(--fs-h2);
  text-transform: uppercase;
}

.error-404 .message {
  color: var(--on-dark-muted);
  font-size: var(--fs-lead);
}

.error-404__search {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- Section wrappers used by the page templates ------------------------- */
.comparison-single {
  max-width: 60rem;
}

.comparison--media-first .comparison-image {
  order: -1;
}

.blog-teaser {
  padding: var(--section-y) 0;
}

.blog-teaser h2 {
  color: var(--on-dark);
  font-size: var(--fs-h2);
  text-transform: uppercase;
}

.contact-section .subtitle {
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   GOOGLE FONTS (LOCALLY HOSTED/GDPR Compliant)
   ========================================================================== */
/* --- Bebas Neue (Regular 400) --- */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/bebas-neue-v16-latin-regular.woff2") format("woff2");
}
/* --- Poppins (Light 300) --- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../assets/fonts/poppins-v24-latin-300.woff2") format("woff2");
}
/* --- Poppins (Regular 400) --- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/poppins-v24-latin-regular.woff2") format("woff2");
}
/* --- Poppins (Semi-Bold 600) --- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../assets/fonts/poppins-v24-latin-600.woff2") format("woff2");
}
/* --- Poppins (Bold 700) --- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/poppins-v24-latin-700.woff2") format("woff2");
}
/* ==========================================================================
   APPLY THE FONTS TO YOUR ELEMENTS
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}

body,
p,
li,
a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

:root {
  --font-sans: 'Bebas Neue', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --accent: #C45C2A;
  --accent-light: rgba(196, 92, 42, 0.12);
  --dark: #323243;
  --text: #222222;
  --text-muted: #666666;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.05);
  --glass: rgba(55, 48, 71, 0.8);
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-accent: 0 10px 20px rgba(196, 92, 42, 0.25);
  --shadow-dark-bg: 0 10px 20px rgba(235, 83, 13, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--dark);
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  /* The companion to max-width. Without it an image that carries width and
     height attributes, as everything from the media library does, keeps its
     intrinsic height and overflows its container. */
  height: auto;
  display: block;
}

/* Inline longhand rather than the padding shorthand. Several blocks combine
   .container with a layout class that sets its own vertical padding, and the
   shorthand here silently reset that to zero. */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* --- Grid Background --- */
.grid-bg {
  background: #030407;
}

.mar-bot-4 {
  margin-bottom: 4rem;
}

.mar-bot-5 {
  margin-bottom: 5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 52px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 18px;
  letter-spacing: 0.5px;
  width: -moz-max-content;
  width: max-content;
}

/* Filled buttons use the darker derivative so white labels clear 4.5:1. The
   brand orange itself is unchanged and still carries borders and accents. */
.btn-primary {
  background-color: var(--accent-strong);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark-bg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #C45C2A;
  color: var(--white);
}

.btn-outline:hover {
  background-color: #C45C2A;
  color: var(--white);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark-bg);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
}
.btn-ghost svg {
  position: relative;
  top: 2px;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark-bg);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 16px 0;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header.hidden {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .inner-nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
  padding-right: 3rem;
}

.logo img {
  width: 150px;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  /* The header call to action is a compact version of the site button:
     10px less padding on every side than the 18px/52px default. */
}
.nav-actions .btn {
  padding: 8px 42px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
}

/* --- Mobile Menu ---------------------------------------------------------
   A white drawer that slides in from the right, over the header, with its own
   close control. Items arrive one after another rather than all at once.
   ------------------------------------------------------------------------- */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(8, 9, 11, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
}

.mobile-menu-backdrop[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: min(86vw, 380px);
  height: 100vh;
  /* dvh keeps the panel off the mobile browser chrome where it is supported. */
  height: 100dvh;
  padding: var(--space-md) var(--space-lg) var(--space-2xl);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  box-shadow: -18px 0 48px -24px rgba(8, 9, 11, 0.55);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__head {
  display: flex;
  justify-content: flex-end;
  min-height: 2.5rem;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: rgba(16, 17, 19, 0.06);
  color: var(--accent);
}

/* --- Hero Section --- */
/* Deliberately transparent. The fixed grid-and-glow layer behind the page is
   meant to show through the hero exactly as it does in the lower dark
   sections, so the hero must not paint a ground of its own. */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--section-y) + 4rem) 0 var(--section-y);
  background-color: transparent;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.hero-grid .disclaimer {
  color: var(--on-dark-subtle);
  margin-top: var(--space-xs);
  font-size: 0.85rem;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #0b1124;
  color: var(--white);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: var(--fs-display);
  line-height: 1em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  font-size: 18px;
  color: #fff;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero-btns .btn {
    width: 100%;
  }
}

.hero-image-container {
  position: relative;
  display: block;
}
.hero-image-container img {
  border-radius: var(--radius);
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  filter: blur(5px);
}

.floating-card {
  position: absolute;
  top: 20%;
  left: -30px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* --- Feature Highlight --- */
/* A light section. It sits above the fixed background layer and paints its
   own white ground, which is what gives the page its dark/light rhythm. */
.feature-highlight {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.feature-highlight h2 {
  margin-bottom: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}
.feature-highlight h2 span {
  color: #C45C2A;
}

.feature-highlight p {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 1000px;
  margin: 0 auto 0.5rem auto;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 80rem;
  margin: 2rem auto 0 auto;
}
.stats-grid .stat-card {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  background: #05070d;
  position: relative;
  transition: background 0.3s;
  flex: 1 1 30%;
  position: relative;
  overflow: hidden;
}
.stats-grid .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stats-grid .stat-card .stat-box-number {
  position: absolute;
  content: "";
  top: 10px;
  right: 15px;
  font-size: 60px;
  opacity: 0.1;
  pointer-events: none;
  font-weight: 800;
}
.stats-grid .stat-card .stat-icon {
  width: 70px;
  height: 70px;
}
.stats-grid .stat-card .stat-icon img {
  max-width: 100%;
}
.stats-grid .stat-number {
  position: relative;
  z-index: 1;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}
.stats-grid .stat-desc {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6em;
  padding: 0 1rem;
  font-weight: 500;
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .stats-grid .stat-card {
    flex: 1 1 100%;
  }
}

.two-col-section {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.two-col-section .sect-column {
  flex: 1 1 50%;
  max-width: 460px;
}

.highlight-dark {
  position: relative;
  z-index: 1;
  background: transparent;
}
.highlight-dark h2 {
  color: var(--white);
}
.highlight-dark .stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 80rem;
  margin: 2rem auto 0 auto;
}
.highlight-dark .stats-grid .stat-card {
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(252, 71, 0, 0.6);
  border-radius: 8px;
  background: #ffffff;
  position: relative;
  transition: background 0.3s;
  flex: 1 1 30%;
  position: relative;
  overflow: hidden;
}
.highlight-dark .stats-grid .stat-card .small-title {
  color: var(--text-muted);
  text-align: left;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  margin-top: 1.8rem;
  font-weight: 600;
}
.highlight-dark .stats-grid .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.highlight-dark .stats-grid .stat-card.negative-card {
  background-color: var(--accent-strong);
}
.highlight-dark .stats-grid .stat-card.negative-card .small-title,
.highlight-dark .stats-grid .stat-card.negative-card .stat-number,
.highlight-dark .stats-grid .stat-card.negative-card .stat-desc,
.highlight-dark .stats-grid .stat-card.negative-card .stat-box-number {
  color: #fff;
}
.highlight-dark .stats-grid .stat-number {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  text-align: left;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
}
.highlight-dark .stats-grid .stat-desc {
  text-align: left;
  color: var(--dark);
  font-size: 1.2rem;
  line-height: 1.4em;
  padding: 0;
  font-weight: 300;
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .highlight-dark .stats-grid .stat-card {
    flex: 1 1 100%;
  }
}

/* --- Comparison Section --- */
.comparison {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.comparison-image {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.comparison-image img {
  border-radius: var(--radius);
}

.comparison-content h2 {
  font-size: var(--fs-h2);
  margin-bottom: 48px;
  color: var(--white);
  letter-spacing: 1px;
}
.comparison-content h2 span {
  color: var(--accent);
}

.comparison-lists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.comparison-light {
  position: relative;
  z-index: 1;
  background-color: var(--white);
  opacity: 1;
}
.comparison-light .comparison-content h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
  color: var(--text);
  letter-spacing: 1px;
}
.comparison-light .comparison-content h2 span {
  color: var(--accent);
}
.comparison-light p {
  margin-bottom: var(--space-2xs);
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
}
.comparison-light p.strong {
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-lead);
}
.comparison-light .comparison-image {
  box-shadow: none;
}

.list-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.list-title.usually {
  color: var(--white);
  opacity: 0.5;
}

.list-title.aber {
  color: var(--accent-on-dark);
}

.list-title.aber2 {
  color: var(--white);
  text-transform: initial;
  font-weight: 400;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--white);
}
.list-item span {
  font-size: 16px;
  font-weight: 300;
}
.list-item.list-muted {
  color: var(--white);
  opacity: 0.8;
}

.list-item svg {
  flex-shrink: 0;
  margin-top: 5px;
}

/* --- Video Section --- */
.video-section {
  padding: 100px 0;
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
}

.video-section .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.video-content {
  position: relative;
  z-index: 1;
}

.video-section h2 {
  color: var(--white);
  font-size: 48px;
  margin-bottom: 24px;
}

.video-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.video-placeholder {
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background: rgba(255, 255, 255, 0.08);
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
  text-align: center;
  background-color: var(--white);
}
.cta-section .btn-ghost {
  color: #101113;
  border: 1px solid var(--accent);
}
.cta-section .cta-sect-image {
  margin-top: 3rem;
}
.cta-section .cta-sect-image img {
  margin-inline: auto;
  border-radius: var(--radius);
  /* Two layers: a tight one to seat the image on the white ground,
     and a wide soft one to lift it off the page. */
  box-shadow: 0 1px 2px rgba(16, 17, 19, 0.06), 0 18px 40px -12px rgba(16, 17, 19, 0.18);
}

.cta-section h2 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.cta-section h2 span {
  color: var(--accent);
}

.cta-section p.subtitle {
  margin-bottom: 1rem;
  color: var(--dark);
  margin-bottom: 3rem;
}

/* The call to action band sits on the white ground, so its small print uses
   the dark-on-light muted tone, not the on-dark one. */
.cta-section .disclaimer {
  color: var(--text-muted);
  margin-top: var(--space-xs);
  font-size: 0.85rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .cta-btns .btn {
    width: 100%;
  }
}

.cta-slogan {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

/* --- Pricing Section --- */
.pricing {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
  background-color: transparent;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header .badge {
  color: var(--accent-on-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}

.pricing-header h2 {
  font-size: var(--fs-h2);
  color: var(--accent);
  margin-bottom: 1rem;
}
.pricing-header h2 span {
  color: var(--white);
}

p.subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  background: rgba(19, 22, 32, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(131, 75, 255, 0.1);
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  position: relative;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
  color: var(--on-dark-muted);
  font-size: 1.5rem;
  font-family: var(--font-sans);
  letter-spacing: 2px;
}

.pricing-card p {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.pricing-card hr {
  border: 0;
  border-bottom: 1px solid rgb(114, 114, 114);
  margin-bottom: 1rem;
}

.pricing-card ul {
  margin-bottom: 2rem;
}
.pricing-card ul li {
  font-size: 1rem;
  color: var(--white);
  flex-grow: 1;
}
.pricing-card ul li svg {
  position: relative;
  top: 2px;
  margin-right: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 32px;
  color: var(--white);
}

.price span {
  font-size: 12px;
  color: var(--on-dark-subtle);
  text-transform: uppercase;
  margin-top: 4px;
}

/* --- Final CTA --- */
.final-cta {
  padding: 100px 0;
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--white);
  font-size: 56px;
  margin-bottom: 24px;
}

.final-cta p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 48px;
}

.final-cta .btn-primary {
  background-color: var(--white);
  color: var(--accent);
  padding: 18px 40px;
}

.about-us-section {
  padding: 100px 0;
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-us-section .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}
.about-us-section .about-us-section-content {
  position: relative;
  z-index: 1;
}
.about-us-section h2 {
  color: var(--white);
  font-size: 56px;
  margin-bottom: 24px;
}
.about-us-section p {
  text-align: left;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 100%;
  margin: 0 auto 5px;
}
.about-us-section .btn-primary {
  background-color: var(--white);
  color: var(--accent);
  padding: 18px 40px;
}
.about-us-section .micro-copy {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.micro-copy {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.footer {
  padding: var(--section-y-tight) 0 var(--space-xl);
  background-color: #101113;
  color: var(--white);
  text-align: center;
  z-index: 1;
  position: relative;
}

.footer-logo {
  max-width: clamp(140px, 16vw, 180px);
  margin: 0 auto 3rem auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.social-links a {
  color: var(--on-dark-muted);
}

.social-links a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--on-dark-subtle);
}

/* --- Responsive --- */
/* Heading sizes are fluid via clamp(), so no per-breakpoint overrides are
   needed for type. Only layout changes live in these blocks. */
@media (max-width: 1024px) {
  .hero-grid {
    gap: var(--space-2xl);
  }
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* Sized to the width of the longest line rather than to a round number.
     The heading runs edge to edge and stops just short of wrapping, which
     holds from a 320px phone up to the two-column breakpoint. Re-measure
     this if the headline copy gets longer. */
  .hero-title {
    font-size: clamp(2.25rem, 13.5vw - 6.5px, 3.25rem);
  }
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image-container {
    margin-top: var(--space-2xl);
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-lists {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card:last-child {
    grid-column: span 1;
  }
}
/* --- Animations --- */
/* The hidden state is applied only when scripting is available, so the page
   is fully readable if the script fails to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BACKGROUND
========================= */
.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: #101113;
}

/* GRID */
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* =========================
   CIRCLES
========================= */
.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: floatPulse 12s ease-in-out infinite;
}

/* PURPLE */
.circle.one {
  width: 520px;
  height: 520px;
  top: 5%;
  left: 10%;
  background: radial-gradient(circle, #5b97e6, transparent 70%);
  animation-delay: 0s;
}

/* TEAL */
.circle.two {
  width: 520px;
  height: 520px;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, #7da2d2, transparent 80%);
  animation-delay: 3s;
}

/* =========================
   ANIMATION (premium)
========================= */
@keyframes floatPulse {
  0% {
    transform: scale(1) translate(0px, 0px);
    opacity: 0.3;
  }
  25% {
    transform: scale(1.04) translate(8px, -10px);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.08) translate(0px, -15px);
    opacity: 0.5;
  }
  75% {
    transform: scale(1.04) translate(-8px, -10px);
    opacity: 0.4;
  }
  100% {
    transform: scale(1) translate(0px, 0px);
    opacity: 0.3;
  }
}
.contact-form {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

form .ff-btn-submit {
  font-family: "Poppins", sans-serif !important;
  color: #fff !important;
  text-align: center !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  background-color: var(--accent-strong) !important;
  border: 1px solid var(--accent-strong) !important;
  border-radius: 6px !important;
  padding: 18px 30px 14px 30px !important;
  margin: 10px auto !important;
  width: 100% !important;
  max-width: -moz-fit-content !important;
  max-width: fit-content !important;
  line-height: 1em !important;
}
form .ff-btn-submit:hover {
  color: var(--accent) !important;
  background-color: #fff !important;
}

/* ==========================================================================
   COMPONENT ADJUSTMENTS
   Rules that finish components whose markup changed when the templates moved
   to ACF: the navigation is a list, the steps are an ordered list, and the
   pricing cards gained a flag and a description class.
   ========================================================================== */
/* --- Navigation lists ---------------------------------------------------- */
.primary-nav .nav-links {
  display: flex;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
}

.nav-links .menu-item > a {
  color: var(--on-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-links .menu-item > a:hover,
.nav-links .menu-item > a:focus-visible {
  color: var(--accent);
}

/* The header runs out of room before the old 768px breakpoint, which is why
   the links wrapped onto two lines on tablets. The menu button takes over
   from 1024px down. */
@media (max-width: 1024px) {
  .primary-nav,
  .nav-actions .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
/* --- Mobile menu --------------------------------------------------------- */
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__links .menu-item {
  border-bottom: 1px solid rgba(16, 17, 19, 0.08);
}

.mobile-menu__links a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible {
  color: var(--accent);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: auto;
}

/* Staggered entrance. Each row starts offset to the right and settles in
   turn, so the eye follows the list down instead of taking it all at once. */
.mobile-menu__links .menu-item,
.mobile-menu .btn {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-menu.active .mobile-menu__links .menu-item,
.mobile-menu.active .btn {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(2) {
  transition-delay: 0.155s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(3) {
  transition-delay: 0.21s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(4) {
  transition-delay: 0.265s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(5) {
  transition-delay: 0.32s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(6) {
  transition-delay: 0.375s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(7) {
  transition-delay: 0.43s;
}

.mobile-menu.active .mobile-menu__links .menu-item:nth-child(8) {
  transition-delay: 0.485s;
}

.mobile-menu.active .btn {
  transition-delay: 0.5s;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  padding: var(--space-3xs);
  color: var(--on-dark);
}

.menu-toggle .menu-toggle__icon--close,
.menu-toggle[aria-expanded=true] .menu-toggle__icon--open {
  display: none;
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon--close {
  display: inline-flex;
}

/* Scroll lock. The body is pinned at its current offset, which holds the
   position on iOS where overflow alone is ignored; the offset is restored by
   the script on close. */
body.menu-is-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__links .menu-item,
  .mobile-menu .btn {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }
}
/* --- Hero ---------------------------------------------------------------- */
.hero-content {
  min-width: 0;
}

/* --- Steps and checklists ------------------------------------------------ */
.stats-grid--steps,
.list-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats-grid--steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  max-width: 80rem;
  margin: var(--space-lg) auto 0;
}

.stat-icon {
  display: block;
  width: 70px;
  height: 70px;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* --- Pricing ------------------------------------------------------------- */
.pricing-card__flag {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.25em 0.75em;
  border-radius: 50px;
  background: var(--accent-strong);
  color: var(--white);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card__desc {
  flex-grow: 1;
}

/* The price is a paragraph, so .pricing-card p would otherwise win over the
   .price rule and drop it to body size. */
.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: var(--space-lg);
  color: var(--on-dark);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  flex-grow: 0;
}

.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  margin-bottom: var(--space-2xs);
}

.pricing-card ul li svg {
  flex-shrink: 0;
  margin-top: 5px;
}

/* Three tiers on desktop, two on tablet, one on phone. The old rule made the
   last card span two columns, which left it visually orphaned. */
.pricing-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-card:last-child {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Footer -------------------------------------------------------------- */
.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__tagline {
  max-width: 44ch;
  margin: 0 auto var(--space-xl);
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.footer-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--on-dark-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--on-dark);
}

.social-links {
  margin: 0 0 var(--space-xl);
  padding: 0;
}

/* --- Reveal -------------------------------------------------------------- */
