/* SmartPerks prototype, cloned from salaryse.com design system (see ../design-language.md) */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;700;800;900&display=swap');

:root {
  --black: #000000;
  --surface: #070708;
  --nav-bg: rgba(7, 7, 8, 0.88);
  --yellow: #EEF14A;
  --yellow-tint: rgba(238, 241, 74, 0.2);
  --blue: #3D41FA;          /* brand blue, primary interactive */
  --blue-nav: #194BCD;      /* live-site nav CTA blue */
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.1);
  --maxw: 1200px;
  --radius-card: 24px;
  --radius-btn: 16px;
  --font: "Noto Sans", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* shared easing token, one motion system site-wide */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { text-transform: lowercase; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 67px); line-height: 1.04; }
h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; line-height: 1.08; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; }
h4 { font-size: 19px; line-height: 1.2; }
p  { color: var(--muted); font-weight: 300; }
.lead { font-size: 19px; color: var(--muted); }
.small { font-size: 14px; color: var(--faint); }

.hl { color: var(--yellow); }                    /* signature yellow keyword inside headings */
.eyebrow {
  display: block; font-size: 12px; font-weight: 400; color: var(--yellow);
  text-transform: lowercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.dot { color: var(--yellow); }                   /* brand yellow-dot punctuation: heading<span class="dot">.</span> */

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { font-weight: 900; font-size: 22px; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.nav-logo .hl { color: var(--yellow); font-size: 17px; font-weight: 900; text-transform: lowercase; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; text-transform: lowercase; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* nav dropdown (products) */
.nav-item { position: relative; }
.nav-drop-trigger {
  font-family: var(--font); font-size: 15px; text-transform: lowercase; cursor: pointer;
  background: none; border: 0; color: var(--muted); padding: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-drop-trigger::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.nav-item:hover .nav-drop-trigger, .nav-drop-trigger:hover, .nav-item.active .nav-drop-trigger { color: var(--white); }
.nav-item:hover .nav-drop-trigger::after, .nav-item.open .nav-drop-trigger::after { transform: rotate(225deg); margin-top: 2px; }
.dropdown {
  position: absolute; top: calc(100% + 18px); left: -16px; min-width: 320px; z-index: 110;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; } /* hover bridge */
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a { display: block; padding: 12px 14px; border-radius: 12px; }
.dropdown a b { display: block; color: var(--white); font-size: 15px; font-weight: 700; text-transform: lowercase; }
.dropdown a span { display: block; color: var(--faint); font-size: 12.5px; font-weight: 300; margin-top: 2px; }
.dropdown a:hover { background: rgba(255,255,255,0.05); }

/* hamburger (mobile only) */
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--white); transition: transform .3s var(--ease-out); }
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { bottom: 15px; }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-links .nav-mobile-cta { display: none; } /* mobile-menu copy of the CTA; must outrank .btn's display */
body.nav-locked { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--font); font-size: 16px; text-decoration: none; cursor: pointer; border: 0; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-blue   { background: var(--blue); color: var(--white); border-radius: var(--radius-btn); padding: 14px 28px; font-weight: 700; }
.btn-nav    { background: var(--blue-nav); color: var(--white); border-radius: 12px; padding: 12px 25px; border: 1px solid var(--border); }
.btn-pill-yellow { background: var(--yellow); color: var(--surface); border-radius: 100px; padding: 16px 40px; font-weight: 700; }
.btn-pill-white  { background: var(--white); color: var(--blue-nav); border-radius: 100px; padding: 16px 40px; font-weight: 700; }
.btn-ghost  { background: rgba(255,255,255,0.9); color: var(--surface); border-radius: 16px; padding: 10px 15px; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.hero { padding: 180px 0 96px; background: var(--black); }
.hero .lead { max-width: 640px; margin: 24px 0 36px; }

/* logo strip divider */
.logo-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.logo-strip .container { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.logo-strip span { color: var(--faint); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }

/* logo wall, white pill chips like the deck slide, all identical size */
.logo-wall {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px;
}
.logo-chip {
  background: var(--white); border-radius: 100px; height: 64px; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center;
}
.logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 900px)  { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px)  { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* phone mockups */
.phone-mockup { display: flex; justify-content: center; align-items: center; }
.phone-mockup img { max-height: 540px; width: auto; max-width: 100%; display: block; }

/* app screens from the product (raw screenshots get a phone-frame treatment) */
.screen {
  border-radius: 28px; border: 5px solid #1c1c1f; background: #0a0a0c;
  overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: 240px; margin: 0 auto; aspect-ratio: 720 / 1560;
}
.screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-wide { border-radius: 16px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.screen-wide img { width: 100%; display: block; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--surface);
  font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* device product shots */
.device-shot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px; display: flex; align-items: center; justify-content: center; height: 180px; }
.device-shot img { max-height: 150px; max-width: 100%; object-fit: contain; }

/* compliance badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  border: 1px solid rgba(238,241,74,0.35); background: var(--surface); border-radius: 100px;
  padding: 12px 24px; font-weight: 700; font-size: 15px; color: var(--white);
}
.badge span { color: var(--yellow); margin-right: 8px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 32px;
}
.card-yellow { background: var(--yellow-tint); border: 1px solid rgba(238,241,74,0.35); border-radius: var(--radius-card); padding: 32px; }

/* editorial numbered list (replaces arrow bullets in cards) */
.num-list { list-style: none; margin-top: 12px; counter-reset: nl; }
.num-list li {
  counter-increment: nl; position: relative;
  padding: 13px 0 13px 44px; border-bottom: 1px solid var(--border);
  font-weight: 300;
}
.num-list li:last-child { border-bottom: 0; padding-bottom: 4px; }
.num-list li::before {
  content: "0" counter(nl);
  position: absolute; left: 0; top: 14px;
  color: var(--yellow); font-weight: 900; font-size: 14px; letter-spacing: 0.06em;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* stat tiles */
.stat { text-align: left; }
.stat .num { font-size: 44px; font-weight: 900; color: var(--yellow); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- Versus: point-for-point old way vs SalarySe way ---------- */
.versus {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--border);
}
.versus .vs-old { background: var(--surface); }
.versus .vs-new { background: var(--yellow-tint); }
.vs-head { padding: 22px 28px 14px; font-weight: 900; font-size: 19px; text-transform: lowercase; }
.vs-head.vs-old { color: var(--faint); }
.vs-head.vs-new { color: var(--white); }
.vs-cell {
  padding: 16px 28px; font-weight: 300; font-size: 15px; line-height: 1.5;
  border-top: 1px solid var(--border); position: relative; padding-left: 56px;
  display: flex; align-items: center;
}
.vs-cell.vs-old { color: var(--faint); }
.vs-cell.vs-new { border-top-color: rgba(238,241,74,0.25); }
.vs-cell i {
  font-style: normal; position: absolute; left: 28px; font-weight: 900;
}
.vs-cell.vs-old i { color: var(--faint); }
.vs-cell.vs-new i { color: var(--yellow); }
@media (max-width: 900px) {
  .versus { grid-template-columns: 1fr; }
  .vs-head.vs-new { display: none; }
  .vs-cell.vs-old { border-top: 1px solid var(--border); }
  .vs-cell.vs-new { border-top: 0; }
}

/* ---------- Old way vs new way (dinosaur module) ---------- */
.oldnew { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.old-way { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-card); padding: 32px; }
.old-way h4 { color: var(--faint); }
.old-way li { color: var(--faint); }
.new-way { background: var(--yellow-tint); border: 1px solid rgba(238,241,74,0.35); border-radius: var(--radius-card); padding: 32px; }
.oldnew ul { list-style: none; margin-top: 16px; }
.oldnew li { padding: 8px 0 8px 28px; position: relative; font-weight: 300; }
.old-way li::before { content: "✕"; position: absolute; left: 0; color: var(--faint); }
.new-way li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); }

/* ---------- Comparison table (vs pages) ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-card); overflow: hidden; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border); font-weight: 300; }
.compare th { font-weight: 800; text-transform: lowercase; font-size: 15px; }
.compare th.us, .compare td.us { background: rgba(61, 65, 250, 0.15); }
.compare td.yes { color: var(--yellow); font-weight: 700; }
.compare td.no  { color: var(--faint); }
.table-scroll { overflow-x: auto; border-radius: var(--radius-card); }

/* ---------- Calculator ---------- */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 40px; }
.calc label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--faint); margin: 22px 0 8px; text-transform: lowercase; }
.calc label:first-child { margin-top: 0; }
.calc input, .calc select {
  width: 100%; padding: 16px 18px; font-family: var(--font); font-size: 17px; font-weight: 500;
  background: #0d0d10; color: var(--white);
  border: 1px solid var(--border); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.calc input:hover, .calc select:hover { border-color: rgba(255,255,255,0.22); }
.calc input:focus, .calc select:focus {
  outline: none; border-color: rgba(238,241,74,0.6);
  box-shadow: 0 0 0 3px rgba(238,241,74,0.15);
}
.calc input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.calc input[type="number"]::-webkit-outer-spin-button, .calc input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23EEF14A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.input-wrap { position: relative; }
.input-wrap > span {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--yellow); font-weight: 700; font-size: 17px; pointer-events: none;
}
.input-wrap input { padding-left: 38px; }
.seg-toggle { display: flex; background: #0d0d10; border: 1px solid var(--border); border-radius: 14px; padding: 4px; }
.seg-toggle button {
  flex: 1; font-family: var(--font); font-size: 14px; cursor: pointer; border: 0;
  background: transparent; color: var(--muted); border-radius: 11px; padding: 12px; text-transform: lowercase;
  transition: color .15s ease;
}
.seg-toggle button:hover { color: var(--white); }
.seg-toggle button.active { background: var(--blue); color: var(--white); font-weight: 700; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip { position: relative; }
.cat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cat-chip span {
  display: inline-block; border: 1px solid var(--border); background: #0d0d10;
  border-radius: 100px; padding: 9px 16px; font-size: 13px; color: var(--muted);
  cursor: pointer; transition: all .15s ease; user-select: none;
}
.cat-chip span:hover { border-color: rgba(238,241,74,0.4); color: var(--white); }
.cat-chip input:checked + span { background: var(--yellow-tint); border-color: rgba(238,241,74,0.5); color: var(--white); }
.cat-chip input:checked + span::before { content: "✓ "; color: var(--yellow); font-weight: 700; }
.calc-result { background: var(--yellow-tint); border-radius: 16px; padding: 24px; margin-top: 24px; }
.calc-result .num { font-size: 40px; font-weight: 900; color: var(--yellow); }
.assumptions { font-size: 12px; color: var(--faint); margin-top: 16px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; position: relative; padding-right: 32px; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--yellow); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; }

/* ---------- Lead form (cloned from /employer) ---------- */
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 40px; }
.lead-form label { display: block; font-size: 14px; color: var(--muted); margin: 16px 0 6px; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; padding: 14px 16px; font-family: var(--font); font-size: 16px;
  background: var(--black); color: var(--white); border: 1px solid var(--border); border-radius: 12px;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: 2px solid var(--blue); border-color: transparent; }
