/* ============================================================================
   grow.myflowchamp.com — landing page
   Loaded after grow.css. Tokens only; no literal colours.
   ============================================================================ */

.hero {
  padding: var(--s8) 0 var(--s7);
  /* A soft brand wash rather than a slab of --pri: the section is a doorway,
     not a destination, so it should feel lighter than the app dashboard. */
  background:
    radial-gradient(900px 340px at 12% -10%, var(--pri-soft), transparent 70%),
    radial-gradient(700px 300px at 92% 0%, var(--acc-soft), transparent 68%);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 var(--s4);
  font-size: clamp(32px, 6.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero p {
  margin: 0 0 var(--s5);
  max-width: 58ch;
  font-size: 17px;
  color: var(--ink-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ------------------------------------------------------------ area cards - */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s5);
  margin: calc(var(--s7) * -1 + var(--s7)) 0 0;
  padding-top: var(--s7);
}

.area {
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.area:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--pri-line);
}
.area:focus-visible { box-shadow: var(--focus), var(--sh-2); }

.area__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.area__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  font-size: 22px;
  line-height: 1;
}
.area--academics .area__glyph { background: var(--pri-soft); color: var(--pri-ink); }
.area--jobs .area__glyph      { background: var(--acc-soft); color: var(--acc); }

.area h2 {
  margin: 0 0 var(--s3);
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
/* The product name sits under the section name so the nav word ("Academics")
   and the brand word ("Decoded") are both discoverable. */
.area h2 small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.area p { margin: 0 0 var(--s4); color: var(--ink-2); }

.area__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  margin: 0 0 var(--s5);
  padding: var(--s4) 0 0;
  border-top: 1px solid var(--line-2);
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
}
.area__facts b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.area__go {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--pri-ink);
}
.area--jobs .area__go { color: var(--acc); }

/* ---------------------------------------------------------------- assure - */

.assure {
  margin-top: var(--s7);
  padding: var(--s5);
  background: var(--surface-2);
}
.assure h2 { margin: 0 0 var(--s2); font-size: 17px; }
.assure p  { margin: 0; max-width: 72ch; color: var(--ink-2); font-size: 14px; }

@media (max-width: 640px) {
  .hero { padding: var(--s6) 0 var(--s5); }
  .split { padding-top: var(--s5); gap: var(--s4); }
  .area { padding: var(--s4); }
  .area__facts { gap: var(--s4); }
}
