/* ============================================================================
   /creators/ — the creator program page (English only). Loaded after style.css,
   so it uses the site tokens. Design: the "Landing" prototype
   (prototype/creator-program-20261028-122529.html, owner 2026-10-28), with the
   site's shared header and footer in place of the prototype's own bar.
   ============================================================================ */

.cr { flex: 1 1 auto; padding-bottom: clamp(56px, 9vw, 96px); }
.cr-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* Pill buttons */
.cr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 0;
  font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .16s ease-out;
}
.cr-btn:active { transform: scale(.97); }
.cr-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.cr-btn-primary { background: var(--primary); color: var(--on-primary); }
.cr-btn-primary:hover { background: #366597; }
.cr-btn-ghost { background: transparent; color: var(--primary); padding: 0 10px; }
.cr-btn-inverse { background: #fff; color: var(--primary); }
.cr-btn-inverse:focus-visible { outline-color: #fff; }

/* Hero */
.cr-hero { padding: clamp(40px, 9vw, 96px) 0 clamp(40px, 7vw, 72px); text-align: center; }
.cr-kicker { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--primary); }
.cr-hero h1 { margin: 14px auto 0; max-width: 15ch; font-size: clamp(38px, 7.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.cr-hero h1 em { font-style: normal; color: var(--primary); }
.cr-lead { margin: 22px auto 0; max-width: 34em; font-size: clamp(17px, 2.2vw, 19px); color: var(--ink2); }
.cr-cta { margin-top: 30px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }

/* The deal: three cards */
.cr-deal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cr-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: 28px 26px 26px; }
.cr-card .cr-lbl { font-size: 13px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .06em; }
.cr-card .cr-fig { margin-top: 10px; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.cr-card .cr-fig small { font-size: 22px; letter-spacing: -.02em; }
.cr-card p { margin-top: 12px; color: var(--ink2); font-size: 15px; }
.cr-card p.cr-note { margin-top: 6px; font-size: 13px; }
.cr-card.cr-accent { background: var(--primary); background-image: var(--brand-sheen); color: #fff; }
.cr-card.cr-accent .cr-lbl, .cr-card.cr-accent p { color: rgba(255, 255, 255, .85); }

/* Sections */
.cr-sec { padding-top: clamp(64px, 10vw, 112px); }
.cr-sec h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }

/* Your rate grows: three blocks that step up like stairs, a shape of their own
   next to the deal cards and the step lists. */
.cr-tiers-intro p { margin-top: 10px; max-width: 34em; color: var(--ink2); }
.cr-tiers { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; list-style: none; }
.cr-tiers li { border-radius: var(--r-lg); background: var(--primary-soft); padding: 22px 24px; }
.cr-tiers li:nth-child(1) { padding-top: 22px; }
.cr-tiers li:nth-child(2) { padding-top: 54px; background: var(--primary-line); }
.cr-tiers li:nth-child(3) { padding-top: 86px; background: var(--primary); background-image: var(--brand-sheen); color: #fff; }
.cr-range { font-size: 14px; font-weight: 700; color: var(--ink2); }
.cr-rate { margin-top: 6px; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.cr-each { margin-top: 8px; font-size: 14px; color: var(--ink2); }
.cr-tiers li:nth-child(3) .cr-range, .cr-tiers li:nth-child(3) .cr-each { color: rgba(255, 255, 255, .85); }
.cr-tiers-note { margin-top: 16px; max-width: 46em; font-size: 14px; color: var(--ink2); }

/* How it works */
.cr-steps { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; }
.cr-step { border-top: 2px solid var(--primary-line); padding-top: 18px; }
.cr-step .cr-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; }
.cr-step h3 { margin-top: 14px; font-size: 19px; letter-spacing: -.01em; }
.cr-step p { margin-top: 6px; color: var(--ink2); font-size: 15px; }
.cr-more { display: inline-block; margin-top: 4px; color: var(--primary); font-weight: 600; text-decoration: none; border-radius: 4px; }
.cr-more:hover { text-decoration: underline; }
.cr-more:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* How to join: one white card, intro + CTA on the left, a vertical path on the
   right — a different shape from the three columns above, so the two step
   sections don't read as a repeat. */
.cr-join { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: clamp(28px, 5vw, 56px); }
.cr-join-intro p { margin: 10px 0 24px; color: var(--ink2); }
.cr-path { list-style: none; }
.cr-path li { position: relative; display: flex; gap: 18px; padding-bottom: 28px; }
.cr-path li:last-child { padding-bottom: 0; }
.cr-path li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; border-radius: 1px; background: var(--primary-line); }
.cr-dot { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); border: 2px solid var(--primary-line); color: var(--primary); font-weight: 800; font-size: 15px; }
.cr-path h3 { font-size: 18px; letter-spacing: -.01em; padding-top: 5px; }
.cr-path p { margin-top: 4px; color: var(--ink2); font-size: 15px; }

.cr-code {font-weight: 700; color: var(--ink); background: var(--sunken); border-radius: 6px; padding: 1px 6px; font-size: .92em; letter-spacing: .02em; white-space: nowrap; }

/* Ground rules: the consequences stay visible as one strip; the 9 rules and
   the full warning sit in a native <details> (works without JS) so the
   section stays short. */
.cr-warn-strip { margin-top: 14px; max-width: 46em; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border-left: 5px solid var(--danger); box-shadow: var(--shadow-soft); color: var(--ink2); }
.cr-warn-strip b { color: var(--ink); font-weight: 700; }
.cr-rules-more { margin-top: 14px; }
.cr-rules-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--primary); font-weight: 700; list-style: none; border-radius: 6px; }
.cr-rules-more summary::-webkit-details-marker { display: none; }
.cr-rules-more summary::after { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); font-size: 16px; line-height: 1; }
.cr-rules-more[open] summary::after { content: '−'; }
.cr-rules-more summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.cr-rules-intro { margin-top: 10px; max-width: 40em; color: var(--ink2); }
.cr-rule-list { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.cr-rule-list li { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-soft); padding: 18px 20px; color: var(--ink2); font-size: 15px; }
.cr-rule-list li b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 16px; }
.cr-warn { margin-top: 16px; border-radius: var(--r-lg); background: var(--ink); color: rgba(255, 255, 255, .85); padding: clamp(24px, 4vw, 36px); border-left: 6px solid var(--danger); }
.cr-warn h3 { color: #fff; font-size: 20px; letter-spacing: -.01em; }
.cr-warn p { margin-top: 10px; max-width: 60ch; }
.cr-warn ul { margin-top: 10px; padding-left: 20px; }
.cr-warn li { margin-top: 6px; }
.cr-warn b { color: #fff; }
.cr-updated { margin-top: 24px; font-size: 13px; color: var(--ink2); }

/* FAQ: topic chips + one list. Without JS every answer stays open and the
   chips stay hidden; creators.js adds .cr-js to collapse them. */
.cr-faq { max-width: 760px; scroll-margin-top: var(--hdr-h); }
.cr-chips { display: none; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; }
.cr-js .cr-chips { display: flex; }
.cr-chip {
  height: 36px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .16s ease-out, color .16s ease-out, border-color .16s ease-out;
}
.cr-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cr-chip:active { transform: scale(.97); }
.cr-chip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.cr-qa { border-bottom: 1px solid var(--line); }
.cr-qa[hidden] { display: none; }
.cr-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; background: none; border: 0; color: var(--ink); text-align: left;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.4; cursor: pointer;
}
.cr-q:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }
.cr-grp { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); margin-bottom: 2px; }
.cr-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sunken); position: relative; transition: background-color .2s ease-out; }
.cr-icon::before, .cr-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink2); transition: transform .22s var(--ease-out); }
.cr-icon::after { transform: rotate(90deg); }
.cr-qa[data-open] .cr-icon { background: var(--primary-soft); }
.cr-qa[data-open] .cr-icon::after { transform: rotate(0deg); }
.cr-qa[data-open] .cr-icon::before, .cr-qa[data-open] .cr-icon::after { background: var(--primary); }
.cr-a { display: grid; grid-template-rows: 1fr; }
.cr-js .cr-a { grid-template-rows: 0fr; transition: grid-template-rows .24s var(--ease-out); }
.cr-js .cr-qa[data-open] .cr-a { grid-template-rows: 1fr; }
.cr-a > div { overflow: hidden; }
.cr-a p { color: var(--ink2); padding: 0 44px 20px 0; max-width: 62ch; }
.cr-a p + p { margin-top: -8px; }
.cr-a strong { color: var(--ink); font-weight: 600; }
.cr-a a { color: var(--primary); font-weight: 600; text-decoration: none; border-radius: 4px; }
.cr-a a:hover { text-decoration: underline; }
.cr-a a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Closing band */
.cr-band { position: relative; overflow: hidden; margin-top: clamp(64px, 10vw, 112px); border-radius: 32px; background: var(--primary); background-image: var(--brand-sheen); color: #fff; padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 72px); text-align: center; }
.cr-band h2 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.03em; font-weight: 800; line-height: 1.08; }
.cr-band p { margin: 14px auto 26px; max-width: 30em; color: rgba(255, 255, 255, .85); }
/* The paused o, as a quiet watermark. */
.cr-band .cr-o { position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .08); }
.cr-band .cr-o::before, .cr-band .cr-o::after { content: ''; position: absolute; top: 50%; width: 16px; height: 64px; margin-top: -32px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.cr-band .cr-o::before { left: 38%; }
.cr-band .cr-o::after { right: 38%; }

/* Entrance: hero and cards rise once on load. */
.cr-rise { animation: cr-rise .42s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes cr-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .cr-deal, .cr-steps, .cr-tiers, .cr-rule-list { grid-template-columns: 1fr; }
  .cr-tiers li:nth-child(n) { padding-top: 22px; }
  .cr-steps { gap: 22px; }
  .cr-join { grid-template-columns: 1fr; gap: 28px; }
  .cr-join-intro p { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-rise { animation: none; }
  .cr-js .cr-a, .cr-icon, .cr-icon::before, .cr-icon::after, .cr-chip, .cr-btn { transition: none; }
}