.lead-form .check { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.lead-form .check input { width: auto; }
.lead-form button { margin-top: 24px; }

/* ---------- Testimonials ---------- */
.testimonial-slot {
  background: var(--surface); border: 1px dashed rgba(238,241,74,0.4);
  border-radius: var(--radius-card); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
}
.testimonial-slot .play { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 40px; margin-top: 96px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { font-size: 12px; font-weight: 400; color: var(--yellow); text-transform: lowercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 300; padding: 5px 0; }
.footer a:hover { color: var(--white); }
.footer .fineprint { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--faint); }

/* ---------- Homepage round-5 components (design-head structure) ---------- */

/* hero split + phone mock */
.hero-split { padding: 150px 0 80px; overflow: hidden; }
.hero-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.link-arrow { color: var(--yellow); text-decoration: none; font-weight: 700; font-size: 16px; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }
/* arrow-slide micro-interaction for cards/links (ramp-style, one interaction repeated everywhere) */
.arrow-cta::after { content: "→"; display: inline-block; margin-left: 6px; color: var(--yellow); transition: transform .3s var(--ease-out); }
.arrow-cta:hover::after, a:hover > .arrow-cta::after, .card:hover .arrow-cta::after { transform: translateX(4px); }
.microcopy { font-size: 13px; color: var(--faint); margin-top: 18px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-phone {
  width: 290px; padding: 26px 22px 30px; border-radius: 34px;
  border: 5px solid #1c1c1f; background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.pay-brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; }
.pay-brand span { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.pay-label { font-size: 12px; color: var(--faint); margin-top: 20px; }
.pay-merchant { font-weight: 900; font-size: 24px; line-height: 1.1; }
.pay-amount { font-weight: 900; font-size: 40px; margin: 6px 0 16px; }
.pay-ai {
  background: var(--yellow-tint); border: 1px solid rgba(238,241,74,0.35);
  border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted);
}
.pay-ai strong { display: block; color: var(--yellow); font-size: 12px; letter-spacing: 0.04em; margin-bottom: 2px; }
.pay-claim {
  background: var(--blue); color: var(--white); border-radius: 14px;
  padding: 13px; text-align: center; font-weight: 700; font-size: 15px; margin-top: 12px;
}
.pay-save { font-size: 12px; color: var(--yellow); margin-top: 12px; text-align: center; }

.float-chip {
  position: absolute; z-index: 2; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 14px; font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.float-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.float-chip b { color: var(--yellow); font-weight: 900; }
.float-chip s { color: var(--faint); }

/* idle bob on hero/visual chips (ramp-style ambient motion) */
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-visual .float-chip, .math-visual .float-chip { animation: chipFloat 4.5s ease-in-out infinite; }
.hero-visual .float-chip:nth-of-type(2n), .math-visual .float-chip:nth-of-type(2n) { animation-delay: 1.4s; }
.hero-visual .float-chip:nth-of-type(3n) { animation-delay: 2.6s; }

/* hero device shot (product pages) */
.hero-device { text-align: center; }
.hero-device img {
  max-height: 480px; max-width: 100%; width: auto;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,0.65));
  animation: chipFloat 7s ease-in-out infinite;
}
.math-visual { position: relative; text-align: center; padding: 12px 0; }
.math-visual img {
  max-height: 360px; max-width: 100%; width: auto;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.6));
}

