/* ============ coework.com ============ */
:root {
  --bg: #070b14;
  --bg-alt: #0a101d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8edf7;
  --muted: #93a0b8;
  --accent-a: #5b7cfa;
  --accent-b: #38d0f2;
  --grad: linear-gradient(92deg, var(--accent-a), var(--accent-b));
  --live: #34d399;
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Eyebrows, badges and small-caps labels. Smooth sans — the terminal console
     deliberately stays on --mono. */
  --label: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #061018;
  box-shadow: 0 8px 24px rgba(72, 150, 245, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(72, 150, 245, .4); }
.btn-ghost {
  border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 20, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.mk { }
.mk-a { fill: var(--accent-a); }
.mk-b { fill: var(--accent-b); }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-dot { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.orb-a { width: 520px; height: 520px; background: var(--accent-a); top: -180px; left: -120px; }
.orb-b { width: 460px; height: 460px; background: var(--accent-b); bottom: -220px; right: -100px; opacity: .22; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.kicker {
  font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent-b); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08;
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 17.5px; max-width: 520px; margin-bottom: 30px; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-props { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; }
.hero-props li {
  color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 8px;
}
.hero-props li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad); flex: none;
}

/* ---------- hero console ---------- */
.hero-console {
  background: rgba(10, 16, 29, .82);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.console-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.d-r { background: #ff5f57; } .d-y { background: #febc2e; } .d-g { background: #28c840; }
.console-title { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 10px; }
.console-status {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--live); display: flex; align-items: center; gap: 7px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.console-modules {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 9px; padding: 18px 16px;
}
.module {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 9px; padding: 10px 10px;
  font-family: var(--mono); font-size: 11px; color: var(--text);
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-led { width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex: none; }
.console-log {
  border-top: 1px solid var(--line); padding: 14px 16px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  height: 118px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
}
.log-line { padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-line .ok { color: var(--live); }
.log-line .k { color: var(--accent-b); }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-n {
  display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-l { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; max-width: 780px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 48px; }
.section-sub strong { color: var(--text); }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-col {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: var(--panel);
}
.compare-col h3 { font-size: 16.5px; margin-bottom: 16px; font-weight: 700; }
.compare-col.highlight {
  background: linear-gradient(160deg, rgba(91,124,250,.14), rgba(56,208,242,.07));
  border-color: rgba(91,124,250,.45);
}
.x-list, .check-list { list-style: none; }
.x-list li, .check-list li {
  padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 14.5px;
}
.check-list li { color: var(--text); }
.x-list li::before {
  content: "✕"; position: absolute; left: 2px; color: #f87171; font-size: 12px; top: 9px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--live); font-size: 13px; top: 8px; font-weight: 700;
}

/* ---------- capability cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: var(--panel);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91,124,250,.5); background: var(--panel-strong); }
.card-ic {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(91,124,250,.22), rgba(56,208,242,.12));
  border: 1px solid rgba(91,124,250,.35);
  display: flex; align-items: center; justify-content: center;
}
.card-ic svg { width: 21px; height: 21px; fill: none; stroke: var(--accent-b); stroke-width: 1.8; }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- network ---------- */
.net-cat {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.net-cat-second { margin-top: 52px; }
.net-cat-label {
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  color: var(--text); flex: none;
}
.net-cat-rule {
  flex: 1; height: 1px; min-width: 24px;
  background: linear-gradient(90deg, rgba(91,124,250,.5), transparent);
}
.net-cat-note {
  font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); flex: none;
}
.net-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.net-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; background: var(--panel);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, border-color .18s ease;
}
.net-card:hover { transform: translateY(-3px); border-color: rgba(56,208,242,.45); }
.net-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.net-head h4 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.badge {
  font-family: var(--label); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; font-weight: 600;
}
.badge-live { background: rgba(52,211,153,.14); color: var(--live); border: 1px solid rgba(52,211,153,.35); }
.badge-soon { background: rgba(254,188,46,.12); color: #fbbf24; border: 1px solid rgba(254,188,46,.3); }
.net-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.net-link { color: var(--accent-b); font-size: 14px; font-weight: 600; }
.net-link:hover { text-decoration: underline; }
.net-link.muted { color: var(--muted); font-weight: 500; }
.net-alt { color: rgba(147,160,184,.7); font-weight: 400; }
.net-note {
  margin-top: 28px; color: var(--muted); font-size: 14px;
  border-left: 3px solid var(--accent-a); padding-left: 16px;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--panel); position: relative;
}
.step-n {
  font-family: var(--label); font-weight: 700; font-size: 13.5px; letter-spacing: .06em;
  color: var(--accent-b); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }
.how-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid rgba(91,124,250,.4); border-radius: var(--radius);
  padding: 28px 32px;
  background: linear-gradient(160deg, rgba(91,124,250,.13), rgba(56,208,242,.06));
  flex-wrap: wrap;
}
.how-cta p { font-size: 17px; font-weight: 600; max-width: 480px; }

/* ---------- company ---------- */
.company-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.company-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; max-width: 560px; }
.inline-link {
  color: var(--accent-b); font-weight: 600;
  border-bottom: 1px solid rgba(56,208,242,.4);
  transition: border-color .15s ease, color .15s ease;
}
.inline-link:hover { border-bottom-color: var(--accent-b); color: #7fe0fa; }
.company-points { display: grid; gap: 12px; margin-top: 26px; }
.company-points div {
  border: 1px solid var(--line); border-left: 3px solid var(--accent-a);
  border-radius: 10px; padding: 14px 18px;
  background: var(--panel); color: var(--muted); font-size: 14.5px;
}
.company-points strong { color: var(--text); }
.company-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; background: var(--bg-alt);
  position: sticky; top: 92px;
}
.company-panel h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.company-panel p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.panel-fine { display: block; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 0; }
.footer-inner { display: flex; gap: 64px; justify-content: space-between; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 320px; }
.footer-tag { color: var(--muted); font-size: 13px; margin-top: 6px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.footer-col a { color: var(--text); font-size: 14px; opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--accent-b); }
.foot-muted { color: var(--muted); font-size: 14px; }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 12.5px;
}

/* ---------- QOZ investor page ---------- */
.page-hero { position: relative; padding: 72px 0 60px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.12; margin-bottom: 20px;
}
.page-hero p { color: var(--muted); font-size: 17.5px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin-bottom: 24px;
}
.back-link:hover { color: var(--accent-b); }

.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.prose p strong { color: var(--text); }

/* three-layer flow: gain → fund → business */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.flow-step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; background: var(--panel);
}
.flow-step .flow-n {
  font-family: var(--label); font-weight: 700; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-b); display: block; margin-bottom: 10px;
}
.flow-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14px; }
.flow-arrow {
  align-self: center; color: var(--accent-a); font-size: 22px; line-height: 1; flex: none;
}

