:root {
  --midnight: #071a2b;
  --navy: #1b4564;
  --mint: #2ef2a0;
  --mint-deep: #0d9c6e;
  --lime: #c8ff3d;
  --coral: #ff9273;
  --ice: #f2f8ff;
  --surface: #ffffff;
  --panel: #e6f0f5;
  --slate: #6f8799;
  --border: #d7e4ea;
  --danger: #c83c50;
  --shadow-sm: 0 8px 24px rgba(7, 26, 43, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 26, 43, 0.22);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --safe-bottom: max(12px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
html { color-scheme: light; background: #dce8ee; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--midnight);
  background:
    radial-gradient(circle at 16% 18%, rgba(46, 242, 160, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 82%, rgba(255, 146, 115, 0.22), transparent 24rem),
    #dce8ee;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(390px, 430px);
  justify-content: center;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: 42px;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button, [tabindex="0"] { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid rgba(27, 69, 100, 0.42);
  outline-offset: 3px;
}
.screen h1[tabindex="-1"]:focus { outline:none; }
button:active { opacity: 0.78; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 4px; color: var(--navy); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: 0.12em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; letter-spacing: -0.035em; }

.prototype-notes { align-self: center; max-width: 330px; }
.prototype-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 52px; color: var(--midnight); font-family: Sora; font-size: 25px; letter-spacing: 0.08em; }
.prototype-brand b { color: var(--mint-deep); }
.prototype-notes h1 { font-size: clamp(36px, 4vw, 58px); line-height: 1.02; margin: 12px 0 20px; }
.prototype-notes > p:not(.eyebrow):not(.prototype-size) { color: var(--navy); font-size: 16px; line-height: 1.65; }
.prototype-key { display: grid; gap: 12px; margin: 36px 0; color: var(--navy); font-size: 13px; font-weight: 600; }
.prototype-key span { display: flex; align-items: center; gap: 10px; }
.key-dot { display: block; width: 11px; height: 11px; border-radius: 999px; }
.key-dot.mint { background: var(--mint); } .key-dot.lime { background: var(--lime); } .key-dot.coral { background: var(--coral); }
.prototype-size { color: var(--slate); font-size: 12px; }
.mini-loop { position: relative; width: 42px; height: 38px; }
.mini-loop::before { content: ""; position: absolute; inset: 7px 9px; border: 3px solid var(--navy); border-radius: 40%; transform: rotate(-9deg); }
.mini-loop i, .pasa-loop i { position: absolute; display: block; border-radius: 999px; }
.mini-loop i { width: 9px; height: 9px; background: var(--mint-deep); }
.mini-loop i:nth-child(1) { left: 0; top: 13px; background: var(--coral); }.mini-loop i:nth-child(2) { left: 13px; top: 0; }.mini-loop i:nth-child(3) { right: 0; top: 9px; background: var(--lime); }.mini-loop i:nth-child(4) { right: 8px; bottom: 0; }.mini-loop i:nth-child(5) { left: 8px; bottom: 2px; background: var(--navy); }

.device { position: relative; width: min(430px, 100vw); height: min(900px, calc(100dvh - 40px)); min-height: 720px; background: var(--ice); border: 10px solid var(--midnight); border-radius: 48px; overflow: hidden; box-shadow: var(--shadow-lg); }
.device-notch { position: absolute; top: 0; left: 50%; z-index: 50; transform: translateX(-50%); width: 122px; height: 26px; background: var(--midnight); border-radius: 0 0 18px 18px; pointer-events: none; }
.app-viewport { position:absolute;inset:0 0 76px;overflow:hidden;background:var(--ice);transition:bottom 220ms ease; }
.app-viewport.is-flow { bottom:0; }
.screen { position: absolute; inset: 0; display: none; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 28px; background: var(--ice); scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.is-active { display: block; animation: screen-enter 260ms cubic-bezier(.2,.8,.2,1); }
.screen-content { padding: 0 20px 32px; }

.app-header { display: flex; align-items: center; justify-content: space-between; height: 78px; padding: 22px 20px 8px; background: rgba(242,248,255,.9); backdrop-filter: blur(12px); }
.brand-lockup { display: flex; align-items: center; gap: 9px; color: var(--midnight); text-decoration: none; font-family: Sora; font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.brand-lockup b { color: var(--mint-deep); }
.pasa-loop { position: relative; display: block; width: 30px; height: 27px; }
.pasa-loop::before { content: ""; position: absolute; inset: 5px 6px; border: 2px solid var(--navy); border-radius: 40%; transform: rotate(-9deg); }
.pasa-loop i { width: 7px; height: 7px; background: var(--mint); }
.pasa-loop i:nth-child(1) { left: 0; top: 9px; background: var(--coral); }.pasa-loop i:nth-child(2) { left: 10px; top: 0; }.pasa-loop i:nth-child(3) { right: 0; top: 7px; background: var(--lime); }.pasa-loop i:nth-child(4) { right: 6px; bottom: 0; }.pasa-loop i:nth-child(5) { left: 6px; bottom: 1px; background: var(--navy); }
.icon-button { position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease; }
.icon-button:hover { background: var(--panel); }
.notification-dot { position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: var(--coral); }
.icon-button.light { color: white; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.12); }

.welcome-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 16px; }
.welcome-row h1 { max-width: 300px; margin-bottom: 20px; font-size: 27px; line-height: 1.13; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border: 3px solid white; border-radius: 50%; color: var(--midnight); background: var(--coral); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 800; }
.avatar.large { width: 58px; height: 58px; font-size: 16px; }
.search-launch, .search-field { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 52px; padding: 0 14px; color: var(--navy); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 6px 20px rgba(7,26,43,.04); text-align: left; }
.search-launch span { flex: 1; color: var(--slate); font-size: 13px; }
.search-launch kbd { padding: 4px 7px; border: 1px solid var(--border); border-radius: 7px; color: var(--slate); background: var(--ice); font-size: 10px; }

.level-hero { position: relative; display: grid; grid-template-columns: 98px 1fr; min-height: 160px; margin: 18px 0 26px; padding: 22px 20px 18px 8px; overflow: hidden; border-radius: 26px; color: white; background: var(--midnight); box-shadow: 0 18px 34px rgba(7,26,43,.2); }
.level-hero::after { content: ""; position: absolute; right: -58px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(27,69,100,.65); }
.network-orbit { position: relative; z-index: 2; width: 92px; height: 110px; }
.orbit-ring { position: absolute; left: 10px; top: 19px; width: 72px; height: 72px; border: 1px solid rgba(46,242,160,.42); border-radius: 42% 58% 50% 50%; transform: rotate(24deg); animation: orbit 8s linear infinite; }
.node { position: absolute; z-index: 2; width: 13px; height: 13px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px rgba(46,242,160,.7); }
.node.n1 { left: 7px; top: 52px; background: var(--coral); }.node.n2 { left: 42px; top: 13px; }.node.n3 { right: 5px; top: 48px; background: var(--lime); }.node.n4 { left: 38px; bottom: 17px; }
.level-copy { position: relative; z-index: 3; align-self: center; min-width: 0; }
.level-topline { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.level-copy h2 { margin-bottom: 14px; font-size: 17px; line-height: 1.28; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(143,166,184,.25); }
.progress-track span { position:relative;display:block;height:100%;overflow:hidden;border-radius:inherit;background:linear-gradient(90deg,var(--mint),var(--lime)); }
.progress-track[data-animate-progress] span::after { content:"";position:absolute;inset:0;width:34%;opacity:0;background:linear-gradient(100deg,transparent 4%,rgba(255,255,255,.38) 38%,rgba(255,255,255,.98) 50%,rgba(255,255,255,.38) 62%,transparent 96%);filter:drop-shadow(0 0 5px rgba(255,255,255,.75));transform:translateX(-150%);will-change:transform,opacity; }
.progress-track[data-animate-progress].is-advancing span::after { animation:progress-forward 2.1s cubic-bezier(.4,0,.2,1) infinite; }
.level-copy > p { display: flex; flex-wrap: wrap; gap: 3px 7px; margin: 9px 0 0; color: #bcd0da; font-size: 9px; line-height: 1.35; }
.level-copy > p strong { color: white; }.level-copy > p span { width: 100%; color: var(--lime); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 13px; }
.section-heading h2 { margin: 0; font-size: 19px; line-height: 1.2; }
.section-heading.compact { margin-top: 26px; }
.text-button, .sort-button { min-height: 44px; padding: 0; border: 0; color: var(--navy); background: transparent; font-size: 12px; font-weight: 700; }
.category-row, .filter-row, .badge-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.category-row::-webkit-scrollbar, .filter-row::-webkit-scrollbar, .badge-row::-webkit-scrollbar { display: none; }
.category-chip { display: grid; flex: 0 0 78px; justify-items: center; gap: 7px; min-height: 82px; padding: 10px 5px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); font-size: 10px; font-weight: 700; }
.category-chip span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: var(--midnight); background: var(--mint); }
.category-chip:nth-child(2) span { background: var(--lime); }.category-chip:nth-child(3) span { background: var(--coral); }.category-chip:nth-child(4) span { color: white; background: var(--navy); }
.match-pill, .unlock-pill { padding: 6px 9px; border-radius: 999px; color: var(--midnight); background: var(--lime); font-size: 9px; font-weight: 800; }

.opportunity-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease; }
.opportunity-card:hover, .opportunity-card:focus-visible { border-color: var(--mint-deep); box-shadow: 0 12px 32px rgba(7,26,43,.13); }
.opportunity-visual { position: relative; display: flex; align-items: flex-end; height: 102px; padding: 13px 15px; overflow: hidden; color: var(--midnight); background: linear-gradient(120deg, var(--mint), var(--lime)); }
.opportunity-visual > span { position: relative; z-index: 2; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.visual-loop { position: absolute; right: 30px; top: -31px; width: 125px; height: 125px; border: 2px solid rgba(7,26,43,.16); border-radius: 44%; transform: rotate(25deg); }
.visual-loop::after { content: ""; position: absolute; inset: 18px; border: 2px solid rgba(7,26,43,.16); border-radius: 45%; }
.visual-loop i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); }.visual-loop i:nth-child(1) { left: -8px; top: 51px; background: var(--coral); }.visual-loop i:nth-child(2) { right: -7px; top: 42px; }.visual-loop i:nth-child(3) { right: 43px; bottom: -7px; background: var(--navy); }
.opportunity-body { padding: 15px; }
.sponsor-line { display: flex; align-items: center; gap: 6px; color: var(--navy); font-size: 10px; font-weight: 700; }
.sponsor-line svg { width: 14px; height: 14px; color: var(--mint-deep); }
.sponsor-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: white; background: var(--navy); font-size: 10px; font-weight: 800; }
.opportunity-body h3 { margin: 11px 0 6px; font-size: 17px; }
.opportunity-body > p { margin-bottom: 13px; color: var(--slate); font-size: 11px; line-height: 1.45; }
.opportunity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.opportunity-meta strong { margin-right: auto; color: var(--midnight); font-size: 13px; }.opportunity-meta span, .list-tags span { padding: 5px 7px; border-radius: 999px; color: var(--navy); background: var(--panel); font-size: 8px; font-weight: 700; }
.save-button { position: absolute; right: 12px; top: 82px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 13px; background: white; box-shadow: var(--shadow-sm); }
.save-button svg { width: 18px; }
.active-referral { display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 11px; margin-top: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: white; }
.active-icon, .compact-icon, .tracking-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--midnight); background: var(--coral); }
.active-referral h3 { margin: 0 0 3px; font-size: 12px; letter-spacing: -.02em; }.active-referral p:last-child { margin: 0; color: var(--slate); font-size: 9px; }.chevron { width: 17px; color: var(--slate); }

