:root {
  --violet: #6d28d9;
  --violet-2: #7c3aed;
  --indigo: #1e1b4b;
  --gold: #fcd34d;
  --lavender: #ede9fe;
  --cloud: #f3f4f6;
  --ink: #171525;
  --muted: #625f73;
  --white: #ffffff;
  --teal: #0f766e;
  --rose: #be3455;
  --line: rgba(30, 27, 75, 0.14);
  --shadow: 0 18px 45px rgba(30, 27, 75, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #faf8ff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1568px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 10px clamp(18px, 3.2vw, 36px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(30, 27, 75, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  color: var(--indigo);
  letter-spacing: 0;
}

.brand-copy strong {
  color: var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 64px);
  margin-left: auto;
  font-size: 1rem;
  font-weight: 700;
  color: #34304f;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--violet);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a:first-child::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-advertise {
  padding: 8px 16px !important;
  color: var(--white) !important;
  background: var(--violet);
  border-radius: 999px;
}

.nav-advertise::after {
  display: none !important;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 92px);
  margin-top: -70px;
  padding: clamp(120px, 13vw, 168px) clamp(18px, 7vw, 96px) clamp(48px, 7vw, 84px);
  overflow: hidden;
  isolation: isolate;
  background: #fbfaff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("assets/banner-without-text-new.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.5) 34%,
    rgba(255, 255, 255, 0.04) 62%
  );
}

.hero-inner {
  width: min(700px, 100%);
  padding: 0 0 34px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 10px 16px;
  color: var(--violet);
  font-size: clamp(0.92rem, 1.4vw, 1.22rem);
  font-weight: 850;
  background: rgba(237, 233, 254, 0.92);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.07);
}

.hero-pill span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  background: var(--violet);
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--indigo);
  font-family:
    Poppins,
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.04rem, 5.92vw, 5.6rem);
  font-weight: 900;
}

h1 span {
  color: var(--violet);
}

.hero-lede {
  max-width: 610px;
  margin: 18px 0 0;
  color: #29233c;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--violet);
  box-shadow: 0 15px 30px rgba(109, 40, 217, 0.28);
}

.button-primary:hover {
  background: var(--violet-2);
}

.button-secondary {
  color: var(--indigo);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 27, 75, 0.22);
}

.trust-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 11px;
  margin-top: 22px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px 13px 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 27, 75, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.08);
}

.trust-card strong {
  color: var(--indigo);
  font-size: clamp(0.8rem, 1.28vw, 0.98rem);
  font-weight: 400;
  line-height: 1.2;
}

.trust-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  border-radius: 999px;
}

.trust-icon svg {
  width: 27px;
  height: 27px;
}

.trust-icon--violet {
  color: #fff;
  background: var(--violet);
}

.trust-icon--gold {
  color: #fff;
  background: #f59e0b;
}

