/* =====================================================================
   U2ber Cohort — styles (premium monochrome, matches u2berclub.com)
   ===================================================================== */
:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --black-3: #111110;
  --white: #f4f4f2;
  --grey: #8a8a86;
  --grey-2: #b4b4af;
  --line: rgba(244, 244, 242, 0.14);
  --line-2: rgba(244, 244, 242, 0.24);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--white); color: var(--black); }
img { max-width: 100%; display: block; }
a { color: var(--white); }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.stack { display: flex; flex-direction: column; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { position: relative; padding: clamp(90px, 15vh, 180px) 0; }
.rule { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.label {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 26px;
}
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em; }
.it { font-style: italic; font-weight: 400; }
.dim { color: var(--grey); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.lead { color: var(--grey); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; max-width: 52ch; margin-top: 26px; }
.section-head { margin-bottom: clamp(48px, 8vh, 80px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 15px 34px; border-radius: 100px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: all .4s var(--ease);
}
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(244, 244, 242, 0.18); color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; white-space: nowrap;
}

/* ---------- nav ---------- */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 32px;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-bar.scrolled {
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  padding: 16px 32px; border-bottom-color: var(--line);
}
.mark { font-weight: 600; font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.mark span { color: var(--grey); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--grey); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; transition: color .3s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { color: var(--white) !important; border: 1px solid var(--line); padding: 9px 18px; border-radius: 100px; transition: all .4s var(--ease); }
.nav-cta:hover { background: var(--white); color: var(--black) !important; border-color: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden; padding: 120px 24px 120px;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 34px; opacity: 0; transform: translateY(20px);
  animation: rise 1.1s var(--ease) .2s forwards;
}
.eyebrow::before, .eyebrow::after {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: var(--grey); vertical-align: middle; margin: 0 14px 3px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 10rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 13ch;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(40px); animation: rise 1.2s var(--ease) forwards; }
.hero .hero-lead {
  margin-top: 40px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch;
  opacity: 0; transform: translateY(20px); animation: rise 1.1s var(--ease) .95s forwards;
}
.hero .sub {
  margin-top: 40px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--grey);
  max-width: 46ch; line-height: 1.6; opacity: 0; transform: translateY(20px);
  animation: rise 1.1s var(--ease) 1s forwards;
}
.hero .hero-lead + .sub { margin-top: 18px; }
.hero .btn-row { margin-top: 46px; justify-content: center; opacity: 0; transform: translateY(20px); animation: rise 1.1s var(--ease) 1.15s forwards; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey);
  opacity: 0; animation: fade 1s ease 1.6s forwards;
}
.scroll-hint span {
  display: block; width: 1px; height: 44px; background: linear-gradient(var(--grey), transparent);
  margin: 14px auto 0; transform-origin: top; animation: pulse 2.2s ease-in-out infinite;
}
.ghost {
  position: absolute; font-family: var(--serif); font-weight: 300;
  color: rgba(244, 244, 242, 0.03); white-space: nowrap; pointer-events: none; user-select: none;
  font-size: clamp(8rem, 26vw, 30rem); letter-spacing: -0.04em;
}
.ghost.one { top: 6%; left: -8%; }
.ghost.two { bottom: 4%; right: -10%; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scaleY(0.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- manifesto ---------- */
.manifesto p.big {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 22ch;
}
.manifesto p.big > span { display: block; }
.manifesto p.big > span + span { margin-top: 0.55em; }
.manifesto p.big > .dim { font-size: 0.6em; line-height: 1.45; max-width: 36ch; }
.tools-note { text-align: center; margin-top: 40px; }
.manifesto .strike { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--grey); }

/* ---------- three ways / grid cells ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell {
  background: var(--black); padding: 52px 40px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: background .5s var(--ease);
}
.cell:hover { background: #0c0c0c; }
.cell .num { font-family: var(--serif); font-size: 1.1rem; color: var(--grey); }
.cell h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.cell p { color: var(--grey); font-size: 0.98rem; line-height: 1.6; }
.cell.crossed h3 { color: var(--grey); text-decoration: line-through; text-decoration-thickness: 1px; }
.cell.win { background: var(--white); color: var(--black); }
.cell.win .num, .cell.win p { color: #4a4a47; }
.cell.win h3 { font-style: italic; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; animation: scrollx 38s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem); color: var(--grey); margin: 0 30px; letter-spacing: -0.02em;
}
.marquee-track span::after { content: "·"; margin-left: 60px; color: rgba(244, 244, 242, 0.2); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- method ---------- */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--black); padding: 40px 28px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; transition: background .5s var(--ease); }
.step:hover { background: #0c0c0c; }
.step .num { font-family: var(--serif); font-size: 1rem; color: var(--grey); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; }
.step p { color: var(--grey); font-size: 0.95rem; line-height: 1.6; flex: 1 1 auto; }

/* ---------- experiments ---------- */
.exp-list { list-style: none; border-top: 1px solid var(--line); }
.exp {
  display: grid; grid-template-columns: minmax(120px, 0.6fr) 1.4fr 1fr; gap: 40px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.exp-no { font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; color: rgba(244, 244, 242, 0.22); }
.exp-no small { display: block; margin-top: 16px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em; color: var(--grey); text-transform: uppercase; }
.exp-main h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05; }
.exp-main p { color: var(--grey); font-size: 1rem; line-height: 1.65; margin-top: 16px; max-width: 46ch; }
.exp-main .study { margin-top: 26px; font-size: 0.92rem; color: var(--grey-2); }
.exp-main .study b { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.exp-side { display: flex; flex-direction: column; gap: 28px; }
.exp-side b { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.task { border: 1px solid var(--line-2); border-radius: 20px; padding: 22px 24px; }
.task span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.45; }
.exp-end { padding-top: 70px; text-align: center; }
.exp-end p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; margin: 0 auto; }

/* ---------- traits ---------- */
.traits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; text-align: center; border-top: 1px solid var(--line); padding-top: 70px; }
.trait strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; }
.trait span { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-top: 16px; line-height: 1.7; }

