/* ============================================================
   GoNesting — About page
   Same palette as home.css / pricing.css / docs.css: brand blue
   with the blue→indigo gradient on badges; Beta (cyan) and Pro
   (amber) pills only. Only about.html loads this file.
   ============================================================ */

:root {
  --a-rgb: 37 99 235;
  --a-grad: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  --a-dark: linear-gradient(160deg, var(--gray-900) 0%, var(--blue-900) 100%);
}

/* ── Icons ────────────────────────────────────────────────── */
.ab-i {
  width: 1.25rem; height: 1.25rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ab-i.sm { width: 1rem; height: 1rem; }
.ab-i.xs { width: 0.8rem; height: 0.8rem; }

/* ── Section shell ────────────────────────────────────────── */
.ab-sec {
  position: relative;
  padding-block: 5rem;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  scroll-margin-top: 4rem;
}
.ab-sec.tinted { background: var(--gray-50); }
@media (max-width: 767px) { .ab-sec { padding-block: 3.5rem; } }
.ab-head { max-width: 46rem; }
.ab-head.center { margin-inline: auto; text-align: center; }
.ab-title {
  margin-top: 0.875rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.026em;
  color: var(--gray-900);
  text-wrap: balance;
}
.ab-sub { margin-top: 0.875rem; font-size: 1.02rem; line-height: 1.75; color: var(--gray-600); text-wrap: pretty; }
.ab-body { margin-top: 2.5rem; }
.ab-prose { max-width: 44rem; font-size: 1rem; line-height: 1.8; color: var(--gray-600); }
.ab-prose > * + * { margin-top: 1rem; }
.ab-prose strong { color: var(--gray-900); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(34rem 26rem at 100% -20%, rgb(59 130 246 / 0.16), transparent 70%),
    radial-gradient(24rem 20rem at -6% 120%, rgb(99 102 241 / 0.10), transparent 70%),
    linear-gradient(160deg, #ffffff 0%, var(--blue-50) 60%, #ffffff 100%);
}
.ab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--blue-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blue-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 40% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 40% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.ab-hero-inner { position: relative; padding-block: 4rem 3.5rem; max-width: 52rem; margin-inline: auto; text-align: center; }
@media (min-width: 1024px) { .ab-hero-inner { padding-block: 5rem 4.25rem; } }
.ab-hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--gray-900);
  text-wrap: balance;
}
.ab-grad-text {
  background: var(--a-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-hero-sub { margin: 1.125rem auto 0; max-width: 42rem; font-size: 1.08rem; line-height: 1.75; color: var(--gray-600); text-wrap: pretty; }
.ab-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.ab-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-200);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}
.ab-fact-icon {
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  color: var(--blue-700);
}
.ab-fact-icon .ab-i { width: 0.85rem; height: 0.85rem; }

/* ── Why: prose beside the three rules ────────────────────── */
.ab-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .ab-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 4rem; } }

.ab-rules { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .ab-rules { margin-top: 3.25rem; } }
.ab-rule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ab-rule:hover { border-color: var(--blue-300); box-shadow: 0 16px 32px -26px rgb(var(--a-rgb) / 0.8); }
.ab-rule-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--a-grad);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgb(var(--a-rgb) / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.ab-rule-icon .ab-i { width: 1.1rem; height: 1.1rem; stroke-width: 2.4; }
.ab-rule-title { font-size: 0.98rem; font-weight: 700; color: var(--gray-900); }
.ab-rule-text { margin-top: 0.25rem; font-size: 0.88rem; line-height: 1.6; color: var(--gray-600); }
.ab-rule-text a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 3px; }

.ab-quote {
  position: relative;
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 1.5rem 2.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-50), rgb(239 246 255 / 0.35));
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  font-weight: 500;
  color: var(--gray-800);
  text-wrap: pretty;
}
.ab-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 99px;
  background: var(--a-grad);
}
@media (min-width: 768px) { .ab-quote { padding-left: 2.75rem; padding-right: 2.5rem; } }

/* ── Card grids ───────────────────────────────────────────── */
.ab-cards { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ab-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ab-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.ab-card:hover { border-color: var(--blue-300); box-shadow: 0 18px 36px -26px rgb(var(--a-rgb) / 0.75); transform: translateY(-2px); }
.ab-card-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: var(--a-grad);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px rgb(var(--a-rgb) / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.ab-card-icon.soft { background: var(--gray-100); color: var(--gray-500); box-shadow: none; }
.ab-card-title { font-size: 1.02rem; font-weight: 700; color: var(--gray-900); }
.ab-card-text { font-size: 0.9rem; line-height: 1.65; color: var(--gray-600); }
.ab-card-text a { color: var(--blue-700); font-weight: 600; }

/* ── "Not" list ───────────────────────────────────────────── */
.ab-nots { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .ab-nots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-not {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-600);
}
.ab-not strong { display: block; color: var(--gray-900); font-weight: 600; margin-bottom: 0.15rem; }
.ab-not-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-500);
}
.ab-not-icon .ab-i { width: 0.8rem; height: 0.8rem; stroke-width: 2.6; }

/* ── Status strip ─────────────────────────────────────────── */
.ab-status {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(24rem 16rem at 100% 0%, rgb(59 130 246 / 0.28), transparent 70%),
    var(--a-dark);
  color: #ffffff;
}
@media (min-width: 900px) { .ab-status { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; } }
.ab-status-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.ab-status-text { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.7; color: rgb(255 255 255 / 0.75); }
.ab-status-text a { color: var(--blue-200); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(191 219 254 / 0.4); text-underline-offset: 3px; }
.ab-status-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.ab-status-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9rem; line-height: 1.55; color: rgb(255 255 255 / 0.82); }
.ab-status-list .ab-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.05rem;
  border-radius: var(--radius-full);
  background: rgb(96 165 250 / 0.2);
  color: var(--blue-200);
}
.ab-status-list .ab-tick .ab-i { width: 0.7rem; height: 0.7rem; stroke-width: 3; }
.ab-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  background: #ecfeff;
  color: #0e7490;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .ab-card { transition: none; }
  .ab-card:hover { transform: none; }
}
