@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/BricolageGrotesque_300Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f4fc;
  --bg-muted: #ececf5;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-muted: #52525b;
  --line: #e4e4ec;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: rgba(22, 163, 74, 0.14);
  --brand-yellow: #fcd150;
  --figma-cta-from: #ffe9a7;
  --figma-cta-to: #fabc03;
  --figma-cta-ink: #725600;
  --dark: #0a0a0a;
  --dark-elevated: #18181b;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 60px rgba(28, 25, 23, 0.08);
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --font-headline: "Bricolage Grotesque", system-ui, sans-serif;
  /* FAQ + shared section eyebrow chips */
  --faq-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 40px));
  /* Fixed nav total offset (safe area + bar). Tuned to match .hero-figma__top padding + row height */
  --nav-stack: calc(env(safe-area-inset-top, 0px) + 92px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Root smooth scroll fights fast wheel / trackpad on many desktop browsers; use JS for hash links only */
  scroll-padding-top: var(--nav-stack);
  overflow-x: hidden;
  /* clip avoids a scrollable overflow box on the root; improves wheel / trackpad momentum vs hidden on some engines */
  overflow-x: clip;
  max-width: 100%;
  /* Bottom overscroll / “bounce” shows behind the document; keep black to match the footer */
  background-color: #000000;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    contain: layout style;
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .scroll-reveal.scroll-reveal--soft {
    transform: translate3d(0, 20px, 0);
    transition-duration: 0.7s;
  }
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Same breakpoint as fixed bottom CTA: body padding leaves a strip that must not show the lavender page bg */
@media (max-width: 1023px) {
  body {
    background-color: #000000;
  }
}

main {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

strong {
  font-weight: 800;
  font-family: var(--font-headline);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-muted);
  padding: 0.12em 0.35em;
  border-radius: 6px;
}

.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;
}

/* —— Figma Monex-style hero (UI8) — Suphra — node 31265:5605 — */
.hero-figma {
  position: relative;
  /* No z-index / isolation here — a stacking context would trap the fixed header so #why-suphra could paint over it */
  background: #fff;
  color: var(--ink);
  overflow-x: clip;
  overflow-y: visible;
  /* Offset first hero content below fixed nav (nav is out of document flow) */
  padding-top: var(--nav-stack);
  /* Room under the composite (+370px for translateY on art); keeps transition to #why-suphra comfortable */
  padding-bottom: calc(clamp(40px, 10vh, 140px) + 370px);
  /* Floor height so the hero reads as a full beat with a large visual (not a short strip) */
  min-height: calc(var(--nav-stack) + clamp(560px, 68vh, 1040px) + 80px);
}

.hero-figma__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  /* Opaque bar instead of backdrop-filter: blur over scrolling content avoids main-thread stalls during fast scroll */
  background: rgba(255, 255, 255, 0.97);
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.04);
}

.hero-figma__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: min(1200px, calc(100% - clamp(32px, 8vw, 100px)));
  margin-inline: auto;
}

.hero-figma__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-figma__burger:hover {
  background: var(--bg-muted);
}

.hero-figma__burger-icon {
  display: block;
}

.hero-figma__nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
}

.hero-figma__nav-backdrop {
  display: none;
}

.hero-figma__nav-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 28px;
}

.hero-figma__nav-panel-head {
  display: none;
}

.hero-figma__nav-lottie-wrap {
  display: none;
}

.hero-figma__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.hero-figma__logo-img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: min(240px, 72vw);
}

.hero-figma__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 36px);
}

.hero-figma__link {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.hero-figma__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-figma__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
  padding: 10px 12px 10px 24px;
  border-radius: 1000px;
  background: linear-gradient(90deg, var(--figma-cta-from) 0%, var(--figma-cta-to) 100%);
  color: var(--figma-cta-ink);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.hero-figma__pill:hover {
  filter: brightness(1.03);
}

@media (hover: none) {
  .hero-figma__pill:hover {
    filter: none;
  }
}

.hero-figma__pill:active {
  transform: translateY(1px);
}

.hero-figma__pill-text {
  white-space: nowrap;
}

.hero-figma__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

.hero-figma__arrow {
  display: block;
  flex-shrink: 0;
}

.hero-figma__center {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 40px);
  text-align: center;
}

