:root {
  --navy: #07152f;
  --navy-2: #0c2447;
  --navy-3: #15325c;
  --ink: #101828;
  --muted: #5b677a;
  --muted-2: #7e8a9c;
  --line: #e1e7ef;
  --line-soft: #edf1f6;
  --bg: #f4f6f9;
  --cream: #f7f8f4;
  --white: #ffffff;
  --lime: #c6f32b;
  --lime-soft: #efffc2;
  --lime-deep: #8fb800;
  --green: #1f9d55;
  --shadow: 0 18px 50px rgba(7, 21, 47, 0.1);
  --shadow-soft: 0 8px 24px rgba(7, 21, 47, 0.07);
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 48px));
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--navy);
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

:focus-visible {
  outline: 3px solid var(--lime-deep);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 248, 244, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 248, 244, 0.96);
  border-bottom-color: rgba(7, 21, 47, 0.08);
  box-shadow: 0 8px 30px rgba(7, 21, 47, 0.04);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 66px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: rgba(7, 21, 47, 0.18);
}

.brand-product {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3.2px;
  color: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: #3d4a5e;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  background: var(--white);
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(198, 243, 43, 0.25);
}

.btn-primary:hover {
  background: #d3ff42;
  box-shadow: 0 14px 34px rgba(198, 243, 43, 0.34);
}

.btn-sm {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 12px;
  font-size: 12px;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(7, 21, 47, 0.16);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: rgba(7, 21, 47, 0.26);
}

.btn-lime {
  background: var(--lime);
  color: var(--navy);
}

.btn-lime:hover {
  background: #d3ff42;
}

.btn-outline-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 3px;
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- typography */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 243, 43, 0.22);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.58);
}

.section {
  padding: 112px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-head h2,
.split-intro h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 0.98;
}

.section-head > p:last-child,
.split-intro > div > p:last-child {
  margin-top: 22px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 74px 0 30px;
  background:
    radial-gradient(circle at 84% 18%, rgba(198, 243, 43, 0.22), transparent 23%),
    radial-gradient(circle at 8% 78%, rgba(12, 36, 71, 0.06), transparent 30%),
    var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
  min-height: 630px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 22px 0 12px;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(50px, 6.4vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  color: var(--navy);
}

.nowrap {
  white-space: nowrap;
}

.hero h1 .highlight {
  background: linear-gradient(transparent 72%, var(--lime) 72%, var(--lime) 94%, transparent 94%);
  padding: 0 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lede {
  margin-top: 26px;
  max-width: 570px;
  font-size: 18px;
  line-height: 1.68;
  color: #465367;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.micro {
  margin-top: 15px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
}

.hero-people {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  border: 2px solid var(--cream);
}

.avatar + .avatar {
  margin-left: -8px;
}

.avatar-pg {
  background: var(--lime);
  color: var(--navy);
}

.avatar-qg {
  background: var(--navy);
  color: var(--white);
}

.hero-people p {
  max-width: 310px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-people strong {
  color: var(--navy);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  z-index: 1;
}

.visual-glow {
  position: absolute;
  inset: 12% 4% 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 243, 43, 0.34), rgba(198, 243, 43, 0) 68%);
  filter: blur(10px);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(7, 21, 47, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 570px;
  height: 570px;
  right: -30px;
  top: 28px;
}

.orbit-two {
  width: 430px;
  height: 430px;
  right: 25px;
  top: 98px;
  border-color: rgba(7, 21, 47, 0.06);
}

.device {
  position: absolute;
  width: 312px;
  padding: 9px;
  border-radius: 46px;
  background: var(--navy);
  box-shadow: 0 30px 60px rgba(7, 21, 47, 0.23);
}

.device-screen {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 37px;
  background: var(--white);
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: var(--navy);
  z-index: 3;
}

.device-main {
  right: 22px;
  top: 18px;
  z-index: 3;
  transform: rotate(1.3deg);
}

.device-back {
  left: 4px;
  top: 132px;
  width: 256px;
  z-index: 1;
  transform: rotate(-8deg);
  opacity: 0.96;
}

.device-back .device-screen {
  border-radius: 30px;
}

.device-back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(7, 21, 47, 0.02), rgba(7, 21, 47, 0.16));
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 35px rgba(7, 21, 47, 0.15);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.float-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.float-icon .icon {
  width: 14px;
  height: 14px;
}

.float-icon-lime {
  background: var(--lime);
  color: var(--navy);
}

.float-icon-navy {
  background: var(--navy);
  color: var(--lime);
}

.float-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.float-copy small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.float-copy strong {
  font-size: 11px;
  color: var(--navy);
}

.float-copy span {
  font-size: 9px;
  color: var(--muted);
}

.float-lead {
  left: -18px;
  top: 208px;
}

.float-contract {
  left: 30px;
  bottom: 46px;
  animation-delay: -2.6s;
}

.float-live {
  right: -2px;
  top: 96px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 99px;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 14px 28px rgba(7, 21, 47, 0.22);
  animation: float 6s ease-in-out infinite;
  animation-delay: -1.2s;
}

.float-live strong {
  color: var(--lime);
  font-size: 11px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5b5b;
  box-shadow: 0 0 0 3px rgba(255, 91, 91, 0.18);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid rgba(7, 21, 47, 0.1);
}

.hero-bottom p {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
}

.hero-bottom .icon {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------- proof */
.proof-strip {
  background: var(--navy);
  color: var(--white);
  padding: 27px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 2px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-item strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--lime);
}

.proof-item span {
  max-width: 130px;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------------------- why */
.section-why {
  background: var(--white);
}

.split-intro {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 46px;
  margin-bottom: 56px;
}

.split-intro .eyebrow {
  padding-top: 10px;
}

.split-intro h2 {
  max-width: 760px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  overflow: hidden;
}

.why-number {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-2);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--navy);
  margin-bottom: 36px;
}