/* OZ 1.0 vs 2.0 table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.oz-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.oz-table th, .oz-table td {
  text-align: left; padding: 15px 20px; font-size: 14.5px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.oz-table thead th {
  font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03);
}
.oz-table tbody th { font-weight: 600; color: var(--text); width: 26%; }
.oz-table td { color: var(--muted); }
.oz-table tbody tr:last-child th, .oz-table tbody tr:last-child td { border-bottom: 0; }
.oz-table .col-new { background: rgba(91,124,250,.07); }

.callout {
  border: 1px solid rgba(91,124,250,.4); border-left: 3px solid var(--accent-a);
  border-radius: var(--radius); padding: 22px 26px; margin-top: 30px;
  background: linear-gradient(160deg, rgba(91,124,250,.1), rgba(56,208,242,.04));
}
.callout h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.callout p { color: var(--muted); font-size: 14.5px; }

.disclaimer {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; background: var(--panel);
}
.disclaimer h3 {
  font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.disclaimer p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.disclaimer p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .company-wrap { grid-template-columns: 1fr; }
  .company-panel { position: static; }
}
/* The full nav row (brand + links + CTAs) needs ~950px. Collapse to the burger
   before that, or tablet widths scroll sideways. */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: #0a101d;
    border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
  }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 56px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .net-grid { grid-template-columns: 1fr; }
  .console-modules { grid-template-columns: repeat(2, 1fr); }
  .how-cta { flex-direction: column; align-items: flex-start; }
  .footer-inner { gap: 36px; }
  .footer-cols { gap: 36px; }
}
