/* =========================================================
   HitMyPrice — Hero (above the fold)
   Design frame: 1920 × 1080
   ========================================================= */

/* ---------- Fonts ----------
   Agrandir is a licensed Pangram Pangram family — drop the
   webfont files into assets/fonts/ using the names below.
   Archivo is loaded from Google Fonts in index.html.
---------------------------------------------------------- */
@font-face {
  font-family: 'Agrandir Narrow';
  src: url('../fonts/agrandir-narrow-webfont.woff2') format('woff2'),
       url('../fonts/agrandir-narrow-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Agrandir TextBold';
  src: url('../fonts/agrandir-textbold-webfont.woff2') format('woff2'),
       url('../fonts/agrandir-textbold-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* @font-face {
  font-family: 'Agrandir';
  src: url('../fonts/Agrandir-Regular.woff2') format('woff2'),
       url('../fonts/Agrandir-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
} */

/* ---------- Tokens ---------- */
:root {
  --cream:        #F6F2EB;   /* headline */
  --body-text:    #E6E4DF;   /* paragraph */
  --muted:        #D6D4CF;   /* stat labels / note */
  --green:        #17A34A;   /* primary CTA */
  --green-hover:  #138C3E;
  --amber:        #F5A524;   /* stat values */
  --ink:          #0A0C0B;   /* page base */
  --nav-bg:       rgba(255, 255, 255, .10);
  --input-bg:     #FFFFFF;
  --placeholder:  #8C8C8C;

  --font-display: 'Agrandir Narrow', 'Agrandir', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --gutter: 100px;          /* hero text left inset */
  --nav-max: 1138px;        /* nav bar width */
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input { font: inherit; color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

h1, p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* background photo — 1920 × 1080 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #0B0D0C;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* legibility scrim: strong on the left, clear over the phone */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,10,9,.72) 0%, rgba(8,10,9,0) 22%),
    linear-gradient(90deg,  rgba(8,10,9,.88) 0%, rgba(8,10,9,.70) 26%,
                            rgba(8,10,9,.34) 46%, rgba(8,10,9,0) 62%);
}

/* ---------------- Header / nav ---------------- */
.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 24px;
}

.nav {
  width: 100%;
  max-width: var(--nav-max);
  height: 62px;
  margin: 0 auto;
  padding: 0 6px 0 21px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav__logo { flex: 0 0 auto; }
.nav__logo img { width: 131px; height: 25px; }

.nav__menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav__list a {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  color: #F3F2EF;
  transition: color .2s ease;
}
.nav__list a:hover { color: #FFFFFF; }

.nav__cta {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
}

/* burger — mobile only */
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 1.6px;
  margin: 4px auto;
  background: #F3F2EF;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-body);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.btn--green { background: var(--green); color: #FFFFFF; }
.btn--green:hover { background: var(--green-hover); }
.btn--green:active { transform: translateY(1px); }

/* ---------------- Hero content ---------------- */
.hero__inner {
  width: 100%;
  padding: 150px var(--gutter) 130px;
}

.hero__content { max-width: 720px; }

.hero__title {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 70px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--cream);
}

.hero__desc {
  margin-top: 38px;
  max-width: 618px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  color: var(--body-text);
}

/* ---------------- Stats ---------------- */
.stats {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
}

.stats__item {
  flex: 0 0 auto;
  width: 214px;   /* Figma column rhythm: 100 / 314 / 530 */
}
.stats__item:last-child { width: auto; }

.stats__value {
  font-family: 'Agrandir TextBold';
  display: block;
  font-size: 23px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--amber);
}

.stats__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- Waitlist form ---------------- */
.waitlist {
  margin-top: 27px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 618px;
}

.waitlist__input {
  flex: 0 0 381px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--input-bg);
  color: #1A1A1A;
  font-size: 15px;
  font-weight: 400;
}
.waitlist__input::placeholder { color: var(--placeholder); }
.waitlist__input:focus { outline: 0; border-color: var(--green); }
.waitlist__input.is-invalid { border-color: #E5484D; }

.waitlist__btn {
  flex: 0 0 228px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
}

.waitlist__msg {
  margin-top: 10px;
  font-size: 14px;
  color: var(--amber);
}

.hero__note {
  margin-top: 14px;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}

/* ---------------- Scroll cue ---------------- */
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 48px;
  z-index: 5;
  color: rgba(255,255,255,.92);
  animation: cue-bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: #FFFFFF; }

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* below the 1920 frame — keep proportions, ease the gutter */
@media (max-width: 1439px) {
  :root { --gutter: 72px; }
  .hero__title { font-size: 70px; line-height: 62px; }
}

@media (max-width: 1199px) {
  :root { --gutter: 56px; }
  .nav__list { gap: 34px; }
  .nav__cta { padding: 0 18px; }
  .hero__title { font-size: 60px; line-height: 54px; }
  .hero__desc { font-size: 18px; line-height: 27px; max-width: 540px; }
  .stats__item { width: 190px; }
}

@media (max-width: 991px) {
  .site-header { top: 20px; padding: 0 20px; }

  .nav {
    height: 58px;
    padding: 0 10px 0 18px;
    flex-wrap: wrap;
  }

  .nav__burger { display: block; order: 2; }

  .nav__menu {
    order: 3;
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open .nav__menu { max-height: 240px; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 6px 0 16px;
  }
  .nav__list a { display: block; padding: 12px 0; font-size: 15px; }

  .nav__cta {
    order: 4;
    height: 46px;
    width: 100%;
    margin-bottom: 12px;
    display: none;
  }
  .nav.is-open .nav__cta { display: inline-flex; }

  .hero__inner { padding: 130px var(--gutter) 110px; }
  .hero__bg { background-position: 72% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(8,10,9,.86) 0%, rgba(8,10,9,.40) 34%, rgba(8,10,9,.62) 100%);
  }
}

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

  .hero__title { font-size: 44px; line-height: 42px; }
  .hero__desc { margin-top: 22px; font-size: 16px; line-height: 25px; }

  .stats {
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 20px 28px;
  }
  .stats__item, .stats__item:last-child { width: auto; }
  .stats__value { font-size: 22px; line-height: 26px; }
  .stats__label { font-size: 11px; letter-spacing: .11em; }

  .waitlist {
    margin-top: 26px;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
  }
  .waitlist__input, .waitlist__btn { flex: 0 0 auto; width: 100%; height: 50px; }

  .scroll-cue { display: none; }
}

/* =========================================================
   WHO WE ARE
   ========================================================= */
.who {
  background: #F5F4F0;
  padding: 140px var(--gutter);
}

.who__inner {
  max-width: 1720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 860px) 1fr;
  align-items: center;
  gap: 60px;
}

/* ---------- text column ---------- */
.who__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--amber);
  color: #1A1200;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.who__title {
  margin-top: 26px;
  font-family: 'Agrandir TextBold';
  font-size: 60px;
  line-height: 58px;
  letter-spacing: -.01em;
  color: #0A2719;
}