.why-icon .icon {
  width: 19px;
  height: 19px;
}

.why-card h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.why-card p {
  margin-top: 11px;
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------------------------------------------------------- roles */
.section-roles {
  background: var(--bg);
}

.role-shell {
  border: 1px solid rgba(7, 21, 47, 0.08);
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: var(--navy);
}

.role-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 20px 22px;
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.64);
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}

.role-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.role-tab.is-active {
  background: var(--lime);
  color: var(--navy);
}

.role-tab-kicker {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.role-tab-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.role-tab-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
}

.role-panel {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
  min-height: 500px;
  padding: 42px;
}

.role-panel[hidden] {
  display: none;
}

.role-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.role-copy h3 {
  margin-top: 14px;
  font-size: clamp(31px, 3.3vw, 44px);
  line-height: 0.98;
  color: var(--navy);
}

.role-copy > p:not(.role-label) {
  margin-top: 18px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 26px;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
}

.checklist .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--green);
}

.role-visual {
  position: relative;
  min-height: 520px;
}

.mini-device {
  position: absolute;
  width: 214px;
  padding: 7px;
  border-radius: 32px;
  background: var(--navy);
  box-shadow: 0 24px 44px rgba(7, 21, 47, 0.2);
}

.mini-device img {
  width: 100%;
  border-radius: 25px;
}

.mini-device-back {
  left: 2%;
  top: 0;
  transform: rotate(-7deg);
  opacity: 0.9;
}

.mini-device-front {
  right: 3%;
  top: 42px;
  transform: rotate(2deg);
  z-index: 2;
}

/* ---------------------------------------------------------------- flows */
.section-flows {
  background: var(--cream);
}

.flow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.flow-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 86px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), rgba(7, 21, 47, 0.18));
}

.flow-step {
  position: relative;
  padding-top: 72px;
}

.flow-number {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-2);
}

.flow-dot {
  position: absolute;
  top: 81px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(7, 21, 47, 0.22);
}

.flow-step:nth-child(3) .flow-dot,
.flow-step:nth-child(5) .flow-dot {
  background: var(--navy);
}

