/* ==========================================================================
   Paver — marketing site styles
   Built from the Figma design (Home, How It Works, Paver Advisor, About)
   ========================================================================== */

:root {
  --green: #3b7e00;
  --green-bright: #25a100;
  --green-soft: #77cf33;
  --green-tint: #e8ffd0;
  --green-wash: #e9fadc;
  --green-pale: #f5fded;

  --ink: #1a202c;        /* Grey 1 */
  --ink-deep: #12022f;   /* Colors/Basic/Color 1 */
  --ink-black: #12141d;  /* Black */
  --body: #2d3748;
  --muted: #594d6d;      /* Colors/Basic/Color 2 */
  --muted-2: #718096;    /* Grey 4 */
  --line: #e7e5ea;       /* Colors/Basic/Color 4 */
  --dark: #292b32;       /* Dark */

  --bg: #fafcff;
  --bg-warm: #fcfefa;
  --white: #ffffff;

  --radius-card: 32px;
  --radius-btn: 8px;
  --shadow-card: 0 0 44px 24px rgba(176, 183, 195, 0.06);
  --shadow-phone: 0 0 54px 30px rgba(176, 183, 195, 0.1);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 100px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.text-green {
  color: var(--green);
}

.text-green-bright {
  color: var(--green-bright);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-btn);
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid var(--green-soft);
  outline-offset: 3px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: #336d00;
  box-shadow: 0 8px 20px rgba(59, 126, 0, 0.25);
}

.btn--bright {
  background: var(--green-bright);
  color: var(--white);
  padding-inline: 48px;
}

.btn--bright:hover {
  background: #1f8a00;
  box-shadow: 0 8px 20px rgba(37, 161, 0, 0.25);
}

.btn--wide {
  padding-inline: 48px;
}

.btn--soft {
  background: var(--green-tint);
  color: var(--green);
  padding-inline: 18px;
}

.btn--soft:hover {
  background: #d9fbb5;
}

.btn--soft-bright {
  color: var(--green-bright);
}

.btn--outline {
  height: 56px;
  width: 160px;
  background: transparent;
  color: var(--green);
  border: 2px solid rgba(59, 126, 0, 0.1);
  letter-spacing: -0.36px;
  line-height: 26px;
}

.btn--outline:hover {
  border-color: var(--green);
}

.btn--sm {
  height: 50px;
  padding: 16px 20px;
}

.btn__stores {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn__stores svg {
  width: 24px;
  height: 24px;
}

.btn__divider {
  width: 2px;
  height: 24px;
  background: currentColor;
  opacity: 0.35;
  border-radius: 2px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
}

.logo img {
  width: 134px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav a {
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.3556px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

.nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}

.header-actions__link {
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: var(--ink-black);
  white-space: nowrap;
}

.header-actions__link:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--green-tint);
  color: var(--green);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.section {
  padding: 83px 0;
}

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

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

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

.section-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -2px;
  color: var(--ink-deep);
}

.section--dark .section-title {
  color: var(--white);
}

.section-lead {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--muted);
}

.eyebrow {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}

.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head--center {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

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

.hero {
  background: var(--bg);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 500px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  min-height: 658px;
}

.hero__copy {
  padding-top: 79px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero__title {
  font-weight: 800;
  font-size: 72px;
  line-height: 1.12;
  letter-spacing: -1.442px;
  color: var(--ink);
}

.hero__lead {
  max-width: 533px;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: -0.36px;
  color: var(--body);
}

.hero__media {
  align-self: start;
  padding-top: 11px;
  justify-self: end;
}

.hero__media img {
  width: 500px;
  height: auto;
}

.page-hero {
  background: var(--bg);
  padding: 79px 0 110px;
  text-align: center;
}

.page-hero__title {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 800;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -1.442px;
  color: var(--ink);
}

.page-hero__lead {
  max-width: 929px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: -0.36px;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Feature cards ("Here's what Paver does for you")
   -------------------------------------------------------------------------- */

.features {
  background: var(--bg-warm);
}

.features .section-head {
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 550fr 640fr;
  gap: 32px 33px;
}

.feature-grid__row2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 310px;
  padding: 40px 38px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.feature-card--dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 0 44px 24px rgba(176, 183, 195, 0.08);
}

.feature-card--row {
  flex-direction: row;
  align-items: center;
  min-height: 183px;
  padding: 32px;
}

.feature-card__icon {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
}

.feature-card__icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
}

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

.feature-card__title {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.26;
  color: var(--ink);
}

.feature-card--dark .feature-card__title {
  color: var(--white);
}

.feature-card__text {
  max-width: 550px;
  font-size: 18px;
  line-height: 1.26;
  letter-spacing: -0.4px;
  color: var(--muted-2);
}

.feature-card--dark .feature-card__text {
  color: rgba(255, 255, 255, 0.8);
}

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

.testimonials {
  padding: 87px 0 132px;
  overflow: hidden;
}

.testimonials .section-head {
  max-width: 520px;
  margin-bottom: 72px;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  justify-content: safe center;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 540px;
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 0 27px;
  min-height: 298px;
  padding: 65px 50px 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  scroll-snap-align: center;
}

.testimonial__avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__quote {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--white);
}

