/* ==========================================================================
   Snackable — getsnackable.com
   Design tokens extracted from the original Leadpages build.
   ========================================================================== */

:root {
  --navy:        #252744;   /* rgb(37,39,68)  header, hero, logo strip, footer */
  --red:         #ff3a5d;   /* primary button                                 */
  --red-hover:   #e02546;
  --red-accent:  #fa3246;
  --eyebrow:     #477f9e;   /* rgba(71,127,158,1) section eyebrow labels       */
  --body:        #4c515d;
  --body-muted:  #656a78;
  --white:       #ffffff;
  --card-hover:  rgba(56, 31, 114, 0.06);
  --hairline:    rgba(255, 255, 255, 0.34);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; }
button { font-family: inherit; }

@media (min-width: 64em) { body { font-size: 1rem; } }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 56px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--white { background: var(--white); }
.section--tight { padding: 40px 0 8px; }

@media (min-width: 64em) {
  .section { padding: 80px 0; }
}

/* ---------- type ---------- */
.eyebrow {
  color: var(--eyebrow);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}
@media (min-width: 64em) { .eyebrow { font-size: 1rem; } }

/* Leadpages font-scale-12 — hero */
h1, h2, h3 { font-family: var(--font); color: var(--navy); margin: 0 0 16px; }

.h-hero {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 24px;
}
/* Leadpages font-scale-10 — section headline */
.h-section { font-size: 1.875rem; line-height: 1.125; font-weight: 700; }
/* Leadpages font-scale-11 — section subhead */
.h-sub     { font-size: 2.0625rem; line-height: 1.125; font-weight: 700; }

@media (min-width: 48em) {
  .h-hero    { font-size: 2.75rem; }
  .h-section { font-size: 2rem; }
  .h-sub     { font-size: 2.375rem; }
}
@media (min-width: 64em) {
  .h-hero    { font-size: 3.5rem; line-height: 3.75rem; margin-bottom: 32px; }  /* 56px / 60px */
  .h-section { font-size: 2.5rem; }
  .h-sub     { font-size: 3rem; }
}

.lead { font-size: 1rem; line-height: 1.25; margin: 0 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.4s;
}
.btn:hover, .btn:focus-visible { background: var(--red-hover); color: var(--white); }
.btn--wide { min-width: 207px; }
.btn--block { display: block; width: 100%; font-size: 16px; padding: 16px 32px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header__logo img { width: 168px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav .btn { color: var(--white); }
/* keep the CTA's label white on hover - a generic `a:hover {color:red}` here
   out-specifies .btn:hover and paints red text onto the red button */
.site-nav .btn:hover, .site-nav .btn:focus-visible {
  background: var(--red-hover);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 47.99em) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; }
  .site-nav .btn { margin-top: 8px; text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--navy); color: var(--white); padding: 48px 0 64px; }
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
/* "Quick turnarounds." is its own 14px line in the original, not part of the H1 */
/* Sits between the headline and the body copy in weight and size.
   The original set this at 14px; enlarged at the team's request. */
.hero__kicker {
  margin: 0 0 26px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--white);
}
@media (min-width: 48em) { .hero__kicker { font-size: 1.5rem; } }
@media (min-width: 64em) { .hero__kicker { font-size: 1.75rem; margin-bottom: 30px; } }
.hero__underline { width: 339px; max-width: 100%; height: auto; margin: 0 0 30px; }
.hero .lead { color: #d1d1d1; }
.hero .lead:last-of-type { margin-bottom: 44px; }

/* The hero video is square in the original (padding-bottom:100%), not 16:9 —
   a 16:9 frame pillarboxes it with black bars. */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 64em) {
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- client logo strip ---------- */
.logo-strip { background: var(--navy); padding: 8px 0 56px; }
.logo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
}
/* The original sized each logo to an equal-width column, so wordmarks of
   different proportions share a width rather than a height. */
.logo-strip img {
  opacity: 0.75;
  width: 140px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

/* ==========================================================================
   Feature cards — "What we offer"
   ========================================================================== */
.feature-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
.feature img { width: 56px; margin-bottom: 16px; }
.feature h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--body-muted); }