.flow-kicker {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.flow-step h3 {
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.flow-step p:last-child {
  margin-top: 10px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------------------------------------------------------- bento */
.section-features {
  background: var(--white);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  min-height: 388px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-pipeline {
  grid-column: span 7;
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 18px;
  align-items: center;
}

.bento-approvals {
  grid-column: span 5;
  background: var(--white);
}

.bento-live {
  grid-column: span 5;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.bento-finance {
  grid-column: span 7;
  background: var(--lime-soft);
  border-color: transparent;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 18px;
  align-items: center;
}

.bento-copy {
  position: relative;
  z-index: 2;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(7, 21, 47, 0.07);
  color: var(--navy);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.bento-live .card-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime);
}

.bento-card h3 {
  margin-top: 14px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.bento-card p {
  margin-top: 11px;
  max-width: 390px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.bento-live p {
  color: rgba(255, 255, 255, 0.64);
}

.bento-shot {
  position: relative;
  height: 238px;
  min-height: 0;
  margin: 22px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bento-shot img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(7, 21, 47, 0.16);
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-shot img {
  transform: scale(1.025);
}

.bento-pipeline .bento-shot,
.bento-finance .bento-shot {
  height: 100%;
  min-height: 320px;
  margin: 0;
  align-items: center;
}

.bento-pipeline .bento-shot img,
.bento-finance .bento-shot img {
  width: 198px;
  height: auto;
  max-height: 100%;
  border-radius: 22px;
}

.bento-pipeline .bento-copy,
.bento-finance .bento-copy {
  max-width: 370px;
}

.bento-live .bento-shot img {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-approvals .bento-shot,
.bento-live .bento-shot {
  height: 248px;
  margin: 22px -30px -30px;
  align-items: stretch;
}

.bento-approvals .bento-shot img,
.bento-live .bento-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
}

/* ---------------------------------------------------------------- command */
.section-command {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.section-command::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -100px;
  top: -160px;
}

.command-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.command-copy h2 {
  margin-top: 18px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.command-copy > p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

.command-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 30px;
  max-width: 400px;
}

.command-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.command-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.command-list span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--lime);
}

.command-visual {
  position: relative;
  min-height: 600px;
}

.command-device {
  width: 286px;
  right: 16%;
  top: 0;
  transform: rotate(2deg);
}

.command-kpi {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.command-kpi span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.command-kpi strong {
  font-size: 18px;
  letter-spacing: -0.04em;
}

.command-kpi small {
  font-size: 8px;
  color: var(--muted);
}

.kpi-one {
  left: 0;
  top: 110px;
}

.kpi-two {
  right: 0;
  top: 270px;
  background: var(--lime);
}

.kpi-three {
  left: 8%;
  bottom: 62px;
}

/* ---------------------------------------------------------------- prototype */
.section-prototype {
  background: var(--cream);
}

.prototype-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding: 48px;
  border: 1px solid rgba(7, 21, 47, 0.1);
  border-radius: 30px;
  background: var(--white);
}

.prototype-copy h2 {
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
}

.prototype-copy > p:last-child {
  margin-top: 18px;
  max-width: 540px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.prototype-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-content: center;
}

.prototype-fact {
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--cream);
}

.fact-mark {
  display: block;
  margin-bottom: 20px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--muted-2);
}

.prototype-fact h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.prototype-fact p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------------------------------------------------- faq */
.section-faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.faq-intro h2 {
  margin-top: 18px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 0.94;
}

.faq-intro > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-intro .text-link {
  margin-top: 26px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
  color: var(--navy);
}

.faq-item p {
  padding: 0 36px 24px 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------------------------------------------------------- cta */
.section-cta {
  padding-top: 30px;
  padding-bottom: 100px;
  background: var(--white);
}

.cta-card {
  position: relative;
  padding: 76px 56px 62px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-orbit {
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
}

.cta-orbit::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  left: 80px;
  top: 80px;
}

.cta-card .eyebrow {
  justify-content: center;
}

.cta-card h2 {
  position: relative;
  margin-top: 20px;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.94;
}

.cta-card > p:not(.eyebrow):not(.cta-note) {
  position: relative;
  margin: 20px auto 0;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.64);
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  position: relative;
  margin-top: 18px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 54px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 82px;
}

.footer-brand p {
  margin-top: 15px;
  max-width: 220px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.footer-links {
  display: flex;
  gap: 70px;
}

.footer-label {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
}

.footer-links a {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.38);
}

/* ---------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 20px;
  }

  .device-main {
    right: 0;
    width: 290px;
  }

  .device-back {
    left: -16px;
    width: 232px;
  }

  .float-lead {
    left: -28px;
  }

  .float-contract {
    left: 0;
  }

  .role-panel {
    padding: 34px;
  }

  .mini-device {
    width: 190px;
  }

  .command-grid {
    gap: 30px;
  }

  .command-device {
    right: 8%;
  }

  .kpi-two {
    right: -14px;
  }
}

@media (max-width: 960px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .section {
    padding: 84px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 18px 24px 26px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 660px;
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(52px, 9vw, 76px);
  }

  .lede {
    max-width: 590px;
  }

  .hero-visual {
    min-height: 610px;
    margin-top: 22px;
  }

  .device-main {
    width: 300px;
    right: 12%;
  }

  .device-back {
    left: 8%;
    width: 240px;
    top: 100px;
  }

  .float-lead {
    left: 4%;
    top: 185px;
  }

  .float-contract {
    left: 18%;
    bottom: 20px;
  }

  .float-live {
    right: 4%;
  }

  .orbit-one {
    right: 2%;
  }

  .orbit-two {
    right: 12%;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .split-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split-intro .eyebrow {
    padding-top: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .why-icon {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .why-number {
    top: 28px;
  }

  .why-card h3 {
    margin-top: 1px;
  }

  .why-card p {
    max-width: 580px;
  }

  .role-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .role-visual {
    min-height: 520px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }

  .mini-device {
    width: 210px;
  }

  .flow-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 24px;
  }

  .flow-line {
    display: none;
  }

  .flow-step {
    padding: 54px 0 0;
    border-top: 1px solid rgba(7, 21, 47, 0.12);
  }

  .flow-number {
    top: 16px;
  }

  .flow-dot {
    top: 20px;
    left: auto;
    right: 0;
    border-color: var(--cream);
  }

  .flow-step:nth-child(3) .flow-dot,
  .flow-step:nth-child(5) .flow-dot {
    background: var(--navy);
  }

  .bento-pipeline,
  .bento-approvals,
  .bento-live,
  .bento-finance {
    grid-column: span 12;
  }

  .bento-pipeline,
  .bento-finance {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .bento-card {
    min-height: 360px;
  }

  .bento-shot {
    height: 238px;
    margin: 22px 0 0;
  }

  .bento-pipeline .bento-shot,
  .bento-finance .bento-shot {
    height: 238px;
    min-height: 0;
    margin: 22px 0 0;
  }

  .bento-pipeline .bento-shot img,
  .bento-finance .bento-shot img {
    width: auto;
    height: 100%;
  }

  .bento-approvals .bento-shot,
  .bento-live .bento-shot {
    height: 238px;
    margin: 22px -30px -30px;
  }

  .command-grid {
    grid-template-columns: 1fr;
  }

  .command-copy {
    max-width: 600px;
  }

  .command-visual {
    min-height: 570px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .command-device {
    right: 14%;
  }

  .prototype-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px;
  }

  .prototype-facts {
    max-width: 620px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    max-width: 620px;
  }

  .cta-card {
    padding: 60px 34px 50px;
  }

  .footer-main {
    flex-direction: column;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand img {
    width: 56px;
  }

  .brand-divider {
    height: 18px;
  }

  .brand-product {
    font-size: 8px;
    letter-spacing: 2.4px;
  }

  .site-nav {
    inset: 70px 0 auto;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 62px);
    letter-spacing: -0.06em;
  }

  .lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-cta {
    margin-top: 24px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-people {
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 26px;
  }

  .device-main {
    width: 232px;
    right: 0;
  }

  .device-back {
    width: 184px;
    left: 0;
    top: 74px;
  }

  .device-notch {
    top: 13px;
    width: 72px;
    height: 18px;
  }

  .float-lead {
    left: -2px;
    top: 150px;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .float-contract {
    left: 4%;
    bottom: 8px;
    transform: scale(0.9);
    transform-origin: left bottom;
  }

  .float-live {
    right: -2px;
    top: 50px;
    transform: scale(0.9);
    transform-origin: right center;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
    right: -80px;
    top: 50px;
  }

  .orbit-two {
    width: 300px;
    height: 300px;
    right: -30px;
    top: 100px;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }

  .proof-strip {
    padding: 22px 0;
  }

  .proof-item {
    padding: 0 12px;
  }

  .proof-item strong {
    font-size: 21px;
  }

  .proof-item span {
    font-size: 9px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2,
  .split-intro h2 {
    font-size: clamp(35px, 9vw, 46px);
  }

  .section-head > p:last-child,
  .split-intro > div > p:last-child {
    font-size: 15px;
  }

  .why-card {
    display: block;
    padding: 24px;
  }

  .why-icon {
    margin-bottom: 26px;
  }

  .why-card h3 {
    font-size: 21px;
  }

  .role-tabs {
    grid-template-columns: 1fr;
  }

  .role-tab {
    padding: 17px 18px;
  }

  .role-tab-name {
    font-size: 16px;
  }

  .role-panel {
    padding: 22px;
    min-height: 0;
  }

  .role-copy h3 {
    font-size: 34px;
  }

  .role-copy > p:not(.role-label) {
    font-size: 14px;
  }

  .role-visual {
    min-height: 380px;
  }

  .mini-device {
    width: 154px;
    border-radius: 24px;
  }

  .mini-device img {
    border-radius: 18px;
  }

  .mini-device-front {
    right: 0;
    top: 30px;
  }

  .mini-device-back {
    left: 0;
  }

  .flow-rail {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .flow-step {
    padding-top: 44px;
  }

  .flow-step h3 {
    font-size: 22px;
  }

  .flow-step p:last-child {
    max-width: 100%;
  }

  .flow-number {
    top: 12px;
  }

  .flow-dot {
    top: 15px;
  }

  .bento {
    gap: 12px;
  }

  .bento-card {
    min-height: 340px;
    padding: 22px;
  }

  .bento-card h3 {
    font-size: 28px;
  }

  .bento-card p {
    font-size: 12px;
  }

  .bento-shot {
    height: 210px;
    margin: 18px 0 0;
  }

  .bento-pipeline .bento-shot,
  .bento-finance .bento-shot {
    height: 210px;
    margin: 18px -22px -22px;
    align-items: stretch;
  }

  .bento-pipeline .bento-shot img,
  .bento-finance .bento-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    box-shadow: none;
  }

  .bento-approvals .bento-shot,
  .bento-live .bento-shot {
    height: 210px;
    margin: 18px -22px -22px;
  }

  .command-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .command-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .command-visual {
    min-height: 540px;
  }

  .command-device {
    width: 226px;
    right: 4%;
  }

  .command-kpi {
    padding: 10px 12px;
  }

  .command-kpi strong {
    font-size: 15px;
  }

  .kpi-one {
    top: 70px;
    left: 0;
  }

  .kpi-two {
    top: 190px;
    right: -4px;
  }

  .kpi-three {
    bottom: 20px;
    left: 0;
  }

  .prototype-card {
    padding: 24px;
    border-radius: 24px;
  }

  .prototype-copy h2 {
    font-size: 35px;
  }

  .prototype-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prototype-fact {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .fact-mark {
    margin-bottom: 0;
    padding-top: 3px;
  }

  .prototype-fact p {
    grid-column: 2;
  }

  .faq-intro h2 {
    font-size: 44px;
  }

  .faq-item summary {
    font-size: 14px;
    padding: 18px 0;
  }

  .faq-item p {
    font-size: 13px;
  }

  .section-cta {
    padding-bottom: 60px;
  }

  .cta-card {
    padding: 48px 22px 38px;
    border-radius: 24px;
  }

  .cta-card h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .cta-card > p:not(.eyebrow):not(.cta-note) {
    font-size: 14px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-links {
    gap: 46px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 43px;
  }

  .device-main {
    width: 214px;
  }

  .device-back {
    width: 170px;
  }

  .float-lead,
  .float-contract {
    display: none;
  }

  .float-live {
    top: 24px;
  }
}

/* ---------------------------------------------------------------- three portals */
.hero-roles {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.role-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero-portal-label {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(7, 21, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hero-portal-label .live-dot {
  width: 6px;
  height: 6px;
}
.section-portals {
  background: var(--bg);
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 24px 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.portal-card.dark {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.portal-number {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.portal-card.dark .portal-number {
  color: rgba(255, 255, 255, 0.42);
}
.portal-type {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.portal-card.dark .portal-type {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.64);
}
.portal-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--lime-soft);
  color: var(--navy);
  margin-bottom: 14px;
}
.portal-icon .icon {
  width: 20px;
  height: 20px;
}
.portal-clubs .portal-icon {
  background: #eaf1ff;
  color: #2e5bce;
}
.portal-card.dark .portal-icon {
  background: var(--lime);
  color: var(--navy);
}
.portal-card h3 {
  font-size: clamp(25px, 2.1vw, 31px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.portal-desc {
  margin-top: 10px;
  min-height: 64px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.portal-card.dark .portal-desc {
  color: rgba(255, 255, 255, 0.64);
}
.portal-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
}
.portal-roles span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}
.portal-card.dark .portal-roles span {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
}
.portal-list {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
}
.portal-list li {
  position: relative;
  padding-left: 13px;
  color: #344054;
  font-size: 10px;
  line-height: 1.45;
}
.portal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-deep);
}
.portal-card.dark .portal-list li {
  color: rgba(255, 255, 255, 0.72);
}
.portal-card.dark .portal-list li::before {
  background: var(--lime);
}
.portal-shot {
  height: 205px;
  margin: 20px -24px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3f8, #f8fafc);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.portal-card.dark .portal-shot {
  background: linear-gradient(180deg, #0b2345, #07152f);
}
.portal-team .portal-shot img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 12px 26px rgba(7, 21, 47, 0.16);
}
.portal-clubs .portal-shot img,
.portal-fans .portal-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 12px 26px rgba(7, 21, 47, 0.16);
}
.portal-fans .portal-shot img {
  object-position: top center;
}
.portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  margin: 0 -24px;
  padding: 0 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
}
.portal-link .icon {
  width: 16px;
  height: 16px;
  color: var(--lime-deep);
  transition: transform 0.2s ease;
}
.portal-card:hover .portal-link .icon {
  transform: translateX(3px);
}
.portal-card.dark .portal-link {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: var(--lime);
}
.portal-card.dark .portal-link .icon {
  color: var(--lime);
}

/* ---------------------------------------------------------------- three flow columns */
.flow-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.flow-column {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--lime);
}
.flow-column-club {
  border-top-color: #3b82f6;
}
.flow-column-fan {
  border-top-color: var(--navy);
}
.flow-column-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.flow-column-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--lime);
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
}
.flow-column-club .flow-column-num {
  background: #eaf1ff;
  color: #2e5bce;
}
.flow-column-fan .flow-column-num {
  background: var(--navy);
  color: var(--lime);
}
.flow-column .flow-kicker {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.flow-column h3 {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.flow-column-steps {
  display: grid;
  gap: 0;
  margin: 12px 0 18px;
}
.flow-row {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.flow-row:last-child {
  border-bottom: 0;
}
.flow-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
}
.flow-row strong {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: var(--ink);
}
.flow-row p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}
.flow-column .text-link {
  margin-top: auto;
  padding-top: 3px;
  font-size: 10px;
}
.flow-column .text-link .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 1120px) {
  .portal-grid,
  .flow-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portal-card {
    padding-left: 19px;
    padding-right: 19px;
  }
  .portal-shot,
  .portal-link {
    margin-left: -19px;
    margin-right: -19px;
  }
  .portal-link {
    padding-left: 19px;
    padding-right: 19px;
  }
}
@media (max-width: 1100px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .portal-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    grid-template-rows: auto auto auto auto 1fr auto;
    column-gap: 20px;
    padding: 22px 22px 0;
    align-items: start;
  }
  .portal-card-top,
  .portal-icon,
  .portal-card h3,
  .portal-desc,
  .portal-roles,
  .portal-list {
    grid-column: 1;
  }
  .portal-card-top { margin-bottom: 12px; }
  .portal-icon { margin-bottom: 10px; }
  .portal-desc { min-height: 0; }
  .portal-list { margin-bottom: 10px; }
  .portal-shot {
    grid-column: 2;
    grid-row: 1 / 7;
    height: 100%;
    min-height: 260px;
    margin: 0;
    border-radius: 16px;
    align-self: stretch;
  }
  .portal-link {
    grid-column: 1 / -1;
    margin: 18px -22px 0;
    padding: 0 22px;
  }
  .flow-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-column {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 18px;
    padding: 20px;
  }
  .flow-column-head {
    display: block;
    border-bottom: 0;
    padding: 0;
  }
  .flow-column-steps {
    margin: 0;
    grid-row: 1 / 3;
    grid-column: 2;
  }
  .flow-column .text-link {
    grid-column: 1;
    align-self: end;
    margin-top: 12px;
  }
}
@media (max-width: 640px) {
  .portal-card {
    display: flex;
    padding: 20px 20px 0;
  }
  .portal-shot {
    height: 190px;
    min-height: 0;
    margin: 18px -20px 0;
    border-radius: 14px 14px 0 0;
  }
  .portal-link {
    margin: 0 -20px;
    padding: 0 20px;
  }
  .portal-team .portal-shot img {
    height: 100%;
  }
  .portal-card h3 {
    font-size: 27px;
  }
  .portal-desc {
    min-height: 0;
  }
  .flow-column {
    display: block;
    padding: 20px;
  }
  .flow-column-head {
    display: flex;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 14px;
  }
  .flow-column-steps {
    margin: 12px 0 16px;
  }
  .flow-column .text-link {
    margin-top: 0;
  }
  .hero-roles {
    margin-top: 26px;
  }
  .role-chips span {
    font-size: 8px;
    min-height: 22px;
  }
}

