:root {
  --black: #030303;
  --panel: #080808;
  --panel-2: #0d0d0d;
  --white: #f5f2eb;
  --muted: #a6a39d;
  --gold: #d5a22a;
  --gold-bright: #f0bd3d;
  --line: rgba(213,162,42,.28);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3,3,3,.82);
  border-bottom: 1px solid rgba(213,162,42,.12);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 124px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 236px; height: 116px; object-fit: contain; object-position: left center; }
.footer-brand img { width: 190px; height: 92px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 38px; margin-left: auto; }
.main-nav a, footer nav a {
  color: #ddd; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em;
}
.main-nav a:hover, footer nav a:hover { color: var(--gold-bright); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-outline { color: var(--gold-bright); border: 1px solid var(--gold); background: rgba(0,0,0,.25); }
.button-outline:hover { box-shadow: 0 0 28px rgba(213,162,42,.2); }
.button-gold {
  color: #080808; border: 1px solid #f3ca5d;
  background: linear-gradient(135deg, #9d6f13, #f0c653 52%, #a77718);
  box-shadow: 0 0 24px rgba(213,162,42,.2);
}
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 25px; height: 1px; background: var(--white); margin: 6px 0; }

.hero {
  position: relative; min-height: 660px; display: grid; align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 32% 45%, rgba(196,127,0,.12), transparent 31%),
    linear-gradient(90deg, #030303 0%, #050505 50%, #020202 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 145px;
  background: url("assets/gold-curve-clean.png") center bottom / cover no-repeat;
  opacity: .34;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: center; position: relative; z-index: 2; padding: 74px 0 168px; }
.hero-copy { max-width: 510px; }
.eyebrow { color: var(--gold-bright); text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; display: flex; align-items: center; gap: 18px; }
.eyebrow::after { content: ""; width: 62px; height: 1px; background: var(--gold); }
h1 { font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1.05; letter-spacing: -.045em; margin: 18px 0 24px; font-weight: 600; }
h1 em { color: var(--gold); font-style: normal; }
.hero-lead { font-size: 1.08rem; color: #e1dfda; max-width: 420px; }
.hero-sub { color: #c5c1b9; font-size: 1.02rem; max-width: 430px; }
.gold-rule { width: 70px; height: 2px; background: var(--gold); margin: 24px 0; }
.hero-actions { display: flex; gap: 20px; align-items: center; margin-top: 34px; margin-bottom: 28px; flex-wrap: wrap; }
.dashboard-shell {
  padding: 10px; border: 1px solid rgba(213,162,42,.55); border-radius: 16px;
  background: rgba(7,7,7,.88); transform: perspective(1100px) rotateY(-2deg);
  box-shadow: 0 28px 70px rgba(0,0,0,.7), 0 0 44px rgba(213,162,42,.08);
}
.dashboard-shell img { width: 100%; border-radius: 10px; }

.investor-types { position: relative; z-index: 3; padding: 42px 0 38px; border-bottom: 1px solid var(--line); background: #030303; }
.section-kicker { color: var(--gold-bright); text-transform: uppercase; letter-spacing: .16em; font-size: .86rem; margin: 0 0 28px; }
.centered { text-align: center; }
.type-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; }
.type-item { display: flex; gap: 14px; align-items: center; justify-content: center; min-height: 72px; color: #bcb8b0; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; border-right: 1px solid var(--line); }
.type-item:last-child { border-right: 0; }
.line-icon { color: var(--gold-bright); font-size: 2rem; font-weight: 300; }

.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(6,1fr); }
.feature-card { padding: 10px 22px; text-align: center; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-icon { display: block; color: var(--gold-bright); font-size: 2.7rem; min-height: 68px; }
.feature-card h2 { font-size: .98rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; min-height: 50px; }
.feature-card p { color: var(--muted); font-size: .78rem; }

.team { background: linear-gradient(180deg,#030303,#070707); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; max-width: 980px; margin: auto; }
.person { display: grid; grid-template-columns: 220px 1fr; align-items: end; gap: 24px; }
.portrait { align-self: stretch; min-height: 260px; overflow: hidden; background: #080808; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.07); }
.person-copy { padding-bottom: 22px; }
.person h2 { color: var(--gold-bright); text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; margin: 0 0 6px; }
.role { color: #aaa; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.person-copy > p:last-child { color: #aaa; font-size: .88rem; }
.mini-rule { width: 26px; height: 1px; background: var(--gold); margin: 14px 0; }

.integrations { padding-bottom: 72px; overflow: hidden; }
.ticker {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 70px;
  padding-right: 70px;
  flex-shrink: 0;
}
.integration-logo {
  width: 150px;
  height: 76px;
  margin: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.integration-logo img {
  display: block;
  width: auto;
  max-width: 145px;
  height: 56px;
  object-fit: contain;
}
.integration-logo--quickbooks { width: 178px; }
.integration-logo--bamboohr { width: 164px; }
.integration-logo--hubspot { width: 160px; }
.integration-logo--workday { width: 158px; }
.integration-logo--oracle { width: 158px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 58px 0 64px;
  background: #030303;
  border-bottom: 1px solid var(--line);
}
.final-curve {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: url("assets/gold-curve-clean.png") center bottom / cover no-repeat;
  opacity: .62;
  pointer-events: none;
}
.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .88fr);
  gap: 70px;
  align-items: center;
}
.final-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.final-cta p {
  color: #eeeae2;
  margin: 0;
  font-size: clamp(1.55rem, 2.45vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 400;
}
.final-gold-rule {
  width: 102px;
  height: 2px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(213,162,42,.22));
  box-shadow: 0 0 16px rgba(213,162,42,.16);
}
.access-form {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.access-form input {
  min-width: 250px;
  min-height: 48px;
  border: 1px solid rgba(213,162,42,.45);
  border-radius: 3px;
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 0 16px;
  outline: none;
}
.access-form input::placeholder { color: #8f8c85; }
.access-form input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(213,162,42,.1);
}

footer { padding: 18px 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
footer p { color: #777; font-size: .68rem; }
footer nav { display: flex; gap: 28px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 1000px) {
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .dashboard-shell { transform: none; }
  .feature-grid { grid-template-columns: repeat(3,1fr); row-gap: 42px; }
  .feature-card:nth-child(3) { border-right: 0; }
  .team-grid { gap: 36px; }
  .person { grid-template-columns: 160px 1fr; }
}
@media (max-width: 760px) {
  .brand img { width: 160px; height: 78px; }
  .nav-wrap { min-height: 88px; }
  .main-nav { top: 88px; }
  .container { width: min(100% - 30px, var(--container)); }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    padding: 22px; background: #050505; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 20px;
  }
  .main-nav.open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid { padding: 58px 0 126px; gap: 44px; }
  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-item { border-bottom: 1px solid var(--line); }
  .type-item:nth-child(even) { border-right: 0; }
  .type-item:last-child { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { border-right: 1px solid var(--line); }
  .feature-card:nth-child(even) { border-right: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 145px 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .access-form { justify-content: flex-start; flex-direction: column; }
  .access-form input, .access-form button { width: 100%; min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 480px) {
  .integration-logo,
  .integration-logo--quickbooks,
  .integration-logo--bamboohr,
  .integration-logo--hubspot,
  .integration-logo--workday,
  .integration-logo--oracle { width: 118px; height: 62px; }
  .integration-logo img { max-width: 112px; height: 44px; }
  .ticker-group { gap: 48px; padding-right: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 16px; }
  .person { grid-template-columns: 1fr; }
  .portrait { min-height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
