/*
Theme Name:   Layerly (Layerly)
Template:     layerly-base
Version:      1.0.0
Layerly Site: get-layerly-io
Description:  Per-site theme for Layerly. Holds ONLY this site's own CSS, bespoke sections and page templates. The framework lives in the parent and is updated fleet-wide — never copy a framework file in here without recording it as a fork.
*/

/* Per-site tokens and CSS below. Override the NUMBERED tokens; never edit the framework's own table. */
:root {
    /* Layerly Ads brand tokens. Provenance RESOLVED against this site's exact baseline
       release (1.0.0-r27-6980af6): all 38 differ from it, so all 38 are per-site choices. */
    --color-1: #2C2E45;
    --color-2: #1E224F;
    --color-3: #EEEFF8;
    --color-4: #F8F8FC;
    --color-5: #FFFFFF;
    --color-6: #71EFA3;
    --color-7: #71EFA3;
    --color-bg: var(--color-5);
    --color-border: rgba(30,34,79,.14);
    --color-heading: var(--color-2);
    --color-highlight: var(--color-6);
    --color-surface: var(--color-3);
    --color-text: var(--color-1);
    --color-text-muted: rgba(44,46,69,.72);
    --container-max: 1240px;
    --font-1: 'Basic Sans','Nunito Sans',system-ui,-apple-system,sans-serif;
    --font-2: 'Sculpin','Figtree',system-ui,-apple-system,sans-serif;
    --font-3: var(--font-1);
    --font-body: var(--font-1);
    --font-display: var(--font-2);
    --font-subheading: var(--font-1);
    --radius-lg: 20px;
    --radius-md: 10px;
    --radius-sm: 7px;
    --radius-xl: 30px;
    --space-3xl: clamp(56px, 10vw, 120px);
    --space-lg: 20px;
    --space-md: 15px;
    --space-sm: 10px;
    --space-xl: 30px;
    --space-xs: 5px;
    --space-xxl: clamp(40px, 6vw, 60px);
    --text-h1: clamp(40px, 6.6vw, 80px);
    --text-h2: clamp(34px, 5vw, 60px);
    --text-h3: clamp(30px, 4.2vw, 46px);
    --text-md: 18px;
    --text-sm: 16px;
    --weight-black: 900;
}

/* ── The heading-ink rule, carried across deliberately ──────────────────────────────
   This was an IN-PLACE edit to the framework's own h1-h6 rule (made 2026-09-09), and an
   in-place edit carries no marker: the framework push replaces style.css and the change
   would have vanished silently. It is the ONLY non-:root edit the pre-migration sheet made
   to the framework portion — verified by diffing that portion against r27 line by line.
   The child sheet loads after the framework's, so equal specificity resolves here.
   Applies Layerly's own brand (design-system.md: navy for all headline colours), which is
   correct for THIS site and deliberately not pushed into the framework, where it would
   paint every client's headings in Layerly's colour. ── */
h1, h2, h3, h4, h5, h6 { color: var(--color-heading); }

/* ── Per-site CSS, carried verbatim from the pre-migration style.css (line 1339 onward). ── */