.testimonial__name {
  grid-column: 2;
  margin-top: 32px;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Learn cards (Articles / Videos / Self help)
   -------------------------------------------------------------------------- */

.learn .section-head {
  max-width: 560px;
  margin-bottom: 78px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 357px));
  justify-content: center;
  gap: 32px;
}

.learn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 406px;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.learn-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.learn-card__title {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.26;
  color: var(--ink);
}

.learn-card__text {
  max-width: 290px;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.26;
  letter-spacing: -0.4px;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  padding: 98px 0;
}

.steps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
}

.steps__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.step-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  counter-reset: step;
}

.step-list--detailed {
  gap: 40px;
}

.step-list::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 65px;
  bottom: 32px;
  border-left: 1px dashed #c7cbd3;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.step--active {
  align-items: flex-start;
}

.step__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(176, 183, 195, 0.25);
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.8px;
  color: var(--ink-deep);
}

.step--active .step__num {
  background: var(--green-bright);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(37, 161, 0, 0.18);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step--active .step__body {
  padding-top: 0;
}

.step__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--ink-deep);
}

.step__text {
  max-width: 453px;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: -0.36px;
  color: var(--body);
}

.phone-card {
  flex-shrink: 0;
  width: 562px;
  max-width: 100%;
  border-radius: 39.4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-phone);
}

.phone-card img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   FAQ + contact
   -------------------------------------------------------------------------- */

.faq {
  padding: 120px 0;
}

.faq__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
}

.faq__list {
  flex: 0 1 450px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.faq-item__q img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.faq-item__q .chev-up {
  display: none;
}

.faq-item.is-open .chev-up {
  display: block;
}

.faq-item.is-open .chev-down {
  display: none;
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a > div {
  overflow: hidden;
}

.faq-item__a p {
  padding-top: 16px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.3556px;
  color: var(--muted-2);
}

.contact-cta {
  flex: 0 1 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-cta .section-head {
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Download CTA (phone + copy)
   -------------------------------------------------------------------------- */

.download {
  position: relative;
  background: #fbfefa;
  overflow: hidden;
}

.download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 564px);
  align-items: center;
  gap: 48px;
  min-height: 442px;
}

.download--tall .download__inner {
  min-height: 600px;
}

.download__media {
  align-self: end;
  display: flex;
  justify-content: center;
}

.download__media img {
  width: 420px;
  height: 380px;
  object-fit: cover;
  object-position: top;
  margin-top: 48px;
}

.download--tall .download__media img {
  height: 540px;
  width: 414px;
}

.download__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 0;
}

.download__copy .section-head {
  gap: 16px;
}

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

.site-footer {
  background: var(--bg);
  padding: 76px 0;
}

.site-footer--rule .container::before {
  content: "";
  display: block;
  height: 1px;
  flex-basis: 100%;
  margin-bottom: 67px;
  background: var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 39px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.3px;
}

.site-footer__copy {
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  gap: 39px;
  font-weight: 700;
  color: var(--ink-deep);
}

/* --------------------------------------------------------------------------
   Paver Advisor page
   -------------------------------------------------------------------------- */

.advisor-hero {
  padding-bottom: 88px;
}

.advisor-hero .page-hero__title {
  max-width: 1000px;
}

.advisor-tools {
  max-width: 1185px;
  margin: 72px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.search {
  position: relative;
  width: 100%;
}

.search svg {
  position: absolute;
  left: 32px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  color: #9a9a9a;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 68px;
  padding: 0 24px 0 70px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.05);
  font-family: var(--font);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search input::placeholder {
  color: rgba(103, 103, 103, 0.4);
}

.search input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 100px;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: #696969;
}

.filter input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid #9c9c9c;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.filter input::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.filter input:checked {
  border-color: var(--green);
  background: var(--green-tint);
}

