/* RankKing — rebuilt static site */
:root {
  --navy: #0A1628;
  --navy-2: #111D33;
  --gold: #FFCC00;
  --gold-soft: #F7CE46;
  --ink: #0A1628;
  --text: #364152;
  --muted: #64748B;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --green: #16A34A;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: 20px; }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* ---------- Nav ---------- */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 62px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav a.nav-link { color: #E7ECF3; font-size: 15px; font-weight: 500; }
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #CBD5E1; padding: 84px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .gold { color: var(--gold); }
.hero .sub { font-size: 17px; margin-bottom: 26px; }
.hero .sub strong { color: #fff; }
.hero-checks { list-style: none; margin-bottom: 32px; }
.hero-checks li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; color: #E2E8F0; }
.hero-checks .check { color: var(--gold); font-weight: 700; }
.hero-note { font-size: 13px; color: #8CA0B8; margin-top: 14px; }
.hero-visual { display: flex; flex-direction: column; gap: 26px; }
.hero-visual img { background: #fff; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero-visual .tilt-a { transform: rotate(-2.5deg); }
.hero-visual .tilt-b { transform: rotate(1.8deg); }

.btn { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 600; font-size: 16px; border: none; border-radius: 10px; padding: 15px 30px; cursor: pointer; transition: filter .15s, transform .15s; font-family: var(--font); }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.secondary { background: #E7EAEE; color: var(--ink); }
.btn.block { display: block; width: 100%; text-align: center; }

/* ---------- Fit section ---------- */
.fit-head { text-align: center; margin-bottom: 52px; }
.fit-head h2 { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.fit-head h2 img { height: 42px; width: auto; display: inline-block; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
.fit-card { border-radius: var(--radius); padding: 34px 36px 42px; border: 1px solid; }
.fit-card .emoji { font-size: 30px; margin-bottom: 14px; }
.fit-card h3 { margin-bottom: 18px; }
.fit-card ul { list-style: none; }
.fit-card li { position: relative; padding: 7px 0 7px 18px; }
.fit-card li::before { content: "•"; position: absolute; left: 0; }
.fit-card.yes { background: #F2FBF5; border-color: #86D9A3; }
.fit-card.yes h3 { color: #166534; }
.fit-card.yes li::before { color: #16A34A; }
.fit-card.no { background: #FEF3F2; border-color: #F4B4AE; }
.fit-card.no h3 { color: #991B1B; }
.fit-card.no li::before { color: #DC2626; }
.fit-card hr { border: none; border-top: 1px solid rgba(0,0,0,.08); margin-top: 26px; }

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.result-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(10,22,40,.06); }
.result-card img { height: 190px; width: 100%; object-fit: cover; }
.result-body { padding: 24px; }
.result-niche { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.result-metric { margin-bottom: 14px; }
.result-metric .label { font-size: 13px; color: var(--muted); }
.result-metric .value { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.result-metric .value.green { color: var(--green); }
.result-metric .value.small { font-size: 22px; font-weight: 700; }
.result-desc { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- Reviews marquee ---------- */
.reviews { padding: 72px 0; overflow: hidden; }
.reviews-label { text-align: center; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 34px; }
.marquee { display: flex; gap: 24px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { width: 285px; flex: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; box-shadow: 0 1px 3px rgba(10,22,40,.05); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 15px; }
.review-card p { font-size: 14.5px; color: var(--text); }
.review-card .who { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 12px; }
.review-card .who b { color: var(--ink); display: block; font-size: 14px; }
.review-card .who span { font-size: 12.5px; color: var(--muted); }

/* ---------- What you get ---------- */
.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.get-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; position: relative; box-shadow: 0 1px 3px rgba(10,22,40,.06); }
.get-card .num { position: absolute; top: 22px; right: 26px; font-size: 30px; font-weight: 800; color: var(--gold); }
.get-card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
.get-card h3 { margin-bottom: 12px; }
.get-card p { font-size: 15px; color: var(--muted); }
.center { text-align: center; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; max-width: 1000px; margin: 0 auto; }
.how-step .ball { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--muted); font-size: 15px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; box-shadow: 0 1px 3px rgba(10,22,40,.06); }
.team-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; }
.team-card .role { color: #D9A800; font-weight: 600; font-size: 14.5px; margin: 4px 0 16px; }
.team-card p { font-size: 15px; color: var(--muted); }
.team-note { text-align: center; margin-top: 44px; color: var(--muted); }
.team-note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.faq-list { border-radius: var(--radius); }
.faq-item { border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.faq-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; background: none; border: none; cursor: pointer; text-align: left; font: 600 16px var(--font); color: var(--ink); }
.faq-q .pm { color: var(--gold); font-size: 22px; font-weight: 600; flex: none; }
.faq-a { display: none; padding: 0 26px 24px; color: var(--muted); font-size: 15px; white-space: pre-line; }
.faq-item.open .faq-a { display: block; }
.faq-side { text-align: center; padding-top: 24px; }
.faq-side h3 { font-size: 26px; margin-bottom: 16px; }
.faq-side p { color: var(--muted); }
.faq-side .arrow { color: var(--gold); font-size: 26px; margin: 22px 0 10px; }

/* ---------- Form section ---------- */
.scan { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #CBD5E1; padding: 92px 0; }
.scan h2 { color: #fff; text-align: center; font-size: clamp(30px, 4vw, 44px); }
.scan .sub { text-align: center; margin: 14px 0 44px; color: #AEBDD0; font-size: 17px; }
.form-card { background: #fff; border-radius: 18px; max-width: 620px; margin: 0 auto; padding: 34px 40px 40px; color: var(--text); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.progress-row { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.progress-track { height: 7px; background: #E7EAEE; border-radius: 99px; overflow: hidden; margin-bottom: 30px; }
.progress-bar { height: 100%; background: var(--gold); border-radius: 99px; width: 20%; transition: width .3s; }
.form-card h3 { font-size: 21px; margin-bottom: 18px; }
.form-card label.qlabel { display: block; font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.tinput, .form-card textarea { width: 100%; border: 1.5px solid #CBD5E1; border-radius: 10px; padding: 14px 16px; font: 400 16px var(--font); color: var(--ink); outline: none; }
.tinput:focus, .form-card textarea:focus { border-color: var(--gold); }
.form-card textarea { min-height: 120px; resize: vertical; }
.opt { display: block; width: 100%; text-align: left; background: #fff; border: 1.5px solid #CBD5E1; border-radius: 10px; padding: 16px 18px; font: 500 16px var(--font); color: var(--ink); cursor: pointer; margin-bottom: 14px; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--gold); }
.opt.selected { background: var(--gold); border-color: var(--gold); font-weight: 600; }
.form-nav { display: flex; gap: 16px; margin-top: 22px; }
.form-nav .btn { flex: 1; }
.form-error { color: #DC2626; font-size: 14px; margin-top: 10px; display: none; }
.privacy-note { text-align: center; font-size: 13px; color: #8CA0B8; margin-top: 22px; }

/* step 5 states */
.result-title { text-align: center; font-size: 24px; margin-bottom: 8px; }
.result-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.calendly-inline-widget { min-width: 280px; height: 640px; }
.call-tip { background: var(--bg-alt); border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--text); text-align: center; margin: 18px 0; }
.noqual-box { background: var(--gold-soft); border-radius: 14px; padding: 26px 28px; text-align: center; margin-top: 22px; }
.noqual-box h4 { color: var(--ink); font-size: 17px; margin-bottom: 10px; }
.noqual-box p { font-size: 14.5px; color: #3B3416; margin-bottom: 16px; }
.noqual-box input { width: 100%; border: none; border-radius: 9px; padding: 14px 16px; font: 400 15px var(--font); margin-bottom: 12px; background: #FDF9EC; }
.noqual-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #94A3B8; text-align: center; padding: 56px 0 44px; }
footer .f-brand { color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 6px; }
footer .f-tag { font-size: 15px; margin-bottom: 22px; }
footer .f-links { display: flex; gap: 28px; justify-content: center; font-size: 14.5px; margin-bottom: 30px; }
footer .f-links a:hover { color: var(--gold); }
footer hr { border: none; border-top: 1px solid rgba(255,255,255,.08); max-width: 980px; margin: 0 auto 26px; }
footer .f-copy { font-size: 13.5px; color: #64748B; }

/* ---------- Over ons ---------- */
.story h1 { text-align: center; margin: 70px 0 44px; }
.story-photo { max-width: 880px; margin: 0 auto 40px; }
.story-photo img { border-radius: 18px; box-shadow: 0 24px 60px rgba(10,22,40,.18); }
.story-block { max-width: 760px; margin: 0 auto; padding: 44px 24px; }
.story-block.alt-bg { max-width: none; background: var(--bg-alt); }
.story-block.alt-bg > div { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.story-block h2 { font-size: 30px; margin-bottom: 22px; }
.story-block p { margin-bottom: 16px; }
.story-block p strong { color: var(--ink); }
.arrow-list { list-style: none; margin: 10px 0 16px; }
.arrow-list li { padding: 6px 0 6px 30px; position: relative; color: var(--ink); }
.arrow-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .fit-grid, .team-grid, .faq-grid { grid-template-columns: 1fr; }
  .results-grid, .get-grid, .how-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero-visual { order: 2; }
  .section { padding: 64px 0; }
  .form-card { padding: 28px 22px 32px; }
}