/* status quo steps */
.step-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step-card {
  background: var(--surface); border: 1px dashed var(--border); border-radius: 16px;
  padding: 18px 16px; font-size: 14px; color: var(--faint); font-weight: 300; line-height: 1.4;
}
.step-idx { display: block; font-weight: 900; font-size: 13px; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 10px; }

/* blue banner */
.banner-blue {
  background: var(--blue); border-radius: var(--radius-card);
  padding: 22px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.banner-blue strong { font-size: 20px; font-weight: 900; text-transform: lowercase; }
.banner-tag { font-size: 13px; color: rgba(255,255,255,0.75); border-right: 1px solid rgba(255,255,255,0.3); padding-right: 24px; }
.banner-chip { margin-left: auto; background: var(--white); color: var(--blue-nav); border-radius: 100px; padding: 8px 18px; font-weight: 700; font-size: 14px; }

/* suite cards */
.badge-chip {
  display: inline-block; background: var(--yellow-tint); border: 1px solid rgba(238,241,74,0.35);
  color: var(--yellow); border-radius: 100px; padding: 6px 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: lowercase;
}
.suite-stat { font-size: 40px; font-weight: 900; color: var(--yellow); margin: 18px 0 10px; line-height: 1; }
.suite-stat span { display: block; font-size: 14px; font-weight: 300; color: var(--muted); margin-top: 6px; }
.mini-txn { margin-top: 24px; border-top: 1px solid var(--border); }
.mini-txn > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.mini-txn span { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.mini-txn i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.mini-txn b { font-weight: 700; }
.mini-price { margin-top: 24px; border-top: 1px solid var(--border); }
.mini-price > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.mini-price span { color: var(--muted); }
.mini-price s { color: var(--faint); }
.mini-price b { font-weight: 900; font-size: 20px; color: var(--yellow); }

/* testimonial quote wall */
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote-card .quote { font-size: 17px; line-height: 1.55; color: var(--white); font-weight: 400; }
.quote-card .quote-who { font-size: 13px; font-weight: 700; color: var(--yellow); }
.quote-card .quote-who span { display: block; font-weight: 300; color: var(--faint); margin-top: 2px; }

/* note bar */
.note-bar {
  background: var(--yellow-tint); border: 1px solid rgba(238,241,74,0.35); border-radius: 16px;
  padding: 14px 22px; font-size: 14px; color: var(--muted);
}

/* buying committee tabs */
.tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-pill {
  font-family: var(--font); font-size: 14px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
  border-radius: 100px; padding: 11px 22px; text-transform: lowercase; transition: all .2s ease;
}
.tab-pill:hover { color: var(--white); border-color: rgba(238,241,74,0.45); }
.tab-pill.active { background: var(--yellow); color: var(--surface); border-color: var(--yellow); font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: resultIn .35s ease; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--yellow); font-weight: 900; }
.check-list b { display: block; font-weight: 700; }
.check-list span { font-size: 14px; color: var(--muted); font-weight: 300; }
.report-card { background: var(--black); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }

/* homepage calculator */
.calc input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--yellow); height: 28px; }
.calc label output { float: right; color: var(--yellow); font-weight: 700; }
.regime-toggle { display: flex; background: var(--black); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-top: 4px; }
.regime-toggle button {
  flex: 1; font-family: var(--font); font-size: 14px; cursor: pointer; border: 0;
  background: transparent; color: var(--muted); border-radius: 9px; padding: 11px; text-transform: lowercase;
}
.regime-toggle button.active { background: var(--blue); color: var(--white); font-weight: 700; }
.calc-big { font-size: 52px; font-weight: 900; color: var(--yellow); line-height: 1.1; margin: 8px 0 18px; }
.calc-sub { border-top: 1px solid rgba(238,241,74,0.25); padding-top: 16px; }
.calc-sub b { font-size: 24px; font-weight: 900; display: block; }
.calc-sub span { font-size: 13px; color: var(--muted); }