.filter input:checked::after {
  transform: scale(1);
}

.start-here .section-head {
  max-width: 560px;
  margin-bottom: 78px;
}

.library {
  background: var(--bg-warm);
  padding: 80px 0;
}

.library__group + .library__group {
  margin-top: 120px;
}

.library__title {
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: #000;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 357px));
  gap: 24px 32px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 7px 8px 24px;
  background: var(--white);
  border: 1px solid #f6e5f6;
  border-radius: 24px;
  box-shadow: 0 7px 8px -2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, 0.1);
}

.resource-card[hidden] {
  display: none;
}

.resource-card__thumb {
  display: grid;
  place-items: center;
  height: 250px;
  border-radius: 16px;
  background: var(--green-wash);
}

.resource-card__thumb svg {
  width: 150px;
  height: 150px;
}

.resource-card__thumb--video svg {
  width: 120px;
  height: 120px;
}

.resource-card__title {
  max-width: 303px;
  margin: 18px 13px 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.6px;
  color: #303030;
}

.empty-state {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted-2);
}

.app-cta {
  padding: 98px 0;
}

.app-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.app-cta__copy {
  max-width: 588px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  background: var(--bg-warm);
  padding: 150px 0 158px;
  overflow: hidden;
}

.about-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 125px;
}

.about-hero__media {
  position: relative;
  flex-shrink: 0;
  width: 540px;
  height: 540px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 18% 22%, rgba(115, 177, 68, 0.12) 0 60px, transparent 61px),
    radial-gradient(circle at 85% 78%, rgba(115, 177, 68, 0.12) 0 90px, transparent 91px),
    var(--green-pale);
  overflow: visible;
}