.page-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 40px 20px 16px; background: var(--ice); }
.page-header h1 { margin: 0; font-size: 25px; line-height: 1.15; }
.explore-content { padding-top: 5px; }
.search-field input { width: 100%; height: 50px; border: 0; outline: 0; color: var(--midnight); background: transparent; font-size: 13px; }
.filter-row { margin: 14px -20px 16px; padding-left: 20px; padding-right: 20px; }
.filter-pill { flex: 0 0 auto; min-width: 52px; min-height: 40px; padding: 0 15px; border: 1px solid var(--border); border-radius: 999px; background: white; font-size: 11px; font-weight: 700; }
.filter-pill.is-selected { color: var(--midnight); border-color: var(--mint); background: var(--mint); }
.results-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--slate); font-size: 10px; }
.results-heading strong { color: var(--midnight); }.sort-button { display: flex; align-items: center; gap: 2px; min-height: 40px; }.sort-button svg { width: 14px; transform: rotate(90deg); }
.opportunity-list { display: grid; gap: 12px; }
.list-card { display: grid; grid-template-columns: 104px 1fr; min-height: 174px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 6px 20px rgba(7,26,43,.05); }
.list-card[hidden] { display: none; }
.list-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; color: var(--midnight); background: var(--mint); }
.list-visual svg { width: 32px; height: 32px; }.list-visual span { font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.list-visual.deal { background: var(--lime); }.list-visual.job { color: white; background: var(--navy); }.list-visual.product { background: var(--coral); }
.list-body { min-width: 0; padding: 13px 12px; }
.list-body h2 { margin: 7px 0 4px; font-size: 14px; line-height: 1.2; }.list-body > p { margin-bottom: 9px; color: var(--slate); font-size: 9px; }
.list-tags { display: flex; flex-wrap: wrap; gap: 5px; }.list-tags .locked-tag { color: white; background: var(--navy); }
.reward-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 11px; }.reward-line strong { font-size: 11px; }.reward-line span { color: var(--slate); font-size: 8px; }
.list-card.locked { opacity: .78; }.list-card.locked .reward-line strong { color: var(--navy); }
.empty-state { padding: 58px 30px; text-align: center; }.empty-state h2 { margin: 20px 0 8px; }.empty-state p { color: var(--slate); font-size: 12px; }
.empty-loop { position: relative; width: 70px; height: 60px; margin: auto; border: 2px dashed var(--border); border-radius: 45%; }.empty-loop i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--slate); }.empty-loop i:nth-child(1){left:-5px;top:24px}.empty-loop i:nth-child(2){right:8px;top:-5px}.empty-loop i:nth-child(3){right:-5px;bottom:8px}