.who__desc {
  margin-top: 26px;
  max-width: 560px;
  font-size: 18px;
  line-height: 29px;
  color: #4B4F4A;
}

.who__list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who__list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  line-height: 24px;
  color: #33362F;
}

.who__check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #CFEBD8;
}

/* ---------- media column ---------- */
.who__media {
  position: relative;
  width: 100%;
}

.who__media-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #E4DED2;
}

.who__laptop {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .who { padding: 110px var(--gutter); }
  .who__title { font-size: 42px; line-height: 48px; }
  .who__inner { gap: 44px; }
}

@media (max-width: 991px) {
  .who__inner {
    grid-template-columns: 1fr;
  }
  .who__media { order: -1; }
}

@media (max-width: 767px) {
  .who { padding: 80px var(--gutter); }
  .who__title { font-size: 32px; line-height: 38px; }
  .who__desc { font-size: 16px; line-height: 25px; }
  .who__list-item { font-size: 15px; }
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  background: #F5F0E8;
  padding: 140px var(--gutter);
}

.features__inner {
  max-width: 1430px;
  margin: 0 auto;
}

/* ---------- head ---------- */
.features__head {
  text-align: center;
  /* max-width: 760px; */
  margin: 0 auto;
}

.features__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--amber);
  color: #1A1200;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.features__title {
  margin-top: 22px;
  font-family: 'Agrandir TextBold';
  font-size: 60px;
  line-height: 54px;
  letter-spacing: -.01em;
  color: #0A2719;
}

.features__desc {
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: #5B5E57;
}

/* ---------- grid ---------- */
.features__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 36px 44px;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  background: #F5F0E8;
  color: var(--amber);
}

.feature-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-card__title {
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #0A2719;
}

.feature-card__desc {
  margin-top: 12px;
  font-size: 20px;
  line-height: 30px;
  color: #898c86;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .features { padding: 110px var(--gutter); }
  .features__title { font-size: 38px; line-height: 44px; }
  .features__grid { gap: 20px; }
  .feature-card { padding: 34px 28px 36px; }
}

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

@media (max-width: 640px) {
  .features { padding: 80px var(--gutter); }
  .features__title { font-size: 30px; line-height: 36px; }
  .features__desc br { display: none; }
  .features__grid { grid-template-columns: 1fr; margin-top: 44px; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: #F5F4F1;
  padding: 140px var(--gutter);
}

.testimonials__inner {
  max-width: 1430px;
  margin: 0 auto;
}

/* ---------- head ---------- */
.testimonials__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.testimonials__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--amber);
  color: #1A1200;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.testimonials__title {
  margin-top: 22px;
  margin-bottom: 22px;
  font-family: 'Agrandir TextBold', var(--font-display);
  font-size: 60px;
  line-height: 1.1;
  color: #0A2719;
}