.about-hero__media > img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 380px;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  object-position: top;
  transform: translateX(-50%);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.stat-chip {
  position: absolute;
  left: 25px;
  top: 92px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 69px;
  padding: 0 24px 0 13px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.stat-chip__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.stat-chip__icon svg {
  width: 24px;
  height: 24px;
}

.stat-chip__label {
  display: block;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: var(--muted-2);
}

.stat-chip__value {
  display: block;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: #4b4b4b;
}

.about-hero__copy {
  max-width: 533px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-hero__title {
  font-weight: 800;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -1.442px;
  color: var(--ink);
}

.beliefs .section-title {
  text-align: center;
  margin-bottom: 78px;
}

.belief-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(176, 183, 195, 0.25);
}

.belief-icon svg {
  width: 32px;
  height: 32px;
}

.founder {
  position: relative;
  padding: 120px 0;
  background-color: var(--dark);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100px 104.5px;
  background-position: 60px 71px;
  color: var(--white);
}

.founder__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.founder__copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.founder__bio {
  display: flex;
  flex-direction: column;
  gap: 38px;
  font-weight: 500;
  font-size: 25px;
  line-height: 38px;
  letter-spacing: -0.75px;
  color: #aaa;
}

.founder__name {
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.64px;
  color: #eee;
}

.founder__role {
  margin-top: 4px;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.64px;
  color: #909090;
}

.founder__photo {
  flex-shrink: 0;
  position: relative;
  width: 500px;
  height: 742px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #3a3d46 0%, #1f2126 100%);
}

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

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .resource-card {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .nav {
    gap: 28px;
  }

  .hero__title,
  .page-hero__title,
  .about-hero__title {
    font-size: 60px;
    line-height: 1.12;
  }

  .about-hero__inner {
    gap: 64px;
  }

  .about-hero__media {
    width: 460px;
    height: 460px;
  }

  .founder__photo {
    width: 420px;
    height: 620px;
  }

  .faq__inner {
    gap: 64px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(18, 2, 47, 0.08);
  }

  .site-header.is-open .mobile-menu {
    display: flex;
  }

  .mobile-menu a:not(.btn) {
    padding: 12px 0;
    font-weight: 500;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a[aria-current="page"] {
    font-weight: 700;
    color: var(--green);
  }

  .mobile-menu .btn {
    margin-top: 12px;
    width: 100%;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 48px;
  }

  .hero__copy {
    padding-top: 56px;
  }

  .hero__media {
    justify-self: center;
    width: 100%;
    max-width: 500px;
  }

  .hero__media img {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid__row2 {
    grid-template-columns: 1fr;
  }

  .learn-grid {
    grid-template-columns: minmax(0, 420px);
  }

  .steps__body,
  .app-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-card {
    align-self: center;
  }

  .faq__inner {
    flex-direction: column;
    gap: 64px;
  }

  .faq__list,
  .contact-cta {
    flex-basis: auto;
    width: 100%;
  }

  .contact-cta {
    order: -1;
  }

  .download__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .download__copy {
    padding-bottom: 0;
  }

  .download__media {
    order: 2;
  }

  .about-hero {
    padding: 72px 0;
  }

  .about-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 72px;
  }

  .about-hero__media {
    align-self: center;
  }

  .founder__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder__copy {
    gap: 48px;
  }

  .founder__photo {
    align-self: center;
  }

  .filters {
    gap: 16px 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .section,
  .steps,
  .app-cta,
  .library {
    padding: 64px 0;
  }

  .hero__title,
  .page-hero__title,
  .about-hero__title {
    font-size: 42px;
    line-height: 1.14;
    letter-spacing: -1px;
  }

  .page-hero {
    padding: 48px 0 64px;
  }

  .section-title,
  .library__title {
    font-size: 34px;
    line-height: 42px;
    letter-spacing: -1px;
  }

  .hero__lead,
  .page-hero__lead,
  .section-lead {
    font-size: 16px;
    line-height: 24px;
  }

  .btn-row {
    gap: 12px;
  }

  .btn-row .btn {
    flex: 1 1 auto;
  }

  .btn--bright,
  .btn--wide {
    padding-inline: 28px;
  }

  .feature-card,
  .feature-card--row {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 28px 24px;
  }

  .feature-card__title {
    font-size: 22px;
  }

  .feature-card__text,
  .learn-card__text {
    font-size: 16px;
  }

  .learn-card {
    min-height: 0;
    gap: 32px;
  }

  .testimonials {
    padding: 64px 0 80px;
  }

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

  .testimonial {
    flex-basis: 86vw;
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 28px 24px;
  }

  .testimonial__name {
    grid-column: 1;
    margin-top: 0;
    font-size: 12px;
    letter-spacing: 3px;
  }

  .step-list {
    gap: 32px;
  }

  .step {
    gap: 18px;
  }

  .step__num {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .step-list::before {
    left: 26px;
    top: 52px;
  }

  .step__text {
    font-size: 16px;
    line-height: 24px;
  }

  .phone-card {
    border-radius: 28px;
  }

  .faq {
    padding: 64px 0;
  }

  .download__media img,
  .download--tall .download__media img {
    width: 300px;
    height: 300px;
  }

  .site-footer {
    padding: 48px 0;
  }

  .site-footer--rule .container::before {
    margin-bottom: 40px;
  }

  .search input {
    height: 56px;
    font-size: 16px;
    padding-left: 56px;
  }

  .search svg {
    left: 20px;
    width: 22px;
    height: 22px;
  }

  .filters {
    justify-content: flex-start;
    gap: 14px 24px;
  }

  .filter {
    font-size: 16px;
    gap: 10px;
  }

  .advisor-tools {
    margin-top: 40px;
  }

  .library__group + .library__group {
    margin-top: 64px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

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

  .resource-card__thumb {
    height: 200px;
  }

  .about-hero__media {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
  }

  .about-hero__media > img {
    width: 72%;
  }

  .stat-chip {
    left: 12px;
    top: 24px;
    height: 58px;
  }

  .stat-chip__value {
    font-size: 17px;
  }

  .founder {
    padding: 64px 0;
  }

  .founder__bio {
    gap: 24px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.4px;
  }

  .founder__name,
  .founder__role {
    font-size: 24px;
    line-height: 32px;
  }

  .founder__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 742;
  }
}