/* Team portal card: two overlapping phones */
.portal-shot-team {
  position: relative;
  height: 220px;
  background:
    radial-gradient(circle at 50% 30%, rgba(198, 243, 43, 0.26), transparent 52%),
    linear-gradient(180deg, #edf3f8, #f7fafc);
}
.portal-shot-team .portal-phone {
  position: absolute;
  width: 118px;
  height: auto;
  max-width: none;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(7, 21, 47, 0.2);
  border: 1px solid rgba(7, 21, 47, 0.08);
}
.portal-shot-team .portal-phone-back {
  left: 50%;
  top: 28px;
  transform: translateX(-102%) rotate(-7deg);
  opacity: 0.9;
}
.portal-shot-team .portal-phone-front {
  left: 50%;
  top: 15px;
  transform: translateX(-4%) rotate(3deg);
  z-index: 2;
}
.flow-column .text-link {
  align-self: start;
  width: fit-content;
}
@media (max-width: 1100px) {
  .portal-shot-team {
    height: 100%;
    min-height: 260px;
  }
  .portal-shot-team .portal-phone {
    width: 132px;
  }
}
@media (max-width: 640px) {
  .portal-shot-team {
    height: 200px;
    min-height: 0;
  }
  .portal-shot-team .portal-phone {
    width: 112px;
  }
  .portal-shot-team .portal-phone-back {
    top: 28px;
  }
  .portal-shot-team .portal-phone-front {
    top: 16px;
  }
}

@media (max-width: 1120px) {
  .hero-portal-label {
    display: none;
  }
}
@media (max-width: 640px) {
  .command-kpi {
    display: none;
  }
}

/* ---------------------------------------------------------------- public homepage */
#waarom, #clubs, #ouders, #zo-werkt-het, #download {
  scroll-margin-top: 92px;
}

