/* Who it's for: the list on /earn/#who and the pages at /earn/<field>/ (owner, 2026-10-28) */

/* where you are: Earn / Who it's for / Design */
.uc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; font-size: 14px; color: var(--text-3); }
.uc-crumb a { color: var(--text-2); transition: color var(--t-fast) ease; }
.uc-crumb a:hover { color: var(--text); }

/* opening: the words on the left, their page as it would look on the right */
/* owner 2026-11-05 ("move the content up", then "still its not coming in one section, need to scroll to see"): the
   whole opening fits the first screen on computers. The picture is as tall as the screen allows (not a square), and
   the words sit in its middle. */
.uc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 20px 0 var(--section-gap); }
.uc-hero > .media { aspect-ratio: auto; height: clamp(440px, calc(100svh - var(--header) - 104px), 640px); }
.uc-hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 580px; }
.uc-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 16px; font-weight: 500; }
.uc-hero h1 { font-size: clamp(38px, 3.9vw, 56px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
.uc-lead { color: var(--text-2); font-size: 18px; line-height: 1.5; }
.uc-hero .claim-wrap { align-items: flex-start; margin-top: 4px; }
.uc-ticks { margin-top: -2px; gap: 10px 20px; font-size: 14.5px; }

/* the field icon in a soft round tile */
.uc-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--r-tile); background: var(--surface-2); color: var(--text); }
.uc-eyebrow .uc-ic { width: 32px; height: 32px; border-radius: var(--r-tile); }
.uc-av { color: #fff; }
.uc-av svg { width: 22px; height: 22px; }

/* what people already ask: message bubbles, one after another */
.uc-bubbles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; max-width: 1080px; }
.uc-bubble { max-width: 100%; padding: 18px 22px; border-radius: var(--r-pop) var(--r-pop) var(--r-pop) var(--r-tag); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 19px; line-height: 1.4; letter-spacing: 0; }
.uc-bubble:nth-child(even) { background: var(--surface-2); }

/* what they can sell: four offers, each drawn as the buyer sees it */
.uc-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.uc-offer { gap: 0; }
.uc-offer .mini { padding: 7%; }
.uc-kind { margin-top: 20px; color: var(--text-3); font-size: 14px; font-weight: 500; }
.uc-offer .card__title { margin-top: 4px; }
.uc-offer .card__text { margin-top: 6px; }

/* a good way to start: numbered, like the mentor steps */
.uc-plan { margin: 6px 0 0; padding: 0; }
.uc-plan li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; line-height: 1.5; }
.uc-plan li:last-child { border-bottom: 1px solid var(--line); }
/* the steps are dice (the .dice list in paiir.css) */
.uc-plan li::before { margin-top: 1px; }
.uc-fact { min-height: 0; }
.uc-fact h3 { margin-top: 0; }
/* the moment at the top of a Good to know card: icon, what happened, a green tick */
.uc-moment { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 11px 14px 11px 11px; border-radius: var(--r-pop); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.uc-moment .card-ic { margin: 0; }
.uc-moment > span:not(.card-ic) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uc-moment b { color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-moment em { color: var(--text-3); font-size: 13px; font-style: normal; line-height: 1.3; }
.uc-moment .gtick { margin-left: auto; }

/* fields in a list: icon, name, one line, arrow */
.uc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.uc-tile { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px 14px 14px; border-radius: var(--r-pop); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--t-fast) ease, transform var(--t) var(--ease); }
.uc-tile:hover { background: var(--surface-2); }
.uc-tile:hover .uc-tile__go { transform: translateX(3px); color: var(--text); }
.uc-tile .uc-ic { background: var(--surface-3); }
.uc-tile__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.uc-tile__t b { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.uc-tile__t span { color: var(--text-3); font-size: 14px; line-height: 1.4; }
.uc-tile__go { flex: none; color: var(--text-3); transition: transform var(--t) var(--ease), color var(--t-fast) ease; }

/* the list on /earn/: four groups */
.uc-group { margin-top: 40px; }
.uc-group__t { color: var(--text-2); font-size: 16px; font-weight: 500; }
.uc-group .uc-tiles { margin-top: 14px; }
.uc-more { margin-top: 36px; color: var(--text-2); font-size: 16px; }

@media (max-width: 1100px) {
  .uc-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .uc-crumb { padding-top: 20px; }
  .uc-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 28px 0 var(--section-gap); }
  .uc-hero > .media { height: auto; aspect-ratio: 1 / 1; }
  .uc-ticks { flex-direction: column; }
  .uc-lead { font-size: 17px; }
  .uc-bubble { font-size: 17px; padding: 15px 18px; }
}
@media (max-width: 640px) {
  .uc-offers, .uc-tiles { grid-template-columns: minmax(0, 1fr); }
  .uc-offer .mini { padding: 9%; }
}

/* owner 2026-11-05 ("fix the icons everywhere"): the icon sits in the middle of its tile, in a soft colour of its own */
.card-ic { display: grid; place-items: center; }
.card-ic svg { display: block; }
html[data-theme="light"] .uc-moment[data-ic="link"] .card-ic { background: #E8F0FE; color: #1A73E8; }
html[data-theme="light"] .uc-moment[data-ic="rupee"] .card-ic { background: #EDF3EC; color: #448361; }
html[data-theme="light"] .uc-moment[data-ic="video"] .card-ic { background: #FBECDD; color: #D9730D; }
