/* All Time OFM — /onlyfans-management-services (recipe R1 · Noir Gold)
   Only this page loads this file, so the homepage cannot change. Everything is prefixed ms-.
   Shapes follow the content: the scope is an itemised ledger, who-does-what is a real table, the rhythm is a
   four-column schedule, the exclusions are a plain ruled list. No cards in a grid, no icon tiles. */

/* ---------- Intro ---------- */
.ms-hero { position: relative; padding: 44px 0 56px; border-bottom: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.ms-hero::before {
  /* one quiet gold light in the corner, as on the apply section */
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 178, 92, .12), transparent);
  pointer-events: none;
}
.ms-hero__grid { display: grid; gap: 36px; }
.ms-hero__title {
  margin-top: 22px;
  font-size: clamp(2.4rem, 10.4vw, 4.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.ms-hero__title .serif { font-size: 1.06em; }
.ms-hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 34rem; }

.ms-toc { margin-top: 28px; padding: 14px 8px 8px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); max-width: 34rem; }
.ms-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;
}
.ms-toc ol { display: grid; }
.ms-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;
}
.ms-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) { .ms-toc a:hover { background: var(--surface-2); color: var(--gold-1); } }
@media (min-width: 640px) { .ms-toc ol { grid-template-columns: 1fr 1fr; column-gap: 8px; } }

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

/* ---------- Sections on this page ---------- */
.ms-section .head h2 { text-wrap: balance; }

/* ---------- 01 The scope: an itemised ledger ---------- */
.ms-scope { border-top: 1px solid var(--border-2); counter-reset: none; }
.ms-scope__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--border);
}
.ms-scope__num {
  grid-row: 1 / span 3;
  padding-top: 4px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.ms-scope__name h3 { font-size: 1.32rem; }
.ms-scope__name p { margin-top: 8px; color: var(--muted); font-size: .97rem; max-width: 30rem; }
.ms-scope__list { margin-top: 10px; display: grid; gap: 7px; }
.ms-scope__list li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.45; }
.ms-scope__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 10px;
  height: 1px;
  background: var(--gold-2);
}
.ms-scope__when {
  margin-top: 10px;
  justify-self: start;
  padding: .35em .8em;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold-1);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .ms-scope__row {
    grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 150px;
    gap: 0 32px;
    align-items: start;
    padding: 32px 0 34px;
  }
  .ms-scope__num { grid-row: auto; padding-top: 6px; }
  .ms-scope__list { margin-top: 4px; }
  .ms-scope__when { margin-top: 4px; justify-self: end; }
}

/* ---------- 02 Who does what: a real table (stacked, labelled rows on phones) ---------- */
.ms-table-wrap { border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.ms-table { width: 100%; border-collapse: collapse; }
.ms-table thead { display: none; }
.ms-table tr { display: grid; gap: 6px; padding: 20px 20px 22px; }
.ms-table tbody tr + tr { border-top: 1px solid var(--border); }
.ms-table th[scope="row"] { text-align: left; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.ms-table td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ms-table td::before { content: attr(data-label); color: var(--dim); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-top: .2em; }
.ms-table td:nth-of-type(1) { color: var(--gold-1); font-weight: 500; }
@media (min-width: 900px) {
  .ms-table thead { display: table-header-group; }
  .ms-table tr { display: table-row; padding: 0; }
  .ms-table th, .ms-table td { display: table-cell; padding: 18px 24px; vertical-align: top; }
  .ms-table td::before { content: none; }
  .ms-table thead th {
    padding-block: 16px;
    border-bottom: 1px solid var(--gold-line);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-align: left;
    text-transform: uppercase;
  }
  .ms-table tbody tr + tr { border-top: 0; }
  .ms-table tbody tr + tr > * { border-top: 1px solid var(--border); }
  .ms-table th[scope="row"] { width: 30%; font-size: 1.05rem; }
  .ms-table td:nth-of-type(1) { width: 24%; }
}

/* ---------- 03 How often: a four-column schedule ---------- */
.ms-rhythm { display: grid; gap: 0; border-top: 1px solid var(--border-2); }
.ms-rhythm__col { padding: 24px 0 26px; border-bottom: 1px solid var(--border); }
.ms-rhythm__col h3 { position: relative; padding-bottom: 14px; font-size: 1.5rem; font-weight: 800; }
.ms-rhythm__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 1px; background: var(--gold); }
.ms-rhythm__col ul { margin-top: 16px; display: grid; gap: 10px; }
.ms-rhythm__col li { color: var(--muted); font-size: .96rem; line-height: 1.45; }
@media (min-width: 720px) {
  .ms-rhythm { grid-template-columns: 1fr 1fr; }
  .ms-rhythm__col { padding: 28px 28px 30px 0; }
  .ms-rhythm__col:nth-child(even) { padding: 28px 0 30px 28px; border-left: 1px solid var(--border); }
}
@media (min-width: 1100px) {
  .ms-rhythm { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
  .ms-rhythm__col, .ms-rhythm__col:nth-child(even) { padding: 30px 26px 34px; border-bottom: 0; border-left: 1px solid var(--border); }
  .ms-rhythm__col:first-child { padding-left: 0; border-left: 0; }
}

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

/* ---------- 05 What we leave out: a plain ruled list in two columns ---------- */
.ms-out { display: grid; border-top: 1px solid var(--border-2); }
.ms-out li { padding: 20px 0 22px 30px; position: relative; border-bottom: 1px solid var(--border); }
.ms-out li::before {
  /* a short struck rule: "not in the scope" */
  content: "";
  position: absolute;
  left: 0;
  top: 33px;
  width: 16px;
  height: 1px;
  background: var(--dim);
}
.ms-out h3 { font-size: 1.12rem; }
.ms-out p { margin-top: 6px; color: var(--muted); font-size: .96rem; }
@media (min-width: 760px) {
  .ms-out { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

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

/* ---------- Call to action ---------- */
.ms-cta-section { padding-top: 0; }
.ms-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 100% 0%, rgba(224, 178, 92, .12), transparent 70%), var(--bg-3);
}
.ms-cta h2 { font-size: clamp(1.9rem, 7.6vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
.ms-cta p { margin-top: 14px; max-width: 32rem; color: var(--muted); }
.ms-cta__actions { display: grid; gap: 10px; justify-items: start; }
.ms-cta__actions .btn { width: 100%; }
.ms-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) { .ms-cta__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold-line); } }
@media (min-width: 640px) { .ms-cta__actions .btn { width: auto; } }
@media (min-width: 1024px) {
  .ms-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding: 56px; }
  .ms-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); } }

/* Updated date: under the lead, set like the "On this page" label. */
.ms-hero__updated { margin-top: 18px; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.ms-hero__updated time { color: var(--gold-2); }