.detail-screen { padding-bottom: 104px; background: white; }
.detail-header { position: absolute; inset: 22px 16px auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; color: white; }.detail-header > span { font-size: 11px; font-weight: 700; }
.detail-hero { position: relative; min-height: 300px; padding: 98px 22px 26px; overflow: hidden; color: white; background: var(--midnight); }
.detail-hero::after { content:""; position:absolute; right:-90px; top:-50px; width:260px; height:260px; border-radius:50%; background:rgba(27,69,100,.7); }
.hero-network { position: absolute; inset: 0; opacity: .75; }.hero-network span { position: absolute; display: block; width: 170px; height: 2px; background: rgba(46,242,160,.35); transform-origin: left; }.hero-network span:nth-child(1){right:-20px;top:118px;transform:rotate(18deg)}.hero-network span:nth-child(2){right:30px;top:170px;transform:rotate(-35deg)}.hero-network span:nth-child(3){right:20px;top:205px;transform:rotate(42deg)}.hero-network i { position:absolute;width:18px;height:18px;border-radius:50%;background:var(--mint);box-shadow:0 0 24px rgba(46,242,160,.7)}.hero-network i:nth-of-type(1){right:36px;top:103px;background:var(--lime)}.hero-network i:nth-of-type(2){right:105px;top:167px}.hero-network i:nth-of-type(3){right:38px;top:225px;background:var(--coral)}
.category-badge { position: relative; z-index: 2; display: inline-block; padding: 7px 10px; border-radius: 99px; color: var(--midnight); background: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.detail-hero h1 { position: relative; z-index: 2; max-width: 280px; margin: 16px 0 20px; font-size: 31px; line-height: 1.08; }
.detail-sponsor { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }.detail-sponsor svg { width: 16px; color: var(--mint); }.detail-sponsor small { color: #bdd0d9; font-weight: 500; }
.detail-content { padding: 0 20px 28px; }
.reward-summary { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; min-height: 104px; margin: -20px 0 18px; padding: 18px; border: 1px solid var(--border); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }.reward-summary p { margin-bottom: 6px; color: var(--slate); font-size: 8px; font-weight: 800; letter-spacing: .09em; }.reward-summary strong { font-family: Sora; font-size: 31px; }.reward-status { display: grid; justify-items: center; gap: 5px; padding: 10px; border-radius: 15px; background: var(--lime); font-size: 8px; font-weight: 800; }.reward-status svg { width: 22px; }
.content-section { padding: 20px 0; border-bottom: 1px solid var(--border); }.content-section h2 { margin: 0; font-size: 17px; line-height: 1.4; }
.detail-facts { display: grid; gap: 10px; margin-top: 15px; }.detail-facts span { display: flex; align-items: center; gap: 9px; color: var(--navy); font-size: 11px; }.detail-facts svg { width: 18px; color: var(--mint-deep); }
.check-list { display: grid; gap: 11px; margin: 12px 0 0; padding: 0; list-style: none; }.check-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--navy); font-size: 11px; line-height: 1.45; }.check-list svg, .check-list li > span { flex: 0 0 auto; width: 19px; height: 19px; padding: 3px; border-radius: 50%; color: var(--midnight); background: var(--mint); stroke-width: 2.5; }.check-list li > span { display: grid; place-items:center; padding:0; background:var(--panel); font-size:8px; font-weight:800; }
.split-row { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; padding: 13px; border-radius: 14px; background: var(--panel); font-size: 11px; }.split-row strong { font-size: 18px; }.split-section > p:last-child { margin: 0; color: var(--slate); font-size: 9px; line-height: 1.5; }
.disclosure-row { display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 10px; width: 100%; min-height: 70px; margin-top: 12px; padding: 0; border: 0; text-align: left; background: transparent; }.disclosure-row > svg:first-child { color: var(--mint-deep); }.disclosure-row span { display: grid; gap: 3px; }.disclosure-row strong { font-size: 11px; }.disclosure-row small { color: var(--slate); font-size: 9px; }.disclosure-row > svg:last-child { width: 17px; color: var(--slate); }
.sticky-cta, .flow-footer { position: absolute; inset: auto 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 88px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }.sticky-cta > div { display: grid; gap: 2px; }.sticky-cta span { color: var(--slate); font-size: 8px; }.sticky-cta strong { font-family: Sora; font-size: 18px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 18px; border: 1px solid transparent; border-radius: 16px; font-size: 12px; font-weight: 800; transition: opacity 180ms ease, background 180ms ease, border-color 180ms ease; }.button svg { width: 18px; }.button.primary { color: var(--midnight); background: var(--mint); }.button.primary:hover { background: #25df94; }.button.secondary { color: var(--midnight); border-color: var(--border); background: white; }.button.ghost { color: var(--navy); background: transparent; }.button.full { width: 100%; }
.flow-header { justify-content: flex-start; }.flow-header .icon-button { flex: 0 0 auto; }.flow-header h1 { font-size: 21px; }
.flow-progress { display: flex; gap: 7px; padding: 0 20px 17px; }.flow-progress span { flex: 1; height: 4px; border-radius: 99px; background: var(--border); }.flow-progress span.active { background: var(--mint); }
.refer-content, .confirm-content { padding-bottom: 116px; }
.compact-opportunity { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 18px; background: white; }.compact-icon { width: 48px; height: 48px; background: var(--mint); }.compact-opportunity > div:last-child { display: grid; gap: 3px; }.compact-opportunity span, .compact-opportunity small { color: var(--slate); font-size: 9px; }.compact-opportunity strong { font-family: Sora; font-size: 12px; }
.method-fieldset { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; border: 0; }.method-fieldset legend { margin-bottom: 11px; font-family: Sora; font-size: 16px; font-weight: 600; }.method-card { position: relative; display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 12px; min-height: 82px; padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: white; cursor: pointer; }.method-card:has(input:checked) { border-color: var(--mint-deep); box-shadow: 0 0 0 2px rgba(46,242,160,.18); }.method-card input { position: absolute; opacity: 0; }.method-icon { display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--panel); }.method-card > span:nth-of-type(2) { display: grid; gap: 4px; }.method-card strong { font-size: 11px; }.method-card small { color: var(--slate); font-size: 9px; line-height: 1.35; }.method-card i { width: 19px; height: 19px; border: 2px solid var(--border); border-radius: 50%; }.method-card:has(input:checked) i { border: 5px solid var(--mint-deep); }
.privacy-note { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 16px; color: var(--navy); background: rgba(46,242,160,.1); }.privacy-note svg { color: var(--mint-deep); }.privacy-note p { margin: 0; font-size: 9px; line-height: 1.45; }
.form-field { display: grid; gap: 8px; margin-bottom: 17px; }.form-field > span { font-size: 11px; font-weight: 700; }.form-field small { margin-left: 5px; color: var(--slate); font-weight: 500; }.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--border); border-radius: 15px; color: var(--midnight); background: white; font-size: 13px; }.form-field input { height: 50px; padding: 0 14px; }.form-field textarea { resize: none; padding: 14px; line-height: 1.5; }
.message-preview { overflow: hidden; margin: 4px 0 17px; padding: 15px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, white, #edf9f5); }.preview-top { display: flex; align-items: center; gap: 9px; }.preview-top > div { display:grid;gap:2px }.preview-top small { color: var(--slate); font-size: 8px; }.message-preview > p { margin: 14px 0 5px; color: var(--slate); font-size: 9px; }.message-preview > div:nth-of-type(2) { display:flex;align-items:baseline;gap:6px }.message-preview > div:nth-of-type(2) strong { font-family:Sora;font-size:23px }.message-preview > div:nth-of-type(2) span { color:var(--slate);font-size:8px }.preview-link { display:block;margin-top:12px;padding:10px;border-radius:10px;color:var(--navy);background:white;font-size:9px;font-weight:700; }
.consent-check { position:relative;display:grid;grid-template-columns:22px 1fr;gap:9px;align-items:flex-start;color:var(--navy);font-size:9px;line-height:1.45;cursor:pointer }.consent-check input { position:absolute;opacity:0 }.custom-check { display:grid;place-items:center;width:21px;height:21px;border:1px solid var(--border);border-radius:7px;background:white }.consent-check input:checked + .custom-check { color:var(--midnight);border-color:var(--mint);background:var(--mint) }.custom-check svg { width:14px;stroke-width:2.5 }

.success-screen { color:white;background:var(--midnight); }.success-content { display:flex;flex-direction:column;align-items:center;min-height:100%;padding:92px 24px 42px;text-align:center;background:radial-gradient(circle at 50% 26%,rgba(46,242,160,.19),transparent 13rem) }.success-loop { position:relative;width:128px;height:120px;margin-bottom:24px;border:2px solid rgba(46,242,160,.38);border-radius:42%;transform:rotate(9deg);animation:success-float 4s ease-in-out infinite }.success-loop::before { content:"";position:absolute;inset:18px;border:1px solid rgba(200,255,61,.24);border-radius:45%; }.success-loop i { position:absolute;width:22px;height:22px;border-radius:50%;background:var(--mint);box-shadow:0 0 25px rgba(46,242,160,.68) }.success-loop i:nth-child(2){left:-10px;top:48px;background:var(--coral)}.success-loop i:nth-child(3){left:44px;top:-11px}.success-loop i:nth-child(4){right:-10px;top:39px;background:var(--lime)}.success-loop i:nth-child(5){right:24px;bottom:-9px}.success-loop i:nth-child(6){left:17px;bottom:0;background:var(--navy);border:2px solid var(--mint)}.success-loop span { position:absolute;inset:36px;border-radius:50%;background:rgba(46,242,160,.12);animation:pulse 2.3s ease-out infinite }.success-content .eyebrow { color:var(--mint) }.success-content h1 { max-width:330px;margin:8px 0 13px;font-size:28px;line-height:1.15 }.success-content > p:not(.eyebrow) { max-width:320px;margin-bottom:25px;color:#bdd0d9;font-size:11px;line-height:1.55 }.referral-code { display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;width:100%;margin-bottom:14px;padding:15px 14px;border:1px solid rgba(255,255,255,.14);border-radius:17px;text-align:left;background:rgba(255,255,255,.06) }.referral-code span { color:#9fb6c2;font-size:8px;letter-spacing:.1em }.referral-code strong { font-size:16px }.referral-code button { grid-column:2;grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.14);border-radius:13px;color:white;background:rgba(255,255,255,.08) }.status-preview { display:grid;grid-template-columns:12px 1fr;gap:10px;align-items:center;width:100%;margin-bottom:25px;padding:13px 15px;border-radius:16px;color:var(--midnight);text-align:left;background:var(--mint) }.status-dot { width:9px;height:9px;border-radius:50%;background:var(--midnight);box-shadow:0 0 0 4px rgba(7,26,43,.12) }.status-preview div { display:grid;gap:2px }.status-preview strong { font-size:10px }.status-preview small { font-size:8px }.success-content .button { margin-top:9px }.success-content .button.ghost { color:white }

.activity-content { padding-top:5px }.summary-grid { display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin-bottom:16px }.summary-grid > div { display:grid;gap:4px;min-height:100px;padding:15px;border:1px solid var(--border);border-radius:18px;background:white }.summary-grid span { color:var(--slate);font-size:9px }.summary-grid strong { font-family:Sora;font-size:21px }.summary-grid small { color:var(--navy);font-size:8px }.segmented-control { display:grid;grid-template-columns:1.3fr 1fr .7fr;margin-bottom:14px;padding:4px;border-radius:14px;background:var(--panel) }.segmented-control button { min-height:40px;border:0;border-radius:11px;color:var(--slate);background:transparent;font-size:9px;font-weight:700 }.segmented-control button.is-selected { color:var(--midnight);background:white;box-shadow:0 3px 9px rgba(7,26,43,.08) }
.tracking-card { margin-bottom:12px;padding:15px;border:1px solid var(--border);border-radius:20px;background:white }.tracking-head { display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center }.tracking-icon { background:var(--mint) }.tracking-icon.deal { background:var(--lime) }.tracking-head span,.tracking-head p { margin:0;color:var(--slate);font-size:8px }.tracking-head h2 { margin:2px 0;font-size:12px }.tracking-head > strong { align-self:start;font-size:12px }.timeline { position:relative;display:grid;gap:0;margin:16px 0 0 17px }.timeline-step { position:relative;display:grid;grid-template-columns:24px 1fr;gap:10px;min-height:54px }.timeline-step:not(:last-child)::before { content:"";position:absolute;left:9px;top:18px;width:2px;height:37px;background:var(--border) }.timeline-step.complete:not(:last-child)::before { background:var(--mint) }.timeline-step i { position:relative;z-index:1;display:grid;place-items:center;width:20px;height:20px;border:2px solid var(--border);border-radius:50%;background:white }.timeline-step i svg { width:12px;stroke-width:2.5 }.timeline-step.complete i { border-color:var(--mint);background:var(--mint) }.timeline-step.active i { border:5px solid var(--mint-deep) }.timeline-step > div { display:grid;align-content:start;gap:3px }.timeline-step strong { font-size:9px }.timeline-step span { color:var(--slate);font-size:8px }.compact-status { display:grid;grid-template-columns:11px 1fr auto;gap:9px;align-items:center;margin-top:14px;padding:11px;border-radius:13px;background:var(--panel) }.pulse-dot { width:9px;height:9px;border-radius:50%;background:var(--mint-deep);box-shadow:0 0 0 4px rgba(46,242,160,.2) }.compact-status strong { font-size:9px }.compact-status p { margin:2px 0 0;color:var(--slate);font-size:8px }.compact-status small { color:var(--slate);font-size:8px }

.profile-content { padding-top:5px }.profile-hero { padding:18px;border-radius:24px;color:white;background:var(--midnight);box-shadow:0 15px 34px rgba(7,26,43,.18) }.profile-person { display:flex;align-items:center;gap:11px }.profile-person h2 { margin:0 0 4px;font-size:15px }.profile-person p { display:flex;align-items:center;gap:5px;margin:0;color:#bcd0da;font-size:8px }.profile-person svg { width:14px;color:var(--mint) }.profile-level { display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px }.profile-level > div:first-child { display:grid;gap:3px }.profile-level span { color:var(--mint);font-size:8px;font-weight:800;letter-spacing:.1em }.profile-level strong { font-family:Sora;font-size:25px }.level-ring { display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:conic-gradient(var(--mint) 72%,rgba(255,255,255,.14) 0);position:relative }.level-ring::before { content:"";position:absolute;inset:6px;border-radius:50%;background:var(--midnight) }.level-ring span { position:relative;z-index:1;color:white;font-size:9px;letter-spacing:0 }.level-caption { display:flex;justify-content:space-between;margin-top:8px;color:#bcd0da;font-size:8px }
.wallet-card { margin-top:13px;padding:16px;border:1px solid var(--border);border-radius:21px;background:white }.wallet-title { display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center }.wallet-icon { display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--lime) }.wallet-title > div { display:grid;gap:3px }.wallet-title span { color:var(--slate);font-size:8px }.wallet-title strong { font-family:Sora;font-size:19px }.wallet-breakdown { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0 }.wallet-breakdown span { display:grid;gap:3px;padding:10px;border-radius:12px;background:var(--panel) }.wallet-breakdown small { color:var(--slate);font-size:8px }.wallet-breakdown strong { font-size:11px }
.trust-card { display:grid;grid-template-columns:1fr 36px;align-items:center;margin-top:13px;padding:14px;border:1px solid var(--border);border-radius:20px;background:white }.trust-card > div { display:grid;grid-template-columns:55px 1fr;align-items:center;gap:10px }.trust-score { display:grid;place-items:center;width:55px;height:55px;border-radius:50%;color:var(--midnight);background:var(--mint);font-family:Sora;font-size:19px;font-weight:700 }.trust-card h2 { margin:1px 0 3px;font-size:13px }.trust-card p:last-child { margin:0;color:var(--slate);font-size:8px }.trust-card button { display:grid;place-items:center;width:36px;height:44px;border:0;background:transparent }.trust-card button svg { width:17px;color:var(--slate) }
.next-unlock,.badges-section { margin-top:13px;padding:16px;border:1px solid var(--border);border-radius:20px;background:white }.next-unlock .section-heading,.badges-section .section-heading { margin-top:0 }.check-list li.done svg { background:var(--mint) }.unlock-preview { display:flex;align-items:center;gap:11px;margin-top:15px;padding:12px;border-radius:14px;background:var(--midnight);color:white }.unlock-preview > svg { width:25px;color:var(--lime) }.unlock-preview strong { font-size:10px }.unlock-preview p { margin:3px 0 0;color:var(--lime);font-size:8px }.category-badge-card { display:grid;flex:0 0 106px;justify-items:start;gap:6px;padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--ice) }.category-badge-card > span { display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--mint) }.category-badge-card:nth-child(2)>span { background:var(--lime) }.category-badge-card:nth-child(3)>span { background:var(--panel) }.category-badge-card strong { font-size:9px }.category-badge-card small { color:var(--slate);font-size:8px }.category-badge-card.locked { opacity:.62 }