@media (min-width: 48em) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ==========================================================================
   Pull-quote testimonials (Nutella / PEEPS)
   Patterned pastel card, everything centre-aligned — matches the original.
   ========================================================================== */
.pullquote { padding: 40px 0; }

.quote-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 32px 40px;
  border-radius: 28px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.quote-card--pink { background-color: #fcc7c1; background-image: url('/assets/img/pattern-pink.png'); }
.quote-card--mint { background-color: #daebe8; background-image: url('/assets/img/pattern-mint.png'); }

.quote-card__mark { width: 34px; height: 23px; margin: 0 auto 18px; }

.quote-card blockquote {
  margin: 0 auto 28px;
  max-width: 680px;
  font-size: 1.125rem;      /* font-scale-6 */
  line-height: 1.125;
  font-weight: 700;
  color: var(--navy);
}
.quote-card__avatar {
  width: 36%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.quote-card__name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  color: #515269;
}
.quote-card__role {
  margin: 0;
  font-size: 1rem;
  line-height: 1.125;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 64em) {
  .pullquote { padding: 48px 0; }
  .quote-card { padding: 52px 40px 46px; }
  .quote-card blockquote { font-size: 1.25rem; }
}

/* ==========================================================================
   Our Work — video slider
   (replaces the POWR "video slider" widget: 3 across, 16:9, click to play)
   ========================================================================== */
.work-slider { position: relative; margin-top: 40px; }

.work-track {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  /* No CSS scroll-snap here on purpose: Chrome's snap engine cancels the arrow
     buttons' programmatic scrolls and locks the track at the end boundary.
     main.js pages to exact item offsets instead; touch swipe scrolls freely. */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.work-track::-webkit-scrollbar { display: none; }

.work-item {
  flex: 0 0 100%;
}
@media (min-width: 40em) { .work-item { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 60em) { .work-item { flex-basis: calc((100% - 32px) / 3); } }

.work-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;          /* POWR backgroundBorderRadius */
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;        /* POWR aspectRatio 0.5625 */
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.work-card::after {            /* POWR hoverColor */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 0, 1, 0.31);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-card:hover img { transform: scale(1.04); }
.work-card:hover::after { opacity: 1; }
.work-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.work-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.work-play::before {           /* play triangle */
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.work-card:hover .work-play {
  background: var(--red);
  border-color: var(--red);
  transform: translate(-50%, -50%) scale(1.08);
}

/* the iframe that replaces a thumbnail once played */
.work-card--playing { cursor: default; }
.work-card--playing::after { display: none; }
.work-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

/* arrows — POWR arrowStyle: white circle arrows */
.work-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(37, 39, 68, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}
.work-arrow svg { width: 22px; height: 22px; }
.work-arrow:hover { background: var(--red); }
.work-arrow:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.work-arrow--prev { left: -10px; }
.work-arrow--next { right: -10px; }
.work-arrow[disabled] { opacity: 0; pointer-events: none; }

@media (min-width: 76em) {
  .work-arrow--prev { left: -22px; }
  .work-arrow--next { right: -22px; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.price-card {
  background: var(--white);
  border-radius: 30px;
  padding: 32px 28px;
  box-shadow: 0 2px 18px rgba(37,39,68,0.08);
  transition: background-color 0.3s;
  display: flex;
  flex-direction: column;
  min-width: 0;            /* let the card shrink inside its grid track */
}
.price-card:hover { background: var(--card-hover); }
.price-card h3 { font-size: 1.75rem; font-weight: 700; margin: 0 0 16px; }
.price-card p { font-size: 1.0625rem; color: var(--body-muted); margin: 0 0 24px; }
.price-card__amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: auto 0 24px;
  overflow-wrap: break-word;
}
.price-card__amount small {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--body-muted);
  margin-bottom: 4px;
}

@media (min-width: 30em) { .price-card__amount { font-size: 2.25rem; } }
@media (min-width: 48em) {
  .price-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .price-card__amount { font-size: 36px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  gap: 32px;
  margin-top: 44px;
}
.step img { width: 128px; margin: 0 auto 12px; }
.step { text-align: center; }
.step h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 8px; }
.step p { margin: 0; color: var(--body-muted); font-size: 0.9375rem; }

@media (min-width: 48em) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* ==========================================================================
   Testimonial grid
   ========================================================================== */
.tgrid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.tcard {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 18px rgba(37,39,68,0.08);
}
.tcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tcard__head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }
.tcard__name { font-weight: 700; color: var(--navy); font-size: 0.9375rem; line-height: 1.3; }
.tcard__role { font-size: 0.8125rem; color: var(--body-muted); line-height: 1.35; }
.tcard p { margin: 0; font-size: 0.9375rem; color: var(--body-muted); }

@media (min-width: 48em)  { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em)  { .tgrid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.tgrid .tcard.is-hidden { display: none; }
.tgrid-toggle { text-align: center; margin-top: 32px; }
.tgrid-toggle button {
  background: none;
  border: 0;
  color: var(--red-accent);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
}
.tgrid-toggle button:hover { text-decoration: underline; }

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.cta {
  background-color: #dbebe9;
  background-image: url('/assets/img/pattern-cta.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 64px 0 72px;
}
.cta .eyebrow { text-align: center; }
.cta h2 { margin-bottom: 28px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
/* Every inner page sits on navy with white copy in the original, and the
   page title is centred — not the white/dark treatment used elsewhere. */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 24px;
}
.page-hero h1 {
  color: var(--white);
  margin: 0;
  font-size: 2.25rem;
  text-align: center;
}
@media (min-width: 64em) { .page-hero h1 { font-size: 3rem; } }

.page-body { background: var(--navy); color: var(--white); }

.prose { max-width: 1060px; margin: 0 auto; color: var(--white); }
.prose p { margin: 0 0 20px; font-size: 1rem; line-height: 1.5; }
.prose h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--white);
}
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #ff8da0; }

/* About Us — 24px / 39px in the original */
.prose--about { max-width: 1160px; }
.prose--about p { font-size: 1.125rem; line-height: 1.625; margin-bottom: 28px; }
@media (min-width: 64em) { .prose--about p { font-size: 1.5rem; line-height: 39px; } }

/* Terms — a single large centred line in the original */
.prose--terms { text-align: center; }
.prose--terms p { font-size: 1.5rem; line-height: 1.6; }
@media (min-width: 64em) { .prose--terms p { font-size: 2.5rem; line-height: 65px; } }

/* FAQ accordion */
.faq { max-width: 1060px; margin: 32px auto 0; }
.faq details {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.375;
  color: var(--white);
  position: relative;
}
@media (min-width: 64em) { .faq summary { font-size: 1.5rem; line-height: 33px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq__body { padding: 0 8px 22px 0; }
.faq__body p { margin: 0 0 14px; color: rgba(255,255,255,0.86); line-height: 1.6; }
.faq__body ul { margin: 0 0 14px; padding-left: 22px; color: rgba(255,255,255,0.86); }
.faq__body a { color: #ff8da0; }
.faq__intro { text-align: center; color: var(--white); font-size: 1.125rem; margin: 0 auto; max-width: 1060px; }
@media (min-width: 64em) { .faq__intro { font-size: 1.25rem; } }
.faq__intro a { color: #ff8da0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 32px;
}
.site-footer a { color: var(--white); text-decoration: none; }
/* scoped to the text links only, so it can't repaint the social icons or
   the newsletter button */
.footer__links a:hover,
.footer__base a:hover { color: var(--red); }
.footer__grid {
  display: grid;
  gap: 40px;
}
.footer__logo img { width: 168px; margin-bottom: 20px; }
.footer h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--white);
}
.footer__grid h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 10px; font-size: 0.9375rem; }

.newsletter { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.newsletter .btn { font-size: 1rem; padding: 13px 24px; }
.newsletter__note { margin: 2px 0 0; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.newsletter input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter input:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.newsletter .hp { position: absolute; left: -9999px; }

.social { display: flex; gap: 16px; margin-top: 24px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.25s, border-color 0.25s;
}
/* the icons are `fill: currentColor`, so the colour must stay white here or
   the glyph disappears into the red circle */
.social a:hover,
.social a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.social a:hover svg { fill: var(--white); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
}
.footer__base a { color: rgba(255,255,255,0.72); }
.footer__legal { display: flex; gap: 20px; }

@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

/* ---------- utilities ---------- */
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