/* final CTA band */
.cta-blue { background: var(--blue); padding: 96px 0; margin-top: 0; }
.cta-blue .lead, .cta-blue .microcopy { color: rgba(255,255,255,0.8); }
.cta-blue .dot { color: var(--yellow); }

/* ---------- Logo marquee (ramp-style, duplicated-children CSS loop) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee-group .logo-chip { width: 170px; flex: 0 0 auto; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sticky scrollytelling (old way → SalarySe way) ---------- */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.scrolly-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.scrolly-step .step-tag {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 900; letter-spacing: 0.08em;
  color: var(--yellow); border: 1px solid rgba(238,241,74,0.35); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 16px; text-transform: lowercase;
}
.scrolly-visual { position: sticky; top: calc(84px + 48px); height: calc(100vh - 84px - 96px); min-height: 420px; }
.scrolly-panel {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.scrolly-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.scrolly-mvis { display: none; margin-top: 24px; } /* per-step visual, mobile / reduced-motion only */
@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly-visual { display: none; }
  .scrolly-step { min-height: 0; padding: 28px 0; }
  .scrolly-mvis { display: block; }
}

/* ---------- Hero lead form (high-intent capture) ---------- */
.hero-form-col { position: relative; }
.hero-form {
  position: relative; z-index: 2; max-width: 480px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 26px 28px; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}