/* ---------- tools ---------- */
.tools-head { display: flex; flex-wrap: wrap; gap: 32px 60px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(48px, 8vh, 80px); }
.weekly { text-align: right; }
.weekly .label { margin-bottom: 10px; }
.weekly p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.tool-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tool-col { background: var(--black); padding: 44px 40px; }
.tool-col h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 18px; }
.tool-list { list-style: none; }
.tool-list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tool-list b { font-weight: 500; font-size: 13px; letter-spacing: 0.16em; }
.tool-list span { color: var(--grey); font-size: 0.95rem; text-align: right; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--black); padding: 44px 32px; display: flex; flex-direction: column; gap: 28px; transition: background .5s var(--ease); }
.plan:hover { background: #0c0c0c; }
.plan .tag { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; margin-top: 10px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price strong { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--grey); font-size: 13px; letter-spacing: 0.04em; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.plan li { color: var(--grey-2); font-size: 0.95rem; line-height: 1.5; padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--grey); }
.plan .btn { width: 100%; }
.plan.featured { background: var(--white); color: var(--black); }
.plan.featured .tag, .plan.featured .price span { color: #5a5a56; }
.plan.featured li { color: #2a2a28; }
.plan.featured li::before { background: #2a2a28; }
.plan.featured .btn-solid { background: var(--black); color: var(--white); }
.plan.featured .btn-solid:hover { color: var(--white); box-shadow: 0 12px 40px rgba(5, 5, 5, 0.25); }
.fine { margin-top: 26px; font-size: 12px; color: var(--grey); letter-spacing: 0.02em; }

/* ---------- join ---------- */
.join { text-align: center; }
.join h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; }
.join .sub2 { color: var(--grey); margin: 28px auto 44px; max-width: 46ch; font-size: 1.05rem; line-height: 1.6; }
.join-form { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1 1 200px; width: 100%; background: transparent; border: 1px solid var(--line-2);
  color: var(--white); font-family: var(--sans); font-size: 15px;
  padding: 16px 22px; border-radius: 100px; outline: none; transition: border-color .4s var(--ease);
}
.input::placeholder { color: var(--grey); }
.input:focus { border-color: var(--white); }
.join-form .btn { align-self: center; }
.otp-step { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; }
.otp-step[hidden] { display: none; }
.otp-note { color: var(--grey-2); font-size: 0.95rem; }
.otp-input { width: 100%; max-width: 260px; flex: none; text-align: center; font-size: 1.6rem; letter-spacing: 0.5em; padding-left: calc(18px + 0.5em); }
.otp-links { display: flex; gap: 22px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--grey); font: inherit; font-size: 13px; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--white); }
.link-btn[disabled] { opacity: .5; cursor: default; text-decoration: none; }
.join-form.verifying .form-row .input { opacity: .55; pointer-events: none; }
.form-msg { min-height: 26px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.15rem; }
.form-msg.ok { color: var(--white); }
.form-msg.err { color: #e8a598; font-family: var(--sans); font-style: normal; font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot .mark { font-size: 13px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { color: var(--grey); text-decoration: none; font-size: 13px; letter-spacing: 0.02em; transition: color .3s; }
.foot-links a:hover { color: var(--white); }
.copy { color: var(--grey); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- inner pages (student, refund, terms) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 150px 32px 110px; }
.page h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 26px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.page p, .page li { font-size: 1rem; line-height: 1.75; color: var(--grey-2); }
.page a { color: var(--white); }
.form-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field .input { flex: none; }
.field label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.file-input { border-radius: 20px; padding: 14px 18px; color: var(--grey-2); }
.file-input::file-selector-button { font-family: var(--sans); font-size: 13px; background: var(--white); color: var(--black); border: 0; border-radius: 100px; padding: 8px 16px; margin-right: 14px; cursor: pointer; }
.note { font-size: 13px; color: var(--grey); }
.placeholder-note { border: 1px dashed var(--line-2); border-radius: 16px; padding: 14px 18px; color: var(--grey-2); font-size: 14px; margin-bottom: 30px; }


/* ---------- login + dashboard ---------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; }
.auth-page .wrap { width: 100%; }
.auth-page .fine a, .join .fine a { color: var(--white); }
.link-reset { background: none; font: inherit; font-size: inherit; cursor: pointer; }

.dash { max-width: 1040px; margin: 0 auto; padding: 150px 32px 110px; display: flex; flex-direction: column; gap: 28px; }
.dash-head { padding-bottom: 30px; }
.dash-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; }
.dash-sub { color: var(--grey); font-size: 1.05rem; margin-top: 20px; max-width: 48ch; line-height: 1.6; }

.card { border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 44px); background: var(--black-2); }
.card .label { margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.card-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.05; }
.card-note { color: var(--grey); font-size: 0.95rem; margin-top: 18px; }

.progress { min-width: 200px; }
.progress-num { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; margin-bottom: 10px; }
.progress-num strong { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.progress-num span { color: var(--grey); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.progress-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--white); transition: width 1s var(--ease); }

.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 34px; }
.profile-form .field { display: flex; flex-direction: column; gap: 10px; }
.profile-form .wide { grid-column: 1 / -1; }
.profile-form .input { flex: none; }
.profile-form textarea.input { border-radius: 22px; resize: vertical; min-height: 96px; line-height: 1.55; }
.profile-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }

.dash-tools { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 30px; }
.dash-tools li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.dash-tools b { font-weight: 500; font-size: 13px; letter-spacing: 0.16em; }
.dash-tools span { grid-column: 1; color: var(--grey); font-size: 0.92rem; }
.dash-tools em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 100px; padding: 5px 10px; color: var(--grey); }
.dash-tools li.locked b { color: var(--grey-2); }
.dash-tools li.open em { color: var(--black); background: var(--white); border-color: var(--white); }

.dash-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.dash-plan { border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.dash-plan.picked { border-color: var(--white); }
.dash-plan .tag { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); line-height: 1.5; }
.dash-plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; }
.dash-plan .price { display: flex; align-items: baseline; gap: 6px; flex: 1; }
.dash-plan .price strong { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; letter-spacing: -0.03em; }
.dash-plan .price span { color: var(--grey); font-size: 12px; }
.dash-plan .btn { width: 100%; padding-top: 12px; padding-bottom: 12px; }
.dash-plan .soon { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); padding: 12px 0; }

@media (max-width: 860px) {
  .dash-plans { grid-template-columns: 1fr 1fr; }
  .dash-tools { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dash { padding: 120px 16px 80px; }
  .card { border-radius: 22px; }
  .profile-form { grid-template-columns: 1fr; }
  .progress { min-width: 0; width: 100%; }
  .progress-num { justify-content: flex-start; }
  .profile-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .dash-plans { grid-template-columns: 1fr; }
}


/* ---------- plans: current plan, tool picker, toast ---------- */
.current-plan { margin-top: 30px; border: 1px solid var(--white); border-radius: 22px; padding: 26px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.current-plan .tag { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.current-plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; margin-top: 6px; }
.current-plan .card-note { margin-top: 6px; }
.dash-plan button.btn { cursor: pointer; font: inherit; }

.modal { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card { background: var(--black-3); border: 1px solid var(--line-2); border-radius: 26px; padding: 30px 28px 24px; width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column; }
.modal-card .label { margin-bottom: 12px; }
.modal-card h2 { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; letter-spacing: -0.02em; }
.picker-list { margin-top: 18px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-right: 4px; }
.pick { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; cursor: pointer; transition: border-color .2s; }
.pick:hover { border-color: var(--line-2); }
.pick:has(input:checked) { border-color: var(--white); background: rgba(244,244,242,.04); }
.pick input { accent-color: #f4f4f2; margin-top: 3px; }
.pick b { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0.12em; }
.pick small { display: block; color: var(--grey); font-size: 12px; margin-top: 2px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1200; background: var(--white); color: var(--black); font-size: 14px; padding: 12px 20px; border-radius: 100px; box-shadow: 0 10px 40px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }
@media (max-width: 560px) {
  .picker-list { grid-template-columns: 1fr; }
  .modal-actions .btn { flex: 1; }
  .current-plan .btn { width: 100%; }
}


/* ---------- tools hub access box ---------- */
.hub-box { margin-top: 26px; border: 1px solid var(--white); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hub-box .tag { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.hub-box h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; }
.hub-code { display: flex; align-items: center; gap: 14px; }
.hub-code span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35rem; letter-spacing: 0.08em; background: var(--white); color: var(--black); padding: 8px 16px; border-radius: 10px; }
.hub-steps { margin: 4px 0 6px 18px; color: var(--grey-2); font-size: 0.95rem; line-height: 1.7; }
.hub-steps b { color: var(--white); font-weight: 500; }
@media (max-width: 560px) { .hub-box .btn { width: 100%; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .method { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .traits { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
}
@media (max-width: 860px) {
  .exp { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .grid3, .tool-cols { grid-template-columns: 1fr; }
  .cell { min-height: auto; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .nav-bar, .nav-bar.scrolled { padding-left: 22px; padding-right: 22px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .method, .plans { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .traits { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .tool-col { padding: 36px 24px; }
  .weekly { text-align: left; }
  .hero .btn-row .btn, .join-form .btn { width: 100%; }
  .page { padding: 120px 22px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .eyebrow, .hero h1 .word, .hero .hero-lead, .hero .sub, .hero .btn-row, .scroll-hint, .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-height: 940px) and (min-width: 761px) { .scroll-hint { display: none; } }


/* ---------- journey (member dashboard) ---------- */
.btn-sm { min-height: 40px; padding: 10px 20px; font-size: 13px; }
select.input { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
select.input option { background: var(--black-2); color: var(--white); }
textarea.input { border-radius: 20px; resize: vertical; line-height: 1.55; font-family: var(--sans); }
.j-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05; }
.j-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.j-meta { color: var(--grey); font-size: 12.5px; letter-spacing: 0.02em; }
.j-hint { color: var(--grey); font-size: 0.92rem; line-height: 1.55; margin-bottom: 12px; }
.j-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }

.skill-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.skill-opt, .level-opt { position: relative; text-align: left; background: transparent; color: var(--white); font: inherit; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 24px; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); display: flex; flex-direction: column; gap: 8px; }
.skill-opt:hover, .level-opt:hover { border-color: var(--line-2); }
.skill-opt.on, .level-opt.on { border-color: var(--white); background: rgba(244,244,242,.05); }
.skill-opt b, .level-opt b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; padding-right: 26px; }
.skill-opt span { color: var(--grey); font-size: 0.92rem; line-height: 1.5; }
.skill-opt i { position: absolute; top: 22px; right: 20px; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; }
.skill-opt.on i { background: var(--white); border-color: var(--white); box-shadow: inset 0 0 0 4px var(--black-2); }

.level-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.level-opt .lv-no { font-family: var(--serif); color: var(--grey); font-size: 0.95rem; }
.level-opt ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.level-opt li { color: var(--grey-2); font-size: 0.9rem; line-height: 1.45; padding-left: 16px; position: relative; }
.level-opt li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--grey); }
.level-opt.on li { color: var(--white); }

.j-tabs { display: flex; gap: 8px; margin-top: 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.j-tabs::-webkit-scrollbar { display: none; }
.j-tabs button { background: none; border: 1px solid var(--line); color: var(--grey-2); font: inherit; font-size: 13.5px; border-radius: 100px; padding: 9px 16px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: baseline; transition: all .3s var(--ease); }
.j-tabs button small { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.j-tabs button.on { background: var(--white); color: var(--black); border-color: var(--white); }
.j-tabs button.on small { color: #5a5a56; }

.j-level { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.j-level p { color: var(--grey); font-size: 0.92rem; }
.lv-badge { display: inline-block; color: var(--black); background: var(--white); border-radius: 100px; padding: 4px 12px; margin-right: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.j-nudge { margin-top: 18px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.j-nudge p { color: var(--grey-2); font-size: 0.95rem; flex: 1 1 260px; }

.j-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; margin-top: 30px; }
.j-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.j-sub h3 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.j-sub span { color: var(--grey); font-size: 12.5px; }
.j-watch-head { margin-top: 34px; }
.steps { list-style: none; margin-top: 8px; }
.steps li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; flex: 1; }
.steps input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.steps .tick { flex: none; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--line-2); border-radius: 6px; transition: all .25s var(--ease); position: relative; }
.steps input:focus-visible + .tick { outline: 1px solid var(--white); outline-offset: 3px; }
.steps input:checked + .tick { background: var(--white); border-color: var(--white); }
.steps input:checked + .tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.steps .st { font-size: 0.98rem; line-height: 1.55; color: var(--white); }
.steps .st em { font-style: normal; font-family: var(--serif); color: var(--grey); margin-right: 8px; }
.steps li.done .st { color: var(--grey); text-decoration: line-through; text-decoration-color: var(--line-2); }
.tool-chip { flex: none; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 10px; text-decoration: none; white-space: nowrap; margin-top: 1px; transition: all .3s var(--ease); }
.tool-chip:hover { border-color: var(--white); color: var(--white); }
.j-note { flex: none; min-height: 120px; }

.watch { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.watch a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 6px; margin: -6px; border-radius: 14px; transition: background .3s; }
.watch a:hover { background: rgba(244,244,242,.04); }
.watch img, .nothumb { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--black-3); }
.nothumb { display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 11px; padding: 6px; text-align: center; border: 1px solid var(--line); overflow: hidden; word-break: break-all; }
.watch b { display: block; font-weight: 500; font-size: 0.92rem; line-height: 1.35; }
.watch small { display: block; color: var(--grey); font-size: 0.85rem; margin-top: 4px; line-height: 1.4; }

/* logbook */
.seg-tabs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; margin-top: 26px; max-width: 100%; }
.seg-tabs button { background: none; border: 0; color: var(--grey); font: inherit; font-size: 13.5px; padding: 9px 18px; border-radius: 100px; cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.seg-tabs button small { margin-left: 6px; opacity: .7; }
.seg-tabs button.on { background: var(--white); color: var(--black); }
.lb-form { display: grid; grid-template-columns: 1fr 220px; gap: 10px; margin-top: 22px; }
.lb-form .input { flex: none; padding-top: 14px; padding-bottom: 14px; }
.lb-form textarea, .lb-form select[name="from"] { grid-column: 1 / -1; }
.lb-form .btn { justify-self: start; }
.lb-list { list-style: none; margin-top: 26px; }
.lb-list > li { display: grid; grid-template-columns: 136px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.lb-thumb img, .lb-thumb .nothumb { width: 136px; }
.lb-title { font-weight: 500; text-decoration: none; font-size: 0.98rem; line-height: 1.35; display: block; }
.lb-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb-body p { color: var(--grey-2); font-size: 0.94rem; line-height: 1.55; margin: 6px 0 8px; }
.lb-body .lb-from { color: var(--grey); font-size: 0.86rem; }
.lb-body .link-btn { font-size: 12px; }
.lb-list > li.lb-empty, .lb-empty { display: block; color: var(--grey); font-size: 0.95rem; padding: 22px 0; border-top: 1px solid var(--line); }

/* challenges */
.ch-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.ch { border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ch-live { border-color: var(--white); }
.ch-ended { opacity: .7; }
.ch-top { display: flex; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: wrap; }
.ch-state { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); }
.ch-live .ch-state { color: var(--black); background: var(--white); border-radius: 100px; padding: 4px 10px; }
.ch h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.15; }
.ch-brief { color: var(--grey-2); font-size: 0.97rem; line-height: 1.6; max-width: 64ch; }
.ch-reward { font-size: 0.97rem; }
.ch-reward span { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-right: 10px; }
.ch-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; width: 100%; margin-top: 6px; }
.ch-form .input { flex: none; padding-top: 12px; padding-bottom: 12px; }
.ch-mine { display: flex; flex-direction: column; gap: 4px; }
.ch-mine p { display: flex; gap: 10px; align-items: baseline; }
.ch-status { font-size: 0.92rem; color: var(--grey-2); }
.ch-status.s-completed, .ch-status.s-rewarded { color: var(--white); }
.ch-entries { list-style: none; width: 100%; }
.ch-entries li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.ch-entries em { font-style: normal; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-left: 8px; }
.ch-empty { margin-top: 20px; }

@media (max-width: 960px) {
  .level-pick { grid-template-columns: 1fr 1fr; }
  .j-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .level-pick, .skill-pick { grid-template-columns: 1fr; }
  .lb-form, .ch-form { grid-template-columns: 1fr; }
  .lb-form .btn, .ch-form .btn, .j-actions .btn { width: 100%; }
  .lb-list > li { grid-template-columns: 92px 1fr; gap: 14px; }
  .lb-thumb img, .lb-thumb .nothumb { width: 92px; }
  .watch a { grid-template-columns: 96px 1fr; }
  .watch img, .watch .nothumb { width: 96px; }
  .seg-tabs { display: flex; }
  .seg-tabs button { flex: 1; padding: 9px 10px; }
  .ch { padding: 20px; }
}


/* ---------- player card, badges, leaderboard, rewards ---------- */
.player .label { margin-bottom: 8px; }
.pl-top { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.pl-avatar { width: 112px; height: 112px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--black-3); }
.pl-avatar svg { width: 92px; height: 92px; }
.char-svg { display: block; }
[data-theme="classic"] .char-svg, :root:not([data-theme]) .char-svg { filter: grayscale(1) contrast(1.05); }
.pl-rank { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.pl-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 16px; max-width: 420px; }
.pl-bar span { display: block; height: 100%; background: var(--white); border-radius: 6px; transition: width 1s var(--ease); }
.pl-next { color: var(--grey); font-size: 13px; margin-top: 8px; }
.pl-next b { color: var(--white); font-weight: 500; }
.pl-stats { display: grid; grid-template-columns: repeat(3, 96px); gap: 10px; }
.pl-stat { border: 1px solid var(--line); border-radius: 18px; padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pl-stat svg { width: 20px; height: 20px; color: var(--grey); margin-bottom: 4px; }
.pl-stat b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pl-stat span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.pl-stat.st-streak.lit svg { color: var(--white); }
.pl-streak-note { color: var(--grey); font-size: 0.92rem; margin-top: 22px; }
.pl-quest { margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pl-q-tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.pl-quest p { margin-top: 4px; font-size: 0.98rem; line-height: 1.5; }
.pl-quest small { color: var(--grey); font-size: 12px; margin-left: 6px; }
.pl-q-xp { flex: none; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; border: 1px solid var(--white); border-radius: 100px; padding: 6px 12px; }
.pl-badges-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; }
.pl-badges-head h3 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.pl-badges-head span { color: var(--grey); font-size: 12.5px; }
.pl-badges { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pl-badges li { border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 3px; opacity: .45; }
.pl-badges li.got { opacity: 1; border-color: var(--line-2); }
.pl-badges i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.pl-badges li.got i { background: var(--white); color: var(--black); border-color: var(--white); }
.pl-badges b { font-size: 13px; font-weight: 500; }
.pl-badges small { color: var(--grey); font-size: 11.5px; line-height: 1.35; }

.lboard { list-style: none; margin-top: 24px; }
.lboard li { display: grid; grid-template-columns: 34px 44px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.lboard li.gap { display: block; text-align: center; color: var(--grey); padding: 4px 0; }
.lb-place { font-family: var(--serif); font-size: 1.2rem; color: var(--grey); text-align: center; }
.lboard li.top1 .lb-place, .lboard li.top2 .lb-place, .lboard li.top3 .lb-place { color: var(--white); }
.lb-av { width: 44px; height: 44px; border-radius: 50%; background: var(--black-3); display: grid; place-items: center; border: 1px solid var(--line); }
.lb-av svg { width: 36px; height: 36px; }
.lb-name { font-size: 0.98rem; }
.lb-name em { font-style: normal; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-left: 6px; }
.lb-xp { font-variant-numeric: tabular-nums; color: var(--grey-2); font-size: 0.92rem; }
.lboard li.me { background: rgba(244,244,242,.04); border-radius: 14px; }

.xp-pop { position: fixed; z-index: 1300; left: 50%; top: 96px; transform: translateX(-50%); background: var(--white); color: var(--black); border-radius: 18px; padding: 12px 20px; display: flex; flex-direction: column; align-items: center; gap: 1px; box-shadow: 0 16px 50px rgba(0,0,0,.5); animation: xpIn .5s var(--ease); text-align: center; max-width: calc(100% - 32px); }
.xp-pop b { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.xp-pop span { font-size: 13px; font-weight: 600; }
.xp-pop small { font-size: 12px; opacity: .7; }
.xp-pop.out { opacity: 0; transform: translate(-50%, -14px); transition: all .5s var(--ease); }
@keyframes xpIn { from { opacity: 0; transform: translate(-50%, 14px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1250; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.2s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { to { top: 110%; transform: translateX(40px) rotate(720deg); } }

@media (max-width: 900px) {
  .pl-top { grid-template-columns: auto 1fr; }
  .pl-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .pl-badges { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .pl-top { gap: 18px; }
  .pl-avatar { width: 84px; height: 84px; }
  .pl-avatar svg { width: 70px; height: 70px; }
  .pl-badges { grid-template-columns: 1fr 1fr; }
  .pl-quest { flex-direction: column; align-items: flex-start; }
}
.lboard li.me { padding-left: 8px; padding-right: 14px; }


/* =====================================================================
   Dashboard home: parallax hero + tile menu + one sheet at a time
   ===================================================================== */
.dash.hub { max-width: 1100px; padding: 108px 28px 90px; gap: 22px; }
.hub section.dhero, .hub section.tiles, section.sheet { padding-top: 0; padding-bottom: 0; }

/* hero */
.hub section.dhero { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 32px; background: var(--black-2); padding: clamp(28px, 4vw, 46px); min-height: 280px; }
.px { position: absolute; inset: -60px; pointer-events: none; z-index: 0; will-change: transform; }
.px-far { background-image: radial-gradient(rgba(244,244,242,.12) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.px-shape { position: absolute; color: rgba(244,244,242,.10); animation: drift calc(6s * var(--d, 1)) ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
.hero-inner { position: relative; z-index: 1; }
.hero-inner .label { margin-bottom: 14px; }
.hero-hello { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.dhero .dash-sub { margin-top: 12px; font-size: 1rem; }
.dhero .player { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.dhero .pl-avatar { width: 96px; height: 96px; transition: transform .2s linear; }
.dhero .pl-avatar svg { width: 80px; height: 80px; }
.pl-who { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.pl-who b { color: var(--white); font-weight: 600; }
.dhero .pl-bar { margin-top: 12px; }
.dhero .pl-stats { grid-template-columns: repeat(3, 84px); }
.dhero .pl-stat { padding: 12px 8px 10px; }
.dhero .pl-stat b { font-size: 1.5rem; }

/* tiles */
.hub section.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(168px, auto); gap: 16px; }
.tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px 18px; border-radius: 24px; border: 1px solid var(--line); background: var(--black-2);
  color: var(--white); text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out, border-color .3s var(--ease), box-shadow .3s var(--ease);
  animation: tileIn .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms);
}
@keyframes tileIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.tile:hover { border-color: var(--line-2); }
.tile:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.t-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 55%); }
.tile:hover .t-glare { opacity: 1; }
.t-ico { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 8px; }
.t-ico svg { width: 20px; height: 20px; }
.t-name { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.t-big { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; margin-top: auto; font-variant-numeric: tabular-nums; }
.t-big small { font-size: .45em; color: var(--grey); margin-left: 2px; letter-spacing: 0; }
.t-meta { color: var(--grey); font-size: 12.5px; line-height: 1.4; }
.t-text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.22; letter-spacing: -0.02em; margin-top: 4px; max-width: 26ch; }
.t-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 600; padding: 11px 18px 11px 20px; border-radius: 100px; }
.t-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tile:hover .t-cta svg { transform: translateX(3px); }
.t-badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; border: 1px solid var(--white); border-radius: 100px; padding: 5px 10px; }
.tile.wide { grid-column: span 2; grid-row: span 2; padding: 28px; }
.tile.wide .t-meta { margin: 8px 0 18px; }
.tile.hot { border-color: var(--line-2); background: linear-gradient(160deg, rgba(244,244,242,.06), transparent 60%), var(--black-2); }
.tile.locked { opacity: .5; }
.tile.locked .t-big { display: none; }
.tile.locked .t-meta { margin-top: auto; }

/* sheets */
.sheet { position: fixed; inset: 0; z-index: 600; overflow-y: auto; overscroll-behavior: contain; background: var(--black); opacity: 0; transform: translateY(28px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.sheet.open { opacity: 1; transform: none; }
body.in-sheet { overflow: hidden; }
.sheet-bar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 24px; background: rgba(5,5,5,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sheet-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-2); color: var(--white); font: inherit; font-size: 14px; padding: 8px 16px 8px 10px; border-radius: 100px; cursor: pointer; transition: all .3s var(--ease); }
.sheet-back svg { width: 18px; height: 18px; }
.sheet-back:hover { border-color: var(--white); }
.sheet-title { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey-2); }
.sheet-xp { justify-self: end; display: flex; gap: 8px; font-size: 12px; color: var(--grey); white-space: nowrap; }
.sheet-xp span { border: 1px solid var(--line); border-radius: 100px; padding: 5px 10px; }
.sheet-body { max-width: 1040px; margin: 0 auto; padding: 30px 28px 90px; display: flex; flex-direction: column; gap: 22px; }
.sheet .card { animation: tileIn .6s var(--ease) both; animation-delay: .08s; }
.sheet .card + .card { animation-delay: .16s; }
.recent { list-style: none; margin-top: 10px; }
.recent li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.recent b { font-weight: 500; color: var(--grey-2); white-space: nowrap; }
#badges .pl-badges { margin-top: 24px; }

@media (max-width: 900px) {
  .hub section.tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(150px, auto); }
  .tile.wide { grid-row: span 1; }
  .dhero .player { grid-template-columns: auto 1fr; }
  .dhero .pl-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .dash.hub { padding: 92px 14px 70px; gap: 14px; }
  .hub section.dhero { border-radius: 26px; padding: 24px 20px; min-height: 0; }
  .hub section.tiles { gap: 12px; grid-auto-rows: minmax(138px, auto); }
  .tile { padding: 16px; border-radius: 20px; }
  .tile.wide { padding: 22px 20px; }
  .t-big { font-size: 2.1rem; }
  .t-ico { width: 32px; height: 32px; margin-bottom: 4px; }
  .sheet-bar { padding: 10px 14px; grid-template-columns: auto 1fr; }
  .sheet-title { text-align: right; }
  .sheet-xp { display: none; }
  .sheet-body { padding: 18px 12px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .sheet .card { animation: none; }
  .px-shape { animation: none; }
  .sheet { transition: none; }
}
.tile.fill { grid-column: span var(--span); }
@media (max-width: 900px) { .tile.fill { grid-column: auto; } .tile.fill-m { grid-column: span 2; } }


/* ---------- Level 1: problem solver training ---------- */
.t-bar { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: -8px 0 16px; max-width: 320px; }
.t-bar i { display: block; height: 100%; background: var(--white); border-radius: 6px; }
.ind-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 26px; }
.ind-opt { text-align: left; background: transparent; color: var(--white); font: inherit; border: 1px solid var(--line); border-radius: 20px; padding: 22px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: all .3s var(--ease); }
.ind-opt:hover { border-color: var(--line-2); }
.ind-opt.on { border-color: var(--white); background: rgba(244,244,242,.05); }
.ind-opt.full { opacity: .45; cursor: not-allowed; }
.ind-opt b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; }
.ind-opt > span:not(.ind-seats) { color: var(--grey); font-size: 0.92rem; line-height: 1.5; }
.ind-opt em { font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-2); margin-top: 6px; }
.ind-seats { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 4px; }
.ind-seats i { display: block; height: 100%; background: var(--grey-2); }
.ind-opt small { color: var(--grey); font-size: 12px; }

.l1-meter { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; }
.l1-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.l1-score strong { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.l1-score span { color: var(--grey); font-size: 0.95rem; }
.l1-bar { max-width: none; margin-top: 12px; height: 8px; }
.case-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 22px; }
.case-card { position: relative; overflow: hidden; text-align: left; background: transparent; color: var(--white); font: inherit; border: 1px solid var(--line); border-radius: 20px; padding: 20px 20px 24px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-height: 190px; transition: all .3s var(--ease); animation: tileIn .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.case-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.case-no { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.case-card b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
.case-intro { color: var(--grey); font-size: 0.92rem; line-height: 1.5; }
.case-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case-foot small { color: var(--grey); font-size: 12.5px; }
.case-foot em { font-style: normal; font-size: 13px; font-weight: 600; border: 1px solid var(--white); border-radius: 100px; padding: 6px 14px; }
.case-card.done .case-foot em { border-color: var(--line-2); color: var(--grey-2); font-weight: 500; }
.case-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line); }
.case-prog i { display: block; height: 100%; background: var(--white); }
.replay { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cp-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2); text-align: center; flex: 1; }
.cp-pts { font-size: 12.5px; color: var(--grey); white-space: nowrap; }
.cp-dots { display: flex; gap: 5px; margin: 16px 0 6px; }
.cp-dots i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.cp-dots i.st { flex: .5; }
.cp-dots i.seen { background: var(--line-2); }
.cp-dots i.ok { background: var(--grey-2); }
.cp-dots i.now { background: var(--white); }
.cp-screen { padding-top: 26px; animation: cpIn .45s var(--ease) both; }
@keyframes cpIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.story { max-width: 62ch; }
.story p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; letter-spacing: -0.01em; }
.story p + p { margin-top: 18px; }
.cp-question { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 30ch; }
.cp-options { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; max-width: 760px; }
.cp-opt { display: flex; gap: 14px; align-items: center; text-align: left; background: transparent; color: var(--white); font: inherit; font-size: 1rem; line-height: 1.45; border: 1px solid var(--line-2); border-radius: 18px; padding: 15px 18px; cursor: pointer; transition: all .2s var(--ease); }
.cp-opt:hover:not([disabled]) { border-color: var(--white); transform: translateX(4px); }
.cp-opt[disabled] { cursor: default; }
.cp-letter { flex: none; width: 30px; height: 30px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.cp-opt.wrong { opacity: .45; text-decoration: line-through; text-decoration-color: var(--grey); }
.cp-opt.right { border-color: var(--white); background: rgba(244,244,242,.08); }
.cp-opt.right .cp-letter { background: var(--white); color: var(--black); border-color: var(--white); }
.cp-opt.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.cp-try { margin-top: 16px; color: #e8a598; font-size: 0.95rem; }
.cp-why { margin-top: 20px; border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 20px; max-width: 760px; }
.cp-why b { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; }
.cp-why p { color: var(--grey-2); line-height: 1.6; }
.cp-why.pop { animation: whyPop .5s var(--ease); }
@keyframes whyPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.unlocked { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 0; }
.unlocked .pl-avatar.big { width: 150px; height: 150px; margin-bottom: 18px; animation: bob 3s ease-in-out infinite; }
.unlocked .pl-avatar.big svg { width: 124px; height: 124px; }
.unlocked .card-note { max-width: 46ch; }
.j-actions.center { justify-content: center; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (max-width: 560px) {
  .cp-title { display: none; }
  .cp-opt { padding: 13px 14px; }
  .case-list, .ind-pick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cp-screen, .case-card, .cp-opt.shake, .cp-why.pop, .unlocked .pl-avatar.big { animation: none; } }

/* ---------- welcome: roles + inspiration ---------- */
.skill-opt.wide-opt { grid-column: 1 / -1; }
.insp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; max-width: 760px; }
.insp-form .input { flex: none; }
.role-line { color: var(--grey-2); font-size: 0.95rem; margin-top: 14px; }
.role-line b { color: var(--white); font-weight: 600; }
.l1-links { display: flex; gap: 18px; }
.l1-roles { margin-top: 14px; }
@media (max-width: 640px) { .insp-form { grid-template-columns: 1fr; } }
.ai-tick { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 16px 18px; cursor: pointer; max-width: 760px; }
.ai-tick input { accent-color: #f4f4f2; width: 18px; height: 18px; margin-top: 2px; flex: none; }
.ai-tick b { display: block; font-weight: 600; }
.ai-tick small { display: block; color: var(--grey); font-size: 0.88rem; margin-top: 2px; }

/* ===================== the road (all four levels) ===================== */
.hub section.road { margin: 22px 0; border: 1px solid var(--line); border-radius: 28px; background: var(--black-2); padding: 24px clamp(20px, 3vw, 32px) 26px; }
.road-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.road-head .label { margin: 0; }
.road-sub { color: var(--grey); font-size: 0.92rem; }
.road-sub b { color: var(--white); font-weight: 500; }
.road-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; }
.road-list::before { content: ''; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--line); }
.road-list::after { content: ''; position: absolute; left: 10%; top: 21px; height: 2px; width: calc((var(--reached) - 1) * 20%); background: var(--white); transition: width .8s var(--ease); }
.stop { position: relative; z-index: 1; animation: tileIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.stop-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; text-decoration: none; color: var(--white); border-radius: 18px; padding: 0 4px 6px; }
a.stop-in:hover .stop-dot { transform: scale(1.08); }
.stop-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); background: var(--black-2); color: var(--grey-2); transition: transform .3s var(--ease); }
.stop-dot svg { width: 20px; height: 20px; }
.stop.done .stop-dot { background: var(--white); color: var(--black); border-color: var(--white); }
.stop.now .stop-dot { border: 2px solid var(--white); color: var(--white); box-shadow: 0 0 0 6px rgba(244,244,242,.08); }
.stop.locked .stop-dot { color: var(--grey); }
.stop-txt { display: flex; flex-direction: column; gap: 3px; }
.stop-txt small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.stop-txt b { font-weight: 500; font-size: 0.98rem; line-height: 1.2; }
.stop-txt span { color: var(--grey); font-size: 0.82rem; line-height: 1.35; }
.stop-txt em { font-style: normal; font-size: 11px; color: var(--grey-2); margin-top: 4px; }
.stop.now .stop-txt em { color: var(--white); font-weight: 600; }
.stop.locked .stop-txt b { color: var(--grey-2); }
@media (max-width: 760px) {
  .road-list { grid-template-columns: 1fr; gap: 0; }
  .road-list::before, .road-list::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .road-list::after { bottom: auto; height: calc((var(--reached) - 1) * 20%); }
  .stop-in { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 6px 0; }
  .stop-dot { flex: none; }
  .stop-txt em { margin-top: 0; }
}

/* ===================== Levels 2–4 ===================== */
.lv .j-title { margin-bottom: 4px; }
.lv-banner { margin-top: 20px; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lv-banner b { font-weight: 600; }
.lv-banner p { color: var(--grey-2); font-size: 0.95rem; line-height: 1.55; }
.lv-banner.ok { border-color: var(--white); }
.lv-banner.wait { border-style: dashed; }
.lv-banner.fix { border-color: var(--white); background: rgba(244,244,242,.04); }
.lv-banner .btn { margin-top: 6px; }
.lv-small { color: var(--grey); font-size: 0.85rem; }
.lv-steps { display: flex; gap: 8px; margin: 24px 0 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.lv-steps::-webkit-scrollbar { display: none; }
.lv-step { flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; color: var(--grey-2); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px 7px 7px; cursor: pointer; transition: border-color .3s var(--ease), color .3s; }
.lv-step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--line-2); }
.lv-step.done i { background: var(--white); color: var(--black); border-color: var(--white); }
.lv-step.on { color: var(--white); border-color: var(--white); }
.lv-step:hover { border-color: var(--line-2); }
.lv-body { margin-top: 18px; animation: tileIn .45s var(--ease) both; }
.lv-h { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; margin: 10px 0 6px; }
.lv-body > .card-note { margin-bottom: 16px; }
.lv-field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.lv-field.lv-gap { margin-top: 26px; }
.lv-lab { font-weight: 500; font-size: 0.98rem; }
.lv-field small { color: var(--grey); font-size: 0.85rem; line-height: 1.45; }
.lv-field .input, .lv-row .input, .post-add .input, .lead-add .input { width: 100%; }
.lv-field > .input { flex: none; }
.lv-field textarea.input { min-height: 0; }
.lv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.opt-row.tight { margin-top: 8px; }
.opt { font: inherit; font-size: 14px; color: var(--white); background: transparent; border: 1px solid var(--line-2); border-radius: 100px; padding: 10px 18px; cursor: pointer; transition: all .3s var(--ease); }
.opt.sm { font-size: 12.5px; padding: 6px 12px; color: var(--grey-2); }
.opt:hover { border-color: var(--white); }
.opt.on { background: var(--white); color: var(--black); border-color: var(--white); }
.opt:disabled { opacity: .45; cursor: default; }
.lv-custom { max-width: 420px; }
.brief-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.brief { text-align: left; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 20px; cursor: pointer; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s var(--ease), background .3s; }
.brief:hover { border-color: var(--line-2); }
.brief.on { border-color: var(--white); background: rgba(244,244,242,.05); }
.brief-top { display: flex; flex-direction: column; gap: 4px; }
.brief-top small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.brief-top b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.brief-story { color: var(--grey-2); font-size: 0.93rem; line-height: 1.5; }
.brief dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 0.86rem; line-height: 1.45; }
.brief dt { color: var(--grey); }
.brief dd { margin: 0; }
.brief-mini { border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.brief-mini small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.brief-mini p { color: var(--grey-2); font-size: 0.9rem; }
.sk-map { display: flex; flex-direction: column; gap: 10px; }
.sk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 10px 0; }
.sk-row b { font-weight: 500; }
.sk-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; gap: 2px; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; font-size: 12.5px; padding: 7px 13px; border-radius: 100px; color: var(--grey-2); transition: all .25s var(--ease); }
.seg-opt.on span { background: var(--white); color: var(--black); }
.seg-opt input:focus-visible + span { outline: 1px solid var(--white); outline-offset: 2px; }
.lv-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.lv-row { display: flex; gap: 10px; align-items: center; }
.lv-task .input[data-f="text"] { flex: 1; }
.lv-task .input[type="date"] { flex: 0 0 168px; color-scheme: dark; }
.lv-study { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 8px 10px; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.lv-study textarea { grid-column: 1 / 3; }
.lv-study .lv-x { grid-row: 1; grid-column: 3; }
.lv-pillar .input { flex: 1; }
.rate-row { display: grid; grid-template-columns: 1fr 160px; gap: 8px 10px; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.rate-row textarea { grid-column: 1 / -1; }
.lv-done input { width: 20px; height: 20px; accent-color: var(--white); }
.lv-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--grey-2); font-size: 18px; line-height: 1; cursor: pointer; }
.lv-x:hover { border-color: var(--white); color: var(--white); }
.lv-check { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lv-check li { display: flex; align-items: center; gap: 10px; color: var(--grey); font-size: 0.95rem; }
.lv-check li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; flex: none; }
.lv-check li.ok { color: var(--white); }
.lv-check li.ok i { background: var(--white); color: var(--black); border-color: var(--white); }
.plat-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plat { text-align: left; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s var(--ease), background .3s; }
.plat b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.plat span { color: var(--grey); font-size: 0.86rem; line-height: 1.45; }
.plat.on { border-color: var(--white); background: rgba(244,244,242,.05); }
.pos-line { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; border-left: 2px solid var(--white); padding: 4px 0 4px 16px; margin: 6px 0 4px; }
.pos-line b { font-weight: 500; }
.post-add, .lead-add { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; margin: 18px 0; }
.lead-add { grid-template-columns: 1.2fr 1fr .9fr auto; }
.post-list, .lead-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.post-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list li span { grid-column: 1; color: var(--grey); font-size: 0.88rem; }
.post-list li small { color: var(--grey); font-size: 12px; grid-row: 1; grid-column: 2; }
.post-list li .lv-x { grid-row: 1 / span 2; grid-column: 3; }
.post-list a { word-break: break-all; }
.lead-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lead-counts span { border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; font-size: 12px; color: var(--grey); display: flex; flex-direction: column; min-width: 78px; }
.lead-counts b { font-size: 1.3rem; color: var(--white); font-weight: 500; }
.lead-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lead-name { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lead-name small { color: var(--grey); font-size: 12.5px; }
.lead-st { flex: 0 0 auto; width: auto; min-height: 38px; padding: 6px 14px; font-size: 13px; }
.lead-list li.ls-won .lead-name b::after { content: ' ★'; }
.lead-list li.ls-lost { opacity: .55; }
.strat { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin-top: 12px; transition: border-color .3s; }
.strat.on { border-color: var(--white); }
.strat-top { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.strat-top input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--white); flex: none; }
.strat-top span { display: flex; flex-direction: column; gap: 3px; }
.strat-top small { color: var(--grey); font-size: 0.88rem; }
.strat-body { display: none; }
.strat.on .strat-body { display: block; }
.proof-up { margin-top: 22px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.proof-up small { color: var(--grey); font-weight: 400; }
.proof-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.proof-row input { font-size: 13px; color: var(--grey-2); max-width: 100%; }
.proof-ok { color: var(--white); font-weight: 500; }
.lv-locked { margin-top: 22px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.lv-locked p { color: var(--grey-2); }
@media (max-width: 760px) {
  .lv-two, .plat-pick, .post-add, .lead-add { grid-template-columns: 1fr; }
  .lv-task { flex-wrap: wrap; }
  .lv-task .input[data-f="text"] { flex: 1 1 calc(100% - 80px); }
  .lv-task .input[type="date"] { flex: 1 1 auto; }
  .lv-study { grid-template-columns: 1fr auto; }
  .lv-study .input[data-f="link"], .lv-study textarea { grid-column: 1 / -1; }
  .lv-study .lv-x { grid-column: 2; }
  .rate-row { grid-template-columns: 1fr 110px; }
  .sk-seg { flex-wrap: wrap; border-radius: 18px; }
  .lead-list li { flex-wrap: wrap; }
}
.tile.quiet .t-text { font-family: var(--sans); font-weight: 400; font-size: 0.98rem; line-height: 1.45; letter-spacing: 0; color: var(--grey-2); max-width: none; }

/* ===================== launch countdown (homepage hero) ===================== */
.launch { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translateY(20px); animation: rise 1.1s var(--ease) 1.35s forwards; }
.launch-label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--grey); }
.cd { display: flex; gap: 10px; }
.cd[hidden], .launch-label[hidden], .launch-open[hidden] { display: none; }
.cd span { min-width: 74px; border: 1px solid var(--line); border-radius: 18px; padding: 12px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(255,255,255,.02); }
.cd b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cd i { font-style: normal; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.launch-open { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; border: 1px solid var(--white); border-radius: 100px; padding: 10px 20px; }
.launch-open .dot { width: 8px; height: 8px; border-radius: 50%; background: #46d36e; box-shadow: 0 0 0 4px rgba(70,211,110,.18); }
@media (max-width: 520px) { .cd { gap: 6px; } .cd span { min-width: 64px; padding: 10px 6px 8px; } }

/* ===================== join popup ===================== */
.btn-row.center { justify-content: center; }
.jm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.jm[hidden] { display: none; }
.jm-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.jm-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--black-2); border: 1px solid var(--line-2); border-radius: 28px; padding: 34px 28px 26px; text-align: center; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
.jm.open .jm-scrim { opacity: 1; }
.jm.open .jm-card { transform: none; opacity: 1; }
.jm-card .label { margin-bottom: 12px; }
.jm-card h2 { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.jm-sub { color: var(--grey); margin: 12px auto 22px; max-width: 34ch; line-height: 1.55; font-size: .95rem; }
.jm-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--grey-2); font-size: 22px; line-height: 1; cursor: pointer; }
.jm-x:hover { color: var(--white); border-color: var(--white); }
.jm-row { flex-direction: column; }
.jm-row .input { flex: none; }
.jm-card .fine { margin-top: 18px; }
body.jm-open { overflow: hidden; }

/* ===================== waiting for approval ===================== */
body.pending .sheets { display: none !important; }
.wait { max-width: 860px; margin: 0 auto; padding: 120px 24px 80px; display: flex; flex-direction: column; gap: 26px; }
.wait section.wait-hero { padding: 0; }
.wait section.wait-card { padding: clamp(26px, 4vw, 44px); }
.wait-hero { text-align: center; display: flex; flex-direction: column; align-items: center; animation: tileIn .7s var(--ease) both; }
.wait-hero .label { margin-bottom: 14px; }
.wait-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; }
.wait-sub { color: var(--grey-2); max-width: 52ch; margin-top: 18px; line-height: 1.6; }
.wait-steps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wait-steps li { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px 7px 7px; font-size: 13px; color: var(--grey-2); }
.wait-steps i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--line-2); }
.wait-steps li.done { color: var(--white); }
.wait-steps li.done i { background: var(--white); color: var(--black); border-color: var(--white); }
.wait-steps li.now { color: var(--white); border-color: var(--white); }
.wait-steps li.now i { border-color: var(--white); animation: waitPulse 1.8s ease-in-out infinite; }
@keyframes waitPulse { 50% { box-shadow: 0 0 0 5px rgba(244,244,242,.12); } }
.wait-launch { margin-top: 18px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.wait-card { animation: tileIn .7s var(--ease) .1s both; }
.wait-card h2 { margin-bottom: 22px; }
.city-row { display: flex; gap: 10px; align-items: center; }
.city-row .input { flex: 1 1 auto; }
.city-row .btn { flex: none; }
.city-note { color: var(--grey); font-size: 12.5px; min-height: 1em; }
@media (max-width: 600px) { .wait { padding-top: 96px; } .city-row { flex-direction: column; align-items: stretch; } }

/* ===================== homepage: the U2ber identity ===================== */
.vs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.vs-card { background: var(--black); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.vs-who { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); }
.vs-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--grey-2); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--grey); }
.vs-note { color: var(--grey); font-size: 0.95rem; line-height: 1.6; margin-top: auto; }
.vs-card.u2ber { background: #0b0b0a; }
.vs-qs { list-style: none; counter-reset: q; padding: 0; margin: 0; display: flex; flex-direction: column; }
.vs-qs li { counter-increment: q; display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.25; letter-spacing: -0.01em; }
.vs-qs li:first-child { border-top: 0; padding-top: 4px; }
.vs-qs li::before { content: '0' counter(q); font-family: var(--sans); font-size: 12px; color: var(--grey); letter-spacing: 0.1em; flex: none; }
.vs-end { margin-top: clamp(40px, 6vh, 64px); max-width: 46ch; font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--grey-2); }
.vs-end .it { color: var(--white); }
.mindset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mindset .step { min-height: 240px; }
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.belief { background: var(--black); padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.belief strong { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.belief strong .it { color: var(--grey); }
.belief p { color: var(--grey); line-height: 1.6; font-size: 1rem; }
@media (max-width: 900px) {
  .vs, .beliefs { grid-template-columns: 1fr; }
  .mindset { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .mindset { grid-template-columns: 1fr; } }

/* ===================== U2ber archetypes (character portraits) ===================== */
.arch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 8px; }
.arch-opt { font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 14px 12px 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s; }
.arch-opt img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 50%; margin-bottom: 8px; transition: transform .35s var(--ease); }
.arch-opt b { font-weight: 600; font-size: 1rem; }
.arch-opt span { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
.arch-opt small { color: var(--grey); font-size: 12.5px; line-height: 1.4; margin-top: 4px; }
.arch-opt:hover { border-color: var(--line-2); }
.arch-opt:hover img { transform: scale(1.04); }
.arch-opt.on { border-color: var(--white); background: rgba(244,244,242,.05); }
.arch-gate { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.arch-gate[hidden] { display: none; }
.arch-gate-card { width: 100%; max-width: 980px; max-height: calc(100vh - 32px); overflow-y: auto; }
.arch-new { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 12px; margin-bottom: 14px; }
body.gate-open { overflow: hidden; }
.arch-me { display: flex; align-items: center; gap: 20px; }
.arch-me[hidden] { display: none; }
.arch-me img { width: 92px; height: 92px; border-radius: 50%; flex: none; }
.arch-me > div { flex: 1; min-width: 0; }
.arch-me .label { margin-bottom: 6px; }
.arch-me h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.arch-me .card-note { margin-top: 4px; }
/* the portrait as an avatar: the ring colour shows the rank */
.arch-img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pl-avatar.arch, .lb-av.arch { padding: 4px; border: 3px solid var(--ring, var(--line-2)); overflow: hidden; }
.arch.r0 { --ring: rgba(244,244,242,.25); }
.arch.r1 { --ring: #4dd7ff; }
.arch.r2 { --ring: #c6ff3d; }
.arch.r3 { --ring: #ffd23f; }
.arch.r4 { --ring: #ff4fa3; }
.arch.r5 { --ring: #ffd23f; box-shadow: 0 0 0 3px #ff8a3d, 0 0 24px rgba(255,210,63,.6); }
.lb-av.arch { padding: 2px; border-width: 2px; }
[data-theme="classic"] .arch-img, [data-theme="classic"] .arch-opt img, [data-theme="classic"] .arch-me img,
:root:not([data-theme]) .arch-img, :root:not([data-theme]) .arch-opt img, :root:not([data-theme]) .arch-me img { filter: grayscale(1) contrast(1.05); }
@media (max-width: 900px) { .arch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .arch-grid { grid-template-columns: repeat(2, 1fr); } .arch-me { flex-wrap: wrap; } }

/* ===================== Who are you? (one flow, four steps) ===================== */
.who-steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.who-steps li > span, .who-steps li > button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px 6px 6px; font: inherit; font-size: 13px; color: var(--grey); background: transparent; }
.who-steps li > button { cursor: pointer; color: var(--grey-2); }
.who-steps li > button:hover { border-color: var(--line-2); }
.who-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--line-2); }
.who-steps li.done i { background: var(--white); color: var(--black); border-color: var(--white); }
.who-steps li.now > * { color: var(--white); border-color: var(--white); }
.who-form { margin-top: 24px; }
.who-step .form-msg { flex-basis: 100%; margin: 0; }
.who-step .form-msg:empty { display: none; }

.sk-count { margin-top: 18px; color: var(--grey); font-size: 0.92rem; }
.sk-count b { color: var(--white); font-weight: 600; }
.sk-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sk-row { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.sk-row.st-can { border-color: var(--line-2); background: rgba(244,244,242,.04); }
.sk-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sk-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.sk-name b { font-weight: 500; font-size: 1.02rem; }
.sk-name span { color: var(--grey); font-size: 0.86rem; line-height: 1.4; }
.sk-seg { display: inline-flex; flex: none; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; gap: 2px; }
.sk-seg button { font: inherit; font-size: 13px; color: var(--grey-2); background: transparent; border: 0; border-radius: 100px; padding: 7px 13px; cursor: pointer; white-space: nowrap; }
.sk-seg button:hover { color: var(--white); }
.sk-seg button.on { background: var(--white); color: var(--black); font-weight: 600; }
.st-learn .sk-seg button.on { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.st-no .sk-seg button.on { background: rgba(244,244,242,.1); color: var(--grey-2); font-weight: 500; }
.sk-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.sk-levels button { text-align: left; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.sk-levels button:hover { border-color: var(--line-2); }
.sk-levels button b { font-weight: 600; font-size: 0.92rem; }
.sk-levels button small { color: var(--grey); font-size: 0.78rem; line-height: 1.3; }
.sk-levels button.on { border-color: var(--white); background: rgba(244,244,242,.08); }
@media (max-width: 720px) {
  .sk-top { flex-direction: column; align-items: stretch; gap: 12px; }
  .sk-seg { display: grid; grid-template-columns: repeat(3, 1fr); }
  .sk-seg button { padding: 8px 6px; font-size: 12.5px; }
  .sk-levels { grid-template-columns: repeat(2, 1fr); }
}

.who-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.who-sum h3 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 10px; }
.who-sum .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.who-sum .chip { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--white); white-space: normal; }
.who-sum .chip small { color: var(--grey); margin-left: 4px; }
.who-sum .muted { color: var(--grey); font-size: 0.9rem; }
.who-sum-arch { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.who-sum-arch img { width: 64px; height: 64px; border-radius: 50%; }
.who-sum-arch b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.who-sum-arch span { color: var(--grey); font-size: 0.9rem; }
@media (max-width: 640px) { .who-sum { grid-template-columns: 1fr; } }
.skills-me[hidden] { display: none; }

/* entry fee */
.entry-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.entry-price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.entry-price span { color: var(--grey-2); }
.entry-list { margin: 20px 0 0; padding-left: 20px; color: var(--grey-2); display: grid; gap: 6px; }
.wait-card .card-note { margin-top: 14px; }

/* dashboard hero: your character */
.me-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; border: 1px solid var(--line); border-radius: 100px; padding: 8px 22px 8px 8px; background: var(--black-2); }
.me-card[hidden] { display: none; }
.me-card img { width: 56px; height: 56px; border-radius: 50%; }
.me-card .label { margin: 0 0 2px; font-size: 10px; }
.me-card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.me-card span { color: var(--grey); font-size: 0.85rem; }
[data-theme="classic"] .me-card img, :root:not([data-theme]) .me-card img, [data-theme="classic"] .who-sum-arch img, :root:not([data-theme]) .who-sum-arch img { filter: grayscale(1) contrast(1.05); }

/* four stages instead of five */
.road-list.four { grid-template-columns: repeat(4, 1fr); }
.road-list.four::before { left: 12.5%; right: 12.5%; }
.road-list.four::after { left: 12.5%; width: calc((var(--reached) - 1) * 25%); }
@media (max-width: 760px) { .road-list.four { grid-template-columns: 1fr; } .road-list.four::before, .road-list.four::after { left: 21px; right: auto; } .road-list.four::after { width: 2px; height: calc((var(--reached) - 1) * 25%); } }
div.tile { cursor: default; }

/* ===================== Training ground: missions ===================== */
.tg-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.tg-head > div:first-child { flex: 1 1 380px; }
.tg-score { display: flex; gap: 26px; }
.tg-score div { display: flex; flex-direction: column; align-items: flex-end; }
.tg-score strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.tg-score strong small { font-size: 1.1rem; color: var(--grey); }
.tg-score span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.tg-bar, .tc-way i { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 22px; }
.tg-bar span { display: block; height: 100%; background: var(--white); transition: width .8s var(--ease); }
.tg-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.tg-card { position: relative; text-align: left; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px 24px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); animation: tileIn .6s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.tg-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tg-card.passed { border-color: var(--line-2); }
.tg-no { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.tg-no i { font-style: normal; color: var(--white); margin-left: 8px; }
.tg-card b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.02em; }
.tg-biz { color: var(--grey-2); font-size: 0.88rem; }
.tg-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tg-types em { font-style: normal; font-size: 11px; border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; color: var(--grey-2); }
.tg-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.tg-foot small { color: var(--grey); font-size: 0.82rem; }
.tg-foot strong { font-size: 13px; font-weight: 600; }
.tg-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.tg-prog i { display: block; height: 100%; background: var(--white); }
@media (max-width: 720px) { .tg-list { grid-template-columns: 1fr; } .tg-score strong { font-size: 2rem; } }

.mp-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mp-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2); text-align: center; flex: 1; }
.mp-pts { font-size: 12.5px; color: var(--grey); white-space: nowrap; }
.mp-screen { padding-top: 26px; animation: cpIn .45s var(--ease) both; }
.mp-screen .j-title { margin-bottom: 18px; }
.mp-cover, .mp-room-img { display: block; max-width: 100%; border-radius: 18px; margin: 18px 0; max-height: 360px; object-fit: cover; }
.mp-rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mp-rooms span { font-size: 12px; border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; color: var(--grey-2); }
.mp-hint { margin-top: 14px; color: var(--grey-2); border-left: 2px solid var(--line-2); padding-left: 12px; max-width: 62ch; }
.mp-end { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.mp-score { display: flex; align-items: baseline; gap: 10px; margin: 8px 0; }
.mp-score strong { font-family: var(--serif); font-weight: 400; font-size: 4rem; line-height: 1; letter-spacing: -0.04em; }
.mp-score span { color: var(--grey); }
@media (max-width: 560px) { .mp-title { display: none; } }

.room { margin-top: 22px; }
.room.shake { animation: shake .4s; }
.room-tip { color: var(--grey); font-size: 0.85rem; margin-bottom: 12px; }

/* the cards: posts, photos, reviews, messages, notes */
.mc { display: flex; flex-direction: column; text-align: left; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--black-3); border: 1px solid var(--line); color: var(--white); font-size: 0.92rem; line-height: 1.4; }
.mc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--grey-2); }
.mc-head i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.mc-media { position: relative; flex: 1; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; background: linear-gradient(150deg, hsl(var(--h), 32%, 26%), hsl(calc(var(--h) + 40), 30%, 16%)); }
.mc-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; }
.mc-ico svg { width: 18px; height: 18px; }
.mc-desc { font-size: 0.92rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.mc-cap { padding: 10px 12px 12px; color: var(--grey-2); font-size: 0.86rem; }
.mc-photo .mc-media { min-height: 120px; }
.mc-review { padding: 14px 14px 16px; gap: 8px; background: #f7f5ef; color: #222; border-color: transparent; }
.mc-stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; }
.mc-stars b { color: #d8d3c6; font-weight: 400; }
.mc-msg { padding: 12px 14px; background: #1f3b33; border-color: transparent; border-radius: 16px 16px 16px 4px; color: #e8f5ef; }
[data-theme="arcade"] .mc-msg { background: #0f5b45; }
.mc-comment { flex-direction: row; gap: 10px; padding: 12px 14px; }
.mc-comment i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--line-2); }
.mc-note { padding: 14px 16px; background: rgba(244,244,242,.06); }

/* spot it */
.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spot-it { position: relative; padding: 0; border: 2px solid transparent; border-radius: 19px; background: none; font: inherit; cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.spot-it:hover { transform: translateY(-2px); }
.spot-it.sol { cursor: default; transform: none; }
.spot-it.on { border-color: #ff6b6b; }
.spot-it.okay { border-color: var(--line-2); }
.spot-mark { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: #ff6b6b; color: #111; border-radius: 100px; padding: 4px 9px; opacity: 0; transform: scale(.8); transition: all .2s var(--ease); }
.spot-it.on .spot-mark { opacity: 1; transform: none; }
.spot-it.okay .spot-mark { opacity: 1; transform: none; background: var(--white); }
@media (max-width: 720px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }

/* drag cards */
.dcard { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 17px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.dcard:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.dcard.picked { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--white); }
.dcard.dragging { opacity: .3; }
.dcard.ghost { position: fixed; z-index: 1400; pointer-events: none; opacity: .95; transform: rotate(-2deg) scale(1.03); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.dcard.small .mc { font-size: 0.82rem; }
.dcard.small .mc-media { min-height: 70px; padding: 10px; }
.dcard.small .mc-ico { display: none; }

/* sort it */
.sort-pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; min-height: 70px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 20px; }
.sort-pool.over { border-color: var(--white); }
.pool-empty { color: var(--grey); font-size: 0.9rem; align-self: center; grid-column: 1 / -1; text-align: center; }
.sort-buckets { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; margin-top: 14px; }
.bucket { min-height: 180px; border: 1px solid var(--line-2); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.bucket > p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); font-weight: 600; margin-bottom: 4px; }
.bucket.ready { border-style: dashed; cursor: pointer; }
.bucket.over, .bucket.ready:hover { border-color: var(--white); background: rgba(244,244,242,.05); }
@media (max-width: 640px) { .sort-buckets { grid-template-columns: 1fr; } .bucket { min-height: 100px; } .sort-pool { grid-template-columns: 1fr 1fr; } }

/* order it */
.order-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.order-it { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-2); padding: 12px 14px; background: var(--black-3); }
.order-it.over { border-color: var(--white); }
.ord-n { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 13px; border: 1px solid var(--line-2); }
.ord-t { flex: 1; }
.ord-btns { display: flex; gap: 4px; }
.ord-btns button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--white); cursor: pointer; font: inherit; }
.ord-btns button:disabled { opacity: .25; cursor: default; }
.room.done .order-it { cursor: default; }

/* pick it */
.pick-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.pick-it { position: relative; padding: 0; background: none; border: 2px solid transparent; border-radius: 19px; font: inherit; cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.pick-it:hover { transform: translateY(-2px); }
.pick-it.on { border-color: var(--white); }
.pick-it.sol { cursor: default; opacity: .5; transform: none; }
.pick-it.sol.right { opacity: 1; }
.pick-letter { position: absolute; z-index: 1; top: -10px; left: -6px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--black); border: 1px solid var(--line-2); color: var(--white); }
.pick-it.on .pick-letter { background: var(--white); color: var(--black); }
@media (max-width: 720px) { .pick-grid { grid-template-columns: 1fr; } }

/* match it */
.match-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.match-lefts { display: flex; flex-direction: column; gap: 10px; }
.match-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; border: 1px solid var(--line-2); border-radius: 18px; padding: 12px; transition: border-color .2s var(--ease); }
.match-row.ready { cursor: pointer; border-style: dashed; }
.match-row.over, .match-row.ready:hover { border-color: var(--white); }
.match-l { font-weight: 500; }
.match-slot { min-height: 56px; display: flex; align-items: stretch; }
.match-slot > i { flex: 1; display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--grey); border: 1px dashed var(--line); border-radius: 14px; }
.match-slot .dcard, .match-slot .mc { width: 100%; }
.match-pool { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 20px; min-height: 80px; }
.match-row.sol { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .match-wrap { grid-template-columns: 1fr; } .match-pool { order: -1; } .match-row { grid-template-columns: 1fr; } }

/* build it */
.build-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.build-slot + .build-slot { margin-top: 16px; }
.build-slot .label { margin-bottom: 8px; }
.build-opts { display: flex; flex-direction: column; gap: 6px; }
.build-opts button { text-align: left; font: inherit; color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; cursor: pointer; }
.build-opts button:hover { border-color: var(--line-2); }
.build-opts button.on { border-color: var(--white); background: rgba(244,244,242,.08); }
.build-preview { position: sticky; top: 90px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--black-3); overflow: hidden; }
.build-preview p { padding: 8px 14px; border-top: 1px solid var(--line); }
.build-preview p small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.build-preview p i { color: var(--grey); }
.build-preview.sol { position: static; max-width: 520px; }
@media (max-width: 760px) { .build-wrap { grid-template-columns: 1fr; } .build-preview { position: static; } }

/* budget it */
.budget-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.budget-top strong { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; letter-spacing: -0.03em; }
.budget-top span { color: var(--grey-2); }
.budget-top span.over { color: #ff8a8a; }
.budget-top span.zero { color: var(--white); font-weight: 600; }
.budget-bar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; background: var(--line); margin: 12px 0 18px; }
.budget-bar i { display: block; height: 100%; background: hsl(var(--h), 60%, 62%); transition: width .2s; }
.budget-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.budget-row { display: grid; grid-template-columns: 1.3fr 1.6fr 90px; gap: 14px; align-items: center; }
.br-name { display: flex; align-items: center; gap: 10px; }
.br-name i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--h), 60%, 62%); }
.br-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.br-range { color: var(--grey-2); font-size: 0.9rem; }
.budget-row input[type=range] { width: 100%; accent-color: var(--white); }
@media (max-width: 640px) { .budget-row { grid-template-columns: 1fr auto; } .budget-row input[type=range], .br-range { grid-column: 1 / -1; } }

