/* mangoose.tech static marketing site.
   Warm-editorial palette from BRAND_GUIDELINES.md §0. Lime (#C4F04A) measures
   1.15:1 on cream, so it appears only as a fill behind ink text — never as a
   stroke, a rule, or text. */

:root {
  --cream: #f4efe6;
  --paper: #fbf9f4;
  --surface-soft: #f1ebdd;
  --border: #e4dccd;
  --border-strong: #d9cfbc;
  --ink: #15140f;
  --text-strong: #2a2820;
  --muted: #5b574c;
  --hint: #7a7568;
  --lime: #c4f04a;
  --coral: #ff6a3d;

  --display: 'Poppins', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --measure: 60ch;
  --gutter: 1.25rem;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--muted);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  /* Extra leading so the lime highlight blocks never touch across lines. */
  font-size: clamp(1.95rem, 5.4vw, 3.05rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  font-weight: 600;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1rem;
  max-width: var(--measure);
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
}

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

/* Layout ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.site-header img {
  height: 1.6rem;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.9375rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-strong);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  border-bottom-color: var(--coral);
}

section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--border);
}

section:first-of-type {
  border-top: 0;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.4rem;
}

/* The one memorable element: the Ascend Mark at scale. Decorative here — the
   header lockup already carries the accessible name. */
.hero-mark {
  width: clamp(6rem, 15vw, 10.5rem);
  height: auto;
}

.mark-highlight {
  background: var(--lime);
  color: var(--ink);
  padding: 0 0.28em;
  border-radius: 0.3rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #211f18;
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* Content blocks ---------------------------------------------------------- */

.eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hint);
  margin: 0 0 0.7rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--text-strong);
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.4rem;
}

/* Four steps read better as a 2×2 block than as a 3 + 1 orphan row. */
@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card h3 {
  margin-bottom: 0;
}

.card p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}

.step-num {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.4rem 0.65rem;
  border-radius: 0.45rem;
  margin-bottom: 0.85rem;
}

.facts {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border-strong);
  max-width: var(--measure);
}

.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  flex: 0 0 11rem;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.9375rem;
}

.facts dd {
  margin: 0;
  font-size: 0.9375rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul {
  max-width: var(--measure);
  padding-left: 1.15rem;
  margin: 0 0 1.1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.updated {
  font-size: 0.875rem;
  color: var(--hint);
}

.site-footer {
  border-top: 1px solid var(--border-strong);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer p {
  margin: 0;
  color: var(--hint);
}

@media (max-width: 40rem) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-mark {
    order: -1;
  }

  .facts dt {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