.bottom-nav { position:absolute;inset:auto 0 0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);height:76px;padding:7px 8px var(--safe-bottom);border-top:1px solid var(--border);background:rgba(255,255,255,.95);backdrop-filter:blur(16px);transition:transform 220ms ease }.bottom-nav.is-hidden { transform:translateY(110%) }.nav-item { display:grid;justify-items:center;align-content:center;gap:3px;min-width:48px;min-height:52px;padding:0;border:0;color:var(--slate);background:transparent;font-size:9px;font-weight:700 }.nav-item span { display:grid;place-items:center;width:38px;height:30px;border-radius:12px }.nav-item svg { width:20px }.nav-item.is-active { color:var(--midnight) }.nav-item.is-active span { background:var(--mint) }.refer-nav span { width:46px;height:42px;margin-top:-18px;color:var(--midnight);background:var(--lime);box-shadow:0 8px 18px rgba(141,183,24,.25) }.refer-nav.is-active span { background:var(--mint) }
.toast { position:absolute;left:50%;bottom:90px;z-index:90;max-width:calc(100% - 40px);padding:12px 16px;border-radius:14px;color:white;background:var(--midnight);box-shadow:var(--shadow-lg);font-size:10px;font-weight:700;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity 180ms ease,transform 180ms ease }.toast.is-visible { opacity:1;transform:translate(-50%,0) }