.hero-figma__copy {
  max-width: 908px;
  margin-inline: auto;
}

.hero-figma__anchor {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--nav-stack) + 8px);
}

.hero-figma__title {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-figma__title-line {
  display: block;
}

.hero-figma__sub {
  margin: 0 auto 24px;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero-figma__sub strong {
  color: var(--ink);
}

.hero-figma__pill--hero {
  margin-inline: auto;
}

.hero-figma__art {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: clamp(-20px, -2.5vw, 0) auto 0;
  max-width: min(2200px, 100%);
  line-height: 0;
  pointer-events: none;
  /* +370px down; scale 1.8 — translate3d keeps this on the compositor during scroll */
  transform: translate3d(0, 370px, 0) scale(1.8);
  transform-origin: bottom center;
}

.hero-figma__art-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 1500px);
  margin-inline: auto;
  object-fit: contain;
  object-position: bottom center;
  image-rendering: auto;
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 900px) {
  :root {
    /* Single-row header: logo + burger */
    --nav-stack: calc(env(safe-area-inset-top, 0px) + 72px);
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  /* Drawer must not be clipped by hero overflow; lift header above page + sticky CTA */
  body.nav-drawer-open .hero-figma {
    overflow-x: visible;
    overflow-y: visible;
  }

  body.nav-drawer-open .hero-figma__top {
    z-index: 520;
  }

  body.nav-drawer-open .mobile-cta-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .hero-figma__burger {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-figma__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex: none;
    justify-content: flex-start;
    align-items: stretch;
    pointer-events: none;
  }

  .hero-figma__nav.is-open {
    pointer-events: auto;
  }

  .hero-figma__nav-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .hero-figma__nav.is-open .hero-figma__nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .hero-figma__nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero-figma__nav-panel-title {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--ink);
  }

  .hero-figma__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }

  .hero-figma__drawer-close:active {
    background: var(--bg-muted);
  }

  .hero-figma__nav-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100dvh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 28px)
      calc(20px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: none;
    transform: translateY(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-figma__nav:not(.is-open) .hero-figma__nav-panel {
    visibility: hidden;
  }

  .hero-figma__nav.is-open .hero-figma__nav-panel {
    transform: translateY(0);
    visibility: visible;
  }

  .hero-figma__links {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-height: 0;
  }

  .hero-figma__link {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 1.0625rem;
  }

  .hero-figma__link:active {
    background: var(--bg-muted);
  }

  .hero-figma__pill--nav {
    width: 100%;
    justify-content: center;
    margin-top: auto;
  }

  .hero-figma__nav-lottie-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 0 8px;
    flex-shrink: 0;
  }

  .hero-figma__nav-lottie {
    width: min(300px, 82.5vw);
    aspect-ratio: 1 / 1;
    min-height: min(300px, 82.5vw);
    pointer-events: none;
  }

  .hero-figma__title {
    text-align: center;
  }

  /* In-flow hero copy spacing (primary CTA is the fixed bar ≤1023px) */
  .hero-figma__sub {
    margin-bottom: 20px;
  }

  .hero-figma__center {
    padding-bottom: clamp(24px, 5vw, 40px);
  }

  .hero-figma {
    min-height: calc(var(--nav-stack) + clamp(480px, 58vh, 880px) + 80px);
    /* +250px spill buffer matches translateY below */
    padding-bottom: calc(clamp(32px, 8vh, 100px) + 250px);
  }

  .hero-figma__art {
    margin-top: 0;
    transform: translate3d(0, 250px, 0) scale(1.58);
    max-width: min(1600px, 100%);
  }

  .hero-figma__art-img {
    max-height: min(54vh, 920px);
  }
}

