/* Match. Kongi's design rules over the references below: borderless (cards, tiles, fields, chips and buttons set apart by
   a fill, never an outline; a ring only while a field is in use, a photo is selected, or red for an error), Title Case labels,
   no icon badges, no numbered steps. Every other value here is taken from a real page (measured in the browser) or a Mobbin capture (sampled from its pixels):
   - Colors: Kongi's (see :root).
   - Type, buttons, the sign-up card: Outlier's sign-up, app.outlier.ai (measured Nov 16): Inter; 40px pill buttons at 16/600;
     14/500 labels above fields; the card
     30px radius, 80px padding, a 3px gradient border (#81E9F3 → #E6AEE0 → #E6B6A9), white → #F0F0F0 inside, two columns 48px
     apart; title 48/600/60 at -0.4px; selling points 18/600/26; legal 12/16 with #CD2200 links; the page's pink/blue wash.
   - The signed-in layout and the labeling screen: Midjourney's image ranking (Mobbin, "Teaching Midjourney"): a left sidebar
     on #FDFDFD, the instruction centred above a progress track (#E4E5E6, fill #5F5F6F), "N of M" under it on the left and the
     keyboard hint on the right, caps text actions either side, large square images at ~16px radius, the chosen image ringed
     (2px #616A6E, 8px out).
   - A selected photo's check: Binance's "select all images" grid (Mobbin): a filled circle with a dark check, centred.
   - The test's answer bar: Uxcel (Mobbin): a full-width bar on #E7FFEC, "Correct!" in a 3px #389C3F pill, Continue in
     #2CAE3C at 8px radius. A wrong answer uses Outlier's own red (#CD2200) the same way. */
:root {
  /* Kongi's colors (konji.co's site/base.css): ink #0d0d0d, muted and hairlines from it, every fill --tile #f2f2f7 (#e5e5ea under
     the pointer), Konji green --forest #0e5b3f for the one thing to do and for right answers, --danger #d70015 for errors
     on the site's error tint rgba(255,59,48,.1), the page white. */
  --ink: #0d0d0d; --body: rgba(13, 13, 13, .64); --muted: rgba(13, 13, 13, .64); --page: #fff; --track: #e5e5ea; --fill: #0d0d0d;
  --ring: #0d0d0d; --green: #0e5b3f; --green-deep: #0b4c34; --link: #0e5b3f; --line: rgba(13, 13, 13, .1);
  --good: #0e5b3f; --good-btn: #0e5b3f; --good-bg: rgba(14, 91, 63, .08); --bad: #d70015; --bad-bg: rgba(255, 59, 48, .1); --well: #f2f2f7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { font: 400 14px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; color: var(--ink); background: var(--page);
  -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.muted { color: var(--muted); }
kbd { font: inherit; font-weight: 600; }

/* buttons (Outlier) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0;
  border-radius: 9999px; background: var(--well); font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #e5e5ea; }
.btn.primary { background: var(--green); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--green-deep); }
.btn:disabled { opacity: .4; cursor: default; }
.btn.wide { width: 100%; }
.text-link { color: var(--green); font-size: 16px; font-weight: 600; background: none; border: 0; cursor: pointer; }

/* fields (Outlier) */
.field { display: block; margin-top: 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--well);
  outline: none; font-size: 14px; }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.error { margin-top: 12px; color: var(--bad); font-size: 14px; }

/* sign-up (Outlier) */
.brand { display: block; padding: 20px 80px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.gate { max-width: 1151px; margin: 40px auto 80px; border-radius: 30px; background: var(--well); }
.gate-in { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding: 80px; }
.gate .field input, .gate .field select { background: #fff; }
.gate h1 { font-size: 48px; font-weight: 600; line-height: 60px; letter-spacing: -.4px; }
.points { list-style: none; margin-top: 32px; display: grid; gap: 20px; }
.points li { font-size: 18px; font-weight: 600; line-height: 26px; max-width: 420px; }
.legal { margin-top: 28px; font-size: 12px; line-height: 16px; }
.legal a { color: var(--link); }
.switch { margin-top: 24px; font-size: 14px; }
.switch .text-link { font-size: 14px; }

/* signed in: Midjourney's sidebar */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 16px 20px; }
.side .wordmark { padding: 0 12px 28px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 9999px; font-size: 14px; font-weight: 500;
  border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
.nav svg { width: 20px; height: 20px; flex: none; }
.nav:hover { background: rgba(0, 0, 0, .04); }
.nav.on { background: var(--well); color: var(--ink); font-weight: 600; }
.side .grow { flex: 1; }
.content { min-width: 0; }

/* the labeling screen: Midjourney's header */
.rank-head { display: grid; grid-template-columns: 160px 1fr 160px; align-items: center; gap: 0 24px; padding: 28px 40px 0; }
.rank-head .ask { grid-area: 1 / 2; text-align: center; font-size: 16px; margin-bottom: 10px; }
.rank-head .act { grid-area: 2 / 1; }
.rank-head .act.right { grid-area: 2 / 3; }
.rank-head .track { grid-area: 2 / 2; }
.rank-head .act { font-size: 13px; font-weight: 500; display: flex; gap: 8px; align-items: center;
  background: none; border: 0; cursor: pointer; }
.rank-head .act.right { justify-self: end; }
.track { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--fill); border-radius: 4px; min-width: 6px; transition: width .3s; }
.rank-head .under { grid-area: 3 / 2; display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; }
.rank-head .under b { font-weight: 600; }

.board { display: grid; grid-template-columns: minmax(240px, 30%) 1fr; gap: 40px; padding: 40px 40px 140px; }
.ref { position: sticky; top: 24px; align-self: start; }
.ref img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--well); border-radius: 16px; display: block; }
.caption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.tile { position: relative; cursor: pointer; border-radius: 24px; padding: 10px; outline: none; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--well); border-radius: 16px; display: block; }
.tile:focus-visible { box-shadow: inset 0 0 0 2px var(--ring); }
.tile.on { box-shadow: inset 0 0 0 2px var(--ring); }
.tile .tick { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .12s; pointer-events: none; }
.tile.on .tick { opacity: 1; transform: none; }
.tile .num { position: absolute; left: 18px; bottom: 18px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .92);
  font-size: 12px; font-weight: 600; line-height: 22px; text-align: center; color: var(--muted); }
