:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #10201c;
  --muted: #566760;
  --line: #d7e0dc;
  --paper: #f5f7f6;
  --white: #ffffff;
  --green-950: #061d18;
  --green-900: #0a3027;
  --green-800: #0d4939;
  --green-700: #0b6c4d;
  --green-600: #10885f;
  --mint: #c9f5de;
  --mint-soft: #e8f7ef;
  --cyan: #83c8d4;
  --amber: #e4bd67;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-180%); padding: 10px 14px; background: var(--white); border: 2px solid var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px clamp(20px, 5vw, 72px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(6,29,24,.92);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-weight: 800; font-size: 18px; }
.brand img { flex: 0 0 auto; border-radius: 7px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.5vw, 36px); font-size: 14px; font-weight: 700; }
.site-nav a { padding-block: 10px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--mint); }
.site-nav .login-link { padding: 11px 15px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; }
.site-nav .login-link:hover { color: var(--green-950); background: var(--white); border-color: var(--white); }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; background: transparent; color: var(--white); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; }
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(5px); }

.hero { position: relative; min-height: min(760px, 80svh); display: flex; align-items: center; overflow: hidden; padding: 90px clamp(20px, 8vw, 112px) 40px; color: var(--white); background: var(--green-950); }
.hero-image { position: absolute; inset: 0; background-image: url("/assets/bellfort-banking.png"); background-size: cover; background-position: 72% center; }
.hero-shade { position: absolute; inset: 0; background: rgba(1,14,12,.68); }
.hero-content { position: relative; z-index: 1; width: min(700px, 65vw); }
.eyebrow { margin: 0 0 13px; color: var(--green-700); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 118px); font-weight: 500; line-height: .92; letter-spacing: 0; text-wrap: balance; }
.hero-copy { max-width: 650px; margin: 30px 0 0; color: #e8f0ed; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 850; }
.button.primary { color: var(--green-950); background: var(--mint); }
.button.primary:hover { background: var(--white); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.58); background: rgba(6,29,24,.5); }
.button.secondary:hover { background: rgba(255,255,255,.12); }
.pilot-note { display: flex; align-items: center; gap: 9px; margin: 20px 0 0; color: #d1ded9; font-size: 13px; }
.pilot-note span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(228,189,103,.16); }
.section-cue { position: absolute; z-index: 2; right: clamp(20px, 5vw, 72px); bottom: 20px; padding-bottom: 5px; color: #e1ebe7; border-bottom: 1px solid rgba(255,255,255,.45); font-size: 13px; font-weight: 750; }

.section { padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 104px); }
.section-heading { max-width: 780px; margin-bottom: clamp(42px, 6vw, 76px); }
.section-heading h2, .status-copy h2, .contact-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 66px); font-weight: 500; line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.section-heading > p:last-child, .status-copy > p:last-child, .contact-section > div > p:last-child { margin: 23px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.platform-section { padding-top: 60px; background: var(--white); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.product-preview { min-width: 0; padding: clamp(18px, 3vw, 34px); border: 1px solid #bed1ca; border-radius: 8px; background: #f9fbfa; box-shadow: 0 24px 70px rgba(21,52,43,.12); }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.preview-brand { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.preview-brand img { width: 32px; height: 32px; border-radius: 6px; }
.preview-status { padding: 6px 9px; border: 1px solid #c8d7d1; border-radius: 5px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.balance-panel { display: grid; gap: 6px; margin-top: 20px; padding: 28px; border-radius: 7px; color: var(--white); background: var(--green-900); }
.balance-panel span, .balance-panel small { color: #c7dad3; }
.balance-panel strong { font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.action-grid span { min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.action-grid b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green-700); background: var(--mint-soft); font-size: 18px; }
.activity-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 13px; }
.activity-row span { color: var(--muted); }
.capability-list { border-top: 1px solid var(--line); }
.capability-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.capability-number { color: var(--green-700); font-size: 13px; font-weight: 900; }
.capability-list h3, .control-grid h3 { margin: 0 0 8px; font-size: 19px; }
.capability-list p, .control-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.controls-section { background: var(--green-950); color: var(--white); }
.section-heading.light .eyebrow { color: var(--mint); }
.section-heading.light > p:last-child { color: #bfd1ca; }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.control-grid article { min-width: 0; min-height: 250px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.control-grid article > span { color: var(--cyan); font-size: 12px; font-weight: 900; }
.control-grid h3 { margin-top: 52px; }
.control-grid p { color: #bcd0c8; }

.status-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(48px, 8vw, 120px); background: #eef3f0; }
.status-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bdcbc6; }
.status-steps li { position: relative; display: grid; grid-template-columns: 126px 1fr; gap: 22px; padding: 25px 0 25px 28px; border-bottom: 1px solid #bdcbc6; }
.status-steps li::before { position: absolute; left: 0; top: 31px; width: 10px; height: 10px; border-radius: 50%; background: #aab8b3; content: ""; }
.status-steps li.complete::before { background: var(--green-600); }
.status-steps li.current::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(228,189,103,.22); }
.status-steps span { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.status-steps strong { line-height: 1.4; }

.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: clamp(50px, 8vw, 120px); background: var(--white); }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a { display: grid; gap: 7px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.contact-links a:hover strong { color: var(--green-700); }
.contact-links span { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.contact-links strong { overflow-wrap: anywhere; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 50px; padding: 34px clamp(20px, 7vw, 104px); color: #d7e5df; background: #041310; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 13px; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer > p { grid-column: 1 / -1; margin: 0; color: #8ea59c; font-size: 12px; }

.legal-page { min-height: 100vh; background: var(--white); }
.legal-header { position: static; color: var(--white); background: var(--green-950); }
.legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: clamp(60px, 8vw, 110px) 0; }
.legal-main .eyebrow { margin-bottom: 12px; }
.legal-main h1 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 6vw, 68px); font-weight: 500; line-height: 1; }
.legal-main .legal-intro { padding: 18px 20px; border-left: 4px solid var(--amber); background: #f5f2e8; color: #584c30; line-height: 1.6; }
.legal-main h2 { margin: 42px 0 12px; font-size: 22px; }
.legal-main p, .legal-main li { color: #43534d; line-height: 1.75; }
.legal-main a { color: var(--green-700); text-decoration: underline; }

@media (max-width: 980px) {
  .product-layout, .status-section, .contact-section { grid-template-columns: 1fr; }
  .product-layout { gap: 54px; }
  .control-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 18px; }
  .site-nav > a:not(.login-link) { display: none; }
}

@media (max-width: 700px) {
  .site-header { min-height: 68px; padding: 10px 16px; }
  .brand { font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: grid; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; padding: 12px 16px 18px; color: var(--white); border-top: 1px solid rgba(255,255,255,.14); background: var(--green-950); }
  .site-nav.open { display: grid; }
  .site-nav > a:not(.login-link) { display: block; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-nav .login-link { margin-top: 8px; padding-inline: 12px; text-align: center; border: 1px solid rgba(255,255,255,.45); }
  .hero { min-height: 760px; align-items: flex-end; padding: 124px 20px 92px; }
  .hero-image { background-size: auto 92%; background-position: 66% 32%; opacity: .8; }
  .hero-shade { background: rgba(1,14,12,.75); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(54px, 18vw, 82px); overflow-wrap: anywhere; }
  .hero-copy { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .section-cue { left: 20px; right: auto; bottom: 28px; }
  .section { padding: 72px 20px; }
  .section-heading { margin-bottom: 42px; }
  .product-preview { padding: 14px; }
  .balance-panel { padding: 22px; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-row { flex-direction: column; }
  .control-grid { grid-template-columns: 1fr; }
  .control-grid article { min-height: 210px; }
  .status-steps li { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

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