:root {
  --bg: #F7F3EA;
  --bg-soft: #EEE7DA;
  --card: #FFFFFF;
  --text: #1F1E1C;
  --muted: #6F6A63;
  --border: #DDD3C4;
  --violet: #8E6CFF;
  --lime: #D9FF70;
  --coral: #FF9B73;
  --sage: #A7CDB5;
  --shadow: 0 24px 70px rgba(31, 30, 28, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 255, 112, 0.35), transparent 32rem),
    radial-gradient(circle at top right, rgba(142, 108, 255, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 30, 28, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 30, 28, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
}

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

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

.site-header,
.site-footer,
.section-pad {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--text);
  color: var(--lime);
  box-shadow: 0 12px 28px rgba(31, 30, 28, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(221, 211, 196, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.main-nav a:hover {
  background: var(--text);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
  padding-top: 54px;
  padding-bottom: 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(31, 30, 28, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.promise-box h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 6.75rem);
}

.hero p {
  max-width: 630px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.card-link:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 18px 38px rgba(31, 30, 28, 0.18);
}

.btn-primary:hover {
  background: #000;
}

.btn-secondary {
  border: 1px solid rgba(31, 30, 28, 0.14);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(238, 231, 218, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.4px);
}

.orb-one {
  width: 330px;
  height: 330px;
  top: 38px;
  right: 32px;
  background: linear-gradient(135deg, var(--violet), rgba(142, 108, 255, 0.2));
}

.orb-two {
  width: 280px;
  height: 280px;
  bottom: 38px;
  left: 40px;
  background: linear-gradient(135deg, var(--lime), var(--coral));
}

.floating-card {
  position: absolute;
  width: min(78%, 330px);
  padding: 22px;
  border: 1px solid rgba(31, 30, 28, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 55px rgba(31, 30, 28, 0.12);
}

.floating-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-card strong {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.card-top {
  top: 78px;
  left: 46px;
}

.card-middle {
  top: 238px;
  right: 42px;
}

.card-bottom {
  bottom: 72px;
  left: 82px;
}

.resources {
  padding-top: 76px;
  padding-bottom: 70px;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 34px;
}

.section-heading h2,
.promise-box h2 {
  font-size: clamp(2.4rem, 5vw, 4.55rem);
}

.section-heading p,
.promise-box p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(265px, auto);
  gap: 18px;
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(221, 211, 196, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(31, 30, 28, 0.08);
}

.resource-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -52px;
  top: -54px;
  border-radius: 50%;
  background: var(--accent, var(--violet));
  opacity: 0.46;
}

.resource-card.featured {
  grid-column: span 2;
  min-height: 360px;
}

.resource-card.muted {
  background: rgba(238, 231, 218, 0.78);
}

.accent-coral {
  --accent: var(--coral);
}

.accent-sage {
  --accent: var(--sage);
}

.accent-lime {
  --accent: var(--lime);
}

.accent-violet {
  --accent: var(--violet);
}

.tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(31, 30, 28, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.resource-card h3 {
  position: relative;
  z-index: 1;
  max-width: 430px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.resource-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(31, 30, 28, 0.14);
  transition: 0.25s ease;
}

.card-link.disabled {
  background: rgba(31, 30, 28, 0.14);
  color: rgba(31, 30, 28, 0.64);
  box-shadow: none;
  cursor: default;
}

.promise {
  padding-top: 40px;
  padding-bottom: 80px;
}

.promise-box {
  padding: clamp(30px, 6vw, 62px);
  border-radius: var(--radius-xl);
  background: var(--text);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.promise-box::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -58px;
  bottom: -86px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--violet));
  opacity: 0.9;
}

.promise-box > * {
  position: relative;
  z-index: 1;
}

.promise-box .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.promise-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  padding-top: 34px;
  padding-bottom: 84px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: clamp(38px, 6vw, 68px);
  border: 1px solid rgba(31, 30, 28, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(217, 255, 112, 0.42), transparent 18rem),
    radial-gradient(circle at bottom left, rgba(142, 108, 255, 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(31, 30, 28, 0.08);
}

.contact-box .eyebrow {
  margin-bottom: 22px;
}

.contact-box h2 {
  max-width: 820px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.contact-box p {
  max-width: 860px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.contact-box .btn {
  margin-top: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(31, 30, 28, 0.12);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.affiliate-note {
  max-width: 420px;
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 30px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav a {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .floating-card {
    width: 78%;
    padding: 18px;
  }

  .floating-card strong {
    font-size: 1.25rem;
  }

  .card-top {
    left: 22px;
    top: 44px;
  }

  .card-middle {
    right: 20px;
    top: 178px;
  }

  .card-bottom {
    left: 34px;
    bottom: 48px;
  }

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

  .resource-card.featured {
    grid-column: span 1;
  }


  .contact {
    padding-top: 22px;
    padding-bottom: 64px;
  }

  .contact-box {
    gap: 26px;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .contact-box .eyebrow {
    margin-bottom: 18px;
  }

  .contact-box p {
    margin-top: 18px;
  }

.site-footer {
    flex-direction: column;
  }

  .affiliate-note {
    text-align: left;
  }
}