.tile .zoom { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
  cursor: zoom-in; display: grid; place-items: center; opacity: 0; }
.tile:hover .zoom, .tile:focus-visible .zoom { opacity: 1; }
.tile.right { box-shadow: inset 0 0 0 3px var(--good); }
.tile.wrong { box-shadow: inset 0 0 0 3px var(--bad); }
.tile.dim { opacity: .4; }

/* the answer bar (Uxcel / Duolingo: full width, contents in the page's column) */
.answer { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 5; border-top: 1px solid var(--track); background: var(--page); }
.answer-in { display: flex; align-items: center; gap: 12px; padding: 24px 40px; }
.answer .say { margin-right: auto; font-size: 14px; color: var(--muted); }
.answer.good { background: var(--good-bg); border-color: transparent; }
.answer.bad { background: var(--bad-bg); border-color: transparent; }
.verdict { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; border-radius: 9999px; font-size: 18px; font-weight: 600; }
.good .verdict { background: var(--good-bg); color: var(--good); }
.bad .verdict { background: var(--bad-bg); color: var(--bad); }
.verdict i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; }
.good .verdict i { background: var(--good); }
.bad .verdict i { background: var(--bad); }
.answer .note { font-size: 14px; color: var(--ink); }
.btn.go { border-radius: 8px; height: 46px; padding: 0 24px; color: #fff; font-weight: 600; box-shadow: none; }
.good .btn.go { background: var(--good-btn); }
.bad .btn.go { background: var(--green); }

/* side-by-side compare */
.lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(20, 20, 20, .8); display: grid; place-items: center; padding: 24px; }
.lightbox .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(1100px, 100%); }
.lightbox figure { background: #fff; border-radius: 16px; overflow: hidden; }
.lightbox img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--well); display: block; }
.lightbox figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); }
.lightbox .bar { position: absolute; top: 20px; right: 20px; display: flex; gap: 10px; }
.lightbox .btn { background: #fff; }
.lightbox .btn.primary { background: var(--green); }

/* Midjourney's centred pages (Tasks, Personalize): a big centred title, a grey line, then the content */
.center { max-width: 720px; margin: 0 auto; padding: 56px 40px 80px; }
.center h1 { font-size: 40px; font-weight: 600; letter-spacing: -.02em; text-align: center; }
.center .lede { margin-top: 10px; text-align: center; font-size: 16px; color: var(--muted); }
.center h2 { font-size: 20px; font-weight: 600; margin-top: 40px; }
.rules { list-style: none; margin-top: 12px; display: grid; gap: 10px; font-size: 14px; color: var(--body); }
.rules b { color: var(--ink); font-weight: 600; }
.keys { margin-top: 12px; font-size: 14px; color: var(--body); display: grid; gap: 6px; }
.center .start { display: flex; justify-content: center; margin-top: 40px; }
.center .start .btn { min-width: 320px; }
.empty { text-align: center; padding: 120px 40px; }
.empty b { display: block; font-size: 16px; font-weight: 600; }
.empty span { display: block; margin-top: 4px; color: var(--muted); }
.empty .btn { margin-top: 24px; }

/* earnings: Mindtrip's creator hub (numbers in a row, small labels; an empty state centred) */
.stats { display: flex; gap: 72px; margin-top: 40px; justify-content: center; }
.stats b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.stats span { font-size: 13px; color: var(--muted); }
.list { margin-top: 48px; border-top: 1px solid var(--track); }
.list .row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--track); font-size: 14px; }

