/* ==========================================================================
   CollegeIt — design tokens
   ========================================================================== */
:root {
  --violet: #8b5cf6;
  --violet-600: #9b72f7;
  --violet-50: #ede9fe;
  --blue-50: #dbeafe;

  --ink: #000;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-400: #9ca3af;

  --bg-hero: #f4f6fb;
  --bg-white: #fff;
  --bg-50: #f9fafb;
  --bg-100: #f3f4f6;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Be Vietnam Pro", var(--font-sans);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --nav-h: 88px;
  --pad-x: 80px;        /* page gutter for 1160 content */
  --pad-x-wide: 60px;   /* page gutter for 1320 product rows */
}

/* ==========================================================================
   reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-50);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Framer ships Inter's text cut. Auto optical sizing would narrow the big
     headings and break every measured line-wrap, so pin the axis. */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
}
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { fill: currentColor; }

/* ==========================================================================
   shared type
   ========================================================================== */
.accent { color: var(--violet); }
.muted  { color: var(--ink-400); }
.accent-mobile { color: inherit; }

.h2 {
  font-size: 52px;
  line-height: 57.2px;
  letter-spacing: -1.5px;
  font-weight: 600;
  color: var(--ink);
}
.h3 {
  font-size: 52px;
  line-height: 54.6px;
  letter-spacing: -2px;
  font-weight: 600;
  color: var(--ink);
}
.h2--center, .h3--center { text-align: center; }

.lede {
  font-size: 18px;
  line-height: 25.2px;
  font-weight: 500;
  color: var(--ink-700);
  text-align: center;
}
.lede--left { text-align: left; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--violet-50);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.72px;
  font-weight: 500;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================================================
   buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 23.25px;
  letter-spacing: -0.3px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn__icon { width: 24px; height: 24px; flex: none; }

.btn--ghost {
  padding: 12px 22px;
  color: #030712;
  background-image: linear-gradient(#fdfdfd 0%, #f6f6f7 100%);
  box-shadow: 0 2px 6px rgba(17, 3, 48, .07), 0 1px 1px rgba(0, 0, 0, .03);
}
.btn--primary {
  padding: 12px 18px 12px 22px;
  color: #fff;
  background-image: linear-gradient(#9b72f7 0%, #8b5cf6 100%);
  box-shadow: 0 4px 6px rgba(30, 7, 81, .12);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.02); }
.btn--primary:hover { box-shadow: 0 6px 12px rgba(30, 7, 81, .18); }

/* ==========================================================================
   header
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
}
.nav__inner {
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__logo img { width: 132px; height: 35px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color .15s ease;
}
.nav__links a.is-current, .nav__links a:hover { color: var(--ink); }

.nav__burger { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.nav__burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav__mobile a { padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--ink-700); }

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-hero);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__dots {
  position: absolute;
  top: 58px;
  left: 560px;
  width: 920px;
  height: 747px;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100% - var(--pad-x) * 2);
  margin: 0 auto;
  padding-top: 72px;
  text-align: center;
}
.hero__title {
  max-width: 1044px;
  margin: 0 auto;
  font-size: 70px;
  line-height: 73.5px;
  letter-spacing: -2px;
  font-weight: 600;
}
.hero__sub {
  max-width: 754px;
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 25.2px;
  font-weight: 500;
  color: var(--ink-700);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* trusted-by marquee */
.trusted { position: relative; z-index: 1; padding: 80px 0 45px; }
.trusted__label {
  text-align: center;
  font-size: 18px;
  line-height: 25.2px;
  font-weight: 500;
  color: var(--ink-900);
}
.marquee {
  margin-top: 16px;
  height: 96px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 79px;
  width: max-content;
  height: 100%;
  animation: marquee 20.44s linear infinite;
}
/* Sizes come from each img's width/height attributes — the reference stretches
   a couple of the logos, so don't let intrinsic ratios take over. */
.marquee__track img { flex: none; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-1635px); } }

/* ==========================================================================
   products
   ========================================================================== */
.products {
  background: var(--bg-white);
  padding: 61px 0 54px;
}
.products__intro {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 0 auto 7px;
}
.products__intro .lede { max-width: 630px; margin: 28px auto 0; }