.hero-form h3 { font-size: 20px; }
.hero-form .form-sub { font-size: 13.5px; color: var(--faint); margin-top: 4px; }
.hero-form label {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--faint); margin: 13px 0 5px; text-transform: lowercase;
}
.hero-form input, .hero-form select {
  width: 100%; padding: 12px 14px; font-family: var(--font); font-size: 15px; font-weight: 500;
  background: #0d0d10; color: var(--white); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-form input:hover, .hero-form select:hover { border-color: rgba(255,255,255,0.22); }
.hero-form input:focus, .hero-form select:focus {
  outline: none; border-color: rgba(238,241,74,0.6); box-shadow: 0 0 0 3px rgba(238,241,74,0.15);
}
.hero-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23EEF14A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.hero-form button[type="submit"] { width: 100%; margin-top: 18px; }
.form-or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12px; margin-top: 14px; text-transform: lowercase; }
.form-or::before, .form-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-cal {
  display: block; width: 100%; margin-top: 14px; text-align: center; text-decoration: none;
  background: transparent; border: 1px solid rgba(238,241,74,0.45); color: var(--yellow);
  border-radius: var(--radius-btn); padding: 13px; font-weight: 700; font-size: 15px;
  transition: background .3s var(--ease-out), transform .15s ease;
}
.btn-cal:hover { background: var(--yellow-tint); transform: translateY(-1px); }
.hero-form .microcopy { margin-top: 14px; }