/* Viewports under ~1024×768: one persistent bottom CTA; keep in-card CTAs on pricing only */
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(32px + 51px + 28px + env(safe-area-inset-bottom, 0px));
  }

  .hero-figma__pill--hero,
  .hero-figma__pill--nav,
  .tools-figma__cta {
    display: none !important;
  }

  .mobile-cta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    z-index: 250;
    padding: 0 20px;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  /* Same classes as pricing cards; bar is pointer-events: none so the link must receive clicks */
  .mobile-cta-bar .pricing-figma__cta.hero-figma__pill {
    pointer-events: auto;
  }
}

/* —— Your Guide (Figma AI-Recipe 1504:30026) — replaces prior #why-suphra + proof strip — */
.tools-figma {
  position: relative;
  background: #fff;
  color: var(--ink);
  padding: clamp(56px, 8vw, 88px) 0 clamp(64px, 10vw, 96px);
}

.tools-figma__inner {
  width: min(1240px, calc(100% - 40px));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.tools-figma__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 24px);
  text-align: center;
  max-width: 902px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

/* Section eyebrow chips — shared FAQ-style pill (black, white type, subtle border) */
.tools-figma__badge,
.features-figma__pill,
.pricing-figma__eyebrow,
.faq-figma__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #d7d7d7;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--faq-ui);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.019em;
}

.tools-figma__title {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.tools-figma__title-line {
  display: block;
}

.tools-figma__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.tools-figma__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.tools-card {
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  height: 100%;
}

.tools-card__visual {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  /* Match guide artboards (1.png / 3.png); same ratio on all three keeps row heights aligned */
  background: #f8f8f8;
  aspect-ratio: 1188 / 933;
  border-radius: 16px 16px 0 0;
}

@media (min-width: 1024px) {
  .tools-card__visual {
    flex-shrink: 0;
  }
}

.tools-card__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.tools-card__img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

/* Card hover: frosted blur + centered CTA (Figma AI-Recipe 1504:40583 Card Container) */
.media-hover {
  position: relative;
  overflow: hidden;
}

.media-hover__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.media-hover__cta.hero-figma__pill {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin-inline: 0;
  max-width: min(calc(100% - 28px), 320px);
  min-height: 48px;
  padding: 8px 10px 8px 20px;
  font-size: clamp(0.8125rem, 2.5vw, 1rem);
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.15s ease;
  pointer-events: none;
}

.media-hover__cta.hero-figma__pill:active {
  transform: translate(-50%, calc(-50% + 1px)) scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .media-hover:hover .media-hover__overlay,
  .media-hover:focus-within .media-hover__overlay {
    opacity: 1;
  }

  .media-hover:hover .media-hover__cta.hero-figma__pill,
  .media-hover:focus-within .media-hover__cta.hero-figma__pill {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
}

@media (max-width: 1023px) {
  .media-hover__overlay {
    display: none !important;
  }

  .media-hover__cta.hero-figma__pill {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-hover__overlay,
  .media-hover__cta.hero-figma__pill {
    transition-duration: 0.01ms;
  }
}

.tools-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 2.5vw, 24px);
}

.tools-card__title {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: #0a0a0a;
}

.tools-card__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: #393939;
}

.tools-figma__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 56px);
}