.row {
  --row-pad: 56px;
  display: grid;
  grid-template-columns: 622px 622px;
  gap: 76px;
  align-items: center;
  justify-content: center;
  width: min(1320px, 100% - var(--pad-x-wide) * 2);
  margin: 0 auto;
  padding: var(--row-pad) 0;
}
.row--pad-80 { --row-pad: 80px; }
.row--pad-39 { --row-pad: 39px; }
.row--wide-media { grid-template-columns: 646px 646px; gap: 28px; }
.row--flip .row__text { order: 2; }
.row--flip .row__media { order: 1; }
.row__media img { width: 100%; height: auto; border-radius: 24px; background: #f5f5f5; }

.row__text .lede--left { margin-top: 24px; }
.row__text .btn { margin-top: 49px; }

.feats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.tile svg { width: 28px; height: 28px; }
.tile--violet { background: var(--violet-50); color: #8b5cf6; }
.tile--blue { background: var(--blue-50); color: #3b82f6; }
.feat h4 {
  margin-top: 16px;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.5px;
  font-weight: 600;
  color: var(--ink-900);
}
.feat p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink-700);
}

/* ==========================================================================
   customer voices
   ========================================================================== */
.voices { background: var(--bg-white); padding: 0 0 36px; }
.voices__intro {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 0 auto;
  text-align: center;
}
.voices__intro .h2 { margin-top: 24px; }

.quotes {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 79px auto 0;
  display: grid;
  grid-template-columns: 540px 540px;
  gap: 80px;
  justify-content: center;
  align-items: start;
}
.quote blockquote {
  margin: 0;
  font-size: 28px;
  line-height: 35px;
  letter-spacing: -0.84px;
  font-weight: 400;
  color: var(--ink);
}
.quote blockquote strong { font-weight: 600; }
.quote__logo { width: 257px; height: 63px; object-fit: contain; object-position: left center; margin-top: 24px; }
.quote figcaption {
  margin-top: 24px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink-400);
}
.quote__name { color: var(--ink); }

.reduce {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 115px auto 0;
}
.reduce .lede { max-width: 766px; margin: 32px auto 0; }

/* ==========================================================================
   features
   ========================================================================== */
.section-head {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 0 auto;
  text-align: center;
}
.section-head .h2 { margin-top: 20px; }

.features { background: var(--bg-50); padding: 96px 0 96px; }
.cards {
  width: min(1160px, 100% - var(--pad-x) * 2);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.card {
  min-height: 260px;
  padding: 24px;
  border-radius: 26px;
  background: var(--bg-white);
  box-shadow: 0 4px 4px rgba(107, 107, 107, .05);
}
.card__icon { display: block; width: 60px; height: 60px; margin-bottom: 40px; color: #6666ff; }
.card h3 {
  font-size: 24px;
  line-height: 28.8px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.card p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink-700);
}

/* ==========================================================================
   pricing
   ========================================================================== */
.pricing {
  position: relative;
  background: var(--bg-100);
  padding: 96px 0 95px;
}
.pricing__glow {
  position: absolute;
  top: -199px;
  left: -596px;
  width: 1599px;
  height: 1391px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.pricing > *:not(.pricing__glow) { position: relative; z-index: 1; }
.pricing .section-head .h2 { margin-top: 24px; }

.plans {
  width: min(1178px, 100% - var(--pad-x-wide) * 2);
  margin: 81px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.plan {
  padding: 64px 32px 25px;
  border-radius: 24px;
  background-image: linear-gradient(rgba(255, 255, 255, .8) 0%, rgba(249, 249, 250, .8) 100%);
  box-shadow: 0 4px 4px rgba(107, 107, 107, .05);
  text-align: center;
}
.plan__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.5px;
  font-weight: 600;
  color: var(--violet);
}
.pill--inline { height: 28px; }
.plan__price {
  margin-top: 8px;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1.2px;
  font-weight: 600;
  color: var(--ink);
}
.plan__list { margin-top: 32px; text-align: left; }
.plan__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink);
}
.plan__list li + li { margin-top: 16px; }
.plan__list svg { width: 24px; height: 24px; flex: none; color: var(--violet); }