/* ===================== tools: how each one opens ===================== */
.tools-pts { display: flex; flex-direction: column; align-items: flex-end; }
.tools-pts strong { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.tools-pts span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.tool-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.tool-cards li { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tool-cards li.open { border-color: var(--line-2); background: rgba(244,244,242,.03); }
.tc-top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 10px; }
.tc-top b { font-weight: 600; font-size: 13px; letter-spacing: 0.14em; }
.tc-top em { font-style: normal; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; color: var(--grey); }
.tool-cards li.open .tc-top em { background: var(--white); color: var(--black); border-color: var(--white); }
.tc-desc { color: var(--grey); font-size: 0.9rem; }
.tc-how { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tc-way { display: block; font-size: 0.86rem; color: var(--grey-2); }
.tc-way b { color: var(--white); font-weight: 600; }
.tc-way small { float: right; color: var(--grey); }
.tc-way i { margin-top: 6px; height: 4px; background: var(--grey-2); }

.tc-or { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.tc-open { font-size: 0.86rem; color: var(--grey-2); }
.tool-cards .soon { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.sheet-pts { font-size: 12.5px; color: var(--grey-2); justify-self: end; }
@media (max-width: 640px) { .tool-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sheet-pts { display: none; } }

/* ===================== brands (/brand) ===================== */
.mark-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-left: 8px; font-weight: 500; }
.brand-land, .brand-dash { max-width: 1100px; margin: 0 auto; padding: 130px clamp(16px, 4vw, 32px) 90px; }
.bl-hero h1 { max-width: 20ch; }
.bl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 46px 0; }
.bl-steps > div { border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.bl-steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; }
.bl-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 14px 0 6px; }
.bl-steps p { color: var(--grey); font-size: 0.92rem; line-height: 1.5; }
.bl-join { max-width: 640px; margin: 0 auto; }
.bl-join .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 860px) { .bl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bl-steps, .bl-join .form-row { grid-template-columns: 1fr; } }

