:root {
  --navy: #0F1B2D;
  --navy-2: #1C2A40;
  --navy-line: #2E3B52;
  --lime: #C6F432;
  --lime-soft: #EEF8C9;
  --lime-ink: #3D4D06;
  --paper: #F7F7F4;
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --slate: #5B6472;
  --mist: #AEB6C3;
  --line: #E3E4E0;
  --danger: #B42318;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 10; background: rgba(15, 27, 45, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
.logo span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--mist); text-decoration: none; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 10px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .12s, background .15s, border-color .15s; }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #d4fa5c; }
.btn-outline-light { color: var(--white); border-color: var(--navy-line); }
.btn-outline-light:hover { border-color: var(--mist); }
.btn-ghost { color: var(--white); border-color: var(--navy-line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn[disabled] { opacity: .7; cursor: progress; }
.full { width: 100%; }

/* hero */
.hero { background: var(--navy); color: var(--white); padding: 88px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; background: var(--navy-2); color: var(--lime); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { font-size: 19px; color: var(--mist); max-width: 470px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--mist); }

.hero-visual { position: relative; display: grid; gap: 14px; }
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line); }
.hero-visual .card { padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.profile-card { transform: translateX(-24px); }
.profile-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.profile-name { font-weight: 700; }
.profile-meta { font-size: 14px; color: var(--slate); }
.status { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--lime-ink); background: var(--lime-soft); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 13px; color: var(--slate); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.opp-card { transform: translateX(24px); }
.opp-card.small { transform: translateX(-8px); }
.opp-meta { font-size: 13px; color: var(--slate); }
.opp-title { font-weight: 700; font-size: 17px; margin: 2px 0; }
.opp-sub { font-size: 14px; color: var(--slate); }
.opp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.chip { font-size: 12px; font-weight: 700; color: var(--lime-ink); background: var(--lime-soft); padding: 4px 9px; border-radius: 6px; }
.opp-cta { font-size: 14px; font-weight: 700; color: var(--white); background: var(--navy); padding: 6px 14px; border-radius: 8px; }
.preview-label { position: absolute; right: 0; bottom: -30px; font-size: 12px; color: var(--mist); letter-spacing: .04em; }

/* sports strip */
.sports-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding-top: 22px; padding-bottom: 22px; font-weight: 700; font-size: 15px; color: var(--slate); }
.strip .muted { font-weight: 500; color: var(--mist); }

/* sections */
.section { padding: 104px 0; }
.section.alt { background: var(--paper); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.eyebrow.lime { color: var(--lime); }
.center { text-align: center; }
.section h2, .join h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.body { font-size: 18px; color: var(--slate); max-width: 460px; }
.body.light { color: var(--mist); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.steps li > span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--lime); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--slate); font-size: 15px; }

.types { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.type { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; border-top: 3px solid var(--lime); border-top-left-radius: 0; border-top-right-radius: 0; }
.type h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.type p { color: var(--slate); font-size: 15px; }

/* join */
.join { background: var(--navy); color: var(--white); padding: 104px 0; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.perks li { position: relative; padding-left: 30px; color: var(--white); }
.perks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }

.form { padding: 28px; display: grid; gap: 18px; }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 10px; padding: 4px; border: 1px solid var(--line); }
.role-toggle button { font: inherit; font-weight: 700; font-size: 15px; padding: 10px; border: 0; background: transparent; border-radius: 7px; cursor: pointer; color: var(--slate); }
.role-toggle button.active { background: var(--navy); color: var(--white); }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field em { font-style: normal; font-weight: 500; color: var(--slate); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; padding: 12px 14px; border: 1px solid #D3D5D0; border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.6); }
.field input.invalid { border-color: var(--danger); }
.field legend { margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid #D3D5D0; background: var(--white); color: var(--ink); cursor: pointer; transition: all .12s; }
.chips button:hover { border-color: var(--navy); }
.chips button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.check a { color: var(--ink); font-weight: 700; }
.form-error { color: var(--danger); font-size: 14px; font-weight: 600; }

.success { text-align: center; padding: 56px 28px; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 28px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 18px; }
.success h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.success p { color: var(--slate); }

/* faq */
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 24px; line-height: 1; color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin-top: 10px; font-size: 16px; }

/* footer */
.footer { background: var(--navy); color: var(--mist); padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo.light { font-size: 22px; }
.foot-links { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--white); }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col, .join-grid { grid-template-columns: 1fr; gap: 44px; }
  .types { grid-template-columns: 1fr 1fr; }
  .profile-card, .opp-card, .opp-card.small { transform: none; }
  .hero { padding: 64px 0 88px; }
  .section, .join { padding: 76px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .types { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .form { padding: 20px; }
  .lead { font-size: 17px; }
  .hero-visual .opp-card.small { display: none; }
}

/* nav auth */
.nav-auth { display: flex; align-items: center; gap: 20px; }
.nav-links a.nav-login { color: var(--white); font-weight: 600; }

/* join cards */
.join-cards { display: grid; gap: 14px; }
.join-card { display: flex; align-items: center; gap: 18px; padding: 24px; text-decoration: none; transition: transform .15s, border-color .15s; }
.join-card:hover { transform: translateY(-2px); border-color: var(--lime); }
.join-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex-shrink: 0; }
.join-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 2px; }
.join-card p { color: var(--slate); font-size: 15px; }
.join-arrow { margin-left: auto; font-size: 22px; color: var(--navy); }
.join-login { color: var(--mist); font-size: 15px; text-align: center; margin-top: 6px; }
.join-login a { color: var(--lime); font-weight: 700; }