@media (max-width: 1023px) {
  .tools-figma__grid {
    grid-template-columns: 1fr;
    max-width: min(420px, 100%);
    margin-inline: auto;
  }

  .tools-card {
    min-height: 0;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-headline);
  font-weight: 800;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  display: block;
  height: auto;
  max-height: 36px;
  width: auto;
  max-width: min(200px, 46vw);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.site-nav__link {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ink-muted);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--primary:hover {
  background: #292524;
  border-color: #292524;
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn--secondary:hover {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
}

.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.btn--on-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--on-dark:hover {
  background: #f5f5f4;
}

.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__bullets {
    text-align: left;
    margin-inline: auto;
    max-width: 26rem;
  }

  .site-nav .site-nav__link {
    display: none;
  }
}

.hero__bullets {
  margin: 0 0 28px;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
}

.hero__bullets li {
  margin-bottom: 0.45rem;
}

.hero__bullets li::marker {
  color: var(--accent);
}

.hero__hook {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 36rem;
}

@media (max-width: 900px) {
  .hero__hook {
    margin-inline: auto;
    text-align: center;
  }
}

.section-note a {
  color: var(--accent);
  font-weight: 800;
  font-family: var(--font-headline);
  text-decoration: none;
}

.section-note a:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(120deg, var(--accent) 0%, #22c55e 45%, var(--brand-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .hero__lead {
    margin-inline: auto;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.fineprint {
  margin: 0;
  font-size: 0.8125rem;
  color: #a8a29e;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__lottie {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 375 / 812;
  max-height: min(560px, 72vh);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(10, 10, 10, 0.06);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero__lottie-player {
  width: 100%;
  height: 100%;
  display: block;
}

.placeholder-card {
  position: relative;
  background: linear-gradient(
    145deg,
    #f5f0e8 0%,
    #ebe4d9 45%,
    #e0d8cc 100%
  );
  border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent);
}

.placeholder-card__label {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--ink-muted);
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  max-width: 80%;
}

.placeholder-card {
  border-radius: var(--radius-lg);
  min-height: 280px;
}

.placeholder-card--wide {
  min-height: 176px;
}

.band {
  padding: 72px 0;
}

.band--muted {
  background: var(--bg-muted);
}

.band__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.band__media {
  align-self: start;
  width: 100%;
}

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

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--alt {
  background: var(--surface);
}

.section--muted {
  background: var(--bg-muted);
}

.section-kicker {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-kicker--center {
  text-align: center;
}

.section-kicker--on-dark {
  color: #86efac;
}

.section-lead--tight {
  margin-bottom: 12px;
}

.section-lead--wide {
  max-width: 42rem;
}

.section-intro {
  margin-bottom: 56px;
}

.section-intro .section-lead:last-child {
  margin-bottom: 0;
}

/* —— Features — Figma node 1504:31135 — */
.features-figma {
  background: #fff;
  padding-top: clamp(64px, 10vw, 90px);
  padding-bottom: clamp(72px, 12vw, 120px);
}

.features-figma__wrap {
  width: min(1240px, calc(100% - 40px));
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.features-figma__intro {
  text-align: center;
  margin: 0 auto clamp(48px, 8vw, 80px);
  max-width: 902px;
  width: 100%;
  min-width: 0;
}

.features-figma__pill {
  margin: 0 0 24px;
}

.features-figma__hero-title {
  margin: 0 auto 24px;
  max-width: 56rem;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}

.features-figma__hero-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  overflow-wrap: break-word;
}

.features-figma__row {
  display: grid;
  grid-template-columns: minmax(0, 1.98fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: clamp(64px, 10vw, 120px);
  min-width: 0;
}

.features-figma__row:last-child {
  margin-bottom: 0;
}

.features-figma__row--reverse {
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.98fr);
}

.features-figma__media {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.features-figma__frame {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 32px;
  border: 4px solid #f3f3f5;
  overflow: hidden;
  background: #f3f3f5;
  min-height: 280px;
  aspect-ratio: 2376 / 1500;
  box-sizing: border-box;
}

.features-figma__frame.media-hover .media-hover__media {
  position: absolute;
  inset: 0;
}

.features-figma__frame.media-hover .media-hover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-figma__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  min-width: 0;
}

.features-figma__row--reverse .features-figma__copy {
  justify-self: start;
}

.features-figma__row:not(.features-figma__row--reverse) .features-figma__copy {
  justify-self: end;
}

.features-figma__kicker {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fa8b03;
}

.features-figma__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}

.features-figma__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  overflow-wrap: break-word;
}

.features-figma__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features-figma__list > li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.features-figma__list-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50px;
  background: #edeff2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
}

.features-figma__list-text {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
  color: var(--ink);
  padding-top: 4px;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .features-figma__row,
  .features-figma__row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Reverse rows are copy-first in the DOM for desktop two-column layout; stack image above heading on mobile */
  .features-figma__row--reverse .features-figma__media {
    order: -1;
  }

  /* Match base selectors’ specificity so justify-self / max-width actually apply on small screens */
  .features-figma__row:not(.features-figma__row--reverse) .features-figma__copy,
  .features-figma__row--reverse .features-figma__copy {
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }

  .features-figma__frame {
    max-width: 640px;
    margin-inline: auto;
  }
}

