/* peternpace.com prototype — design tokens mirror wix/build-guide.md */
:root {
  --space-blue: #01203F;
  --orange: #FF4F00;
  --amber: #FF9E00;
  --white: #FFFFFF;
  --gray: #BABAC4;
  --cream: #F6F3EA;
  --ink: #111318;
  --muted: #5B6170;
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }  /* the hidden attribute always wins over display rules */
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; }
h1 { font-size: clamp(38px, 9vw, 120px); }
h2 { font-size: clamp(30px, 5vw, 64px); }
h3 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 40px; height: 6px; background: currentColor; transform: skewX(-20deg); }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 640px; }
.accent { color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; text-decoration: none; padding: 16px 28px; background: var(--orange); color: var(--white); border: 2px solid var(--orange); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .2s, color .2s; }
.btn:hover { background: var(--amber); border-color: var(--amber); color: var(--space-blue); }
.btn.ghost { background: transparent; color: currentColor; border-color: currentColor; clip-path: none; }
.btn.ghost:hover { background: var(--white); color: var(--space-blue); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { font-weight: 700; color: var(--orange); text-decoration: none; border-bottom: 2px solid var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--space-blue); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; list-style: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: 700 15px var(--body); cursor: pointer; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--space-blue) center/cover no-repeat; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,32,63,.15) 0%, rgba(1,32,63,.55) 50%, rgba(1,32,63,.95) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero p { margin-top: 24px; }
.hero.short { min-height: 56vh; }

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.bg-blue { background: var(--space-blue); color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-orange { background: var(--orange); color: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo::after { content: ""; position: absolute; left: -16px; bottom: -16px; width: 45%; height: 14px; background: var(--orange); transform: skewX(-20deg); }
.prose p + p { margin-top: 1.1em; }
.prose h3 { margin: 2em 0 .6em; }
.narrow { max-width: 760px; }

/* Philosophy */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: rgba(255,255,255,.15); }
.pillar { background: var(--space-blue); padding: 40px 32px 48px; }
.pillar .num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 72px; line-height: 1; color: var(--orange); }
.pillar:nth-child(2) .num { color: var(--amber); }
.pillar:nth-child(3) .num { color: var(--gray); }
.pillar h3 { font-size: 32px; font-style: italic; text-transform: uppercase; margin: 12px 0 10px; }
.pillar p { color: #D5D6DE; }
.bg-photo { background: var(--space-blue) center/cover no-repeat; position: relative; }
.bg-photo::before { content: ""; position: absolute; inset: 0; background: rgba(1,32,63,.86); }
.bg-photo > .wrap { position: relative; }
.bg-photo .pillar { background: rgba(1,32,63,.7); }

/* Books */
.covers { display: flex; gap: 24px; justify-content: center; align-items: flex-end; }
.cover { width: min(300px, 60%); box-shadow: 0 30px 60px rgba(1,32,63,.25); transform: rotate(-3deg); }
.covers .cover { width: min(280px, 46%); }
.cover.cover-2 { transform: rotate(4deg); }
.cover.placeholder { aspect-ratio: 924/1306; background: var(--space-blue); color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 28px; transform: rotate(4deg); font-family: var(--display); font-weight: 900; font-style: italic; font-size: 28px; line-height: 1; text-transform: uppercase; }
.cover.placeholder small { font: 600 12px var(--body); letter-spacing: .14em; color: var(--amber); margin-bottom: 12px; }
.book-list { display: grid; gap: 32px; margin-top: 56px; }
.book-card { display: grid; grid-template-columns: 220px 1fr; gap: 40px; background: var(--white); padding: 32px; border-left: 8px solid var(--orange); align-items: center; }
.book-card.next { border-color: var(--gray); }
.book-card.next .cover { opacity: .6; }
.book-card .cover { width: 100%; transform: none; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.book-card .cover.placeholder { transform: none; font-size: 22px; padding: 20px; }
.book-card h3 { font-size: clamp(28px, 3vw, 40px); font-style: italic; text-transform: uppercase; }
.book-card .sub, .book-sub { font-style: italic; color: var(--orange); font-size: 22px; margin-bottom: 12px; }
.tag { font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.badge { display: inline-block; margin-top: 20px; font: 800 12px var(--body); letter-spacing: .14em; padding: 8px 14px; border: 2px solid var(--muted); color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.check-list { list-style: none; display: grid; gap: 22px; margin-top: 32px; }
.check-list li { padding-left: 36px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; background: var(--orange); transform: skewX(-20deg); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.gallery figure { background: var(--white); padding: 12px; box-shadow: 0 10px 30px rgba(1,32,63,.08); }
.gallery figcaption { font: 600 13px var(--body); color: var(--muted); padding-top: 10px; text-transform: uppercase; letter-spacing: .1em; }

/* About */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.15); }
.stat { background: var(--space-blue); padding: 32px 24px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(32px, 4vw, 48px); line-height: 1; color: var(--orange); }
.stat span { color: #D5D6DE; font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.timeline div { border-top: 6px solid var(--orange); padding-top: 14px; }
.timeline div:nth-child(2) { border-color: var(--amber); }
.timeline div:nth-child(3) { border-color: var(--space-blue); }
.timeline b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 40px; line-height: 1.1; }
.timeline span { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* Class */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step { background: var(--white); color: var(--ink); padding: 32px 24px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-weight: 900; font-style: italic; font-size: 56px; color: var(--orange); line-height: 1; display: block; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.who { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.who li { padding: 18px 22px; background: var(--cream); border-left: 6px solid var(--orange); font-weight: 600; }
.note { border: 2px dashed var(--orange); padding: 24px; margin-top: 32px; font-style: italic; }
.todo { background: #FFF1E8; color: #B33600; outline: 2px dashed var(--orange); padding: 2px 6px; font-style: normal; font-size: .85em; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CBD3; padding: 72px 0 32px; font-size: 15px; }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color: var(--white); font: 800 13px var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo { margin-bottom: 20px; }
.site-footer .logo img { height: 36px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 24px; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .split, .book-card { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .pillars, .timeline { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .site-footer .grid { grid-template-columns: 1fr; gap: 32px; }
  .book-card .cover { max-width: 220px; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .logo img { height: 24px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--space-blue); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .steps, .gallery { grid-template-columns: 1fr; }
  .book-card { padding: 24px; }
  .hero-home { background-position: 72% center; }  /* keep both runners in view on phones */
}

/* Coaching options (Running Class) */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.option { border: 2px solid rgba(255,255,255,.25); padding: 28px 24px; }
.option .tag { color: var(--amber); }
.option h3 { font-size: 22px; margin-bottom: 8px; }
.option p:last-child { color: #D5D6DE; }
.options.two { grid-template-columns: repeat(2, 1fr); }
.option .price { font: 800 24px var(--display); color: #fff; margin-top: 16px; }
@media (max-width: 900px) { .options, .options.two { grid-template-columns: 1fr; } }

/* Peter's photos & certificate (About, Running Class) */
.photo.tall img { aspect-ratio: 3/4; max-width: 440px; }
.photo.natural img { aspect-ratio: auto; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0 8px; }
.photo-strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.certificate { background: var(--white); padding: 12px; box-shadow: 0 20px 50px rgba(1,32,63,.15); transform: rotate(1.5deg); }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip img:last-child { display: none; } }

/* Home: Running Class quick facts */
.class-facts { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.class-facts li { padding-left: 30px; position: relative; color: #D5D6DE; }
.class-facts li b { color: var(--white); }
.class-facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 8px; background: var(--orange); transform: skewX(-20deg); }

/* Books: Day by Day ladder + Notify me forms */
.ladder { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; gap: 24px; margin-top: 56px; counter-reset: rung; align-items: start; }
.rung { background: var(--white); padding: 28px 24px; border-top: 8px solid var(--orange); position: relative; }
.rung.coming { border-color: var(--gray); }
.ladder .rung::before { counter-increment: rung; content: "0" counter(rung); position: absolute; top: 16px; right: 20px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 44px; line-height: 1; color: var(--orange); }
.ladder .rung.coming::before { color: var(--gray); }
.rung .cover { width: 48%; transform: none; box-shadow: 0 12px 30px rgba(0,0,0,.15); margin-bottom: 24px; }
.rung .cover.placeholder { transform: none; font-size: 15px; padding: 14px; opacity: .85; }
.rung .status { font: 800 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.rung.coming .status { color: var(--muted); }
.rung h3 { font-style: italic; text-transform: uppercase; margin-bottom: 8px; }
.rung .btn-row { margin-top: 20px; gap: 10px; }
.rung .btn { padding: 12px 18px; font-size: 13px; }
.notify { display: grid; gap: 10px; margin-top: 20px; }
.notify[hidden] { display: none; }
.notify input { font: 16px var(--body); padding: 12px 14px; border: 2px solid #D8D9DF; background: var(--white); color: var(--ink); width: 100%; }
.notify input:focus { outline: none; border-color: var(--orange); }
.notify .btn { justify-content: center; cursor: pointer; }
.notify .helper { font-size: 13px; color: var(--muted); }
.notify-done { margin-top: 20px; padding: 16px 18px; background: var(--cream); border-left: 6px solid var(--orange); font-weight: 600; }
.notify-done.error { border-color: #B33600; color: #B33600; }
.not-for { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); color: #D5D6DE; }
.not-for b { color: var(--white); }
.not-for .text-link { color: var(--amber); border-color: var(--amber); }
.split > .rung { border: 2px solid #E4E5EA; border-top: 8px solid var(--gray); }
.split > .rung .cover { width: min(180px, 45%); }

@media (max-width: 720px) { .ladder { grid-template-columns: 1fr; } .rung .cover { width: 46%; } .rung .cover.placeholder { display: none; } }

/* Reader tools (/readers): book picker + pace calculator */
.hero.compact { min-height: 0; padding: 0; }
.hero.compact + section { padding-top: clamp(40px, 6vw, 96px); }
.hero.compact .wrap { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero.compact h1 { font-size: clamp(40px, 7vw, 96px); }
.book-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; }
.book-pick button { display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px; background: var(--white); border: 2px solid #E4E5EA; border-left: 8px solid var(--gray); cursor: pointer; font: 800 20px var(--display); font-style: italic; text-transform: uppercase; color: var(--ink); }
.book-pick button.on { border-color: var(--orange); }
.book-pick img { width: 56px; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.book-pick small { display: block; font: 700 11px var(--body); letter-spacing: .14em; color: var(--muted); font-style: normal; margin-bottom: 4px; }
.calc { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 28px; }
.calc-source { border: 0; width: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.calc-source legend, .calc-label { display: block; width: 100%; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc-source label { font-weight: 600; cursor: pointer; }
.calc-time { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-time label { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.calc-time input { width: 84px; font: 700 24px var(--body); padding: 10px 12px; border: 2px solid #D8D9DF; background: var(--white); color: var(--ink); }
.calc-time input:focus { outline: none; border-color: var(--orange); }
.calc .btn { cursor: pointer; }
.calc [hidden], .calc-result[hidden], #signup[hidden] { display: none; }
.calc-result { margin-top: 40px; background: var(--white); padding: clamp(20px, 4vw, 36px); border-top: 8px solid var(--orange); }
.calc-score span { display: block; color: var(--muted); font-size: 15px; }
.calc-score b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--orange); text-transform: uppercase; margin: 6px 0; }
.calc-paces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #E4E5EA; margin-top: 24px; }
.calc-paces div { background: var(--white); padding: 18px 16px; }
.calc-paces span { display: block; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc-paces span small { letter-spacing: 0; text-transform: none; }
.calc-paces b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); margin: 6px 0 4px; }
.calc-paces div > small { color: var(--muted); font-size: 13px; }
.calc-note { margin-top: 24px; padding: 16px 18px; background: var(--cream); border-left: 6px solid var(--orange); font-weight: 600; }
.calc-error { color: #B33600; font-weight: 600; }
.calc-fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.calc-fine a, .helper a { color: inherit; }
@media (max-width: 900px) { .calc-paces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .book-pick { grid-template-columns: 1fr; } .book-pick button { font-size: 17px; } .calc-paces div { padding: 16px 12px; } .calc-paces b { font-size: 20px; white-space: nowrap; } }

/* Pace card (Reader tools): printed alone on one letter page via the "Print my pace card" button */
.pace-print { display: none; }
@media print {
  @page { size: letter; margin: 0.5in; }
  body.print-card { background: #fff; }
  body.print-card .site-header, body.print-card .site-footer,
  body.print-card [data-readers] > :not(.pace-print), body.print-card [data-pace] > :not(.pace-print) { display: none !important; }
  body.print-card .pace-print { display: block; color: #111; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.pc { border: 2px solid #111; border-top: 10px solid var(--orange); padding: 0.3in; break-inside: avoid; font-family: var(--body); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-top img { height: 22px; width: auto; }
.pc-top span { font: 700 9pt var(--body); letter-spacing: .14em; text-transform: uppercase; color: #5B6170; }
.pc h3 { font: 900 italic 26pt/1 var(--display); text-transform: uppercase; margin: 0.25in 0 0.08in; }
.pc-meta { font-size: 11pt; color: #5B6170; }
.pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #C9CBD3; margin-top: 0.2in; }
.pc-grid div { padding: 0.14in 0.12in; border-left: 1px solid #C9CBD3; }
.pc-grid div:first-child { border-left: 0; }
.pc-grid span { display: block; font: 700 8pt var(--body); letter-spacing: .12em; text-transform: uppercase; color: #5B6170; }
.pc-grid b { display: block; font: 900 18pt var(--display); margin-top: 4px; white-space: nowrap; }
.pc-note { margin-top: 0.16in; font-size: 10.5pt; }
.pc-url { margin-top: 0.1in; font: 700 10pt var(--body); color: var(--orange); }
.pc-cut { margin: 0.35in 0 0.15in; font-size: 9pt; color: #5B6170; }
.pc-wallet { width: 3.5in; padding: 0.12in 0.14in; border: 1.5px dashed #111; border-top: 6px solid var(--orange); }
.pc-wallet .pc-top img { height: 12px; }
.pc-wallet .pc-top span { font-size: 6.5pt; letter-spacing: .08em; }
.pc-wallet .pc-meta { font-size: 7.5pt; margin-top: 4px; }
.pc-wallet .pc-grid { grid-template-columns: 1fr 1fr; margin-top: 5px; }
.pc-wallet .pc-grid div { padding: 3px 6px; border-left: 0; border-top: 1px solid #C9CBD3; }
.pc-wallet .pc-grid div:nth-child(even) { border-left: 1px solid #C9CBD3; }
.pc-wallet .pc-grid div:nth-child(-n+2) { border-top: 0; }
.pc-wallet .pc-grid span { font-size: 5.5pt; }
.pc-wallet .pc-grid b { font-size: 10pt; margin-top: 1px; }
.pc-wallet .pc-url { font-size: 7pt; margin-top: 4px; }

/* General pace calculator (/pace-calculator) */
.pc-before { background: var(--white); border-left: 8px solid var(--orange); padding: 20px 24px; }
.pc-before ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.pc-before .eyebrow { margin-bottom: 10px; }
.pc-readers { margin-top: 16px; font-size: 15px; color: var(--muted); }
.pc-select { font: 600 17px var(--body); padding: 12px 14px; border: 2px solid #D8D9DF; background: var(--white); color: var(--ink); min-width: 220px; }
.pc-select:focus { outline: none; border-color: var(--orange); }
.pc-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.pc-table th, .pc-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #E4E5EA; vertical-align: baseline; }
.pc-table thead th { font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pc-table tbody th { font-weight: 700; }
.pc-table tbody th small { display: block; font: 600 12px var(--body); color: var(--muted); letter-spacing: .06em; }
.pc-table td b { font: 900 clamp(20px, 2.4vw, 28px) var(--display); }
.pc-table .pc-other { color: var(--muted); font-size: 14px; }
.pc-table td { white-space: nowrap; }
.pc-table .pc-soft td { color: var(--muted); font-style: italic; white-space: normal; }
.pc-howto { display: grid; gap: 12px; margin-top: 8px; padding-left: 22px; }
.pc-grid .pc-alt { display: block; font-size: 8pt; color: #5B6170; margin-top: 2px; }
.pc-wallet .pc-grid .pc-alt { font-size: 5.5pt; margin-top: 0; }
.pc-group { border: 0; border-top: 1px solid #D8D9DF; padding-top: 20px; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 28px; }
.pc-group legend { font: 900 20px var(--display); padding-right: 12px; margin-bottom: 4px; }
.pc-group legend small { font: 600 14px var(--body); color: var(--muted); }
.pc-inline { width: auto; }
.pc-table .pc-by { color: var(--muted); font-size: 13px; text-align: right; }
.pc-gap { margin-top: 24px; font-size: 17px; }
.pc-sub { margin-top: 36px; font: 900 22px var(--display); }
.pc-predict { max-width: 560px; }
.calc-result + .calc-result, #pt-result { margin-top: 24px; }
@media (max-width: 720px) { .pc-table .pc-other { display: none; } .pc-select { min-width: 0; width: 100%; } .pc-table th, .pc-table td { padding: 12px 6px; } }
