/* =====================================================================
   BASE — reset, typography, layout primitives
   ===================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--pink-deep); text-decoration: none; }
a:hover { color: var(--pink); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: var(--step-h1); font-weight: 500; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }
h4 { font-size: var(--step-h4); }

p { margin: 0 0 1em; max-width: 62ch; }
.abol-lead { font-size: var(--step-lead); color: var(--ink-soft); }

.abol-wrap {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.abol-narrow { max-width: var(--content-narrow); margin-inline: auto; }

.abol-section { padding-block: clamp(3rem, 6vw, 6rem); }
.abol-section--tint { background: var(--paper-tint); }

.abol-eyebrow {
  font-family: var(--font-division);
  font-size: 1.35rem;
  color: var(--pink-deep);
  display: inline-block;
  margin-bottom: 0.25em;
  transform: rotate(-1.5deg);
}

/* --- Buttons --- */
.abol-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  text-decoration: none;
}
.abol-btn:hover { transform: translateY(-2px); }
.abol-btn:active { transform: translateY(0); }

.abol-btn--primary {
  background: var(--pink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.abol-btn--primary:hover { background: var(--pink-deep); color: #fff; }

.abol-btn--secondary {
  background: var(--paper-raised);
  color: var(--ink);
  border: 2px solid var(--green);
}
.abol-btn--secondary:hover { background: var(--green-tint); color: var(--ink); }

.abol-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(26,46,34,0.15);
}
.abol-btn--ghost:hover { border-color: var(--sky); background: var(--sky-tint); }

/* --- Cards --- */
.abol-card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.abol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.abol-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
}
.abol-tag--pink   { background: var(--pink-tint);   color: var(--pink-deep); }
.abol-tag--green  { background: var(--green-tint);  color: var(--green-deep); }
.abol-tag--yellow { background: var(--yellow-tint); color: var(--yellow-deep); }
.abol-tag--sky    { background: var(--sky-tint);    color: var(--sky-deep); }

/* --- Skip link --- */
.abol-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75em 1.25em;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.abol-skip-link:focus { left: 0; }

.abol-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .abol-wrap { padding-inline: 1.25rem; }
}