/* admin */
.admin { max-width: 1200px; margin: 0 auto; padding: 40px; }
.admin h1 { font-size: 28px; font-weight: 600; }
.admin section { margin-top: 40px; }
.admin h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.drop { display: grid; place-items: center; gap: 4px; padding: 32px; margin-top: 16px; border-radius: 16px; background: var(--well);
  cursor: pointer; text-align: center; }
.drop.over { box-shadow: inset 0 0 0 2px var(--ink); }
.upform { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--track); }
td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--track); vertical-align: middle; }
td .btn { height: 32px; padding: 0 12px; font-size: 13px; }
td select, td input { height: 32px; border: 0; border-radius: 8px; background: var(--well); padding: 0 8px; outline: none; }
td select:focus, td input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
td input { width: 84px; }
.progress { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; width: 140px; margin-top: 6px; }
.progress i { display: block; height: 100%; background: var(--fill); }

@media (max-width: 900px) {
  .brand { padding: 20px; }
  .gate { margin: 12px 16px 40px; }
  .gate-in { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .gate h1 { font-size: 34px; line-height: 42px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px 16px; gap: 4px; align-items: center; }
  .side .wordmark { padding: 0 8px 0 4px; }
  .side .grow { display: none; }
  .nav { width: auto; }
  .rank-head { grid-template-columns: 1fr; padding: 16px 16px 0; }
  .rank-head .act { display: none; }
  .rank-head .ask, .rank-head .under { grid-column: 1; }
  .rank-head .under .hint { display: none; }
  .board { grid-template-columns: 1fr; padding: 20px 16px 200px; gap: 20px; }
  .ref { position: static; max-width: 280px; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tile { padding: 6px; }
  .tile .zoom { opacity: 1; }
  .answer { left: 0; }
  .answer-in { flex-wrap: wrap; padding: 12px 16px; }
  .answer .say { width: 100%; }
  .answer .btn { flex: 1; }
  .lightbox .pair { grid-template-columns: 1fr; }
  .stats { gap: 28px; flex-wrap: wrap; }
  .center { padding: 32px 16px 60px; }
  .center .start .btn { min-width: 0; width: 100%; }
  .upform { grid-template-columns: 1fr; }
  .admin { padding: 20px 16px; overflow-x: auto; }
}
.small { font-size: 13px; }

/* the home page (signed out): Handshake AI's and Outlier's shape, Kongi's look */
.home-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 40px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.home-top .brand { padding: 0; }
.home-top nav { display: flex; gap: 8px; }
.btn.big { height: 52px; padding: 0 30px; font-size: 17px; }
#gate section { max-width: 1100px; margin: 0 auto; padding: 88px 40px 0; }
#gate h2 { font-size: 34px; font-weight: 600; letter-spacing: -.02em; text-align: center; }
.hero { text-align: center; padding-top: 104px !important; }
.hero h1 { font-size: 64px; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; max-width: 820px; margin: 0 auto; }
.hero p { max-width: 560px; margin: 20px auto 32px; font-size: 18px; color: var(--muted); }
.sample .sub { text-align: center; margin: 12px auto 32px; font-size: 16px; color: var(--muted); max-width: 560px; }
.sample-board { display: grid; grid-template-columns: 1fr 2.4fr; gap: 28px; padding: 28px; border-radius: 28px; background: var(--well); }
.sample-ref { margin: 0; }
.sample-ref img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; display: block; }
.sample-ref figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start; }
.sample-grid .tile { border: 0; background: none; padding: 6px; border-radius: 22px; }
.sample-grid .tile img { aspect-ratio: 3 / 4; object-fit: cover; background: #fff; }
.sample-bar { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 16px; padding: 0 8px; }
.sample-bar .say { color: var(--muted); }
.perk-row, .step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.perk-row div, .step-row div { padding: 28px; border-radius: 20px; background: var(--well); }
.perk-row b, .step-row b { display: block; font-size: 18px; font-weight: 600; }
.perk-row span, .step-row span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.faq { max-width: 760px !important; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 640px; }
.closing { text-align: center; padding-bottom: 96px !important; }
.closing .btn { margin-top: 24px; }
.foot { display: flex; gap: 24px; justify-content: center; padding: 28px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .home-top { padding: 12px 16px; }
  #gate section { padding: 56px 16px 0; }
  .hero { padding-top: 64px !important; }
  .hero h1 { font-size: 40px; }
  #gate h2 { font-size: 26px; }
  .sample-board { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .sample-ref { max-width: 220px; margin: 0 auto; }
  .sample-grid { gap: 6px; }
  .perk-row, .step-row { grid-template-columns: 1fr; }
  .sample-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .foot { flex-wrap: wrap; gap: 12px 20px; padding: 20px 16px; }
}
