/* ==========================================================================
   Sphinx Labs — design tokens + shared classes
   Values taken from the Figma file (B2B SaaS Founders, node 46:137).
   Loaded alongside the Tailwind CDN build.
   ========================================================================== */

:root {
  /* --- Brand blues ------------------------------------------------------ */
  --brand: #074e87;         /* hero primary button label */
  --brand-dark: #06487f;    /* section badge border + label */
  --accent: #008cff;        /* "Contact Us" nav button */

  /* Hero gradient (sampled from the Figma render) */
  --hero-from: #1177c9;
  --hero-to: #064a82;

  /* --- Text ------------------------------------------------------------- */
  --ink: #090808;           /* headings on light backgrounds */
  --body: #464646;          /* body copy on light backgrounds */
  --on-dark: #ffffff;
  --on-dark-muted: #d8d8d8; /* hero subtext */
  --on-dark-faint: #c5c5c5; /* "trusted by" label */

  /* --- Problem cards ---------------------------------------------------- */
  --card-amber-bg: #fff2d1;
  --card-amber-fg: #8d690f;
  --card-purple-bg: #f8ecff;
  --card-purple-fg: #801bba;
  --card-teal-bg: #def5f2;
  --card-teal-fg: #30b4a3;

  /* --- Surfaces --------------------------------------------------------- */
  --page: #ffffff;
  --hairline: rgba(9, 8, 8, 0.1);

  /* --- Type ------------------------------------------------------------- */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;

  /* --- Layout ----------------------------------------------------------- */
  /* Figma: 1440 page, 1210 content, so 115px gutters. */
  --content: 1210px;
  --gutter: 115px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  -webkit-font-smoothing: antialiased;
  /* The hero dot pattern is intentionally wider than its card. */
  overflow-x: clip;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Shared classes — used across several sections
   -------------------------------------------------------------------------- */

/* Page gutter + max width. Figma content column is 1210px inside 1440px. */
.shell {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Pill badge above each section heading ("Problems", "Why Us", …).
   Outlined blue on light sections; the hero overrides it to white. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--brand-dark);
  border-radius: 10px;
  padding: 7px 13px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  line-height: 13px;
  letter-spacing: 0.3px;
  color: var(--brand-dark);
  white-space: nowrap;
}

.badge--on-dark {
  border-color: #ffffff;
  color: #ffffff;
  font-size: 12px;
  padding: 1px 13px;
  height: 26px;
}

/* Section heading — Figma uses Bricolage Light 54px throughout. */
.h-section {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 54px;
  line-height: 1.15;
  color: var(--ink);
}

/* Supporting paragraph under a section heading. */
.p-section {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--body);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  cursor: pointer;
  transition: filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* White fill, blue label — the hero's primary CTA. */
.btn--light {
  background: #ffffff;
  color: var(--brand);
}

.btn--light:hover {
  background: var(--accent);
  color: #ffffff;
}
.btn--light:hover img {
  filter: brightness(0) invert(1);
}

/* Outlined white — the hero's secondary CTA. */
.btn--ghost-light {
  border: 1px solid #ffffff;
  color: #ffffff;

}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Solid blue — nav "Contact Us". Plus Jakarta Sans per Figma. */
.btn--accent {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 14px;
  padding: 16px 12px;
}

.btn--accent:hover {
  background: var(--brand-dark);
}

/* Sticky header ---------------------------------------------------------- */

/* `sticky` rather than `fixed`: the header keeps its place in the flow, so
   pinning it costs no layout shift and needs no spacer element. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header__bar {
  transition: padding-block 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__logo {
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* JS adds .is-stuck once the page has scrolled past the header's own height. */
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(9, 8, 8, 0.08);
  /* Drops in from above the viewport the moment it pins. */
  animation: header-drop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Compress on pin so the bar takes less of the screen while reading. */
.site-header.is-stuck .site-header__bar {
  padding-block: 12px;
}

.site-header.is-stuck .site-header__logo {
  height: 40px;
}

@keyframes header-drop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* The drop is decorative; the pin itself is what matters. */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__bar,
  .site-header__logo {
    transition: none;
  }

  .site-header.is-stuck {
    animation: none;
  }
}

