/* InterviewShiva marketing site
   Structure: tokens, base, layout, components, sections, demo, responsive */

/* ---------- Tokens ---------- */
:root {
  --ground: #F8F7F3;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #475569;
  --subtle: #64748B;
  --line: #E4E2DA;
  --line-blue: #DDE3F7;
  --accent: #2340D9;
  --accent-dark: #1A31AB;
  --accent-soft: #E8ECFC;
  --accent-tint: #EEF1FB;
  --green: #0F7B55;
  --green-ink: #0B5E42;
  --green-soft: #DDF3EA;
  --amber: #B7791F;
  --amber-ink: #7A4504;
  --amber-soft: #FCEFD5;
  --red-ink: #8A2418;
  --red-soft: #FBE0DC;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #7FA0FF; outline-offset: 2px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.bg-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-tint { background: var(--accent-tint); border-top: 1px solid var(--line-blue); border-bottom: 1px solid var(--line-blue); }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 52px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.stack { display: flex; flex-direction: column; }
.stack-lg { gap: 22px; }
.grid-auto { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { display: grid; gap: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.015em; }
.h3 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.lead-lg { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.body { font-size: 16px; line-height: 1.65; color: var(--muted); }
.small { font-size: 14px; color: var(--subtle); line-height: 1.5; }
.accent { color: var(--accent); }

/* ---------- Buttons and pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700; line-height: 1; min-height: 48px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn img { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(35, 64, 217, 0.6); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #CBD5E1; }
.btn-secondary:hover { color: var(--ink); border-color: var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1E293B; }
.btn-sm { white-space: nowrap; flex-shrink: 0; min-height: 44px; padding: 11px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.4; cursor: default; transform: none; }
.eyebrow-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.eyebrow-pill img { width: 16px; height: 16px; }
.chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.chip-blue { background: var(--accent-soft); color: var(--accent-dark); }
.chip-green { background: var(--green-soft); color: var(--green-ink); }
.chip-amber { background: var(--amber-soft); color: var(--amber-ink); }
.chip-red { background: var(--red-soft); color: var(--red-ink); }
.chip-grey { background: #E2E8F0; color: var(--ink-2); }
.chip-outline { background: #fff; color: var(--subtle); border: 1px solid var(--line); font-size: 12px; padding: 5px 11px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge img { width: 26px; height: 26px; }
.icon-badge.dark { background: rgba(255, 255, 255, 0.1); }
.icon-badge.green { background: var(--green-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand span span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav-links a { white-space: nowrap; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle img { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; background: var(--ground) url('../images/hero-bg.svg') center top / cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list img { width: 18px; height: 18px; }
.hero-visual { position: relative; background: var(--accent-soft); border-radius: 28px; padding: 28px; }
.float-badge { position: absolute; left: -22px; bottom: -22px; background: #fff; border: 1px solid var(--line-blue); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; }
.float-badge img { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-soft); }
.float-badge small { display: block; font-size: 12px; font-weight: 600; color: var(--subtle); }

/* ---------- Cards and panels ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.card.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card .num { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--accent); line-height: 1; }
.panel { background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-md); }
.panel-soft { background: var(--ground); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-label { font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--subtle); }
.panel-title { font-size: 18px; font-weight: 800; }
.note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.note.blue { background: var(--accent-soft); border: 0; color: #1E2A78; }
.note.amber { background: var(--amber-soft); border: 0; color: #5C3503; font-size: 14px; }
.note-label { font-size: 13px; font-weight: 800; color: var(--subtle); letter-spacing: 0.04em; text-transform: uppercase; }
.note.blue .note-label { color: var(--accent-dark); }
.big-score { font-family: var(--font-display); font-weight: 600; line-height: 1; color: var(--accent); }
.meter { height: 8px; background: #E2E8F0; border-radius: 999px; overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: var(--w, 0%); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .meter > i { width: 0; }
.js .meter.in > i { width: var(--w, 0%); }
.meter.thick { height: 10px; background: var(--accent-soft); }
.meter-row { display: flex; flex-direction: column; gap: 7px; }
.meter-row .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.meters { display: flex; flex-direction: column; gap: 16px; }
.step-num { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-num.done { background: var(--green); }
.step-card { position: relative; }
.step-card .icon-badge { width: 44px; height: 44px; }
.step-card .top { display: flex; justify-content: space-between; align-items: center; }
.step-card p { font-size: 15px; line-height: 1.55; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.check-list .tick img { width: 14px; height: 14px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.mini strong { display: block; font-size: 16px; font-weight: 800; }
.mini span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual img { border-radius: 20px; box-shadow: var(--shadow-md); }

/* ---------- Dark band ---------- */
.band-dark { background: var(--ink); color: #fff; }
.band-dark .eyebrow { color: #9DB0FF; }
.band-dark .lead { color: #CBD5E1; }
.band-dark .card { background: transparent; border-color: #2B3A55; box-shadow: none; }
.band-dark .card p { color: #CBD5E1; }
.band-dark .card h3 { color: #fff; }
.integrity-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 44px; }

/* ---------- Passport ---------- */
.passport-wrap { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.passport-badge { width: 150px; margin-bottom: -60px; position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq .section-head { margin-bottom: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 700; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary img { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary img { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 760px; }

/* ---------- CTA and form ---------- */
.cta-band { background: var(--accent); color: #fff; border-radius: 28px; padding: 64px 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); pointer-events: none; }
.cta-band .lead { color: #DCE3FF; }
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; position: relative; z-index: 1; }
.form-card form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select { font-size: 16px; padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: 10px; min-height: 46px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid #B7C3FF; border-color: var(--accent); }
.form-success { display: none; flex-direction: column; gap: 10px; align-items: flex-start; }
.form-success.show { display: flex; }
.form-success img { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--green-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 15px; font-weight: 600; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 40; box-shadow: var(--shadow-md); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top img { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------- Live demo ---------- */
.demo { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.demo-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 44px; }
.demo-intro img { width: 100%; max-width: 460px; margin: 0 auto; height: auto; }
.demo-rail { flex: 0 0 280px; min-width: 240px; display: flex; flex-direction: column; gap: 10px; }
.demo-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left; min-height: 58px; color: var(--ink); background: #F8FAFF; border: 1px solid var(--line-blue); transition: border-color 0.15s ease, background-color 0.15s ease; }
.demo-step:hover { border-color: var(--accent); }
.demo-step.current { background: #fff; border: 2px solid var(--accent); }
.demo-step .n { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-dark); }
.demo-step.current .n { background: var(--accent); color: #fff; }
.demo-step.done .n { background: var(--green-soft); color: var(--green-ink); }
.demo-step b { display: block; font-size: 15px; font-weight: 800; }
.demo-step span.sub { display: block; font-size: 13px; color: var(--subtle); font-weight: 500; }
.demo-panel { flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-md); }
.demo-progress { display: flex; flex-direction: column; gap: 8px; }
.demo-progress .row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--subtle); }
.demo-progress .meter i { transition-duration: 0.4s; }
.demo-body { min-height: 420px; }
.demo-body h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.demo-body > div > p, .demo-lead { font-size: 16px; line-height: 1.6; color: var(--muted); }
.demo-fade { animation: fadeIn 0.3s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.profile-card { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-top { display: flex; align-items: center; gap: 14px; }
.kv-label { font-size: 13px; font-weight: 800; color: var(--subtle); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.jd-box { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px; max-height: 380px; overflow: auto; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 18px 0; }
.jd-box h4 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.jd-box ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.jd-title { font-size: 17px; font-weight: 800; color: var(--ink); }
.match-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 18px 0; }
.match-score { display: flex; align-items: flex-end; gap: 12px; }
.match-score .big-score { font-size: 72px; color: var(--amber); }
.match-score p { font-size: 15px; line-height: 1.5; color: var(--muted); padding-bottom: 8px; max-width: 260px; }
.match-dims { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.match-dims .row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.match-dims .meter { height: 7px; }
.gap-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.gap-list { flex: 1 1 250px; display: flex; flex-direction: column; gap: 8px; }
.gap-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--ink); min-height: 44px; background: #fff; border: 1px solid var(--line); text-align: left; font-size: 14px; font-weight: 700; line-height: 1.35; }
.gap-item:hover { border-color: var(--accent); }
.gap-item.sel { background: var(--accent-soft); border: 2px solid var(--accent); }
.gap-item .chip { font-size: 11.5px; font-weight: 800; padding: 4px 9px; white-space: nowrap; }
.gap-detail { flex: 1 1 260px; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.gap-detail .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.gap-detail .title { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.mock-q { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; cursor: pointer; color: var(--ink); min-height: 44px; background: #fff; border: 1px solid var(--line); text-align: left; font-size: 14.5px; font-weight: 600; line-height: 1.45; width: 100%; }
.mock-q:hover { border-color: var(--accent); }
.mock-q.sel { background: var(--accent-soft); border: 2px solid var(--accent); }
.mock-q b { color: var(--accent); font-weight: 800; font-size: 14px; flex-shrink: 0; }
.mock-list { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.feedback { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.bubble { background: #fff; border-radius: 12px; padding: 14px 16px; }
.plan-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin: 18px 0; }
.plan-list { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.plan-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 700; }
.plan-item span { color: var(--subtle); font-weight: 600; white-space: nowrap; }
.live-window { flex: 1 1 300px; background: var(--ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.live-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; font-weight: 700; }
.live-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: #1E293B; border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 12px; color: #94A3B8; }
.tile .who { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.tile .who.me { background: #475569; }
.live-q { background: #1E293B; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.live-q small { font-size: 12px; font-weight: 700; color: #9DB0FF; letter-spacing: 0.04em; text-transform: uppercase; }
.live-bar { height: 6px; background: #334155; border-radius: 999px; overflow: hidden; }
.live-bar i { display: block; width: 36%; height: 100%; background: #7FA0FF; }
.rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F87171; margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.assess-top { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 18px 0; }
.assess-top .big-score { font-size: 64px; color: var(--amber); }
.skill-row { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.skill-row > button { width: 100%; background: #fff; border: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-align: left; color: var(--ink); }
.skill-row .line { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 700; width: 100%; }
.skill-row .line .r { display: flex; gap: 8px; align-items: center; }
.skill-row .chip { font-size: 12px; font-weight: 800; padding: 3px 9px; }
.skill-row .meter { height: 7px; width: 100%; }
.skill-detail { background: var(--ground); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); border-top: 1px solid var(--line); }
.attempts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0; }
.attempt { background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.attempt .k { font-size: 12px; font-weight: 800; color: var(--subtle); letter-spacing: 0.05em; text-transform: uppercase; }
.attempt .v { font-size: 26px; font-weight: 800; }
.attempt .d { font-size: 13px; color: var(--muted); }
.passport-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.verified { display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.verified img { width: 16px; height: 16px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .meter > i, .btn, .card.hover-lift, .demo-fade, .rec-dot { transition: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .hero-grid, .integrity-grid, .demo-intro, .cta-band { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 20px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 64px; }
  .hero-visual { padding: 18px; }
  .float-badge { left: 12px; bottom: -18px; }
  .demo-panel { padding: 22px; }
  .demo-rail { flex: 1 1 100%; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .demo-step { flex: 0 0 auto; min-width: 210px; }
  .cta-band { padding: 40px 24px; border-radius: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-links { padding: 8px 20px 20px; }
}
.skill-row .meter { display: block; }


/* ---------- Hero carousel ---------- */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; min-width: 0; }
.slide.is-active { opacity: 1; visibility: visible; }
.hero-visual.banner { padding: 0; background: none; border-radius: 28px; box-shadow: var(--shadow-md); }
.hero-visual.banner img { width: 100%; height: auto; border-radius: 28px; }
.carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 44px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #CBD5E1; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.15s ease, transform 0.15s ease; }
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-btn img { width: 20px; height: 20px; }
.dots { display: flex; align-items: center; gap: 4px; margin: 0 6px; }
.dot { width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dot::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: #CBD5E1; transition: width 0.25s ease, background-color 0.25s ease; }
.dot[aria-current="true"]::before { width: 30px; background: var(--accent); }

/* ---------- Try it (JD match tool) ---------- */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.try-inputs { gap: 18px; }
.field textarea { font-family: inherit; font-size: 15px; line-height: 1.55; padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; min-height: 200px; }
.field textarea:focus { outline: 3px solid #B7C3FF; border-color: var(--accent); }
.chip-input { border: 1px solid #CBD5E1; border-radius: 10px; padding: 8px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; min-height: 50px; }
.chip-input:focus-within { outline: 3px solid #B7C3FF; border-color: var(--accent); }
.chip-input input { border: 0; outline: 0; flex: 1 1 140px; min-width: 120px; font-size: 15px; padding: 6px 4px; background: transparent; color: var(--ink); }
.chip-input .chip { display: inline-flex; align-items: center; gap: 6px; padding-right: 6px; }
.chip-input .chip button { background: transparent; border: 0; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.chip-input .chip button:hover { background: rgba(35, 64, 217, 0.15); }
.chip-input .chip button img { width: 14px; height: 14px; }
.try-result { min-height: 420px; }
.try-empty { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 8px 0; }
.try-out[hidden] { display: none; }
.try-out { display: flex; flex-direction: column; gap: 20px; animation: fadeIn 0.35s ease both; }
.gauge-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.gauge { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--accent-soft); stroke-width: 12; }
.gauge .arc { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1s cubic-bezier(0.2, 0.7, 0.2, 1), stroke 0.3s; }
.gauge .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 36px; }
.verdict { display: flex; flex-direction: column; gap: 6px; min-width: 180px; flex: 1; }
.verdict .chip { align-self: flex-start; font-weight: 800; }
.result-block { display: flex; flex-direction: column; gap: 8px; }
.result-block .label { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--subtle); }
.tips { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.tips li { display: flex; gap: 10px; }
.tips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.calc-inputs { gap: 28px; }
.slider { display: flex; flex-direction: column; gap: 10px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 700; }
.slider-top output { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--accent); line-height: 1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--accent-soft); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3); }
.calc-result { gap: 22px; }
.calc-hero { display: flex; align-items: flex-end; gap: 16px; }
.calc-hero .big-score { font-size: 80px; color: var(--green); }
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar-row .row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.bar-row .meter i { transition: width 0.5s ease; }

@media (max-width: 1060px) {
  .try-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .carousel-controls { margin-top: 28px; flex-wrap: wrap; }
  .dot { width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .gauge .arc, .try-out { transition: none; animation: none; }
}

/* ---------- Fixes ---------- */
[hidden] { display: none !important; }
.slide { display: flex; align-items: center; }
.slide > .hero-grid { width: 100%; }
@media (max-width: 1060px) {
  .slide:not(.is-active) { max-height: 0; overflow: hidden; }
}

/* Photos (hotlinked from Unsplash, SVG fallback via onerror) */
img.photo{object-fit:cover;border-radius:24px;box-shadow:0 18px 40px -18px rgba(15,23,42,.35);width:100%;height:auto;aspect-ratio:64/44}
.hero-visual.banner img.photo{max-height:440px}