.assurances {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 41px;
}
.assurances li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--violet);
}
.assurances svg { width: 25px; height: 25px; flex: none; fill: none; }

/* ==========================================================================
   cta
   ========================================================================== */
.cta { background: var(--bg-100); padding: 39px 0; }
.cta__card {
  width: min(1280px, 100% - var(--pad-x) * 2);
  margin: 0 auto;
  padding: 41px 0 55px;
  border-radius: 24px;
  background: var(--bg-50);
  text-align: center;
}
.cta__title {
  max-width: 722px;
  margin: 21px auto 0;
  font-size: 70px;
  line-height: 73.5px;
  letter-spacing: -2px;
  font-weight: 600;
  color: var(--ink-900);
}

/* ==========================================================================
   footer
   ========================================================================== */
.footer { background: var(--bg-white); }
.footer__inner {
  height: 99px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__logo img { width: 132px; height: 35px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--ink); }

/* ==========================================================================
   responsive-copy helpers
   ========================================================================== */
.only-mobile { display: none; }

/* ==========================================================================
   tablet
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --pad-x: 40px; --pad-x-wide: 40px; }

  .hero__title { font-size: 56px; line-height: 60px; }
  .hero__dots { left: 40%; }

  .row, .row--wide-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .quotes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .cards { gap: 24px; }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta__title { font-size: 56px; line-height: 60px; }
}

/* ==========================================================================
   mobile
   ========================================================================== */
@media (max-width: 809px) {
  :root { --nav-h: 75px; --pad-x: 20px; --pad-x-wide: 20px; }

  .only-mobile { display: inline; }
  .only-desktop { display: none; }
  .accent-mobile { color: var(--violet); }

  /* header */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }

  /* hero */
  .hero__inner { padding-top: 68px; }
  .hero__dots { top: 145px; left: 0; width: 100%; height: 1003px; }
  /* Reference lets the headline bleed ~3px past the gutter so "Service for your"
     stays on one line. */
  .hero__title {
    width: min(357px, 100vw - 34px);
    max-width: none;
    font-size: 45px;
    line-height: 47.25px;
    letter-spacing: -2px;
  }
  .hero__sub { font-size: 16px; line-height: 22.4px; margin-top: 20px; }
  .hero__actions { flex-direction: column; gap: 16px; margin-top: 36px; }
  .hero__actions .btn { justify-content: center; padding: 14px 20px; }
  .trusted { padding: 76px 0 57px; }
  .trusted__label { font-size: 16px; line-height: 22.4px; }

  /* headings */
  .h2 { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .h3 { font-size: 38px; line-height: 41.8px; letter-spacing: -1px; }
  .lede { font-size: 16px; line-height: 22.4px; }

  /* products */
  .products { padding: 52px 0 0; }
  .products__intro .lede { margin-top: 24px; }
  .row, .row--wide-media {
    --row-pad: 40px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .row--flip .row__text, .row__text { order: 2; }
  .row--flip .row__media, .row__media { order: 1; }
  .row__text .btn { margin-top: 32px; display: flex; justify-content: center; }
  .feats { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .feat h4 { font-size: 16px; line-height: 19.2px; }

  /* voices */
  .voices { padding: 40px 0 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 32px; }
  .quote blockquote { font-size: 25px; line-height: 31.25px; letter-spacing: -0.75px; }
  .quote__logo { margin-top: 32px; }
  .reduce { margin-top: 72px; }
  .reduce .lede { margin-top: 24px; }

  /* features */
  .features { padding: 64px 0; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .card { min-height: 0; }
  .card h3 { margin-top: 32px; font-size: 20px; line-height: 24px; }

  /* pricing */
  .pricing { padding: 64px 0 96px; }
  .pricing__glow { top: -80px; left: -50%; width: 200%; height: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .plan { padding: 32px 24px 24px; }
  .assurances { flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }

  /* cta */
  .cta { padding: 20px 0; }
  .cta__card { padding: 40px 20px 48px; }
  .cta__title { font-size: 40px; line-height: 44px; letter-spacing: -1px; }

  /* footer */
  .footer__inner { height: auto; flex-direction: column; gap: 24px; padding: 32px 20px; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .btn { transition: none; }
}
