/* ohcopy — inner pages (How it works, Platforms, Takedown guide)
   Builds on styles.css: same tokens, same type, same buttons. */

/* ───────── Text links ───────── */
.tlink {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--mint-deep);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.tlink:hover { text-decoration-color: var(--ink); }
.how__side { min-width: 0; }
.how__more { display: inline-block; margin-top: 24px; padding: 10px 0; font-size: 16px; }
.faq__more { margin-top: 20px; max-width: 340px; color: var(--muted); font-size: 17px; }

/* ───────── Current page in the nav ───────── */
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { transform: none; }

/* ───────── Page hero ───────── */
.phero { padding: calc(var(--nav-h) + 8px) var(--gutter) 0; }
.phero__panel {
  width: min(1600px, 100%); margin-inline: auto;
  border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 112px) clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, #dfe8de 0%, #e4e1f4 58%, #e3ebe1 100%); /* a step deeper than the page, so the panel keeps its edge */
}
.phero__inner { width: min(1088px, 100%); margin-inline: auto; }
.phero .eyebrow { color: var(--ink); }
.phero h1 { max-width: 920px; margin: 18px 0 24px; font-size: clamp(38px, 5.2vw, 72px); }
.phero__lede { max-width: 640px; font-size: clamp(17px, 1.4vw, 20px); color: #33483f; text-wrap: pretty; }

/* ───────── Process stages ───────── */
.stagerow {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.stagerow:last-child { border-bottom: 1px solid var(--line); }
.stagerow__num { margin-bottom: 14px; font-family: var(--mono); font-size: 13px; color: var(--mint-deep); }
.stagerow h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.stagerow__body > p { max-width: 560px; color: var(--muted); font-size: 17px; }
.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.ticks svg { width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--ink); }

/* ───────── Escalation ladder (sits inside .band) ───────── */
.band__lede { position: relative; max-width: 560px; margin-top: 20px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.ladder { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.rung { padding: 24px; border: 1px solid var(--line-light); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); }
.rung__n { font-family: var(--mono); font-size: 12px; color: var(--mint); }
.rung h3 { margin: 40px 0 8px; font-size: 21px; font-weight: 400; letter-spacing: -0.015em; }
.rung p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }

/* ───────── Getting started ───────── */
.start { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.start__step { padding-top: 20px; border-top: 1px solid var(--ink); }
.start__n { font-family: var(--mono); font-size: 12px; color: var(--mint-deep); }
.start__step h3 { margin: 28px 0 8px; font-size: 21px; font-weight: 400; letter-spacing: -0.015em; }
.start__step p { color: var(--muted); font-size: 16px; }

/* ───────── Platform cards ───────── */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcard { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.pcard--wide { grid-column: 1 / -1; }
.pcard h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.015em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 24px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--mist); font-size: 13px; color: var(--ink); }
.pcard dl { display: grid; gap: 16px; margin: 0; }
.pcard dt { margin-bottom: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.pcard dd { margin: 0; max-width: 640px; font-size: 16px; }

/* ───────── Platform routes table ───────── */
.tablebox { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; font-size: 16px; }
.ptable th { padding: 16px 24px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.ptable td { padding: 18px 24px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable td:first-child { font-weight: 500; white-space: nowrap; }
.ptable td:last-child { color: var(--muted); }
.fine { max-width: 720px; margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ───────── Guide (contents + article) ───────── */
.guide { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 6vw, 96px); }
.guide__toc { flex: 1 1 220px; }
.guide__toc .label { margin-bottom: 12px; }
.guide__toc a { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; transition: color 0.2s; }
.guide__toc a:last-child { border-bottom: 1px solid var(--line); }
.guide__toc a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.guide__toc a:hover { color: var(--mint-deep); }
.guide__body { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.prose section + section { margin-top: clamp(48px, 5vw, 72px); }
.prose h2 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin: 28px 0 8px; }
.prose p { color: #33483f; }
.prose p + p { margin-top: 14px; }
.num, .dash { display: grid; gap: 12px; margin-top: 18px; }
.num { counter-reset: n; }
.num li, .dash li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.num li { counter-increment: n; }
.num li::before { content: counter(n, decimal-leading-zero); padding-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--mint-deep); }
.dash li::before { content: ""; width: 14px; height: 1.5px; margin-top: 13px; background: var(--mint-deep); }
.num strong, .dash strong, .prose p strong { font-weight: 500; color: var(--ink); }
.callout { margin-top: 22px; padding: 20px 24px; border-radius: var(--r-md); background: var(--mist); font-size: 16px; }
.callout strong { font-weight: 500; }

/* ───────── Closing call to action ───────── */
.cta {
  width: min(1600px, calc(100% - var(--gutter) * 2)); margin: 0 auto; border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4vw, 56px);
  background: radial-gradient(90% 120% at 0% 0%, #17493a 0%, var(--ink) 55%);
  color: #fff; text-align: center;
}
.cta h2 { max-width: 760px; margin: 18px auto 20px; }
.cta__lede { max-width: 520px; margin: 0 auto 32px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .stagerow, .pgrid { grid-template-columns: 1fr; }
  .ladder, .start { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ladder, .start { grid-template-columns: 1fr; }
  .rung h3, .start__step h3 { margin-top: 20px; }
}
@media (max-width: 900px) {
  /* Platform table: one card per platform instead of a table that scrolls sideways */
  .tablebox { overflow: visible; background: none; border: 0; border-radius: 0; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable { min-width: 0; }
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable tbody { display: grid; gap: 12px; }
  .ptable tr { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
  .ptable td { padding: 0; border: 0; }
  .ptable td:first-child { font-size: 19px; white-space: normal; }
  .ptable td[data-label]::before {
    content: attr(data-label); display: block; margin: 14px 0 4px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  }
  .ptable td:last-child { color: var(--text); }
}
@media (max-width: 480px) {
  .phero h1 { font-size: clamp(30px, 9vw, 38px); }
}