.section-note {
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.checklist {
  margin: 0 0 28px;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.checklist li {
  margin-bottom: 0.6rem;
}

.checklist li::marker {
  color: var(--accent);
}

.proof-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 800px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

.proof-strip__item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(10, 10, 10, 0.04);
}

.proof-strip__title {
  display: block;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.proof-strip__text {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
  }
}

.how-steps--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .how-steps--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .how-steps--four {
    grid-template-columns: 1fr;
  }
}

.how-steps__item {
  position: relative;
  padding: 28px 24px 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.how-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
}

.how-steps__title {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
}

.how-steps__body {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.feature-subtitle {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.feature-row .section-title {
  margin-bottom: 12px;
}

.feature-list {
  margin: 0 0 24px;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.feature-list li::marker {
  color: var(--accent);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

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

.use-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.use-card__title {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
}

.use-card__body {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.pricing {
  padding-bottom: 96px;
}

.pricing--figma {
  background: #fff;
}

.pricing-figma {
  --pricing-card-line: #dadcdd;
  --pricing-price-muted: #4d4845;
  --pricing-popular-bg: #9aefac;
  --pricing-card-shadow: 0.22px 8.35px 52px 18.8px rgba(0, 0, 0, 0.1);
}

.pricing-figma__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 902px;
  margin: 0 auto 64px;
  text-align: center;
}

.pricing-figma__eyebrow-wrap {
  margin: 0;
}

.pricing-figma__title {
  margin: 0;
  max-width: 36rem;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
}

.pricing-figma__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 300;
  color: #000;
}

.pricing-figma__lead strong {
  font-weight: 800;
}

.pricing-figma__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 23px;
  width: 100%;
  max-width: 817px;
  margin: 0 auto;
}

.pricing-figma__card {
  position: relative;
  flex: 1 1 320px;
  max-width: 397px;
  display: flex;
  flex-direction: column;
  gap: 54px;
  padding: 30px 33px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--pricing-card-shadow);
}

.pricing-figma__card--popular .pricing-figma__card-head {
  padding-right: 100px;
}

.pricing-figma__popular {
  position: absolute;
  top: 30px;
  right: 33px;
  margin: 0;
  padding: 3px 13px;
  border-radius: 21px;
  background: var(--pricing-popular-bg);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: var(--ink);
}

.pricing-figma__card-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--pricing-card-line);
}

.pricing-figma__plan {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: #101010;
  opacity: 0.9;
}

.pricing-figma__price-row {
  margin: 0;
  line-height: 1.2;
}

.pricing-figma__amount {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #101010;
}

.pricing-figma__interval {
  margin-left: 0.15em;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: var(--pricing-price-muted);
}

.pricing-figma__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.pricing-figma__features-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-headline);
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: var(--ink);
}

.pricing-figma__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-figma__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: var(--ink);
}

.pricing-figma__check {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}

.pricing-figma__check svg {
  display: block;
  width: 25px;
  height: 25px;
}

.pricing-figma__cta.hero-figma__pill {
  width: 100%;
  justify-content: space-between;
  align-self: stretch;
  margin-top: auto;
}

.btn--block {
  width: 100%;
}

@media (max-width: 720px) {
  .pricing-figma__intro {
    margin-bottom: 48px;
  }

  .pricing-figma__card {
    max-width: none;
  }

  .pricing-figma__card--popular .pricing-figma__card-head {
    padding-right: 0;
    padding-top: 36px;
  }

  .pricing-figma__popular {
    top: 24px;
    right: 24px;
  }
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: center;
}

.feature-row--reverse .feature-row__media {
  order: 2;
}

.feature-row--reverse .feature-row__text {
  order: 1;
}

@media (max-width: 800px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__media,
  .feature-row--reverse .feature-row__text {
    order: unset;
  }
}

.section--dark {
  background: var(--dark);
  color: #e7e5e4;
}

.section-title--on-dark {
  color: #fafaf9;
}