.section {
  padding: clamp(50px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(1160px, 100%);
  margin: 0 auto 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.newsletter h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--violet);
  font-weight: 900;
  border-bottom: 3px solid rgba(252, 211, 77, 0.9);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.pillar-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.pillar-card:hover {
  border-color: rgba(109, 40, 217, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.pillar-card strong {
  color: var(--indigo);
  font-size: 1.05rem;
  line-height: 1.1;
}

.pillar-card span:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--violet);
  background: var(--lavender);
  border-radius: 8px;
}

.icon-circle svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-circle.money {
  color: #785e12;
  background: rgba(252, 211, 77, 0.36);
}

.icon-circle.business {
  color: var(--rose);
  background: rgba(190, 52, 85, 0.11);
}

.icon-circle.learn {
  color: var(--teal);
  background: rgba(15, 118, 110, 0.1);
}

.icon-circle.hired {
  color: var(--indigo);
  background: rgba(30, 27, 75, 0.09);
}

.icon-circle.life {
  color: var(--violet);
  background: rgba(109, 40, 217, 0.12);
}

.featured {
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.article-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(30, 27, 75, 0.08);
}

.article-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

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

.article-thumb svg {
  width: 45%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.thumb-gold {
  color: #5b4300;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.74), transparent 22%),
    linear-gradient(135deg, #fcd34d, #ffeec2);
}

.thumb-violet {
  color: #fff;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #6d28d9, #a78bfa);
}

.thumb-teal {
  color: #fff;
  background:
    radial-gradient(circle at 70% 18%, rgba(252, 211, 77, 0.65), transparent 20%),
    linear-gradient(135deg, #0f766e, #38b2ac);
}

.article-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.badge {
  justify-self: start;
  padding: 6px 9px;
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  background: var(--lavender);
  border-radius: 999px;
}

.badge.popular {
  background: var(--gold);
}

.badge.new {
  color: var(--white);
  background: var(--violet);
}

.badge.guide {
  color: var(--white);
  background: var(--teal);
}

.article-card h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

.article-card h3 a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 160ms ease;
}

.article-card h3 a:hover {
  color: var(--violet);
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.read-time {
  color: var(--violet);
  font-size: 0.83rem;
  font-weight: 900;
}

.tools-band {
  display: none; /* Hidden for now — will build later */
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(237, 233, 254, 0.96), rgba(255, 255, 255, 0.86)),
    linear-gradient(90deg, rgba(252, 211, 77, 0.18), rgba(15, 118, 110, 0.08));
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.tool-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(30, 27, 75, 0.12);
  border-radius: var(--radius);
}

.tool-logo {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 900;
  background: var(--violet);
  border-radius: 8px;
}

.tool-logo.gold {
  color: var(--indigo);
  background: var(--gold);
}

.tool-logo.teal {
  background: var(--teal);
}

.tool-logo.dark {
  background: var(--indigo);
}

.tool-card h3 {
  font-size: 1.02rem;
}

.tool-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-button {
  grid-column: 2;
  justify-self: start;
  padding: 7px 10px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(109, 40, 217, 0.1);
  border-radius: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(30, 27, 75, 0.07);
}

.step::after {
  position: absolute;
  right: -38px;
  bottom: -50px;
  width: 148px;
  height: 148px;
  content: "";
  background: rgba(252, 211, 77, 0.35);
  border-radius: 999px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 900;
}

.step h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.8rem);
}

.step p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
}

.about {
  background: #fff;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.78), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-panel h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.about-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 650;
}

/* ── Partner / Affiliate section ── */
.partner {
  background: linear-gradient(135deg, #1e1b4b 0%, #3b1fa8 100%);
  color: var(--white);
}

.partner .eyebrow {
  color: var(--gold);
}

.partner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.partner-copy h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 18ch;
}

.partner-lede {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.97rem, 1.5vw, 1.12rem);
  max-width: 560px;
}

.partner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  flex: 1 1 140px;
}

.stat strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
}

.stat span {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
}

.partner-cta {
  margin-top: 4px;
  background: var(--gold);
  color: var(--indigo);
  box-shadow: 0 15px 30px rgba(252,211,77,0.28);
}

.partner-cta:hover {
  background: #fde68a;
}

.partner-email {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.partner-email a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner-card-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
}

.partner-badge-icon {
  font-size: 2rem;
  line-height: 1;
}

.partner-badge strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 900;
}

.partner-badge span {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.partner-perks {
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

.partner-perks li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 7vw, 74px) clamp(18px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(30, 27, 75, 0.96), rgba(109, 40, 217, 0.95)),
    var(--indigo);
}

.newsletter .eyebrow {
  color: var(--gold);
}

.newsletter h2 {
  color: var(--white);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.signup-form input,
.signup-form button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.signup-form input {
  min-width: 0;
  padding: 0 15px;
  color: var(--indigo);
  background: var(--white);
}

.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  color: var(--indigo);
  font-weight: 900;
  background: var(--gold);
  cursor: pointer;
}

.signup-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px clamp(18px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 320px;
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--cloud);
  border-radius: 8px;
}

.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: 3px solid rgba(252, 211, 77, 0.95);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    width: calc(100% - 24px);
    padding: 8px 14px;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-start;
    min-width: 0;
    padding-bottom: 3px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pillar-grid {
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .pillar-card {
    flex: 0 0 min(76vw, 280px);
    min-height: 188px;
    scroll-snap-align: start;
  }

  .article-grid,
  .tool-row,
  .steps,
  .about-panel,
  .partner-inner,
  .newsletter,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero {
    margin-top: -64px;
    padding-top: 116px;
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy {
    font-size: 1.12rem;
  }

  .hero-inner {
    width: 100%;
    margin: 0;
    padding-top: 0;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(2.36rem, 12vw, 3.2rem);
  }

  .hero-pill {
    gap: 8px;
    padding: 8px 11px;
    font-size: 0.88rem;
  }

  .hero-lede {
    max-width: 25rem;
    font-size: 1.02rem;
  }

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

  .trust-cards {
    display: none;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .tools-band,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .tool-card {
    grid-template-columns: auto 1fr;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }
}