.portal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-browser {
  position: absolute;
  left: -6px;
  top: 220px;
  z-index: 1;
  width: 300px;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 47, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(7, 21, 47, 0.16);
  transform: rotate(-3deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(7, 21, 47, 0.08);
  background: #f4f4ef;
}

.browser-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c7cbd4;
}

.browser-bar em {
  margin-left: 6px;
  overflow: hidden;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #87909d;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.public-browser img {
  display: block;
  width: 100%;
  aspect-ratio: 1060 / 560;
  object-fit: cover;
}

/* ---------------------------------------------------------------- download */
.section-download {
  padding-top: 16px;
  padding-bottom: 80px;
  background: var(--white);
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  overflow: hidden;
  padding: 58px 56px;
  border-radius: 32px;
  background: var(--navy);
  color: var(--white);
}

.download-orbit {
  position: absolute;
  top: -190px;
  right: -150px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.download-orbit::after {
  content: "";
  position: absolute;
  top: 80px;
  left: 80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.download-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.download-card .eyebrow {
  color: var(--lime);
}

.download-card h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.download-copy > p:not(.eyebrow):not(.download-note) {
  max-width: 480px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.download-note {
  margin-top: 16px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.42);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.store-btn .icon {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.store-btn span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.store-btn small {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.46);
}

.store-btn strong {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.download-visual {
  position: relative;
  min-height: 410px;
}

.download-glow {
  position: absolute;
  inset: 8% 0 0 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 243, 43, 0.3), rgba(198, 243, 43, 0) 66%);
  filter: blur(10px);
}

.download-phone {
  position: absolute;
  top: 0;
  right: 8%;
  z-index: 2;
  width: 220px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #0b1f3f;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
}

.download-phone img {
  display: block;
  width: 100%;
  border-radius: 26px;
}

.download-badge {
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.download-stat {
  position: absolute;
  bottom: 16px;
  left: 4%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.download-stat strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.download-stat span {
  font-size: 9px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- download modal */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.app-modal[hidden] {
  display: none;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 47, 0.68);
  backdrop-filter: blur(5px);
}

.app-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 32px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(7, 21, 47, 0.3);
}

.app-modal-card h2 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.app-modal-card > p:not(.eyebrow):not(.micro) {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.app-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.app-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

/* ---------------------------------------------------------------- public responsive */
@media (max-width: 1120px) {
  .public-browser {
    width: 255px;
    left: 0;
    top: 210px;
  }
}

@media (max-width: 960px) {
  .download-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 36px 30px;
  }

  .download-copy {
    max-width: 620px;
  }

  .download-visual {
    min-height: 380px;
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
  }

  .download-phone {
    right: 14%;
    width: 210px;
  }

  .download-badge {
    top: 24px;
    left: 5%;
  }
}

@media (max-width: 640px) {
  .public-browser {
    display: none;
  }

  .portal-grid,
  .flow-columns {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 30px 22px 26px;
    border-radius: 24px;
  }

  .download-card h2 {
    font-size: 44px;
  }

  .download-actions .btn {
    width: 100%;
  }

  .download-visual {
    min-height: 340px;
    max-width: 360px;
  }

  .download-phone {
    right: 4%;
    width: 184px;
  }

  .download-badge {
    top: 8px;
    left: 0;
    font-size: 8px;
  }

  .download-stat {
    bottom: 2px;
    left: 0;
  }

  .app-modal {
    padding: 14px;
  }

  .app-modal-card {
    padding: 26px 22px 24px;
  }

  .app-modal-actions .btn {
    width: 100%;
  }
}

.portal-card .portal-shot {
  height: auto;
  min-height: 260px;
  flex: 1 1 260px;
  align-items: stretch;
}

.portal-card .portal-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portal-link {
  margin-top: auto;
}

.browser-bar em {
  font-size: 8px;
  font-weight: 800;
  color: var(--navy);
}

.portal-fans .portal-shot img {
  object-fit: contain;
  object-position: top center;
}

@media (max-width: 640px) {
  .portal-fans .portal-shot {
    height: 200px;
    min-height: 200px;
    flex: 0 0 200px;
  }
}

.bento-pipeline .bento-shot img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bento-finance {
  grid-column: span 12;
  grid-template-columns: minmax(0, 1fr) 440px;
}

.bento-finance .bento-shot {
  min-height: 300px;
}

.bento-finance .bento-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 960px) {
  .bento-pipeline .bento-shot img {
    width: auto;
    height: 100%;
    object-fit: contain;
  }

  .bento-finance .bento-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.public-browser {
  position: absolute;
}

.browser-label {
  position: absolute;
  top: 34px;
  left: 10px;
  z-index: 2;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--navy);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .portal-clubs .portal-shot img {
    object-fit: contain;
    object-position: top center;
  }
}

#portalen,
#features,
#faq {
  scroll-margin-top: 92px;
}

/* Public demo request */
.site-nav .nav-login {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 750;
}
.site-nav .nav-login:hover { border-color: var(--navy); }
.section-demo {
  padding-top: 20px;
  padding-bottom: 84px;
  background: var(--cream);
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.demo-copy h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(38px, 4.4vw, 62px);
}
.demo-copy > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
}
.demo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.demo-points span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.demo-form {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.demo-form-head h3 {
  margin-top: 5px;
  color: var(--navy);
  font-size: 24px;
}
.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.demo-field {
  display: grid;
  gap: 6px;
}
.demo-field + .demo-field { margin-top: 14px; }
.demo-field span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}
.demo-field input,
.demo-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.demo-field textarea { resize: vertical; min-height: 82px; }
.demo-field input:focus,
.demo-field textarea:focus {
  border-color: var(--navy-3);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 50, 92, .08);
}
.demo-form > .btn { margin-top: 18px; }
.demo-form-status {
  min-height: 18px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 650;
}
.demo-form-status.is-success { color: var(--green); }
.demo-form-status.is-error { color: #c2413b; }
.demo-form-note {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 10.5px;
}
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy h2 { font-size: 44px; }
}
@media (max-width: 520px) {
  .demo-form-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form-row .demo-field + .demo-field { margin-top: 14px; }
  .demo-form { padding: 20px; border-radius: 18px; }
  .site-nav .nav-login { padding: 10px 12px; border: 0; }
}
.portal-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.portal-demo-link:hover { color: var(--navy-3); }
#demo { scroll-margin-top: 92px; }
