body {
  background-color: var(--body-dark-color);
  font-family: var(--font-family-base);
  line-height: 1.6;
  color: var(--white);
}

header {
  border-bottom: 1px solid var(--primary);
}

.image_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: var(--space-l);
}

.image_wrapper img {
  max-width: 20rem;
}

.divider {
  position: relative;
  margin: 0 auto;
  height: 1px;
  max-width: 45%;
  width: 100%;
}

.divider-transparent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  width: 90%;
  height: 1px;
  background-image: linear-gradient(to right, transparent, #d707a3, transparent);
}

.section__title {
  font-family: var(--font-family-serif);
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__title::before {
  content: "";
  display: block;
  height: 0;
  width: 0;
  /* Adjust this value based on your specific font's whitespace */
  margin-top: -0.5em;
}

.section__subheading {
  font-size: var(--h4);
  font-weight: 300;
  text-align: center;
}

.section__subheading_light {
  font-size: var(--h5);
  font-weight: 300;
}

/* =============================================================================
   HERO
============================================================================= */

/* --- Left Column --- */

.hero-rsvp__left_column {
  justify-content: center;
  --stack-gap: var(--space-l);
}

.hero-rsvp h1 {
  font-family: var(--font-family-serif);
  font-weight: 400;
}

/* Gold italic line in h1 */
.hero-rsvp h1 em {
  font-style: italic;
  color: var(--primary);
}

/* Subtitle muted */
:where(.hero-rsvp__left_column > p) {
  color: var(--text-color-muted);
}

/* Icon box */
.hero-rsvp__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-rsvp__icon img {
  max-width: 30px;
  /* reset the global block-size: 100% from pia.css which breaks icon images */
  block-size: auto;
}

.feature_icons .stack {
  --stack-align: center;
  --stack-gap: var(--space-s);
}

/* Icon labels */
.feature_icons span {
  font-size: var(--text-s);
  color: var(--text-color-muted);
  text-align: center;
}

/* CTA button */
.hero-rsvp__btn {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.75em 1.75em;
  font-size: var(--text-s);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s;
}

.hero-rsvp__btn:hover {
  background: var(--primary);
  color: #0e0e0e;
}

/* --- Center Column --- */

.hero-rsvp__center_column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-rsvp__center_column img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

/* --- Right Column --- */

.hero-rsvp__right_column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-rsvp__right_column.stack {
  --stack-gap: var(--space-l);
}

.hero-rsvp__right_column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.hero-rsvp__right_column ul li {
  /* font-family: var(--font-family-serif); */
  font-size: var(--h4);
  font-weight: 300;
}

.hero-rsvp__right_column ul li:before {
  content: "\2714\0020";
  color: var(--primary);
  margin-inline-end: var(--space-xs);
}

/* =============================================================================
   FEATURES
============================================================================= */

/* Card */
.features-section .wrapper {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: var(--space-l);
  gap: var(--space-m); /* override .stack default gap */
}

/* Circle icon */
.features-section__icon {
  width: 70px;
  block-size: auto; /* reset pia.css global */
  object-fit: contain;
}

/* Card description */
.features-section .wrapper p {
  color: var(--text-color-muted);
  font-size: var(--text-s);
  text-align: center;
}

/* Form image — sits at the bottom of the card */
.features-section__form-img {
  width: 100%;
  height: auto;
  block-size: auto; /* reset pia.css global */
  object-fit: contain;
  margin-top: auto; /* pins to bottom of card */
  border-radius: 8px;
}

.order_list {
  text-align: left;
  counter-reset: num;
}

.order_list li {
  counter-increment: num;
}

.order_list li::before {
  content: counter(num) ". ";
  color: #e7920d;
  margin-inline-end: 0.2rem;
}

/* =============================================================================
   EMAIL - CSV FEATURES
============================================================================= */

/* --- Left Column --- */

/* =============================================================================
   FEATURE CARD
   Dark card with colour glow at bottom.
   Use inside .col.col-flex for equal-height rows.

   SINGLE CARD:
   <div class="col col-flex">
     <article class="feature-card wrapper stack">
       <div class="feature-card__icon"><!-- svg --></div>
       <h3 class="feature-card__title">Fast Integration Process</h3>
       <p class="feature-card__text">Our software boasts a super-fast integration process...</p>
       <a href="#" class="feature-card__link">Learn more &rsaquo;</a>
     </article>
   </div>

   IN A ROW OF 3:
   <div class="row row-auto-3">
     <div class="col col-flex">
       <article class="feature-card wrapper stack">...</article>
     </div>
     <div class="col col-flex">
       <article class="feature-card wrapper stack">...</article>
     </div>
     <div class="col col-flex">
       <article class="feature-card wrapper stack">...</article>
     </div>
   </div>
============================================================================= */

.feature-card {
  position: relative;
  background: #1a1a1a;
  border-radius: 24px;
  padding: var(--space-l);
  overflow: hidden;
  gap: var(--space-m);

  /* Subtle border */
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

/* Colour glow at the bottom */
.feature-card::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  translate: -50% 0;
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse at center, var(--primary) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* All direct children sit above the glow */
.feature-card > * {
  position: relative;
  z-index: 1;
}

/* Icon button */
.feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.feature-card__icon img,
.feature-card__icon svg {
  width: 26px;
  height: 26px;
  block-size: auto;
}

/* Title */
/* .feature-card__title {
  font-family: var(--font-family-serif);
  font-weight: 400;
}

.feature-card__title em {
  font-style: italic;
  color: var(--primary);
} */

/* Description */
.feature-card__text {
  /* color: rgba(255, 255, 255, 0.55); */
  font-size: var(--text-s);
  line-height: 1.6;
}

/* =============================================================================
   FOOTER
============================================================================= */

footer .stack {
  --stack-align: center;
}

.footer_wrapper {
  padding-block: var(--space-l);
}

.footer_wrapper h2 {
  color: #e7920d;
}

span {
  color: var(--primary);
}
/* =============================================================================
   UTILITIES
============================================================================= */

.text-align-left {
  text-align: left;
  text-wrap: initial;
}

.serif-style {
  font-family: var(--font-family-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  font-size: var(--h3);
}

/* =============================================================================
   RESPONSIVE
============================================================================= */

/* Tablet (max 1023px) — stack columns vertically */
@media (max-width: 1023px) {
  .hero-rsvp .row-1-2 {
    --row-layout: 1fr;
  }

  .hero-rsvp__center_column img {
    max-width: 400px;
    margin-inline: auto;
  }
}

@media (max-width: 902px) {
  .hero-rsvp__right_column {
    align-items: center;
    grid-column: 1 / -1;
    margin-top: 3rem;
  }

  .hero-rsvp__right_column ul {
    align-items: center;
  }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
  .feature_icons .col,
  [class*="col-"] {
    --col-span: 1;
  }

  .hero-rsvp__center_column img {
    max-width: 300px;
  }
}

@media (max-width: 609px) {
  .hero-rsvp-wrapper {
    gap: var(--space-xxl);
  }

  .hero-rsvp__left_column {
    text-align: center;
    align-items: center;
  }

  .hero-rsvp__right_column {
    grid-column: inherit;
    margin-top: 0;
  }
}