/* Layerly — Layerly Ads — design tokens from Figma (colors/fonts/spacing/type/radius) + accent button + ad chrome — 2026-08-25T21:29:08.928Z */
.btn--accent {
  background: var(--color-6);
  color: var(--color-2);
  font-family: var(--font-1);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 24px;
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn--accent:hover {
  background: var(--color-2);
  color: var(--color-5);
  filter: none;
}

.nav--ad {
  --nav-bg: var(--color-5);
  --nav-fg: var(--color-2);
  --nav-height: 72px;
}

.nav--ad .nav__inner {
  justify-content: center;
}

.nav--ad .nav__logo-text {
  font-family: var(--font-2);
  font-weight: var(--weight-black);
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.footer-ad {
  background: var(--color-5);
  padding-block: var(--space-xl);
}

.footer-ad__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer-ad__logo {
  text-decoration: none;
}

.footer-ad__logo-text {
  font-family: var(--font-2);
  font-weight: var(--weight-black);
  font-size: var(--text-lg);
  color: var(--color-2);
}

.footer-ad__tagline {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-ad .layerly-copyright__line {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


/* Layerly — Layerly Ads homepage — bespoke section styles matched to the Figma geometry (desktop/base rules only) — 2026-08-25T21:29:55.843Z */
.hero--ad-centered {
  padding-block: var(--space-xxl);
}

.hero--ad-centered .hero__inner {
  max-width: 868px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero--ad-centered .hero__title {
  margin: 0;
  font-family: var(--font-2);
  font-size: var(--text-h1);
  line-height: 1;
  font-weight: var(--weight-black);
  letter-spacing: 0;
  color: var(--color-2);
}

.hero--ad-centered .hero__subtitle {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  font-weight: var(--weight-reg);
  color: var(--color-1);
}

.hero--ad-centered .hero__ctas {
  margin: 0;
  justify-content: center;
}

.video-card {
  padding-block: 0;
}

.video-card__frame {
  max-width: 978px;
  margin-inline: auto;
  min-height: 500px;
  background: var(--color-3);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__label {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
  text-align: center;
}

.video-card__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
}

.quote-cards {
  padding-block: var(--space-xxl);
}

.quote-cards__heading {
  margin: 0 0 var(--space-xxl);
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
  text-align: center;
}

.quote-cards__list {
  display: grid;
  grid-template-columns: repeat(var(--quote-cards-cols, 4), 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.quote-cards__card {
  margin: 0;
  background: var(--color-3);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quote-cards__quote {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  font-weight: var(--weight-reg);
  color: var(--color-1);
}

.quote-cards__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.quote-cards__photo {
  flex: none;
  display: block;
  width: 40px;
  height: 40px;
}

.quote-cards__photo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.quote-cards__meta {
  display: flex;
  flex-direction: column;
}

.quote-cards__name {
  font-family: var(--font-1);
  font-size: var(--text-md);
  line-height: 22px;
  font-weight: var(--weight-bold);
  color: var(--color-1);
}

.quote-cards__role {
  font-family: var(--font-1);
  font-size: var(--text-sm);
  line-height: 19px;
  font-weight: var(--weight-reg);
  color: var(--color-1);
}

.check-row {
  padding-block: var(--space-3xl);
}

.check-row__heading {
  max-width: 802px;
  margin: 0 auto;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
  text-align: center;
}

.check-row__list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.check-row__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.check-row__mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--color-4);
  color: var(--color-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-row__mark .icon {
  font-size: 14px;
}

.check-row__label {
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.checklist-panel {
  padding-block: 0 var(--space-3xl);
}

.checklist-panel__panel {
  background: var(--color-3);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
  padding: var(--space-xxl) 0 0 var(--space-xxl);
  overflow: hidden;
}

.checklist-panel__content {
  padding-bottom: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.checklist-panel__title {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-h3);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.checklist-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checklist-panel__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checklist-panel__mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--color-4);
  color: var(--color-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checklist-panel__mark .icon {
  font-size: 14px;
}

.checklist-panel__text {
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.checklist-panel__media {
  align-self: end;
  height: 550px;
}

.checklist-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: var(--radius-md) 0 0 0;
}

.step-cards {
  padding-block: var(--space-3xl);
}

.step-cards__heading {
  margin: 0 0 var(--space-xxl);
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
  text-align: center;
}

.step-cards__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--step-cards-cols, 4), 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.step-cards__item {
  background: var(--color-3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.step-cards__icon {
  color: var(--color-6);
  display: inline-flex;
}

.step-cards__icon .icon {
  font-size: 40px;
}

.step-cards__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.step-cards__label {
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-2);
}

.step-cards__title {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-xl);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.step-cards__desc {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.cta-band {
  padding-block: var(--space-3xl);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.cta-band__heading {
  margin: 0;
  max-width: 806px;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.cta-band__body {
  margin: 0;
  max-width: 670px;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.cta-band__body p {
  margin: 0;
}

.cta-band__ctas {
  margin: 0;
}

.faq {
  padding-block: var(--space-xxl) var(--space-3xl);
}

.faq__wrap {
  max-width: 840px;
}

.faq__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

.faq__heading {
  margin: 0;
  font-family: var(--font-2);
  font-size: var(--text-h3);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.faq__subheading {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.faq__list {
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  border-bottom: 0;
  background: var(--color-3);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.faq__summary {
  padding: 0;
  gap: var(--space-md);
  align-items: flex-start;
}

.faq__question {
  font-family: var(--font-1);
  font-size: var(--text-xl);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.faq__icon {
  color: var(--color-1);
  padding-top: 5px;
}

.faq__icon .icon {
  font-size: 12px;
}

.faq__answer {
  padding: var(--space-sm) 0 0;
  color: var(--color-1);
}

.faq__answer-text {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.faq__contact {
  margin-top: var(--space-xxl);
  background: var(--color-3);
  border-radius: var(--radius-md);
  padding: 50px var(--space-xxl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.faq__contact-media {
  flex: none;
  width: 134px;
  height: 134px;
}

.faq__contact-media img {
  width: 134px;
  height: 134px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.faq__contact-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.faq__contact-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__contact-title {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-xl);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.faq__contact-sub {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.faq__contact-cta {
  display: flex;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE — literal @media blocks on purpose: write_css strips @media
   wrappers, which would promote every mobile override to a global rule
   and collapse the desktop grids. Edit these with edit_file, not write_css.
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .quote-cards__list { grid-template-columns: repeat(2, 1fr); }
    .step-cards__list  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .checklist-panel__panel {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl) var(--space-xl) 0;
        align-items: start;
    }
    .checklist-panel__content { padding-bottom: 0; }
    .checklist-panel__media { height: 320px; align-self: stretch; }
    .checklist-panel__media img { border-radius: var(--radius-md) var(--radius-md) 0 0; }
    .faq__contact { flex-direction: column; text-align: center; padding: var(--space-xl); }
    .faq__contact-body { align-items: center; }
    .faq__contact-text { align-items: center; }
}

@media (max-width: 600px) {
    .quote-cards__list { grid-template-columns: 1fr; }
    .step-cards__list  { grid-template-columns: 1fr; }
    .video-card__frame { min-height: 260px; padding: var(--space-xl); }
    .checklist-panel__media { height: 240px; }
    .faq__item { padding: var(--space-lg); }
    .faq__question { font-size: var(--text-lg); line-height: 1.2; }
}


/* Layerly — Size an image-based step card icon to match the 40px inline icons — 2026-08-26T18:52:26.674Z */
.step-cards__icon img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}


/* Layerly — Center the ad-nav logo in the header and cap the logo image height — 2026-08-26T18:58:22.461Z */
.nav--ad .nav__logo-img {
  width: 120px;
  height: auto;
  max-height: none;
}


/* Layerly — Logo 120px wide in nav + footer; shrink footer copyright line to --text-xs — 2026-08-26T19:00:39.408Z */
.footer-ad__logo-img {
  width: 120px;
  height: auto;
  display: block;
}


/* Layerly — Strip native button chrome so a button.btn renders identically to the old anchor buttons — 2026-08-26T19:12:21.639Z */
button.btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}


/* Layerly — Auto-scrolling site-example showcase row: equal-height rounded cards, desktop/mobile widths, seamless marquee with hover pause — 2026-08-26T19:43:06.911Z */
.showcase-scroll {
  padding-block: var(--space-xxl);
  overflow: hidden;
}

.showcase-scroll__heading {
  margin: 0 0 var(--space-xl);
  font-family: var(--font-2);
  font-size: var(--text-h3);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
  text-align: center;
}

.showcase-scroll__viewport {
  width: 100%;
  overflow: hidden;
}

.showcase-scroll__track {
  --showcase-duration: 160s;
  --showcase-card-height: 480px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--space-lg);
  width: max-content;
  animation: showcase-scroll-marquee var(--showcase-duration) linear infinite;
}

/* Hover pause removed deliberately at client request (2026-08-26).
   Keyboard focus still pauses — that is the WCAG 2.2.2 pause mechanism
   for auto-moving content; do not remove it as "leftover" hover code. */
.showcase-scroll__viewport:focus-within .showcase-scroll__track {
  animation-play-state: paused;
}

.showcase-scroll__card {
  flex: none;
  height: var(--showcase-card-height);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-3);
}

.showcase-scroll__card--desktop {
  aspect-ratio: 16 / 11;
}

.showcase-scroll__card--mobile {
  aspect-ratio: 10 / 19;
}

.showcase-scroll__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* RESPONSIVE / AT-RULES — literal blocks on purpose: write_css strips at-rule
   wrappers (it truncated this very @keyframes once already), which promotes
   inner rules to unconditional globals. Edit these with edit_file, not write_css. */
@keyframes showcase-scroll-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - (var(--space-lg) / 2)), 0, 0); }
}

@media (max-width: 900px) {
  .showcase-scroll__track { --showcase-card-height: 400px; }
}

@media (max-width: 600px) {
  .showcase-scroll__track { --showcase-card-height: 340px; gap: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-scroll__track { animation: none; }
  .showcase-scroll__viewport { overflow-x: auto; }
}


/* Layerly — Case-study stat panels: alternating image-left/right tinted panels, big display stat numbers, bleeding screenshot corner — 2026-08-26T20:28:29.022Z */
.case-studies {
  /* Top: brand section padding (--space-3xl, 120px) to match .check-row etc.
     Bottom: 0 on purpose — the last panel should sit flush; the next section
     supplies its own top padding, so the 120px rhythm is preserved. */
  padding-block: var(--space-3xl) 0;
}

.case-studies__header {
  max-width: 760px;
  margin: 0 auto var(--space-xxl);
  text-align: center;
}

.case-studies__heading {
  margin: 0;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.05;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.case-studies__subheading {
  margin: var(--space-md) 0 0;
  font-family: var(--font-1);
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.case-studies__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.case-studies__panel {
  background: var(--color-3);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
  overflow: hidden;
}

.case-studies__panel--image-left {
  padding: var(--space-xxl) var(--space-xxl) 0 0;
}

.case-studies__panel--image-left .case-studies__media {
  order: -1;
}

.case-studies__panel--image-right {
  padding: var(--space-xxl) 0 0 var(--space-xxl);
}

.case-studies__content {
  padding-bottom: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.case-studies__eyebrow {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.case-studies__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.case-studies__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.case-studies__value {
  font-family: var(--font-2);
  font-size: var(--text-h1);
  line-height: 0.95;
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  color: var(--color-2);
}

.case-studies__stat-label {
  font-family: var(--font-1);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: var(--color-1);
}

.case-studies__stat-detail {
  font-family: var(--font-1);
  font-size: var(--text-sm);
  line-height: 1.3;
  color: var(--color-text-muted);
}

.case-studies__body {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--color-1);
}

.case-studies__media {
  align-self: end;
  height: 460px;
}

.case-studies__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.case-studies__panel--image-right .case-studies__media img {
  border-radius: var(--radius-md) 0 0 0;
}

.case-studies__panel--image-left .case-studies__media img {
  object-position: right top;
  border-radius: 0 var(--radius-md) 0 0;
}

/* Literal at-rules on purpose: write_css strips at-rule wrappers, which would
   promote these mobile overrides to unconditional globals. Edit with edit_file. */
@media (max-width: 900px) {
  .case-studies__panel--image-left,
  .case-studies__panel--image-right {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-xl) 0;
    align-items: start;
  }
  .case-studies__panel--image-left .case-studies__media { order: 0; }
  .case-studies__content { padding-bottom: 0; }
  .case-studies__media { height: 320px; align-self: stretch; }
  .case-studies__panel--image-left .case-studies__media img,
  .case-studies__panel--image-right .case-studies__media img {
    object-position: left top;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

@media (max-width: 600px) {
  .case-studies__media { height: 240px; }
  .case-studies__stats { gap: var(--space-lg); }
}


/* Layerly — Soft outline button variant: transparent fill, muted border, matches --btn--accent metrics — 2026-08-26T20:55:30.865Z */
.btn--soft-outline {
  background: transparent;
  color: var(--color-2);
  font-family: var(--font-1);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 24px;
  padding: 12px 24px;
  border: 2px solid var(--color-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn--soft-outline:hover {
  border-color: var(--color-2);
  background: transparent;
  color: var(--color-2);
}


/* Layerly — Multi-step form + video testimonial headings: navy (--color-2) to match the hero titles, instead of inheriting slate body colour — 2026-09-08T21:00:16.652Z */
.msf__title, .msf__q, .msf__done-title, .vt__heading {
  color: var(--color-2);
}


/* Layerly — cta band: make the first body paragraph bold — 2026-10-10T02:30:14.396Z */
.cta-band__body p:first-of-type {
  font-weight: var(--weight-bold);
}


/* Layerly — lp-d: base (desktop) styles for problems, feature panels, pricing, inline CTA, sticky bar and page-level video/msf rules — 2026-10-16T16:50:52.874Z */
.problems {
  padding-block: var(--space-3xl);
}

.problems__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.problems__heading {
  margin: 0;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.problems__sub {
  margin: var(--space-md) 0 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.problems__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.problems__item {
  background: var(--color-3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.problems__title {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-xl);
  line-height: 1.1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.problems__body {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.feature-panels {
  padding-block: var(--space-3xl);
}

.feature-panels__heading {
  margin: 0 0 var(--space-xxl);
  text-align: center;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.feature-panels__stack {
  display: grid;
  gap: var(--space-xl);
}

.feature-panels__body {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.checklist-panel__panel--flip {
  padding: var(--space-xxl) var(--space-xxl) 0 0;
}

.checklist-panel__panel--flip .checklist-panel__content {
  padding-left: var(--space-xxl);
}

.checklist-panel__panel--flip .checklist-panel__media {
  order: -1;
}

.checklist-panel__panel--flip .checklist-panel__media img {
  object-position: right top;
  border-radius: 0 var(--radius-md) 0 0;
}

.pricing {
  padding-block: var(--space-3xl);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.pricing__heading {
  margin: 0;
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1.1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.pricing__sub {
  margin: var(--space-md) 0 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 940px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing__card {
  background: var(--color-3);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  border: 3px solid transparent;
}

.pricing__card--featured {
  border-color: var(--color-6);
}

.pricing__name {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-xl);
  line-height: 1.1;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.pricing__blurb {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.pricing__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.pricing__amount {
  font-family: var(--font-2);
  font-size: var(--text-h2);
  line-height: 1;
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--color-2);
}

.pricing__period {
  font-family: var(--font-1);
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--color-1);
}

.pricing__lead {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  font-weight: var(--weight-bold);
  color: var(--color-2);
}

.pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.pricing__feature-text {
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.pricing__cta {
  margin-top: auto;
  align-self: stretch;
}

.pricing__note {
  margin: var(--space-xl) 0 0;
  text-align: center;
  font-family: var(--font-1);
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--color-1);
}

.lpd-cta {
  padding-block: var(--space-xl);
}

.lpd-cta__inner {
  max-width: 868px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.lpd-cta__note {
  margin: 0;
  font-family: var(--font-1);
  font-size: var(--text-lg);
  line-height: 24px;
  color: var(--color-1);
}

.lpd-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.lpd-cta__buttons .btn {
  min-width: 220px;
}

.sticky-cta {
  display: none;
}

.lp-d .msf__wrap {
  display: none;
}

.lp-d .msf {
  padding: 0;
  min-height: 0;
}

.lp-d .hero--ad-centered {
  padding-bottom: var(--space-xl);
}

.lp-d .video-card__frame {
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}

.lp-d .video-card__embed {
  display: block;
  border-radius: var(--radius-lg);
}

/* RESPONSIVE (lp-d sections) — literal @media blocks on purpose: write_css flattens @media
   wrappers, which promotes every mobile override to a global rule. Do not move through write_css. */
@media (max-width: 1100px) {
  .problems__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .checklist-panel__panel--flip { padding: var(--space-xl) var(--space-xl) 0; }
  .checklist-panel__panel--flip .checklist-panel__content { padding-left: 0; }
  .checklist-panel__panel--flip .checklist-panel__media { order: 0; }
  .checklist-panel__panel--flip .checklist-panel__media img { border-radius: var(--radius-md) var(--radius-md) 0 0; object-position: left top; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 560px; }
  .pricing__card { padding: var(--space-xl); }
}
@media (max-width: 768px) {
  .lpd-cta__buttons { flex-direction: column; width: 100%; }
  .lpd-cta__buttons .btn { width: 100%; }
  .sticky-cta {
    display: flex;
    gap: var(--space-sm);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: var(--space-md);
    background: var(--color-5);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(30, 34, 79, 0.12);
  }
  .sticky-cta .btn { flex: 1 1 0; min-width: 0; padding-inline: var(--space-md); }
  body.lp-d { padding-bottom: 84px; }
}
@media (max-width: 600px) {
  .problems__list { grid-template-columns: 1fr; }
}