.section-lead--on-dark {
  color: #a8a29e;
}

.section-head {
  margin-bottom: 40px;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 640px;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

.section-head--center .btn {
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

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

.feature-grid--dense {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
  .feature-grid--dense {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid--dense {
    grid-template-columns: 1fr;
  }
}

.tile {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--dark-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tile__title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 800;
}

.tile__body {
  margin: 0;
  font-size: 0.9375rem;
  color: #a8a29e;
  line-height: 1.55;
}

/* —— FAQ — Figma node 1504:49799 (AI-Recipe) — */
.faq-figma {
  --faq-border: rgba(89, 96, 120, 0.1);
  --faq-expanded-bg: rgba(247, 249, 251, 0.8);
  position: relative;
  overflow-x: clip;
  background: #f3f3f5;
  padding-top: clamp(64px, 10vw, 90px);
  padding-bottom: clamp(72px, 12vw, 120px);
}

.faq-figma__decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(520px, 58vw);
}

.faq-figma__decor--burger {
  top: clamp(200px, 26vw, 300px);
  right: 64px;
  transform: rotate(14deg);
}

.faq-figma__decor-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 56px rgba(10, 10, 10, 0.12));
}

.faq-figma__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 8vw, 64px);
}

@media (max-width: 720px) {
  .faq-figma__decor {
    width: min(320px, 72vw);
  }

  .faq-figma__decor--burger {
    right: clamp(16px, 6vw, 64px);
    top: clamp(140px, 34vw, 260px);
  }
}

@media (max-width: 480px) {
  .faq-figma__decor {
    display: none;
  }
}

.faq-figma__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 100%;
  max-width: 902px;
  margin-inline: auto;
}

.faq-figma__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  text-align: center;
  max-width: 900px;
}

.faq-figma__title-line {
  display: block;
}

.faq-figma__leads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 454px;
  width: 100%;
}

.faq-figma__lead,
.faq-figma__hint {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.15;
  color: #0a0a0a;
  text-align: center;
}

.faq-figma__hint {
  margin-top: 0.35rem;
}

.faq-figma__accordion {
  width: 100%;
  max-width: 608px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-figma__item {
  margin: 0;
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  background: #fff;
  overflow: clip;
}

.faq-figma__item[open] {
  background: var(--faq-expanded-bg);
}

.faq-figma__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 73px;
  padding: 0 24px;
  font-family: var(--faq-ui);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.019em;
  color: #0a0a0a;
  text-align: left;
}

.faq-figma__item[open] .faq-figma__summary {
  align-items: flex-start;
  min-height: unset;
  padding: 24px 30px 0;
}

.faq-figma__q {
  flex: 1;
  min-width: 0;
}

.faq-figma__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0a0a0a;
  opacity: 0.75;
}

.faq-figma__chev-svg {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.faq-figma__item[open] .faq-figma__chev-svg {
  transform: scaleY(-1);
}

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

.faq-figma__summary::marker {
  content: none;
}

.faq-figma__summary:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
  border-radius: 4px;
}

.faq-figma__a {
  margin: 0;
  padding: 26px 30px 24px;
}

.faq-figma__a p {
  margin: 0;
  max-width: 514px;
  font-family: var(--faq-ui);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.019em;
  color: #393939;
  opacity: 0.8;
}

@media (max-width: 560px) {
  .faq-figma__summary {
    padding-inline: 18px;
    min-height: 64px;
    font-size: 1rem;
  }

  .faq-figma__item[open] .faq-figma__summary {
    padding: 20px 18px 0;
  }

  .faq-figma__a {
    padding: 20px 18px 22px;
  }
}

.cta-final {
  padding: 88px 0 96px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-muted), var(--bg));
}

