:root {
  --ink: #180e2b;
  --ink-soft: #302744;
  --paper: #faf8f2;
  --white: #ffffff;
  --cloud: #dce3ea;
  --mist: #f2f3f7;
  --violet: #8b5cff;
  --blue: #42c7ff;
  --mint: #7cf29d;
  --gradient: linear-gradient(110deg, var(--violet), var(--blue) 54%, var(--mint));
  --border: rgba(24, 14, 43, .13);
  --shadow: 0 28px 80px rgba(50, 33, 91, .16);
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.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: 999; top: 8px; left: 8px; transform: translateY(-160%); padding: 12px 16px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.site-header { position: relative; z-index: 50; background: rgba(250,248,242,.88); backdrop-filter: blur(18px); }
.nav-shell { width: min(1380px, calc(100% - 48px)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; gap: 38px; }
.brand { width: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { width: 29px; height: 29px; object-fit: contain; }
.brand-word { width: 62px; height: auto; }
.primary-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 31px; }
.nav-links a, .nav-actions > a:not(.button) { font-size: 15px; font-weight: 500; color: rgba(24,14,43,.79); transition: color .2s ease; }
.nav-links a:hover, .nav-actions > a:not(.button):hover { color: var(--violet); }
.nav-links a span { font-family: var(--font-mono); font-size: 12px; margin-left: 4px; }
.button { min-height: 43px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.button-quiet { background: rgba(24,14,43,.06); }
.button-dark { background: var(--ink); color: white; }
.menu-button { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .2s, opacity .2s; }

.hero { min-height: 970px; position: relative; overflow: hidden; padding-top: 85px; background:
  radial-gradient(circle at 15% 48%, rgba(66,199,255,.16), transparent 31%),
  radial-gradient(circle at 82% 45%, rgba(139,92,255,.18), transparent 29%),
  linear-gradient(180deg, var(--paper) 0%, #fbfbfb 25%, #f7f8ff 66%, #eff3ff 100%); }
.hero:after { content: ""; position: absolute; inset: 44% 0 0; pointer-events: none; opacity: .42; background-image: radial-gradient(rgba(139,92,255,.22) .7px, transparent .7px); background-size: 6px 6px; mask-image: linear-gradient(transparent, black 32%, transparent); }
.hero-copy { position: relative; z-index: 3; width: min(1100px, calc(100% - 40px)); margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--violet); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 1120px; margin: 0 auto; font-size: clamp(58px, 6vw, 90px); line-height: .96; letter-spacing: -.068em; font-weight: 700; }
.hero-lede { margin: 25px auto 26px; font-size: clamp(20px, 2vw, 28px); line-height: 1.28; letter-spacing: -.025em; color: var(--ink-soft); }
.hero-cta { position: relative; min-height: 68px; padding: 0 26px 0 31px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; color: white; background: linear-gradient(110deg, #7446f7, #228edc 58%, #26a86a); border-radius: 12px; font-size: 20px; font-weight: 700; text-shadow: 0 1px 1px rgba(24,14,43,.18); box-shadow: 0 14px 28px rgba(91,99,239,.22); overflow: hidden; }
.hero-cta:before { content: ""; position: absolute; inset: 0; opacity: .3; background: repeating-linear-gradient(110deg, transparent 0 12px, rgba(255,255,255,.34) 12px 18px); transform: translateX(-62%); transition: transform .45s ease; }
.hero-cta:hover:before { transform: translateX(0); }
.hero-cta span, .hero-cta svg { position: relative; z-index: 1; }
.hero-cta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-note { margin: 12px 0 0; color: rgba(24,14,43,.59); font-size: 14px; }

.hero-stage { position: relative; z-index: 2; width: min(1380px, calc(100% - 40px)); height: 610px; margin: 60px auto 0; }
.stage-glow { position: absolute; width: 520px; height: 520px; top: 25px; right: 30px; border-radius: 50%; background: rgba(124,242,157,.24); filter: blur(70px); }
.portfolio-window { position: absolute; left: 0; top: 70px; width: 76%; height: 540px; overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid rgba(139,92,255,.16); border-radius: 16px 16px 0 0; box-shadow: var(--shadow); filter: blur(1.35px); opacity: .76; transform: perspective(1200px) rotateX(1deg); }
.window-bar { height: 58px; padding: 0 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; color: rgba(24,14,43,.58); font-size: 12px; }
.window-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.window-brand img { width: 25px; height: 25px; }
.window-actions { display: flex; gap: 7px; }
.window-actions i { display: block; width: 8px; height: 8px; background: var(--cloud); border-radius: 50%; }
.window-body { height: calc(100% - 58px); display: grid; grid-template-columns: 215px 1fr; }
.window-body aside { padding: 24px 16px; background: rgba(250,248,242,.65); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.window-body aside a { padding: 11px 13px; border-radius: 7px; font-size: 13px; color: rgba(24,14,43,.65); }
.window-body aside a.active { background: rgba(139,92,255,.1); color: var(--ink); font-weight: 700; }
.aside-label { margin: 0 13px 7px; color: rgba(24,14,43,.43); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.aside-label.second { margin-top: 24px; }
.workspace { padding: 25px; }
.workspace-head { display: flex; justify-content: space-between; padding-bottom: 20px; font-size: 13px; color: rgba(24,14,43,.51); }
.workspace-head span:first-child { color: var(--ink); font-size: 18px; font-weight: 700; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.metric-row div { min-height: 110px; padding: 15px; border: 1px solid var(--border); background: white; border-radius: 8px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.metric-row b { font-size: 12px; }.metric-row strong { font-size: 26px; }.metric-row span { grid-column: 1/-1; font-size: 11px; color: rgba(24,14,43,.47); }
.registry-table { margin-top: 20px; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: white; }
.registry-table > div { display: grid; grid-template-columns: 1.3fr 1fr .6fr; padding: 15px 17px; border-bottom: 1px solid var(--border); font-size: 12px; }
.registry-table > div:last-child { border: 0; }
.registry-table .table-head { background: var(--mist); color: rgba(24,14,43,.48); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; }.dot.violet{background:var(--violet)}.dot.blue{background:var(--blue)}.dot.green{background:var(--mint)}.dot.ink{background:var(--ink)}
.status { color: #257f48; }
.setup-card { position: absolute; z-index: 5; top: 8px; right: 0; width: 408px; padding: 36px 28px 27px; background: rgba(255,255,255,.96); border: 1px solid rgba(139,92,255,.25); border-radius: 21px; box-shadow: 0 30px 90px rgba(50,33,91,.2), 0 0 0 11px rgba(255,255,255,.35); text-align: center; }
.card-kicker { margin-bottom: 8px; color: var(--violet); font: 700 10px/1 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.setup-card h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.setup-card > p { margin: 8px 0 23px; color: rgba(24,14,43,.66); font-size: 14px; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.module-grid a { position: relative; height: 102px; border: 1px solid rgba(139,92,255,.3); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; color: rgba(24,14,43,.68); transition: transform .2s, border-color .2s, color .2s; }
.module-grid a:after { content: ""; position: absolute; top: 8px; right: 8px; width: 11px; height: 11px; border: 1px solid var(--cloud); border-radius: 3px; }
.module-grid a:hover { transform: translateY(-3px); border-color: var(--violet); color: var(--ink); }
.module-icon { width: 28px; height: 28px; display: grid; place-items: center; background: var(--mist); border-radius: 7px; color: var(--ink); font: 700 12px/1 var(--font-mono); }
.module-grid b { font-size: 12px; font-weight: 500; }
.card-cta { min-height: 58px; margin-top: 22px; padding: 0 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 13px; color: white; background: linear-gradient(110deg, #7446f7, #228edc 58%, #26a86a); font-size: 17px; font-weight: 700; text-shadow: 0 1px 1px rgba(24,14,43,.18); }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.ecosystem { padding: 150px 0 140px; }
.ecosystem h2, .company-band h2, .contact h2 { margin: 0; font-size: clamp(50px, 6vw, 82px); line-height: .96; letter-spacing: -.06em; }
.section-intro { width: min(690px, 100%); margin: 30px 0 60px; font-size: 22px; line-height: 1.5; color: rgba(24,14,43,.66); }
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillar-grid article { min-height: 360px; padding: 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.pillar-grid article:last-child { border: 0; }
.pillar-grid article > span { color: var(--violet); font: 700 11px/1 var(--font-mono); }
.pillar-grid h3 { margin: 60px 0 18px; font-size: 28px; letter-spacing: -.04em; }
.pillar-grid p { margin: 0; color: rgba(24,14,43,.64); line-height: 1.6; }
.pillar-grid a { margin-top: auto; font-weight: 700; }
.image-story { position: relative; min-height: 760px; background-color: #fdfdfc; background-repeat: no-repeat; background-position: center; background-size: cover; overflow: hidden; }
.image-story:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(250,248,242,.97) 0%, rgba(250,248,242,.78) 30%, rgba(250,248,242,.06) 63%); }
.image-story-apps { background-image: url('/assets/images/01-overreturn.webp'); }
.image-story-network { min-height: 680px; background-image: url('/assets/images/03-overreturn.webp'); background-position: center; }
.image-story-network:after { background: linear-gradient(180deg, rgba(250,248,242,.02), rgba(250,248,242,.3)); }
.image-story-copy { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding-top: 185px; }
.image-story-copy h2 { max-width: 700px; margin: 0; font-size: clamp(50px, 6vw, 80px); line-height: .96; letter-spacing: -.06em; }
.image-story-copy > p:last-child { max-width: 500px; margin-top: 28px; font-size: 20px; line-height: 1.55; color: rgba(24,14,43,.67); }
.portfolio-proof { padding: 140px 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.portfolio-proof h2 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.portfolio-proof > div:last-child { font-size: 20px; line-height: 1.55; color: rgba(24,14,43,.66); }
.portfolio-proof a { display: inline-block; margin-top: 20px; color: var(--ink); font-weight: 700; }
.network-caption { position: absolute; z-index: 2; left: 50%; bottom: 50px; transform: translateX(-50%); width: min(960px, calc(100% - 48px)); padding: 20px 28px; display: flex; align-items: center; justify-content: center; gap: 22px; background: rgba(255,255,255,.78); border: 1px solid rgba(139,92,255,.18); border-radius: 14px; backdrop-filter: blur(16px); color: var(--ink); font: 700 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.network-caption i { width: 38px; height: 1px; background: var(--gradient); }
.company-band { padding: 140px 0; background: var(--ink); color: var(--paper); }
.company-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.eyebrow.light { color: var(--mint); }
.company-grid > div:last-child { font-size: 20px; line-height: 1.55; color: rgba(250,248,242,.72); }
.contact { padding: 150px 0 165px; text-align: center; }
.contact .hero-cta { margin-top: 45px; }
footer { border-top: 1px solid var(--border); }
.footer-shell { width: min(1180px, calc(100% - 48px)); min-height: 260px; margin: 0 auto; padding: 55px 0; display: grid; grid-template-columns: 160px 1fr auto; grid-template-rows: auto auto; gap: 35px 70px; align-items: start; }
.footer-brand { align-self: start; }
.footer-shell p { margin: 0; color: rgba(24,14,43,.58); max-width: 420px; }
.footer-shell nav { display: flex; gap: 26px; font-weight: 600; }
.footer-shell > span { grid-column: 1/-1; color: rgba(24,14,43,.45); font-size: 12px; }

@media (max-width: 1040px) {
  .nav-shell { min-height: 74px; width: min(100% - 32px, 900px); }
  .menu-button { display: block; }
  .primary-menu { position: absolute; top: 74px; left: 16px; right: 16px; padding: 20px; background: rgba(250,248,242,.98); border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow); display: none; align-items: stretch; }
  .primary-menu.open { display: block; }
  .nav-links, .nav-actions { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links a, .nav-actions > a:not(.button) { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav-actions { margin-top: 12px; gap: 8px; }
  .hero { min-height: 930px; padding-top: 70px; }
  .hero-stage { width: 920px; margin-left: 4vw; }
  .setup-card { right: 3vw; }
  .portfolio-window { width: 78%; }
}

@media (max-width: 760px) {
  .hero { min-height: 940px; padding-top: 56px; }
  .hero h1 { font-size: clamp(48px, 14vw, 68px); line-height: .94; }
  .hero-lede br, .hero h1 br { display: none; }
  .hero-lede { font-size: 19px; }
  .hero-cta { min-height: 60px; font-size: 17px; }
  .hero-stage { width: calc(100% - 28px); height: 560px; margin: 48px auto 0; }
  .portfolio-window { top: 210px; left: -75px; width: 620px; height: 380px; opacity: .48; }
  .window-body { grid-template-columns: 150px 1fr; }.window-body aside{padding:14px 8px}.workspace{padding:15px}.metric-row{gap:8px}.registry-table{display:none}
  .setup-card { top: 10px; left: 50%; right: auto; width: min(380px, calc(100% - 20px)); padding: 27px 18px 20px; transform: translateX(-50%); }
  .module-grid a { height: 84px; }.card-cta{min-height:52px;margin-top:15px}
  .ecosystem { padding: 100px 0; }
  .section-intro { font-size: 18px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid article { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar-grid article:last-child { border-bottom: 0; }
  .pillar-grid h3 { margin-top: 38px; }
  .company-band { padding: 100px 0; }
  .company-grid { grid-template-columns: 1fr; gap: 50px; }
  .image-story { min-height: 660px; background-position: 61% center; }
  .image-story:after { background: linear-gradient(180deg, rgba(250,248,242,.97) 0%, rgba(250,248,242,.72) 45%, rgba(250,248,242,.05) 76%); }
  .image-story-copy { padding-top: 90px; }
  .image-story-copy > p:last-child { font-size: 17px; }
  .portfolio-proof { padding: 100px 0; grid-template-columns: 1fr; gap: 45px; }
  .image-story-network { min-height: 500px; background-position: center; }
  .network-caption { bottom: 28px; padding: 16px; flex-wrap: wrap; gap: 10px 14px; }
  .network-caption i { width: 16px; }
  .contact { padding: 100px 0 110px; }
  .footer-shell { grid-template-columns: 1fr; grid-template-rows: auto; gap: 25px; }
  .footer-shell nav { flex-wrap: wrap; }
  .footer-shell > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