/* Navigation ------------------------------------------------------------- */

.nav-link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

/* Hamburger: a middle bar plus two pseudo bars that cross into an X. */
.nav-burger,
.nav-burger::before,
.nav-burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease, background-color 0.2s ease;
}

.nav-burger {
  position: relative;
}

.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger::before {
  top: -6px;
}

.nav-burger::after {
  top: 6px;
}

[aria-expanded="true"] .nav-burger {
  background: transparent;
}

[aria-expanded="true"] .nav-burger::before,
[aria-expanded="true"] .nav-burger::after {
  top: 0;
}

[aria-expanded="true"] .nav-burger::before {
  transform: rotate(45deg);
}

[aria-expanded="true"] .nav-burger::after {
  transform: rotate(-45deg);
}

/* Mobile menu panel. Desktop layout comes from Tailwind's lg:flex. */
@media (max-width: 1023px) {
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid var(--hairline);
    box-shadow: 0 18px 40px rgba(9, 8, 8, 0.1);
    padding: 8px var(--gutter) 24px;
  }

  .nav-links.is-open li {
    border-bottom: 1px solid var(--hairline);
  }

  .nav-links.is-open li:last-child {
    border-bottom: 0;
    padding-top: 20px;
  }

  .nav-links.is-open .nav-link {
    display: block;
    padding: 18px 0;
    font-size: 14px;
  }
}

/* Hero ------------------------------------------------------------------- */

/* The hero (card, gradient and rotating dot field) lives in css/hero.css.
   The --hero-from / --hero-to tokens above are still defined here. */

/* "Trusted by" logo strip ------------------------------------------------ */

/* Figma: six logos across 1053px, each in its own ~152px slot, one row.
   The explicit width/height attributes carry the per-logo Figma sizes; this
   only handles distribution and the small-screen wrap. */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1053px;
  margin-inline: auto;
}

.logo-strip img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .logo-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 36px;
  }

  /* Keep the row readable rather than shrinking logos to illegibility. */
  .logo-strip img {
    max-height: 32px;
    width: auto;
  }
}

/* Problem cards ---------------------------------------------------------- */

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
  padding: 40px;
}

.problem-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  line-height: normal;
}

.problem-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.problem-card__body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 767px) {
  .problem-card {
    padding: 28px;
  }

  .problem-card__num {
    font-size: 40px;
  }

  .problem-card__body {
    font-size: 16px;
  }
}

/* Solution --------------------------------------------------------------- */

/* Figma 71:25086: 1210x657 grey card, photo bleeding behind a green panel
   pinned to the right. */
/* The panel sits in flow (not absolutely positioned) so the card grows if the
   copy needs more room than Figma's fixed 657px — clipped text is worse than a
   slightly taller card. Photo is absolute behind it. */
.solution {
  display: flex;
  justify-content: flex-end;
  min-height: 657px;
  padding: 40px;
}

.solution__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Figma applies rotate(180deg) + scaleY(-1), which nets to a horizontal flip. */
  transform: scaleX(-1);
}

.solution__panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 509px;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 20px;
  background: #00a563;
  padding: 60px;
}

@media (max-width: 1023px) {
  /* Stack: photo on top, panel below, rather than covering the photo. */
  .solution {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .solution__photo {
    position: relative;
    height: 280px;
  }

  .solution__panel {
    width: 100%;
    max-width: none;
    padding: 32px;
    border-radius: 0;
  }

  .solution__panel h2 {
    font-size: 32px;
  }

  .solution__panel p {
    font-size: 16px;
  }
}

/* Our Process ------------------------------------------------------------ */

/* Figma 71:25368 — full-bleed gradient, ~-68deg. */
.process {
  background: linear-gradient(-68.29deg, #064579 1.39%, #075ea5 99.03%);
}

.badge--cream {
  border-color: #ffe8c1;
  color: #ffe8c1;
}

.process-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  border: 1px solid rgba(212, 191, 255, 0.1);
  background: #f7f7f7;
  padding: 29px;
}

.process-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #ffffff;
}

.process-card__icon img {
  width: 30px;
  height: 30px;
}

.process-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

/* Figma nests title+body in their own 16px-gap stack inside the 20px stack. */
.process-card__title + .process-card__body {
  margin-top: -4px;
}

