/* All Time OFM — /agency-for-beginners (recipe R1 · Noir Gold)
   Only this page loads this file, so the homepage and the other guides cannot change. Everything is prefixed ab-.
   Shapes follow the content: what we look for and your jobs are two-column ledgers split by a gold rule, the launch
   list is two numbered check lists (yours, the team's), "with no fans yet" is a ruled definition list, the 90-day plan
   is three phases joined by a gold rail, each split into the team / you / by the end, and the warning signs are a
   ruled list with a cross. No cards in a grid, no icon tiles. */

/* ---------- Intro ---------- */
.ab-hero { position: relative; padding: 44px 0 56px; border-bottom: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.ab-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -240px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 178, 92, .1), transparent);
  pointer-events: none;
}
.ab-hero__grid { display: grid; gap: 36px; }
.ab-hero__title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 9.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.ab-hero__title .serif { font-size: 1.06em; }
.ab-hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 34rem; }
.ab-hero__updated { margin-top: 18px; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.ab-hero__updated time { color: var(--gold-2); }

.ab-toc { margin-top: 28px; padding: 14px 8px 8px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); max-width: 34rem; }
.ab-toc__title {
  padding: 0 12px 11px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ab-toc ol { display: grid; }
.ab-toc a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.ab-toc a span { color: var(--gold-2); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
@media (hover: hover) and (pointer: fine) { .ab-toc a:hover { background: var(--surface-2); color: var(--gold-1); } }
@media (min-width: 640px) { .ab-toc ol { grid-template-columns: 1fr 1fr; column-gap: 8px; } }

@media (min-width: 1024px) {
  .ab-hero { padding: 88px 0 96px; }
  .ab-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: end; }
  .ab-hero__lead { font-size: 1.1rem; }
}

/* ---------- Shared bits ---------- */
.ab-section .head h2 { text-wrap: balance; }
.ab-note { margin-top: 28px; max-width: 42rem; color: var(--muted); font-size: .97rem; }
.ab-tag {
  display: inline-block;
  padding: .35em .8em;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold-1);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ab-dash { display: grid; gap: 10px; }
.ab-dash li { position: relative; padding-left: 20px; font-size: .97rem; line-height: 1.5; color: var(--muted); }
.ab-dash li strong { color: var(--text); font-weight: 600; }
.ab-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 1px;
  background: var(--gold-2);
}