.bd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.bd-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 10px; }
.bd-actions { display: flex; gap: 10px; align-items: center; }
.bd-card { margin-bottom: 16px; }
.bd-empty { text-align: left; }
.bd-group { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 30px 0 12px; }
.bd-group small { font-family: var(--sans); font-size: 13px; color: var(--grey); margin-left: 10px; }
.bd-tasks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bd-task { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; text-decoration: none; color: var(--white); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.bd-task:hover { border-color: var(--line-2); transform: translateY(-2px); }
.bd-task b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.bt-status { align-self: flex-start; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px; color: var(--grey-2); }
.bt-status.s-open { border-color: var(--white); color: var(--white); }
.bt-status.s-active { background: var(--white); color: var(--black); border-color: var(--white); }
.bt-status.s-closed { color: var(--grey); border-color: var(--line); }
.bt-meta, .lt-meta { color: var(--grey); font-size: 0.88rem; }
.bt-count { color: var(--grey-2); font-size: 0.88rem; }
.bt-count em { font-style: normal; color: var(--white); font-weight: 600; }
.bd-back { display: inline-block; margin-bottom: 14px; }
.bd-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15; margin: 12px 0 6px; }
.bd-problem, .lt-problem { margin-top: 16px; line-height: 1.6; color: var(--grey-2); max-width: 70ch; }
.bd-deliver, .lt-deliver { margin-top: 10px; color: var(--grey-2); max-width: 70ch; }
.bd-deliver b, .lt-deliver b { color: var(--white); font-weight: 500; }
.bd-hire h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-top: 8px; }
.bd-hire-list, .bt-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-pick { position: relative; cursor: pointer; }
.chip-pick input { position: absolute; opacity: 0; }
.chip-pick span { display: inline-block; border: 1px solid var(--line-2); border-radius: 100px; padding: 8px 14px; font-size: 13px; color: var(--grey-2); }
.chip-pick input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 600; }
.chip-pick input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.bt-total { color: var(--grey-2); font-size: 0.92rem; }
.bd-pitch { margin-bottom: 12px; }
.bd-pitch.p-declined { opacity: .55; }
.bd-pitch.p-shortlisted { border-color: var(--white); }
.bp-who { display: flex; align-items: center; gap: 14px; }
.bp-who img, .bp-av { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--line); }
.bp-who > div { display: flex; flex-direction: column; gap: 2px; }
.bp-who b { font-weight: 600; font-size: 1.05rem; }
.bp-who span { color: var(--grey); font-size: 0.86rem; }
.bp-track a { color: var(--grey-2); }
.bp-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bp-skills .chip, .pf-skills .chip { text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--white); }
.bp-skills .chip small, .pf-skills .chip small { color: var(--grey); margin-left: 3px; }
.bp-text { margin-top: 14px; line-height: 1.6; max-width: 72ch; }
.bp-link { margin-top: 8px; font-size: 0.9rem; }
.bp-link a { color: var(--grey-2); }
.bp-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.bt-tag { font-size: 12px; color: var(--white); }
.bt-tag.muted { color: var(--grey); }
.bw { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.bw a { color: var(--white); }
.bw-ok { margin-top: 12px; color: var(--grey-2); }
.bw-ok a { color: var(--white); }
.bw-changes { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; width: 100%; }
.bw textarea, .bw-changes textarea { width: 100%; }
.bd-biz { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-top: 6px; }
.bd-none { margin-top: 8px; }
@media (max-width: 720px) { .bd-tasks { grid-template-columns: 1fr; } }

/* ===================== local brands, for U2bers ===================== */
.lt-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.lt { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.lt.p-hired { border-color: var(--white); }
.lt.p-declined { opacity: .6; }
.lt-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.lt-cat { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.lt-cat b { color: var(--white); font-weight: 600; letter-spacing: 0.04em; }
.lt-cat a { color: var(--grey-2); text-transform: none; letter-spacing: 0; }
.lt-earn { font-size: 0.9rem; color: var(--grey-2); }
.lt-earn b { color: var(--white); font-size: 1.05rem; }
.lt h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: 10px 0 4px; }
.lt .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lt .chip { text-transform: none; letter-spacing: 0; font-size: 12px; }
.lt-body { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.lt-body textarea, .lt-body input { width: 100%; }
.lt-count { color: var(--grey); font-size: 12.5px; }
.lw-upi { margin-top: 22px; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.lw-upi label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); }
.lw-upi small { color: var(--grey); }
.lw-upi small a { color: var(--grey-2); }
.lw-note { margin-top: 10px; color: var(--white); border-left: 2px solid var(--white); padding-left: 12px; }
.lw-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: flex-start; }
.lw-form input, .lw-form textarea { width: 100%; }
.lt .card-note { margin-top: 10px; }

/* ===================== public portfolio ===================== */
.pf-av { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 18px; }
.pf-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 18px; color: var(--grey-2); font-size: 0.92rem; }
.pf-stats b { color: var(--white); }
.pf-stats a { color: var(--white); }
.pf-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.pf-works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.pf-work { border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pf-work h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.pf-work p { color: var(--grey-2); }
.pf-work blockquote { border-left: 2px solid var(--line-2); padding-left: 12px; color: var(--white); font-style: italic; }
.pf-work cite { display: block; font-style: normal; color: var(--grey); font-size: 12.5px; margin-top: 4px; }
[data-theme="classic"] .pf-av, :root:not([data-theme]) .pf-av, [data-theme="classic"] .bp-who img, :root:not([data-theme]) .bp-who img { filter: grayscale(1) contrast(1.05); }
@media (max-width: 640px) { .pf-works { grid-template-columns: 1fr; } }
.brand-dash > section, .brand-land > section, .brand-dash section.card, .brand-land section.card { padding-top: 0; padding-bottom: 0; }
.brand-dash section.card, .brand-land section.card { padding: clamp(22px, 3vw, 34px); }
.brand-dash { gap: 0; }
.bl-steps { padding: 0 !important; }

/* ---------- chapters: story first, then the task ---------- */
.mp-chapters { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.mp-chapters li { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.mp-chapters li span { flex: none; width: 82px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.mp-chapters li.done { color: var(--grey-2); }
.mp-chapters li.end { color: var(--grey); font-style: italic; }
.mp-ch { margin-top: 6px; }
.mp-story { margin-top: 4px; }
.mp-story p { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.mp-task { margin-top: 28px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.mp-task-label { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.mp-task-label span { border: 1px solid var(--line-2); border-radius: 100px; padding: 3px 10px; color: var(--white); }
.mp-task .cp-question { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.mp-ending { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line-2); animation: whyPop .6s var(--ease); }

/* ---------- homepage: creators section ---------- */
.cr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.cr-path { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cr-path > div { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cr-path span { font-family: var(--serif); color: var(--grey); font-size: 1.1rem; }
.cr-path h3 { font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.cr-path p { color: var(--grey); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .cr-split { grid-template-columns: 1fr; gap: 40px; } .cr-path > div { grid-template-columns: 36px 1fr; } }

/* ---------- homepage: playground hub ---------- */
.hm-hero { min-height: auto; padding-top: 160px; padding-bottom: 90px; }
.hero h1.hm-h1 { font-size: clamp(3.4rem, 10vw, 8.5rem); }
.hm-for { list-style: none; padding: 0; margin: 26px auto 0; max-width: 40ch; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--grey-2); opacity: 0; animation: rise 1.1s var(--ease) .9s forwards; }
.hm-for b { font-weight: 400; color: var(--white); }
.hm-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 1180px; margin: 64px auto 0; text-align: left; opacity: 0; animation: rise 1.1s var(--ease) 1.15s forwards; }
.hm-door { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 28px; border: 1px solid var(--line-2); border-radius: 26px; color: inherit; text-decoration: none; transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s; }
.hm-door:hover { border-color: var(--white); transform: translateY(-4px); background: var(--black-2); }
.hm-who { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.hm-door h3, .hm-lane h3 { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.08; }
.hm-door p, .hm-lane p { color: var(--grey-2); font-size: 14.5px; line-height: 1.6; }
.hm-go { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--white); }
.hm-num b { font-family: var(--serif); font-weight: 300; letter-spacing: 0; color: var(--grey); margin-right: 12px; }
.hm-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.hm-lane { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 34px 32px; border: 1px solid var(--line-2); border-radius: 26px; background: var(--black-2); }
.hm-lane .btn { margin-top: 10px; }
.hm-help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.hm-help > div { padding: 26px 24px 0 0; }
.hm-help .it { font-family: var(--serif); font-size: 1.6rem; color: var(--grey); }
.hm-help h3 { font-weight: 500; font-size: 16px; margin: 12px 0 8px; }
.hm-help p { color: var(--grey); font-size: 14px; line-height: 1.6; }
.hm-ideas { margin-top: 90px; }
.hm-ideas-h { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; }
.hm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.hm-tabs button { background: none; border: 1px solid var(--line-2); color: var(--grey-2); border-radius: 100px; padding: 9px 18px; font: inherit; font-size: 13px; cursor: pointer; transition: all .3s var(--ease); }
.hm-tabs button.on { background: var(--white); color: var(--black); border-color: var(--white); }
.hm-idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-idea { padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.hm-idea small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.hm-idea h4 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 10px 0 8px; }
.hm-idea p { color: var(--grey); font-size: 13.5px; line-height: 1.55; }
.hm-how { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.hm-how > div { padding: 30px 28px 0 0; }
.hm-how span { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--grey); }
.hm-how h4 { font-weight: 500; font-size: 17px; margin: 10px 0 8px; }
.hm-how p { color: var(--grey); font-size: 14px; line-height: 1.6; max-width: 34ch; }
@media (max-width: 980px) {
  .hm-doors, .hm-help { grid-template-columns: 1fr 1fr; }
  .hm-help > div { padding-bottom: 24px; }
  .hm-idea-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hm-hero { padding-top: 130px; }
  .hm-doors, .hm-lanes, .hm-help, .hm-idea-grid, .hm-how { grid-template-columns: 1fr; }
  .hm-lane { padding: 28px 22px; }
  .hm-how > div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .hm-for, .hm-doors { opacity: 1 !important; animation: none !important; } }
.hm-hero .ghost { opacity: .5; }

/* ---------- homepage motion ---------- */
.hm-hero { overflow: hidden; }
.hm-spot { position: absolute; left: 0; top: 0; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s; background: radial-gradient(circle, rgba(244,244,242,.07) 0%, rgba(244,244,242,0) 65%); }
.hm-hero > *:not(.ghost):not(.hm-spot) { position: relative; z-index: 1; }
.hm-doors { perspective: 1200px; }
.hm-door { position: relative; overflow: hidden; --rx: 0deg; --ry: 0deg; --lift: 0px; transform: translate3d(0, var(--lift), 0) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s; will-change: transform; }
.hm-door.tilt { transition: transform .08s linear, border-color .4s var(--ease), background .4s; }
.hm-door:hover { transform: translate3d(0, calc(var(--lift) - 6px), 0) rotateX(var(--rx)) rotateY(var(--ry)); }
.hm-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(244,244,242,.10), transparent 60%); }
.hm-door:hover .hm-glow { opacity: 1; }
.hm-door > *:not(.hm-glow) { position: relative; }
.hm-sec { position: relative; overflow: hidden; }
.hm-sec > .wrap { position: relative; z-index: 1; }
.hm-big { position: absolute; right: 4%; top: 6%; z-index: 0; pointer-events: none; font-family: var(--serif); font-weight: 300; font-size: clamp(9rem, 26vw, 24rem); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(244,244,242,.09); will-change: transform; }
.hm-word { position: absolute; left: -2%; bottom: 4%; z-index: 0; pointer-events: none; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(5rem, 16vw, 15rem); line-height: 1; color: rgba(244,244,242,.025); white-space: nowrap; will-change: transform; }
#brands .hm-big { right: auto; left: 52%; }
@media (max-width: 640px) { .hm-big { font-size: 9rem; right: -4%; top: 2%; } .hm-word { display: none; } }
@media (prefers-reduced-motion: reduce) { .hm-door, .hm-door:hover { transform: none !important; } }
