:root {
  --bg: #0a1230;
  --bg-2: #0f1a3f;
  --card: #142352;
  --card-line: #24376e;
  --text: #eef2ff;
  --muted: #a9b4d6;
  --gold: #f6c431;
  --gold-2: #ffdb5c;
  --gold-ink: #1d1500;
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 18, 48, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.top .btn { padding: 8px 16px; font-size: 15px; }
.top nav a.btn-gold, .top nav a.btn-gold:hover { color: var(--gold-ink); box-shadow: 0 3px 0 #b98a0c; }
@media (max-width: 640px) { .top nav .opt { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 800; font-size: 17px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 6px 0 #b98a0c, 0 10px 24px rgba(246,196,49,.25); }
.btn-dark { background: #050a1c; color: #fff; border: 1px solid #39497c; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 14px; }
.ios .stores .ios-first { order: -1; }
.fine { color: var(--muted); font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url(/assets/hero.webp) center 30% / cover no-repeat;
  opacity: .28;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,48,.2) 0%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 99px; background: rgba(246,196,49,.14); color: var(--gold-2); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.lead { font-size: 19px; color: #d6ddf5; max-width: 34em; }
.phones { display: flex; justify-content: center; gap: 18px; }
.phone { margin: 0; width: min(240px, 44%); }
.phone img { border-radius: 26px; border: 6px solid #050a1c; box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.phone:nth-child(2) { margin-top: 48px; }
.phone figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; font-weight: 600; }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone:nth-child(2) { margin-top: 28px; }
}

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head p { color: var(--muted); }

.features { display: grid; gap: 22px; }
.feature {
  display: grid; grid-template-columns: 1fr 220px; gap: 26px; align-items: center;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature:nth-child(even) { grid-template-columns: 220px 1fr; }
.feature:nth-child(even) .shot { order: -1; }
.feature p { color: #ccd5f2; margin: 0; }
.feature .shot img { border-radius: 16px; border: 4px solid #050a1c; }
.feature .num { color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px; }
@media (max-width: 760px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; padding: 22px; }
  .feature .shot { order: 2 !important; max-width: 240px; margin: 0 auto; }
}

.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.mini div { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 22px; }
.mini h3 { font-size: 19px; }
.mini p { color: #ccd5f2; margin: 0; font-size: 16px; }

/* Gallery */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
.gallery img { flex: none; width: 220px; border-radius: 18px; border: 4px solid #050a1c; scroll-snap-align: start; }

/* Long text */
.prose { max-width: 760px; }
.prose p { color: #d1d9f3; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #ccd5f2; }

/* CTA */
.cta { text-align: center; background: radial-gradient(ellipse at center, #1b2d66 0%, var(--bg) 70%); }
.cta .stores { justify-content: center; }

footer { border-top: 1px solid rgba(255,255,255,.07); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--muted); }
footer .right { margin-left: auto; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* Guide pages */
.article-wrap { padding-top: 28px; padding-bottom: 40px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.article { max-width: 780px; }
.article h1 { font-size: clamp(30px, 5vw, 46px); }
.article h2 { font-size: clamp(23px, 3vw, 30px); margin-top: 1.6em; }
.article h3 { font-size: 20px; margin-top: 1.3em; }
.article p, .article li { color: #d6ddf5; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .4em; }
.article strong { color: #fff; }
.article-meta { color: var(--muted); font-size: 14px; }
.article .lead { font-size: 19px; }
.article figure { margin: 1.4em 0; }
.article figure img { border-radius: 16px; border: 4px solid #050a1c; max-width: 280px; }
.article figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.note { background: rgba(246,196,49,.08); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 1.2em 0; }
.note p:last-child { margin: 0; }
.table-scroll { overflow-x: auto; margin: 1em 0 1.4em; }
.article table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-line); vertical-align: top; }
.article th { color: var(--gold-2); font-weight: 700; background: var(--card); }
.article td { color: #d6ddf5; }
.cta-box { display: flex; gap: 18px; align-items: flex-start; margin: 2.2em 0 1em; padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, #1b2d66, var(--card)); border: 1px solid #34509a; }
.cta-box img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.cta-box h2 { margin-top: 0; font-size: 24px; }
.cta-box .stores { margin: 16px 0 0; }
@media (max-width: 560px) { .cta-box { flex-direction: column; } }
.inline-faq { margin-top: 2em; }
.related { margin-top: 40px; }
.related h2 { font-size: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.hub-grid { margin: 26px 0 10px; }
.rel { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 18px; transition: border-color .12s ease, transform .12s ease; }
.rel:hover { border-color: var(--gold); transform: translateY(-1px); }
.rel strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }
.rel span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

/* Career wheel */
.wheel-app { background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 22px; margin: 1.4em 0; }
.wheel-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.wheel-steps span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #0b1533; color: var(--muted); border: 1px solid var(--card-line); }
.wheel-steps span.on { background: rgba(246,196,49,.16); color: var(--gold-2); border-color: var(--gold); }
.wheel-steps span.done { color: var(--text); }
.wheel-stage { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 24px; align-items: center; }
@media (max-width: 680px) { .wheel-stage { grid-template-columns: 1fr; } }
.wheel-box { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; margin: 0 auto; }
.wheel-box::after { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); border: 13px solid transparent; border-top: 22px solid var(--gold-2); filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.wheel { width: 100%; height: 100%; border-radius: 50%; border: 6px solid #050a1c; box-shadow: 0 0 0 3px var(--gold), 0 18px 40px rgba(0,0,0,.45); transition: transform 3.6s cubic-bezier(.12,.75,.12,1); position: relative; overflow: hidden; }
.wheel-label { position: absolute; left: 50%; top: 50%; width: 46%; transform-origin: 0 50%; font-size: 12px; font-weight: 800; color: #0a1230; text-align: right; padding-right: 10px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel-hub { position: absolute; inset: 41%; border-radius: 50%; background: #050a1c; border: 3px solid var(--gold); }
.wheel-side h2 { margin-top: 0; font-size: 24px; }
.wheel-result { min-height: 3.2em; font-size: 20px; font-weight: 800; color: var(--gold-2); }
.wheel-side .btn { border: 0; cursor: pointer; font-family: inherit; }
.wheel-side .btn[disabled] { opacity: .5; cursor: default; transform: none; }
.career-card { display: none; margin-top: 20px; padding: 20px; border-radius: 16px; background: #0b1533; border: 1px solid var(--gold); }
.career-card.show { display: block; }
.career-card h3 { margin-top: 0; color: var(--gold-2); }
.career-card ul { list-style: none; padding: 0; }
.career-card li { padding: 6px 0; border-bottom: 1px dashed var(--card-line); }
.career-card li b { color: var(--muted); font-weight: 600; display: inline-block; min-width: 140px; }
.career-score { font-size: 34px; font-weight: 800; color: #fff; }
.wheel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wheel-actions button { border: 0; cursor: pointer; font-family: inherit; }

/* Baller Hoops: single-column hero and text feature cards */
.hero .wrap.solo { grid-template-columns: minmax(0, 760px); }
.mini .kicker { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px; }