/* auth pages */
.auth-body { background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: grid; place-items: start center; padding: 56px 16px 80px; }
.auth-card { width: 100%; max-width: 460px; padding: 32px; }
.auth-card h1 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { color: var(--slate); margin-bottom: 24px; }
.auth-card form { display: grid; gap: 16px; }
.auth-foot { text-align: center; color: var(--slate); font-size: 15px; margin-top: 20px; }
.auth-foot a, .link { color: var(--ink); font-weight: 700; }
.form-note { font-size: 13px; color: var(--slate); }
.notice { background: var(--lime-soft); color: var(--lime-ink); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; }
.field-row a { font-size: 13px; font-weight: 700; color: var(--slate); }

/* account editor */
.editor-main { padding: 48px 16px 96px; }
.editor { max-width: 760px; margin: 0 auto; }
.editor-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.editor-head h1 { font-size: 34px; font-weight: 800; }
.editor-head p { color: var(--slate); }
.editor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: var(--white); color: var(--ink); border-color: #D3D5D0; }
.btn-light:hover { border-color: var(--navy); }
.panel { padding: 28px; margin-bottom: 16px; display: grid; gap: 18px; }
.panel h2 { font-size: 19px; font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.avatar-row { display: flex; align-items: center; gap: 20px; }
.avatar-lg { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: 32px; font-weight: 800; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.avatar-lg.square { border-radius: 18px; }
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.avatar-actions { display: grid; gap: 6px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--navy); }
.save-bar { position: sticky; bottom: 0; background: rgba(247,247,244,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 14px 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.save-status { font-size: 14px; font-weight: 700; color: var(--lime-ink); }
.save-status.err { color: var(--danger); }
.loading { color: var(--slate); text-align: center; padding: 80px 0; }
.counter { font-size: 12px; color: var(--slate); text-align: right; font-weight: 500; }

/* public profile */
.pp-hero { background: var(--navy); padding: 56px 0 120px; }
.pp-wrap { max-width: 860px; margin: -88px auto 0; padding: 0 16px 96px; }
.pp-card { padding: 32px; }
.pp-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.pp-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: 40px; font-weight: 800; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(15,27,45,0.15); }
.pp-avatar.square { border-radius: 24px; }
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pp-type { display: inline-block; font-size: 12px; font-weight: 700; color: var(--lime-ink); background: var(--lime-soft); padding: 4px 9px; border-radius: 6px; margin-bottom: 8px; }
.pp-name { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.pp-headline { font-size: 18px; color: var(--slate); margin-top: 4px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 15px; color: var(--slate); }
.pp-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.pp-section h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 12px; }
.pp-bio { font-size: 17px; white-space: pre-line; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips span { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pp-chips.lime span { background: var(--lime-soft); border-color: transparent; color: var(--lime-ink); }
.pp-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-empty { color: var(--slate); }
.pp-owner { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links a.nav-login { display: inline; }
  .nav-auth { gap: 14px; }
  .pp-name { font-size: 28px; }
  .pp-card, .panel, .auth-card { padding: 22px; }
  .editor-head h1 { font-size: 28px; }
}