.process-card__body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 767px) {
  .process-card__body {
    font-size: 16px;
  }
}

/* Why Us ----------------------------------------------------------------- */

/* Figma 87:142: 525px image + 40px gap + 645px card column = 1210. */
.why {
  display: grid;
  grid-template-columns: 525px 645px;
  gap: 40px;
  align-items: start;
  justify-content: center;
}

.why__media {
  height: 632px;
  border-radius: 20px;
  overflow: hidden;
}

.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  padding: 25px;
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #f7f7f7;
}

.why-card__icon img {
  width: 44px;
  height: 44px;
}

.why-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.why-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.why-card__body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 1279px) {
  /* Let the two columns share the row fluidly before stacking. */
  .why {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

@media (max-width: 1023px) {
  .why {
    grid-template-columns: 1fr;
  }

  .why__media {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .why-card {
    padding: 20px;
    gap: 14px;
  }

  .why-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .why-card__icon img {
    width: 32px;
    height: 32px;
  }

  .why-card__body {
    font-size: 16px;
  }
}

/* Clutch review strip ---------------------------------------------------- */

/* Figma 71:25236 — logo, five stars, caption; 20px vertical rhythm. */
.clutch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.clutch__logo {
  width: 168px;
  height: 48px;
  object-fit: contain;
}

.clutch__stars {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clutch__stars img {
  width: 24px;
  height: 24px;
}

.clutch__caption {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
  text-align: center;
}

@media (max-width: 767px) {
  .clutch__logo {
    width: 132px;
    height: 38px;
  }

  .clutch__stars {
    gap: 8px;
  }

  .clutch__stars img {
    width: 20px;
    height: 20px;
  }

  .clutch__caption {
    font-size: 16px;
  }
}

/* Testimonials carousel -------------------------------------------------- */

/* Figma 71:25206: 773x379 slides, 20px gap, centred with neighbours peeking.
   The track is full-bleed; JS translates it so the active slide is centred. */
.tst {
  --slide-w: 773px;
  --slide-gap: 20px;
}

.tst__viewport {
  overflow: hidden;
  /* Grabbable, and stops the browser hijacking horizontal drags as scroll. */
  cursor: grab;
  touch-action: pan-y;
}

.tst__viewport.is-dragging {
  cursor: grabbing;
}

.tst__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.tst__track {
  display: flex;
  gap: var(--slide-gap);
  align-items: stretch;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tst__track.is-dragging {
  transition: none;
}

.tst__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 0 0 var(--slide-w);
  width: var(--slide-w);
  min-height: 379px;
  border-radius: 20px;
  border: 1px solid #f7f7f7;
  padding: 39px;
  /* JS sets --bg per slide from a shuffled palette. */
  background: var(--bg, #f5eede);
  /* Neighbours recede so the centred slide reads as active. */
  opacity: 0.55;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tst__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.tst__quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  line-height: normal;
  text-align: center;
  color: var(--body);
}

.tst__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.tst__avatar {
  width: 70px;
  height: 70px;
  border-radius: 9999px;
  object-fit: cover;
}

.tst__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.tst__role {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

/* Bullet pagination ------------------------------------------------------ */

.tst__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.tst__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(9, 8, 8, 0.18);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.tst__dot:hover {
  background: rgba(9, 8, 8, 0.35);
}

.tst__dot.is-active {
  width: 28px;
  background: var(--brand-dark);
}

@media (max-width: 1023px) {
  .tst {
    --slide-w: 620px;
  }

  .tst__quote {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  /* Below this the peek is too tight to be useful — go near-full-width. */
  .tst {
    --slide-w: 86vw;
    --slide-gap: 12px;
  }

  .tst__slide {
    padding: 24px;
    min-height: 0;
  }

  .tst__quote {
    font-size: 16px;
  }

  .tst__role {
    font-size: 16px;
  }
}

/* How It Works ----------------------------------------------------------- */

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  line-height: normal;
  color: #8f57ff;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.step__body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 767px) {
  .step__num {
    font-size: 40px;
  }

  .step__body {
    font-size: 16px;
  }
}

/* Growth Audit ----------------------------------------------------------- */

/* Figma 77:189: 598px visual + 40px gap + 572px copy = 1210. */
.audit {
  display: grid;
  grid-template-columns: 598px 572px;
  gap: 40px;
  align-items: start;
  justify-content: center;
}

.audit__media {
  position: relative;
  height: 444px;
  border-radius: 20px;
  overflow: hidden;
  /* Figma layers the photo over a purple gradient; the gradient shows through
     wherever the cut-out photo is transparent. */
  background: linear-gradient(127.75deg, #a695ff 0%, #5941d8 97.82%);
}

.audit__media img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* Figma: 988x556 image inside a 598x444 frame — it overflows and is clipped. */
  width: 988px;
  max-width: none;
  height: 556px;
  object-fit: cover;
}

.audit__copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.audit__how {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.audit__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Figma centres the 20px icon inside a 24px box. */
.audit__check {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px;
}

.audit__item p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 1279px) {
  .audit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* The photo is fixed-width, so keep it covering as the frame narrows. */
  .audit__media img {
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1023px) {
  .audit {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .audit__copy {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .audit__media {
    height: 300px;
  }

  .audit__item p {
    font-size: 16px;
  }
}

/* Contact ---------------------------------------------------------------- */

/* Figma 71:25272 — full-bleed gradient at ~-63deg. Inner grid is
   641px (photo) + 39px gap + 600px (form) = 1280, with 80px page padding. */
.contact {
  background: linear-gradient(-62.91deg, #064579 1.39%, #075ea5 99.03%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 641px 600px;
  gap: 39px;
  align-items: start;
  justify-content: center;
  max-width: 1440px;
  margin-inline: auto;
  padding: 80px;
}

.contact__left {
  display: flex;
  flex-direction: column;
  /* Figma: header sits at y=80, photo at y=263 — ~35px below the header. */
  gap: 35px;
}

.contact__media {
  height: 452px;
  border-radius: 20px;
  overflow: hidden;
}

.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glassy form card ------------------------------------------------------- */

.contact__card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(212, 191, 255, 0.1);
  background: rgba(16, 8, 6, 0.1);
  padding: 39px;
}

/* Decorative glow bleeding off the card's top-right (Figma 71:25301). */
.contact__glow {
  position: absolute;
  top: -88px;
  left: 379px;
  width: 339px;
  height: 339px;
  max-width: none;
  pointer-events: none;
}

.contact__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* Figma stacks fields 90px apart: 44px input + label + 8px gap. */
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
}

.field__input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  padding: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  transition: border-color 0.2s ease;
}

.field__input::placeholder {
  color: #488a9b;
}

.field__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
}

.field__input--area {
  height: 100px;
  resize: vertical;
}

.contact__submit {
  height: 49px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  padding: 16px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #075392;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.contact__submit:hover {
  filter: brightness(0.94);
}

@media (max-width: 1279px) {
  .contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 64px 48px;
  }
}

@media (max-width: 1023px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 32px;
  }

  .contact__media {
    height: 320px;
  }

  .contact__left h2 {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .contact__inner {
    padding: 40px 20px;
  }

  .contact__card {
    padding: 24px;
  }

  .contact__left h2 {
    font-size: 30px;
  }

  .contact__left p {
    font-size: 16px;
  }

  .contact__media {
    height: 240px;
  }
}

/* FAQ accordion ---------------------------------------------------------- */

.faq-item {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 30px 20px;
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

/* Figma shows the open item's chevron rotated -90deg. */
.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(-90deg);
}

/* Collapsed by max-height so the toggle can animate. */
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  padding-top: 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 767px) {
  .faq-item__q {
    font-size: 17px;
  }

  .faq-item__a p {
    font-size: 16px;
  }
}

/* Footer ----------------------------------------------------------------- */

.social-round {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #f4f4f5;
  transition: filter 0.2s ease;
}

.social-round:hover {
  filter: brightness(0.92);
}

/* Focus ------------------------------------------------------------------ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Responsive: scale the Figma desktop values down
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  :root {
    --gutter: 48px;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 32px;
  }

  .h-section {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  .h-section {
    font-size: 30px;
  }

  .p-section {
    font-size: 16px;
  }

  .badge {
    font-size: 14px;
  }
}