.cta-final__title {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-final__lead {
  margin: 0 auto 28px;
  max-width: 480px;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

/* —— Footer — layout: top row (brand | links | social | mascot), wordmark, legal bar — */
.footer-figma {
  --footer-muted: #808080;
  --footer-bottom-space: 64px;
  position: relative;
  background: #000;
  color: #fff;
  overflow-x: visible;
  padding: calc(clamp(40px, 6vw, 56px) + 100px) 0
    calc(var(--footer-bottom-space) + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.15;
}

.footer-figma__wrap {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.footer-figma__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto auto minmax(100px, min(22vw, 260px));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-figma__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer-figma__blurb {
  margin: 0;
  max-width: 31.25rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--footer-muted);
}

.footer-figma__email {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

.footer-figma__email:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-figma__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.footer-figma__col--quick {
  width: max-content;
  padding-right: clamp(8px, 2vw, 24px);
}

.footer-figma__col--social {
  width: max-content;
}

.footer-figma__col-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
}

.footer-figma__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-figma__list a {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--footer-muted);
  text-decoration: none;
}

.footer-figma__list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-figma__mascot {
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: min(260px, 22vw);
  min-width: 0;
  pointer-events: none;
  line-height: 0;
  transform: translateY(50px) scale(1.5);
  transform-origin: center center;
}

.footer-figma__mascot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-figma__wordmark {
  position: relative;
  width: min(1240px, 100%);
  margin-inline: auto;
  margin-top: clamp(48px, 7vw, 100px);
  line-height: 0;
}

.footer-figma__wordmark-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-figma__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  /* Keep clear of the large wordmark; negative margin caused copyright / links to sit under the SVG on narrow viewports */
  margin-top: clamp(40px, 7vw, 100px);
  padding-top: clamp(20px, 4vw, 48px);
}

.footer-figma__copyright {
  margin: 0;
  flex: 1 1 12rem;
  max-width: min(36rem, 100%);
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 300;
  color: var(--footer-muted);
}

.footer-figma__legal-nav {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.footer-figma__legal-nav a {
  font-size: clamp(0.75rem, 2.8vw, 0.875rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--footer-muted);
  text-decoration: none;
  white-space: nowrap;
}

.footer-figma__legal-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1024px) {
  .footer-figma__main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "quick social"
      "mascot mascot";
  }

  .footer-figma__brand {
    grid-area: brand;
  }

  .footer-figma__col--quick {
    grid-area: quick;
    width: auto;
    padding-right: 0;
  }

  .footer-figma__col--social {
    grid-area: social;
    width: auto;
  }

  .footer-figma__mascot {
    grid-area: mascot;
    justify-self: center;
    max-width: min(320px, 55vw);
  }
}

@media (max-width: 560px) {
  /* Same two-column link row as tablet: Quick Links | Social Handle */
  .footer-figma__main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "quick social"
      "mascot mascot";
    column-gap: clamp(20px, 6vw, 40px);
  }

  .footer-figma__col--quick,
  .footer-figma__col--social {
    justify-self: start;
    min-width: 0;
  }

  .footer-figma__mascot {
    transform: translateY(12px) scale(1.05);
    max-width: min(220px, 48vw);
  }

  .footer-figma__legal {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-figma__copyright {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-figma__legal-nav {
    flex: 1 1 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px 10px;
  }
}

/* —— Legal documents (Privacy Policy, Terms of Service) — */
body.legal-doc-page {
  background: var(--bg);
}

@media (max-width: 1023px) {
  body.legal-doc-page {
    background: var(--bg);
  }
}

.legal-doc-page .hero-figma__top-inner.wrap {
  width: min(1200px, calc(100% - clamp(32px, 8vw, 100px)));
}

.legal-doc {
  width: min(720px, calc(100% - clamp(32px, 8vw, 80px)));
  margin-inline: auto;
  padding: calc(var(--nav-stack) + clamp(24px, 4vw, 48px)) 0 clamp(48px, 8vw, 96px);
}

.legal-doc__title {
  margin: 0 0 0.35em;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-doc__updated {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-style: italic;
}

.legal-doc__intro {
  margin: 0 0 1rem;
}

.legal-doc__intro:last-of-type {
  margin-bottom: 0;
}

.legal-doc__rule {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--ink);
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-doc li {
  margin-bottom: 0.35em;
}

.legal-doc li:last-child {
  margin-bottom: 0;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc a:hover {
  color: var(--accent-hover);
}
