/* Inner pages (/contents/, /contact/, /worth-it/, the program pages), built 2026-09-26.
   Layout, sizes and rhythm: the approved wireframes (docs/wireframes/wf.css), which measure tonyrobbins.com's article,
   blog-category and help pages at 1440 and 390. Look: the site's own tokens (tokens.css), Switzer, the purple accent.
   Everything is scoped under main.ip so the legal, sign-in and members' pages keep app.css as it is. */
main.ip { --ip-ink: var(--ink-on-light); --ip-muted: var(--muted-on-light); --ip-line: var(--hairline-light); --ip-band: #5b2a8a; font-family: var(--font-sans); font-size: 19.5px; line-height: 1.5; color: var(--ip-ink); padding: 0; }
.ip p { margin: 0 0 20px; }
.ip a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ip h1, .ip h2, .ip h3 { font-family: var(--font-sans); }
.ip-wrap { width: min(944px, 100% - 32px); margin-inline: auto; }
.ip-wide { width: min(1376px, 100% - 32px); margin-inline: auto; }
.ip-support { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ip-read { width: min(816px, 100% - 32px); margin-inline: auto; }

/* Article head: the black band continues under the header, H1 60.8/500/0.9, then the photo overlaps the band's edge. */
.ip-head { background: var(--canvas); color: #fff; padding: 56px 0 265px; }
.ip h1 { font-size: 60.8px; line-height: .9; font-weight: 500; letter-spacing: -.02em; margin: 0 0 28px; max-width: 760px; }
.ip-meta { font-size: 15px; color: rgba(255,255,255,.85); margin: 0 0 36px; max-width: 760px; line-height: 1.45; }
.ip-meta a { text-decoration: underline; }
.ip-only { color: rgba(255,255,255,.62); }
.ip-disc { border-left: 3px solid var(--accent); padding: 6px 0 6px 16px; color: rgba(255,255,255,.85); font-size: 17px; margin: 0 !important; max-width: 760px; }
.ip-disc a { text-decoration: underline; }
.ip-lead { margin: -265px 0 48px; position: relative; z-index: 1; }
.ip-lead img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0; border-radius: var(--r-frame); background: var(--canvas-1); box-shadow: 0 0 0 1px var(--ip-line); }
.ip-lead figcaption { font-size: 14px; color: var(--ip-muted); margin-top: 10px; }

/* Body: an 816 px reading column, p 19.5/29, H2 30/500, H3 20/600, purple CTA cards (the reference's blue ones, in our colour). */
.ip-body { padding: 48px 0 64px; background: var(--paper); }
.ip h2 { font-size: 30px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; margin: 40px 0 14px; scroll-margin-top: 80px; }
.ip h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 24px 0 8px; }
.ip-sec { font-size: 18px; color: rgba(11,10,10,.82); margin: 0 0 16px !important; }
.ip-note { color: var(--ip-muted); font-size: 16px; }
.ip-small { font-size: 15px; color: var(--ip-muted); }
.ip-filenote { margin-top: 20px !important; }
.ip-cta { background: var(--ip-band, #5b2a8a); color: #fff; border-radius: 12px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0; }
.ip-cta p { margin: 0; font-size: 19px; line-height: 1.35; }
.ip-cta .pill { flex: none; background: #fff; color: var(--ip-ink, #0b0a0a); border-color: #fff; min-height: 44px; }
.ip-cta .pill:hover { background: var(--btn-fill-hover); }

/* Contents: numbered lessons with a line, the file and its format under each; the free one tagged and linked. */
ol.ip-lessons { list-style: none; padding: 0; margin: 0 0 8px; }
ol.ip-lessons li { border-top: 1px solid var(--ip-line); padding: 16px 0; display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: 18px; scroll-margin-top: 80px; }
ol.ip-lessons li .n { color: var(--ip-muted); font-size: 15px; padding-top: 3px; }
ol.ip-lessons li b { font-weight: 600; display: block; }
ol.ip-lessons li .f { display: block; font-size: 16px; line-height: 24px; color: rgba(11,10,10,.82); margin-top: 6px; }
ol.ip-lessons li:target { background: var(--paper-1); }
.ip-free { position: relative; display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; text-decoration: none; }
.ip-free::after { content: ''; position: absolute; inset: -12px -4px; } /* 44 px tap area */
.ip-preview { border: 1px solid var(--ip-line); border-radius: 12px; overflow-x: scroll; margin: 16px 0 8px; font-size: 14px; scrollbar-width: auto; }
.ip-preview::-webkit-scrollbar { height: 10px; }
.ip-preview::-webkit-scrollbar-thumb { background: rgba(11,10,10,.35); border-radius: 5px; }
.ip-preview table { border-collapse: collapse; min-width: 900px; }
.ip-preview td, .ip-preview th { border-bottom: 1px solid var(--ip-line); padding: 8px 10px; text-align: left; white-space: nowrap; }
.ip-preview th { background: var(--paper-1); font-weight: 600; }
.ip-hint { font-size: 14px; color: var(--ip-muted); margin: 6px 0 0 !important; }

/* Program page */
.ip-price { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border: 1px solid var(--ip-line); border-radius: 12px; padding: 20px 22px; margin: 18px 0 24px; }
.ip-price-3 { grid-template-columns: 1fr 1fr 1fr; }
.ip-price-1 { grid-template-columns: 1fr; gap: 10px; }
.ip-price-1 p { margin: 0 !important; font-size: 17px; }
.ip-price b { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; }
.ip-price span { font-size: 15px; color: var(--ip-muted); }
.ip-quotes li { margin: 0 0 12px; }
.ip-record h3 { font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 24px 0 8px; }
.ip-record ul, .ip-answer ul, .ip-quotes { padding-left: 20px; margin: 0 0 12px; }
.ip-record li { margin: 0 0 10px; }
.ip-answer li { margin: 0 0 16px; }
.ip-answer .ip-intro { margin-top: 32px; }

/* Index: the reference's blog category page: H1, one featured card with side cards, then the rest. */
.ip-index-head { background: var(--canvas); color: #fff; padding: 56px 0 48px; }
.ip-index-head .ip-meta { font-size: 16px; line-height: 24px; color: rgba(255,255,255,.9); max-width: 760px; }
.ip-featured { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ip-feat { position: relative; display: block; border-radius: var(--r-frame); overflow: hidden; color: #fff; text-decoration: none; background: var(--canvas-1); }
.ip-feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0; transition: transform var(--dur) var(--ease); }
.ip-feat:hover img { transform: scale(var(--hover-scale)); }
.ip-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 28px 24px; background: linear-gradient(rgba(0,0,0,0) 0, rgba(0,0,0,.8) 56px, rgba(0,0,0,.9) 100%); }
.ip .ip-over h2 { font-size: 30px; line-height: 1.15; margin: 6px 0 8px; color: #fff; }
.ip-over p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.45; margin: 0; }
.ip-cat { font-size: 13px; color: rgba(255,255,255,.7); }
.ip-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; margin-bottom: 14px; color: #fff; text-decoration: none; }
.ip-card img { display: block; width: 120px; height: 120px; object-fit: cover; object-position: 50% 0; border-radius: var(--r-frame); }
.ip .ip-card h2 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 4px 0 6px; color: #fff; }
.ip-card:hover h2 { text-decoration: underline; }
.ip-sum { grid-column: 1 / -1; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.8); margin: 0 !important; }

/* Contact: the reference's help page: photo band, centred heading and paragraph, one big outlined button, outlined cards. */
.ip-banner { background: var(--canvas); height: 220px; overflow: hidden; }
.ip-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: brightness(.55); }
.ip-contact { padding-top: 48px; }
.ip-centre { text-align: center; max-width: 760px; margin: 0 auto 24px; }
.ip .ip-centre h1 { font-size: 34px; line-height: 1.15; margin: 0 0 16px; max-width: none; letter-spacing: -.01em; }
.ip-centre p { margin: 0 0 12px; }
.ip-bigbtn { display: block; border: 2px solid var(--ip-ink); border-radius: 10px; padding: 20px; text-align: center; font-size: 24px; font-weight: 600; text-decoration: none; margin: 28px 0; word-break: break-all; transition: background-color var(--dur) var(--ease); }
.ip-bigbtn:hover { background: var(--paper-1); }
.ip .ip-c { text-align: center; }
.ip h2.ip-c { margin-top: 8px; }
.ip-cards { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0 0 40px; }
.ip-cards > div { border: 2px solid var(--ip-ink); border-radius: 10px; padding: 24px; }
.ip .ip-cards h3 { margin: 0 0 8px; font-size: 20px; }
.ip-cards p { margin: 0; font-size: 17px; }
.ip-confirm { max-width: 1180px; margin-inline: auto; }

@media (min-width: 900px) {
  .ip-featured { grid-template-columns: 3fr 2fr; gap: 32px; margin-top: 32px; }
  .ip-cards { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 899px) {
  main.ip { font-size: 17px; }
  .ip h1 { font-size: 36px; }
  .ip h2 { font-size: 26px; }
  .ip-head { padding-bottom: 120px; }
  .ip-lead { margin: -120px -4px 32px; }
  .ip-lead img { border-radius: 12px; }
  .ip-feat img { aspect-ratio: auto; min-height: 440px; }
  .ip-over { padding: 64px 18px 16px; }
  .ip .ip-over h2 { font-size: 24px; }
  .ip-over p { font-size: 15px; }
  .ip-cta { flex-direction: column; align-items: flex-start; }
  .ip-price, .ip-price-3 { grid-template-columns: 1fr; }
  .ip-card { grid-template-columns: 96px 1fr; gap: 12px; margin-top: 20px; }
  .ip-card img { width: 96px; height: 96px; }
  .ip-bigbtn { font-size: 18px; }
}

/* Round 3 (audit 2026-09-27). Review pages: the short answer in the existing boxed line (.ip-disc) under the headline,
   the byline below it; no photo overlapping the head, the program's first screen moves into the price section, smaller,
   as the receipt; the price in the existing table (.ip-preview) with wrapping cells; one fact per line. Index: the same
   width as the header. */
.ip-head.ip-head-review { padding-bottom: 48px; }
.ip-head-review h1 { margin-bottom: 24px; }
.ip-short { margin: 0 0 24px !important; max-width: 760px; }
.ip-short p { margin: 0 0 8px; font-size: 18px; line-height: 1.4; color: #fff; }
.ip-short p:last-child { margin-bottom: 0; }
.ip-head-review .ip-meta { margin-bottom: 12px; }
.ip-head-review .ip-meta:last-child { margin-bottom: 0; }
.ip-lead.ip-receipt, .ip-lead.ip-inline { margin: 24px 0 32px; max-width: 560px; }
.ip-lead.ip-inline { max-width: none; }
.ip-table { overflow-x: auto; font-size: 15px; }
.ip-table table { min-width: 640px; width: 100%; }
.ip-table td, .ip-table th { white-space: normal; vertical-align: top; line-height: 1.4; }
.ip-table tbody th { background: none; font-weight: 600; text-align: left; }
.ip-table td:nth-child(4) { white-space: nowrap; }
@media (min-width: 700px) { .ip-table + .ip-hint { display: none; } }
ul.ip-facts { padding-left: 20px; margin: 16px 0 12px; }
.ip-facts li { margin: 0 0 10px; }
ul.ip-related { padding-left: 20px; margin: 0 0 12px; }
.ip-related li { margin: 0 0 8px; }
.ip-links-row { font-size: 17px; }
.ip-wide { width: auto; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--gutter); }
.ip-other-langs { display: inline-block; margin-top: 8px; color: rgba(255,255,255,.85); }
.ip-other-langs a { color: #fff; }
.ip-cta .buy-form { flex: none; }
@media (max-width: 899px) { .ip-short p { font-size: 17px; } .ip-lead.ip-receipt, .ip-lead.ip-inline { margin: 20px 0 28px; } }
/* A guide under a review: the reading column's lists and numbered steps, as on the review pages. */
.ip-guide ul, .ip-guide ol { padding-left: 22px; margin: 0 0 16px; }
.ip-guide li { margin: 0 0 10px; }
.ip-guide h3 { margin-top: 20px; }
.ip-file img { object-fit: cover; object-position: 0 0; aspect-ratio: 1600 / 420; }