/* ---------- Disclosure (sequential-disclosure card accordion) ---------- */
.disclosure { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 0 22px; margin-top: 24px; }
.disclosure > summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
  padding: 18px 32px 18px 0; position: relative;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--yellow); font-size: 22px; font-weight: 400; }
.disclosure[open] > summary::after { content: "−"; }
.disclosure .disclosure-body { padding: 4px 0 22px; }
.disclosure .disclosure-body > * { animation: faqIn .3s ease; }

@media (max-width: 1100px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-chip { margin-left: 0; }
}

/* ---------- Motion ---------- */
html { scroll-behavior: smooth; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* stagger children of revealed grids */
.reveal.in > * { animation: none; }
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(2) { transition-delay: .08s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .24s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .32s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .40s; }

.card, .card-yellow, .logo-chip, .device-shot { transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:hover, .card-yellow:hover { transform: translateY(-4px); border-color: rgba(238,241,74,0.45); box-shadow: 0 14px 40px rgba(0,0,0,0.4); }
.logo-chip:hover { transform: translateY(-3px) scale(1.04); }
.device-shot:hover { transform: translateY(-4px); border-color: rgba(238,241,74,0.45); }
.btn:active { transform: translateY(0) scale(0.98); }
.faq details p { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.calc-result { animation: resultIn .45s ease; }
@keyframes resultIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nav { transition: box-shadow .3s ease; }
.nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,0.5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .logo-chip, .device-shot, .btn { transition: none !important; }
  .calc-result, .faq details p { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; width: auto; flex-wrap: wrap; }
  .marquee-group { flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"] { display: none; } /* fall back to the static wall */
  .scrolly-visual { display: none; }
  .scrolly-step { min-height: 0; padding: 28px 0; }
  .scrolly-mvis { display: block; }
  .dropdown, .nav-burger span, .link-arrow::after, .arrow-cta::after, .btn-cal { transition: none !important; }
  .disclosure .disclosure-body > * { animation: none !important; }
  .float-chip, .hero-device img { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .oldnew, .footer-cols { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 64px; }
  .section { padding: 64px 0; }

  /* mobile nav: full-height blurred panel toggled by the burger */
  .nav-burger { display: block; }
  .nav-inner > .btn-nav { display: none; }
  .nav-links {
    /* .nav's backdrop-filter makes it the containing block, so size against the viewport explicitly */
    position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); z-index: 105;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 7, 8, 0.97); backdrop-filter: blur(16px);
    padding: 24px; overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links > a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-item { position: static; }
  .nav-drop-trigger { pointer-events: none; color: var(--yellow); font-size: 12px; letter-spacing: 0.08em; padding: 16px 4px 4px; }
  .nav-drop-trigger::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0;
  }
  .dropdown::before { display: none; }
  .dropdown a { padding: 10px 4px; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 20px; text-align: center; border-bottom: 0; }
}