.testimonials__desc {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  color: #5B5E57;
}

/* ---------- grid ---------- */
.testimonials__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testimonial-card {
  background: transparent;
  border: 1px solid #DDD6C9;
  border-radius: 16px;
  padding: 40px;
}

.testimonial-card__stars svg {
  display: block;
  height: 22px;
  width: auto;
}

.testimonial-card__quote {
  margin-top: 24px;
  font-size: 20px;
  line-height: 29px;
  color: #4B4F4A;
}

.testimonial-card__divider {
  margin-top: 32px;
  border-top: 1px solid #E4DFD4;
}

.testimonial-card__author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #E7D9C6;
}

.testimonial-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #14150F;
}

.testimonial-card__role {
  margin: 2px 0 0;
  font-size: 15px;
  color: #6B6E67;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .testimonials { padding: 110px var(--gutter); }
  .testimonials__title { font-size: 46px; }
  .testimonial-card { padding: 32px; }
}

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

@media (max-width: 640px) {
  .testimonials { padding: 80px var(--gutter); }
  .testimonials__title { font-size: 34px; }
  .testimonial-card { padding: 26px; }
  .testimonial-card__quote { font-size: 16px; line-height: 25px; }
}

/* =========================================================
   EARLY ACCESS CTA
   ========================================================= */
.cta {
  background: #3A4A3A;
  padding: 140px var(--gutter);
  text-align: center;
}

.cta__inner {
  /* max-width: 900px; */
  margin: 0 auto;
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(102, 187, 106, .22);
  color: #FBF8F3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.cta__title {
  margin-top: 24px;
  margin-bottom: 22px;
  font-family: 'Agrandir TextBold', var(--font-display);
  font-size: 60px;
  line-height: 1.1;
  font-weight: 700;
  color: #FBF8F3;
}

.cta__desc {
  margin-top: 20px;
  font-size: 19px;
  line-height: 30px;
  color: #E4E7E1;
}

/* ---------- role tabs ---------- */
.cta__tabs {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta__tab {
  height: 52px;
  padding: 0 26px;
  border: 1px solid #FFFFFF;
  border-radius: 999px;
  background: #FFFFFF;
  color: #4B4F4A;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.cta__tab.is-active {
  background: #0E2B1B;
  border-color: #0E2B1B;
  color: #FFFFFF;
}

.cta__tab:not(.is-active):hover {
  background: #F1F0EA;
}

/* ---------- form ---------- */
.cta__form {
  margin-top: 26px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.cta__input {
  flex: 0 0 381px;
  height: 54px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1A1A1A;
  font-size: 15px;
}
.cta__input::placeholder { color: #8C8C8C; }
.cta__input:focus { outline: 0; border-color: var(--amber); }
.cta__input.is-invalid { border-color: #E5484D; }

.cta__submit {
  flex: 0 0 228px;
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--amber);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
  transition: background-color .2s ease, box-shadow .3s ease, transform .15s ease;
}
.cta__submit:hover {
  background: #E0951F;
  box-shadow: 0 0 26px 4px rgba(245, 166, 35, .45);
}
.cta__submit:active { transform: translateY(1px); }

.cta__msg {
  margin-top: 14px;
  font-size: 14px;
  color: #FBF8F3;
}

.cta__note {
  margin-top: 18px;
  font-size: 15px;
  color: #D3D6CE;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .cta { padding: 110px var(--gutter); }
  .cta__title { font-size: 46px; }
}

@media (max-width: 767px) {
  .cta { padding: 80px var(--gutter); }
  .cta__title { font-size: 32px; line-height: 1.2; }
  .cta__desc { font-size: 17px; line-height: 27px; }

  .cta__tabs { flex-wrap: wrap; justify-content: center; }
  .cta__tab { height: 46px; padding: 0 20px; font-size: 15px; }

  .cta__form { flex-direction: column; max-width: 400px; margin-left: auto; margin-right: auto; }
  .cta__input, .cta__submit { flex: 0 0 auto; width: 100%; height: 50px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0E2B1B;
  padding: 40px var(--gutter);
}

.footer__inner {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo img {
  width: 211px;
  height: 39px;
}

.footer__copy {
  font-size: 14px;
  color: #B7C0BA;
}

.footer__list {
  display: flex;
  align-items: center;
  gap: 56px;
}

.footer__list a {
  font-size: 15px;
  font-weight: 500;
  color: #E9EAE6;
  transition: color .2s ease;
}
.footer__list a:hover { color: #FFFFFF; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__list { gap: 32px; }
}

@media (max-width: 500px) {
  .footer__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}