* { box-sizing: border-box; }

    :root {
      --text-scale: 1.125;
      --text: #2c2c2c;
      --text-soft: #3a3a3a;
      --muted: #5b5b5b;
      --page-bg: #f4f3f1;
      --card: #ffffff;
      --card-elevated: #ffffff;
      --line: #e6e4e1;
      --link: #303030;
      --pink: #f6dde2;
      --beige: #f5e4cd;
      --blue: #dcecf8;
      --mint: #dceee8;
      --toggle-bg: #ffffff;
      --toggle-border: #ddd9d3;
      --toggle-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }

    html[data-theme="dark"] {
      --text: #ece8e0;
      --text-soft: #d8d2c8;
      --muted: #b8aea0;
      --page-bg: #1e1d1a;
      --card: #292724;
      --card-elevated: #312f2a;
      --line: #47433d;
      --link: #f3ece0;
      --pink: #624049;
      --beige: #665240;
      --blue: #43586a;
      --mint: #3f5d55;
      --toggle-bg: #312f2a;
      --toggle-border: #555048;
      --toggle-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }

    body {
      margin: 0;
      font-size: calc(16px * var(--text-scale));
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--page-bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      line-height: 1.5;
      transition: background-color 0.25s ease, color 0.25s ease;
    }

    .page {
      width: min(980px, calc(100vw - 40px));
      margin: 28px auto 48px;
      background: var(--card);
      padding: 24px 26px 40px;
      border-radius: 8px;
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.03);
      border: 1px solid var(--line);
      transition: background-color 0.25s ease, border-color 0.25s ease;
    }

    .main-title {
      margin: 0 0 20px;
      font-size: calc(30px * var(--text-scale));
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .section-title {
      margin: 16px 0 16px;
      padding: 6px 10px;
      font-size: calc(24px * var(--text-scale));
      line-height: 1.3;
      letter-spacing: -0.01em;
      font-weight: 700;
      border-radius: 4px;
      width: 100%;
      min-width: 0;
    }

    .section-title.pink { background: var(--pink); }
    .section-title.beige { background: var(--beige); }

    .sub-title {
      margin: 18px 0 12px;
      padding: 5px 8px;
      border-radius: 4px;
      width: 100%;
      min-width: 0;
      font-size: calc(20px * var(--text-scale));
      line-height: 1.3;
      letter-spacing: -0.01em;
      font-weight: 700;
    }

    .sub-title.pink { background: var(--pink); }
    .sub-title.blue { background: var(--blue); }
    .sub-title.mint { background: var(--mint); }

    h3 {
      font-size: calc(17px * var(--text-scale));
      margin: 0 0 12px;
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    p {
      margin: 0 0 12px;
      font-size: calc(16px * var(--text-scale));
      line-height: 1.6;
      color: var(--text-soft);
    }

    strong { font-weight: 700; }

    a {
      color: var(--link);
      text-decoration: none;
      border-bottom: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
    }

    a:hover { border-bottom-color: color-mix(in srgb, var(--link) 75%, transparent); }

    .intro-grid {
      display: grid;
      grid-template-columns: minmax(320px, 460px) 1fr;
      gap: 28px;
      align-items: start;
      margin-top: 12px;
    }

    .mentor-compare {
      --split: 49%;
      width: 100%;
      max-width: 520px;
      margin: 0;
      min-width: 0;
      justify-self: center;
    }

    .mentor-compare__stage {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #111;
      isolation: isolate;
    }

    .mentor-compare__image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .mentor-compare__image--roma {
      z-index: 1;
      clip-path: inset(0 calc(100% - var(--split)) 0 0);
    }

    .mentor-compare__divider {
      position: absolute;
      z-index: 2;
      top: 0;
      bottom: 0;
      left: var(--split);
      width: 2px;
      transform: translateX(-1px);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
      pointer-events: none;
    }

    .mentor-compare__controls {
      margin-top: 8px;
    }

    .mentor-compare__names {
      display: flex;
      justify-content: space-between;
      margin-bottom: 2px;
      color: var(--muted);
      font-size: calc(13px * var(--text-scale));
      font-weight: 700;
    }

    .mentor-compare__range {
      display: block;
      width: 100%;
      height: 28px;
      margin: 0;
      accent-color: var(--text);
      cursor: ew-resize;
      touch-action: pan-y;
    }

    .mentor-compare__range:focus-visible {
      outline: 3px solid color-mix(in srgb, var(--blue) 75%, var(--text));
      outline-offset: 2px;
      border-radius: 999px;
    }

    .mentor-experience { min-width: 0; }

    .mentor-experience__person + .mentor-experience__person,
    .mentor-experience__joint {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .mentor-experience__person h3,
    .mentor-experience__joint h3 {
      margin-bottom: 8px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin: 10px 0 20px;
    }

    .stat {
      min-width: 0;
      min-height: 132px;
      padding: 20px 18px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--card-elevated);
    }

    .stat-value {
      display: block;
      margin-bottom: 8px;
      font-size: calc(30px * var(--text-scale));
      line-height: 1.15;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .stat-label {
      display: block;
      font-size: calc(15px * var(--text-scale));
      line-height: 1.5;
      color: var(--muted);
    }

    .dash-list,
    .dash-list-tight {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .dash-list li,
    .dash-list-tight li {
      position: relative;
      padding-left: 24px;
      margin: 0 0 10px;
      font-size: calc(16px * var(--text-scale));
      line-height: 1.6;
    }

    .dash-list-tight li {
      font-size: calc(16px * var(--text-scale));
      margin-bottom: 8px;
      line-height: 1.6;
      color: var(--text-soft);
    }

    .dash-list li::before,
    .dash-list-tight li::before {
      content: "—";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--muted);
      font-weight: 500;
    }

    .contact-link {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      margin: 8px 0 14px;
      font-size: calc(20px * var(--text-scale));
      line-height: 1.3;
    }

    .contact-pill {
      display: inline-flex;
      align-items: center;
      min-height: 52px;
      gap: 11px;
      padding: 12px 20px;
      border-radius: 999px;
      border: none;
      background: var(--blue);
      color: var(--link);
      text-decoration: none;
      border-bottom: none;
      transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .contact-pill-url {
      font-size: calc(18px * var(--text-scale));
      color: var(--link);
      font-weight: 700;
      letter-spacing: 0;
    }

    .contact-pill-icon {
      width: 22px;
      height: 22px;
      object-fit: contain;
      flex: 0 0 22px;
    }

    .contact-pill:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .video-wrapper {
      margin: 8px 0 14px;
      position: relative;
      width: 100%;
      padding-bottom: 56.25%;
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: color-mix(in srgb, var(--card) 80%, var(--page-bg));
    }

    .video-wrapper iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    ol {
      margin: 0 0 4px 0;
      padding-left: 30px;
    }

    ol li {
      margin: 0 0 12px;
      font-size: calc(16px * var(--text-scale));
      line-height: 1.6;
      color: var(--text-soft);
      padding-left: 6px;
    }

    ol li ul {
      margin: 8px 0 0;
      padding-left: 26px;
      list-style: disc;
    }

    ol li ul li {
      font-size: calc(15px * var(--text-scale));
      margin-bottom: 0;
      line-height: 1.55;
    }

    .callout {
      margin: 8px 0 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 18px 22px;
      background: var(--card-elevated);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    }

    .callout p,
    .callout li {
      font-size: calc(16px * var(--text-scale));
      margin: 0;
      line-height: 1.62;
    }

    .callout ul {
      margin: 8px 0 0;
      padding-left: 24px;
    }

    .plans {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin: 8px 0 14px;
    }

    .plan {
      border: 1px solid var(--line);
      border-radius: 4px;
      padding: 20px 22px 22px;
      background: var(--card-elevated);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
      display: flex;
      flex-direction: column;
      transition: background-color 0.25s ease, border-color 0.25s ease;
    }

    .plan-tag {
      align-self: flex-start;
      margin: 0 0 12px;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: calc(13px * var(--text-scale));
      font-weight: 700;
      letter-spacing: 0;
      color: var(--text);
    }

    .plan-tag.mint { background: var(--mint); }
    .plan-tag.blue { background: var(--blue); }
    .plan-tag.pink { background: var(--pink); }

    .plan-price {
      margin: 0;
      font-size: calc(24px * var(--text-scale));
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .plan-price span {
      display: block;
      margin-top: 6px;
      font-size: calc(16px * var(--text-scale));
      font-weight: 400;
      letter-spacing: 0;
      color: var(--muted);
    }

    .price-deadline {
      margin: 0 0 6px;
      padding: 14px 18px;
      border-radius: 4px;
      background: color-mix(in srgb, var(--pink) 62%, var(--card));
      border: 1px solid var(--line);
      font-size: calc(16px * var(--text-scale));
      line-height: 1.6;
    }

    .price-deadline strong { letter-spacing: -0.01em; }

    .results-origin {
      margin: 12px 0 18px;
      padding: 14px 16px;
      border-radius: 10px;
      background: color-mix(in srgb, var(--blue) 42%, var(--card));
    }

    .results-origin-title {
      margin: 0 0 8px;
      font-size: calc(17px * var(--text-scale));
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: var(--text);
    }

    .results-origin-text {
      margin: 0;
      font-size: calc(16px * var(--text-scale));
      line-height: 1.6;
      color: var(--text-soft);
    }

    .results-note {
      font-size: calc(16px * var(--text-scale));
      font-weight: 700;
      margin: 4px 0 12px;
    }

    details.offer-item {
      margin: 0 0 12px;
      border-radius: 8px;
    }

    details.offer-item > summary {
      cursor: pointer;
      list-style: none;
      font-size: calc(17px * var(--text-scale));
      line-height: 1.4;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
      user-select: none;
    }

    details.offer-item > summary::-webkit-details-marker { display: none; }

    details.offer-item > summary::before {
      content: "▸";
      font-size: calc(19px * var(--text-scale));
      line-height: 1;
      transform: translateY(-1px);
      color: var(--muted);
      width: 18px;
      flex: 0 0 18px;
    }

    details.offer-item[open] > summary::before { content: "▾"; }

    .offer-image {
      margin: 10px 0 2px 28px;
      width: min(100%, 740px);
      border-radius: 8px;
      border: 1px solid var(--line);
      display: block;
      will-change: transform, opacity;
    }

    details.offer-item[open] .offer-image {
      animation: offerReveal 0.3s ease;
    }

    .reviews-wrapper {
      width: 100%;
      min-height: 720px;
      margin: 8px 0 18px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #ffffff;
    }

    .reviews-wrapper iframe {
      display: block;
      width: 100%;
      height: 720px;
      border: 0;
    }

    @keyframes offerReveal {
      from {
        opacity: 0;
        transform: translateY(-6px) scale(0.995);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .telegram-wrap { margin-top: 16px; }

    .telegram-title {
      margin: 0 0 10px;
      font-size: calc(20px * var(--text-scale));
      font-weight: 700;
      line-height: 1.3;
    }

    .telegram-title.telegram-title--channel { margin-top: 18px; }

    .telegram-card {
      border: none;
      border-radius: 12px;
      padding: 14px 16px;
      background: var(--card-elevated);
    }

    .telegram-card-link {
      display: block;
      text-decoration: none;
      border-bottom: none;
      color: inherit;
      border-radius: 12px;
    }

    .telegram-card-link:hover .telegram-card {
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    }

    .telegram-card-title {
      margin: 0 0 6px;
      font-size: calc(17px * var(--text-scale));
      font-weight: 500;
      line-height: 1.2;
    }

    .telegram-card-desc {
      margin: 0 0 8px;
      font-size: calc(15px * var(--text-scale));
      color: var(--muted);
      line-height: 1.5;
    }

    .telegram-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: calc(15px * var(--text-scale));
      color: var(--link);
      border-bottom: none;
    }

    .telegram-link-icon {
      width: 18px;
      height: 18px;
      object-fit: contain;
      transform: translateY(-1px);
      flex: 0 0 18px;
    }

    .theme-toggle {
      position: fixed;
      top: 14px;
      right: 14px;
      z-index: 20;
      border: 1px solid var(--toggle-border);
      background: var(--toggle-bg);
      color: var(--text);
      border-radius: 999px;
      padding: 10px 14px;
      font-size: calc(14px * var(--text-scale));
      font-weight: 600;
      cursor: pointer;
      box-shadow: var(--toggle-shadow);
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    .spacer-xxs { height: 2px; }
    .spacer-xs { height: 6px; }
    .spacer-sm { height: 10px; }

    @media (max-width: 900px) {
      .page {
        width: calc(100vw - 24px);
        margin: 12px auto 24px;
        padding: 14px 12px 24px;
      }

      .main-title { font-size: calc(26px * var(--text-scale)); }
      .section-title { font-size: calc(21px * var(--text-scale)); }
      .sub-title {
        min-width: 100%;
        font-size: calc(18px * var(--text-scale));
      }

      .intro-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

      .plans {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .plan { padding: 16px 16px 18px; }
      .plan-price { font-size: calc(22px * var(--text-scale)); }
      .plan-price span { font-size: calc(15px * var(--text-scale)); }
      .price-deadline { font-size: calc(15px * var(--text-scale)); }

      h3 { font-size: calc(16px * var(--text-scale)); }
      p { font-size: calc(15px * var(--text-scale)); }
      .dash-list li,
      .dash-list-tight li,
      ol li,
      details.offer-item > summary,
      .results-note,
      .results-origin-text,
      .callout p,
      .callout li { font-size: calc(15px * var(--text-scale)); }

      ol li ul li,
      .telegram-card-desc { font-size: calc(14px * var(--text-scale)); }

      .telegram-title { font-size: calc(18px * var(--text-scale)); }
      .telegram-card-title { font-size: calc(16px * var(--text-scale)); }
      .telegram-link { font-size: calc(14px * var(--text-scale)); }

      .offer-image {
        margin-left: 0;
        width: 100%;
      }

      .reviews-wrapper,
      .reviews-wrapper iframe {
        min-height: 640px;
        height: 640px;
      }
    }

    @media (max-width: 520px) {
      .page { margin-top: 60px; }
      .stats { gap: 10px; }
      .stat {
        min-height: 120px;
        padding: 16px 14px;
      }
      .stat-value { font-size: calc(25px * var(--text-scale)); }
      .stat-label { font-size: calc(14px * var(--text-scale)); }
      .contact-link {
        gap: 10px;
        margin: 6px 0 12px;
        font-size: calc(17px * var(--text-scale));
      }
      .contact-pill {
        min-height: 48px;
        padding: 11px 16px;
      }
      .contact-pill-url { font-size: calc(16px * var(--text-scale)); }
      .contact-pill-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
      }
    }


/* Single-mentor content and accessibility; reference styles above are unchanged. */
[hidden] { display: none !important; }
.mentor-portrait { position: relative; align-self: stretch; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.mentor-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
@media (max-width: 900px) { .mentor-portrait { aspect-ratio: 1; } }
.video-wrapper video { position: absolute; inset: 0; width: 100%; height: 100%; }
.source-note { font-size: calc(13px * var(--text-scale)); color: var(--muted); }
.skip-link { position: fixed; top: -100px; left: 14px; z-index: 30; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.skip-link:focus { top: 14px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Editorial content keeps the original SpartOps palette and page layout. */
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.content-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.section-title.blue { background: var(--blue); }
.page > section { margin-top: 26px; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 22px; color: var(--text); }
.video-placeholder-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 19px; border-radius: 14px; background: var(--beige); }
.video-placeholder-icon .content-icon { width: 34px; height: 34px; stroke-width: 1.4; }
.video-placeholder > strong { font-size: calc(23px * var(--text-scale)); line-height: 1.3; margin-bottom: 12px; }
.video-placeholder p { margin-bottom: 16px; color: var(--muted); }
.video-placeholder-note { font-size: calc(12px * var(--text-scale)); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px; }
.story-quote { margin: 21px 0; padding: 16px 20px; border-left: 3px solid color-mix(in srgb, var(--blue) 75%, var(--text)); background: color-mix(in srgb, var(--blue) 24%, var(--card)); border-radius: 0 5px 5px 0; }
.story-quote p { margin: 0; font-size: calc(18px * var(--text-scale)); font-weight: 500; line-height: 1.65; color: var(--text); }
.market-note { display: flex; align-items: flex-start; gap: 14px; margin: 21px 0; padding: 18px 20px; border-radius: 6px; background: color-mix(in srgb, var(--mint) 65%, var(--card)); }
.market-note > .content-icon { margin-top: 2px; }
.market-note p { margin: 0; font-size: calc(15px * var(--text-scale)); }
.market-note .source-note { font-size: calc(12px * var(--text-scale)); line-height: 1.65; margin-top: 7px; color: var(--muted); }
.pace-note { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 0; margin-bottom: 21px; font-size: calc(14px * var(--text-scale)); color: var(--muted); }
.telegram-invite { display: flex; align-items: flex-start; gap: 19px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--blue) 24%, var(--card)); }
.telegram-invite-icon { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.telegram-invite h3 { margin: 3px 0 10px; }
.telegram-invite p { max-width: 60ch; margin-bottom: 18px; }
.telegram-invite .contact-pill { font-size: calc(16px * var(--text-scale)); min-height: 46px; border-radius: 8px; padding: 11px 17px; }
@media (max-width: 680px) {
  .page > section { margin-top: 23px; }
  .story-quote { padding: 14px 16px; }
  .story-quote p { font-size: calc(16px * var(--text-scale)); }
  .market-note { padding: 16px; gap: 10px; }
  .market-note > .content-icon { width: 20px; height: 20px; }
  .market-note p { font-size: calc(14px * var(--text-scale)); }
  .market-note .source-note { font-size: calc(12px * var(--text-scale)); }
  .video-placeholder { padding: 14px; }
  .video-placeholder-icon { width: 42px; height: 42px; border-radius: 8px; margin-bottom: 10px; }
  .video-placeholder-icon .content-icon { width: 24px; height: 24px; }
  .video-placeholder > strong { font-size: calc(18px * var(--text-scale)); margin-bottom: 7px; }
  .video-placeholder p { font-size: calc(13px * var(--text-scale)); line-height: 1.5; margin-bottom: 8px; }
  .video-placeholder-note { font-size: calc(10px * var(--text-scale)); padding: 2px 6px; }
  .telegram-invite { padding: 18px; gap: 12px; }
  .telegram-invite-icon { width: 32px; height: 32px; }
  .telegram-invite .contact-pill { font-size: calc(14px * var(--text-scale)); padding: 10px 12px; }
}
@media (max-width: 360px) {
  .video-placeholder { padding: 12px; }
  .video-placeholder-icon { display: none; }
  .telegram-invite { display: block; }
  .telegram-invite-icon { margin-bottom: 10px; }
}

/* One continuous article, with the same typography as the rest of the page. */
.analytics-article { margin: 18px 0; }
.analytics-article p { line-height: 1.75; margin-bottom: 16px; }
.analytics-article > p:last-child { margin-bottom: 0; }
.analytics-article .article-byline { font-size: calc(13px * var(--text-scale)); color: var(--muted); margin-bottom: 17px; }
.analytics-article .article-lead { color: var(--text); }
.article-subheading { margin: 25px 0 12px; font-size: calc(18px * var(--text-scale)); line-height: 1.4; }
.analytics-article .dash-list { margin: 16px 0 18px; }
.analytics-article .dash-list li { line-height: 1.7; }
.analytics-article .story-quote p { margin-bottom: 0; }
@media (max-width: 680px) { .article-subheading { font-size: calc(16px * var(--text-scale)); } }
