/* /earn/ fresh look (owner, 2026-11-23). Builds on v3.css (tokens, .b3, .l3, .s3, .s3-head, .ic3, .ticks3).
   The p3-* pieces (opening, cards, steps, split, questions, closing) are shared: /earn/<field>/ and /mentors/ load this
   file too, then their own. e3-* is only for /earn/. */

/* ---------- shared: the opening ---------- */
.p3-hero { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); background:
  radial-gradient(560px 340px at -6% -10%, rgba(26, 115, 232, .14), transparent 75%),
  radial-gradient(520px 320px at 106% -6%, rgba(251, 188, 4, .13), transparent 75%), #fff; }
.p3-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.p3-hero--c .p3-hero__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.p3-hero__text { min-width: 0; }
.p3-hero--c .p3-hero__text { display: flex; flex-direction: column; align-items: center; }
.p3-kick { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line3); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.p3-kick__ic { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-s); color: var(--blue-t); }
.p3-kick__ic svg { width: 14px; height: 14px; }
html[data-theme="light"] main .p3-hero h1 { margin-top: 18px; max-width: 12em; color: var(--ink); font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.p3-sub { margin-top: 18px; max-width: 34em; color: var(--ink-2); font-size: clamp(16.5px, 1.35vw, 18.5px); line-height: 1.6; }
.p3-sub b { color: var(--ink); font-weight: 600; }
.p3-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.p3-hero--c .p3-actions { justify-content: center; }
.p3-hero .p3-actions { margin-top: 26px; }

/* the link box, as on home: a white pill with a blue edge */
.p3-claim { margin-top: 26px; width: min(500px, 100%); }
.claim-wrap.p3-claim { align-items: stretch; gap: 0; }
.p3-claim .claim__note { justify-content: flex-start; text-align: left; }
.p3-hero--c .p3-claim .claim__note { justify-content: center; text-align: center; padding-left: 0; }
html body .p3-claim .claim { width: 100%; height: 54px; padding: 5px 5px 5px 20px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 10px 30px -14px rgba(26, 115, 232, .35); }
html body .p3-claim .claim:focus-within { box-shadow: 0 0 0 3px var(--blue), 0 10px 30px -14px rgba(26, 115, 232, .4); }
html body .p3-claim .claim.is-ok { box-shadow: 0 0 0 2px #1E8E3E; }
html body .p3-claim .claim.is-no { box-shadow: 0 0 0 2px #D93025; }
.p3-claim .claim input:focus-visible { outline: 0 !important; }
.p3-go { flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.p3-go:hover { background: #1765CC; box-shadow: 0 6px 16px -6px rgba(26, 115, 232, .55); }
.p3-claim .claim__note { margin-top: 12px; padding-left: 20px; color: var(--ink-2); font-size: 13.5px; }
.p3-claim .claim__note a { color: var(--blue-t); font-weight: 600; }
.p3-claim .claim__try { padding-left: 20px; }

/* small green ticks in a row */
.p3-checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.p3-hero--c .p3-checks { justify-content: center; }
.p3-checks li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.p3-checks li > span { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green-s); color: var(--green-t); }
.p3-checks li > span svg { width: 12px; height: 12px; }

/* a photo with small product cards on it */
.p3-pic, .p3-split__pic { position: relative; min-width: 0; }
.p3-pic > img { display: block; width: 100%; height: clamp(320px, 34vw, 480px); object-fit: cover; border-radius: 28px; }
.p3-float { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -20px rgba(32, 33, 36, .5), 0 0 0 1px rgba(0, 0, 0, .04); }
.p3-float .ic3 { width: 38px; height: 38px; border-radius: 12px; }
.p3-float b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.p3-float small { display: block; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.p3-float--tl { left: -22px; top: 36px; }
.p3-float--br { right: -18px; bottom: 40px; }
.p3-float--bl { left: 20px; bottom: 20px; }

/* ---------- shared: sections ---------- */
html[data-theme="light"] main .s3-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
html[data-theme="light"] main .s3-kick { color: var(--blue-t); }
.s3.p3-first { margin-top: clamp(48px, 6vw, 80px); }
.p3-note { margin-top: 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.p3-note .l3 { margin-right: 6px; }
.p3-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 5px; color: var(--blue-t); font-size: 14px; font-style: normal; font-weight: 600; }
.p3-more svg { width: 14px; height: 14px; transition: transform .2s ease; }

/* cards: icon tile, name, one line */
.p3-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p3-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p3-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p3-c { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line3); color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s var(--ease); }
.p3-c .ic3 { margin-bottom: 10px; }
.p3-c b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.p3-c p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.p3-c--soft { background: var(--soft); box-shadow: none; }
.p3-c--blue { background: var(--blue-s); box-shadow: none; }
.p3-c--blue .ic3 { background: #fff; }
a.p3-c:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #DADCE0, 0 16px 30px -22px rgba(32, 33, 36, .5); }
a.p3-c--blue:hover { box-shadow: 0 16px 30px -22px rgba(26, 115, 232, .6); }
a.p3-c:hover .p3-more svg { transform: translateX(3px); }

/* steps: a plain number in a small rounded square */
.p3-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p3-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p3-steps li { position: relative; padding: 24px; border-radius: 22px; background: var(--soft); }
.p3-steps__n { position: absolute; right: 20px; top: 20px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; box-shadow: var(--sh-1); }
.p3-steps b { display: block; margin-top: 16px; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.p3-steps p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* a numbered list (plan, join steps) */
.p3-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.p3-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line3); color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.p3-list__n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--blue-s); color: var(--blue-t); font-size: 14px; font-weight: 600; }
.p3-list b { display: block; font-weight: 600; }
.p3-list small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.p3-list li > span:last-child { padding-top: 2px; min-width: 0; }

/* text beside a photo */
.p3-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.p3-split--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.p3-split__pic > img { display: block; width: 100%; height: 460px; object-fit: cover; border-radius: 28px; }
.p3-ticks { margin-top: 24px; }

/* questions */
.p3-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.p3-faq .s3-head p .l3 { display: inline; }
.p3-faq__list { display: flex; flex-direction: column; }
.p3-q { border-bottom: 1px solid var(--line3); }
.p3-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.p3-q summary::-webkit-details-marker { display: none; }
.p3-q summary svg { flex: none; color: var(--ink-2); transition: transform .2s ease; }
.p3-q[open] summary svg { transform: rotate(45deg); }
.p3-q p { padding: 0 32px 20px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* the closing: a photo and one action */
.p3-close { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: 14px; border-radius: 32px; background: var(--soft); }
.p3-close__pic { position: relative; min-height: 300px; height: 100%; overflow: hidden; border-radius: 22px; }
.p3-close__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p3-close__w { padding: 24px 32px 24px 0; }
html[data-theme="light"] main .p3-close h2 { color: var(--ink); font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.p3-close p { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.p3-close .p3-actions { margin-top: 24px; }

/* ---------- /earn/ only ---------- */
/* every field, grouped */
.e3-groups { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.e3-group h3 { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.e3-fields { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.e3-field { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line3); color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, background-color .2s ease; }
.e3-field:hover { background: var(--soft); box-shadow: inset 0 0 0 1px #DADCE0; }
.e3-field__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-s); color: var(--blue-t); }
.e3-group:nth-child(2) .e3-field__ic { background: var(--green-s); color: var(--green-t); }
.e3-group:nth-child(3) .e3-field__ic { background: var(--yellow-s); color: var(--yellow-t); }
.e3-group:nth-child(4) .e3-field__ic { background: var(--red-s); color: var(--red-t); }
.e3-field > span:nth-child(2) { flex: 1; min-width: 0; }
.e3-field b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.e3-field small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.e3-field > svg { flex: none; width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s ease, color .2s ease; }
.e3-field:hover > svg { color: var(--blue-t); transform: translateX(3px); }

/* what could you earn */
.e3-calc { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.e3-calc__in { display: flex; flex-direction: column; gap: 26px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line3); }
.e3-calc__group { display: flex; flex-direction: column; gap: 10px; }
.e3-calc__label { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.e3-calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.e3-calc__out { color: var(--ink); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.e3-calc__kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.e3-chip { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #DADCE0; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.e3-chip:hover { background: var(--soft); }
.e3-chip[aria-pressed="true"] { background: var(--blue-s); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue-t); }
.e3-chip:focus-visible { outline: 3px solid #A8C7FA; outline-offset: 2px; }
.e3-range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
.e3-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(var(--blue), var(--blue)) 0 / var(--p) 100% no-repeat, #E8EAED; }
.e3-range::-moz-range-track { height: 6px; border-radius: 999px; background: #E8EAED; }
.e3-range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--blue); }
.e3-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 4px rgba(32, 33, 36, .35); }
.e3-range::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 4px rgba(32, 33, 36, .35); }
.e3-range:focus-visible { outline: 3px solid #A8C7FA; outline-offset: 4px; border-radius: 6px; }
.e3-calc__ends { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12.5px; }
.e3-calc__res { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: 24px; background:
  radial-gradient(420px 260px at 100% 0%, rgba(52, 168, 83, .14), transparent 72%), var(--blue-s); }
.e3-calc__big { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.e3-calc__big span { color: var(--ink); font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.e3-calc__big small { color: var(--ink-2); font-size: 17px; }
.e3-calc__dream { margin-top: 8px; min-height: 1.5em; color: var(--blue-t); font-size: 17px; font-weight: 500; transition: opacity .2s ease; }
.e3-calc__dream.is-swap { opacity: 0; }
.e3-calc__facts { margin: 20px 0 24px; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.e3-calc__facts div { padding: 12px 14px; border-radius: 14px; background: #fff; }
.e3-calc__facts span { display: block; color: var(--ink-2); font-size: 12.5px; }
.e3-calc__facts b { display: block; margin-top: 2px; color: var(--ink); font-size: 15px; font-weight: 600; }
.e3-calc__note { margin-top: 14px; color: var(--ink-2); font-size: 13px; line-height: 1.55; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .p3-grid--4, .p3-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e3-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .p3-hero__in, .p3-split, .p3-split--flip, .p3-close, .e3-calc { grid-template-columns: minmax(0, 1fr); }
  .p3-split > .p3-split__pic { order: 2; }
  .p3-split__pic > img { height: 380px; }
  .p3-float--tl { left: 14px; } .p3-float--br { right: 14px; }
  .p3-faq { grid-template-columns: 1fr; gap: 12px; }
  .p3-close__pic { min-height: 260px; }
  .p3-close__w { padding: 8px 14px 18px; }
}
@media (max-width: 640px) {
  .p3-grid, .p3-grid--4, .p3-grid--2, .p3-steps, .p3-steps--4, .e3-fields { grid-template-columns: minmax(0, 1fr); }
  .p3-pic > img { height: 300px; border-radius: 22px; }
  .p3-split__pic > img { height: 260px; border-radius: 22px; }
  .p3-float--tl { top: 14px; left: 12px; }
  .p3-float--br { bottom: 14px; right: 12px; }
  .p3-float { padding: 8px 12px 8px 8px; border-radius: 14px; }
  .p3-float .ic3 { width: 32px; height: 32px; }
  html body .p3-claim .claim { height: auto; flex-wrap: wrap; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 24px; }
  .p3-claim .claim input { min-height: 40px; }
  .p3-go { width: 100%; height: 48px; }
  .p3-claim .claim__note { padding-left: 4px; }
  .p3-c, .p3-steps li { padding: 20px; }
  .p3-close { padding: 10px; border-radius: 24px; }
  .p3-close__pic { min-height: 200px; border-radius: 18px; }
  .e3-calc__in, .e3-calc__res { padding: 20px; }
  .e3-calc__facts { grid-template-columns: minmax(0, 1fr); }
  .e3-calc__res .b3 { width: 100%; }
}
/* phones: cards and steps read as compact rows, icon on the left */
@media (max-width: 640px) {
  .p3-c { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 14px; row-gap: 2px; padding: 16px; border-radius: 18px; }
  .p3-c .ic3 { grid-row: span 3; margin: 0; width: 40px; height: 40px; border-radius: 12px; }
  .p3-c > :not(.ic3) { grid-column: 2; }
  .p3-c b { font-size: 16px; }
  .p3-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 16px 52px 16px 16px; border-radius: 18px; }
  .p3-steps li .ic3 { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
  .p3-steps b { margin-top: 0; font-size: 16px; }
  .p3-steps p { grid-column: 2; margin-top: 2px; }
  .p3-steps__n { right: 14px; top: 14px; width: 28px; height: 28px; font-size: 14px; }
  .p3-grid, .p3-steps { margin-top: 24px; gap: 10px; }
}