@keyframes screen-enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes orbit { to { transform: rotate(384deg); } }
@keyframes pulse { 0% { opacity:.6;transform:scale(.5) } 80%,100% { opacity:0;transform:scale(2.5) } }
@keyframes success-float { 50% { transform:rotate(5deg) translateY(-6px) } }

@media (max-width: 850px) {
  body { display:block; padding:0; background:var(--ice); }
  .prototype-notes,.device-notch { display:none; }
  .device { width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none; }
}
@media (min-width: 851px) and (max-height: 780px) {
  .device { height: calc(100dvh - 28px); min-height: 650px; }
  body { padding:14px 30px; }
  .prototype-notes { transform:scale(.9);transform-origin:right center }
}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 850px) {
  .device { max-width:none; }
  .app-header,.page-header { padding-top:14px; }
  .home-content,.explore-content,.activity-content,.profile-content { max-width:680px;margin:auto; }
}
@media (max-height: 720px) {
  .success-content { padding-top:44px;padding-bottom:max(20px,env(safe-area-inset-bottom)); }
  .success-loop { width:112px;height:104px;margin-bottom:16px; }
  .success-content h1 { margin-top:6px;margin-bottom:10px;font-size:25px; }
  .success-content > p:not(.eyebrow) { margin-bottom:18px; }
  .status-preview { margin-bottom:16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; }
  .progress-track[data-animate-progress] span::after { display:none; }
}

@keyframes progress-forward {
  0% { opacity:0;transform:translateX(-150%); }
  8% { opacity:1; }
  68% { opacity:1;transform:translateX(340%); }
  76%,100% { opacity:0;transform:translateX(340%); }
}