/* ---------- 01 and 05: a ledger in two columns ---------- */
.ab-pair { display: grid; border-top: 1px solid var(--gold-line); }
.ab-pair__col { padding: 26px 0 28px; border-bottom: 1px solid var(--border); }
.ab-pair__col .ab-dash { margin-top: 18px; }
@media (min-width: 820px) {
  .ab-pair { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
  .ab-pair__col { padding: 32px 40px 34px 0; border-bottom: 0; }
  .ab-pair__col + .ab-pair__col { padding: 32px 0 34px 40px; border-left: 1px solid var(--gold-line); }
}

/* ---------- 02 Before launch: two numbered check lists ---------- */
.ab-ready { display: grid; gap: 40px; }
.ab-ready__col h3 { display: grid; justify-items: start; gap: 14px; font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.ab-ready__list { margin-top: 18px; border-top: 1px solid var(--border-2); counter-reset: ab-step; }
.ab-ready__list li {
  position: relative;
  padding: 16px 0 17px 44px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.5;
  counter-increment: ab-step;
}
.ab-ready__list li::before {
  /* an empty box to tick, with its number */
  content: counter(ab-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold-line);
  border-radius: 7px;
  color: var(--gold-1);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
@media (min-width: 900px) {
  .ab-ready { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- 03 With no fans yet: a ruled definition list ---------- */
.ab-modes { border-top: 1px solid var(--gold-line); }
.ab-modes > div { display: grid; gap: 6px; padding: 20px 0 22px; border-bottom: 1px solid var(--border); }
.ab-modes dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.ab-modes dd { margin: 0; max-width: 44rem; color: var(--muted); font-size: .97rem; }
@media (min-width: 900px) {
  .ab-modes > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; padding: 26px 0 28px; }
}

/* ---------- 04 The 90-day plan: three phases on a gold rail ---------- */
.ab-plan { display: grid; gap: 0; }
.ab-phase { position: relative; padding: 0 0 36px 34px; }
.ab-phase::before {
  /* the rail */
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--gold-line);
}
.ab-phase::after {
  /* the marker on the rail */
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  background: var(--bg-2);
}
.ab-phase--last { padding-bottom: 0; }
.ab-phase--last::before { content: none; }
.ab-phase--last::after { background: var(--gold-2); }
.ab-phase__days { color: var(--gold-2); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ab-phase h3 { margin-top: 8px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.015em; }
.ab-phase__part { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.ab-phase__part h4 { color: var(--text); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ab-phase__part p { margin-top: 6px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.ab-phase__part--end p { color: var(--gold-1); font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.3; }
@media (min-width: 900px) {
  .ab-plan { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .ab-phase { padding: 30px 0 0; }
  .ab-phase::before { left: 16px; right: -40px; top: 5px; bottom: auto; width: auto; height: 1px; }
  .ab-phase--last::before { content: none; }
}

/* ---------- 06 Never agree to: a ruled list with a cross ---------- */
.ab-never { display: grid; border-top: 1px solid var(--border-2); }
.ab-never li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding: 20px 0 22px; border-bottom: 1px solid var(--border); }
.ab-never .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--red); stroke: currentColor; stroke-width: 1.6; fill: none; }
.ab-never h3 { font-size: 1.12rem; line-height: 1.3; }
.ab-never p { margin-top: 6px; color: var(--muted); font-size: .96rem; max-width: 34rem; }
@media (min-width: 900px) { .ab-never { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* ---------- 07 How we start: heading beside a definition list ---------- */
.ab-split { display: grid; gap: 8px; }
.ab-split .head { margin-bottom: 24px; }
.ab-us { border-top: 1px solid var(--gold-line); }
.ab-us > div { display: grid; gap: 4px; padding: 20px 0 22px; border-bottom: 1px solid var(--border); }
.ab-us dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.ab-us dd { margin: 0; color: var(--muted); font-size: .97rem; }
@media (min-width: 1024px) {
  .ab-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .ab-split .head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
  .ab-us > div { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 24px 0 26px; }
}

/* ---------- 08 Questions: answers always open ---------- */
.ab-faq { display: grid; gap: 0; border-top: 1px solid var(--border-2); }
.ab-faq__item { padding: 24px 0 26px; border-bottom: 1px solid var(--border); }
.ab-faq__item h3 { font-size: 1.15rem; line-height: 1.3; }
.ab-faq__item p { margin-top: 10px; color: var(--muted); font-size: .97rem; max-width: 40rem; }
@media (min-width: 900px) {
  .ab-faq__item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 28px 0 30px; }
  .ab-faq__item p { margin-top: 0; }
}

/* ---------- Call to action ---------- */
.ab-cta-section { padding-top: 0; }
.ab-cta {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 34px 24px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: radial-gradient(70% 90% at 0% 0%, rgba(224, 178, 92, .12), transparent 70%), var(--bg-3);
}
.ab-cta h2 { font-size: clamp(1.9rem, 7.6vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
.ab-cta p { margin-top: 14px; max-width: 32rem; color: var(--muted); }
.ab-cta__actions { display: grid; gap: 10px; justify-items: start; }
.ab-cta__actions .btn { width: 100%; }
.ab-cta__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-1); font-size: .92rem; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .ab-cta__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold-line); } }
@media (min-width: 640px) { .ab-cta__actions .btn { width: auto; } }
@media (min-width: 1024px) {
  .ab-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding: 56px; }
  .ab-cta__actions { justify-items: end; }
}

/* the footer's legal line carries the page links here */
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
@media (hover: hover) and (pointer: fine) { .footer__legal a:hover { color: var(--gold-1); } }
