  :root {
    --bg-void: #0a0a11;
    --bg-raised: #101120;
    --bg-card: #12131f;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.16);
    --text: #f2f2f5;
    --text-muted: #9295a8;
    --text-faint: #5c5f72;
    --accent: #c02a49;
    --accent-strong: #e8637c;
    --accent-soft: rgba(192,42,73,0.14);

    --font-display: "Space Grotesk", ui-sans-serif, sans-serif;
    --font-body: "Inter", ui-sans-serif, sans-serif;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 90px; }

  body {
    margin: 0;
    background: var(--bg-void);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

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

  a { color: inherit; }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }

  @media (max-width: 640px) {
    .wrap { padding: 0 20px; }
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  .eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  /* ---------------- nav ---------------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: rgba(10,10,17,0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  .nav-logo img { height: 30px; width: auto; }

  .nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.15s ease;
  }

  .nav-links a:hover { color: var(--text); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 20px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
  }

  .btn:active { transform: scale(0.98); }

  .btn-solid {
    background: var(--accent);
    color: #ffffff;
  }

  .btn-solid:hover { background: #d63a58; }

  .btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
  }

  .btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

  .btn-small { padding: 9px 16px; font-size: 13px; }

  @media (max-width: 860px) {
    .nav-links { display: none; }
  }

  /* ---------------- hero ---------------- */
  .hero {
    padding: 80px 0 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 64px;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
  }

  h1.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    max-width: 13ch;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0 0 32px;
  }

  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 34px;
  }

  .hero-caps {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  /* hero signal panel */
  .signal-panel {
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 22px;
    background: linear-gradient(160deg, var(--bg-raised), var(--bg-void));
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
  }

  .signal-head {
    display: flex;
    justify-content: space-between;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .signal-tag {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--bg-card);
    white-space: nowrap;
  }

  .signal-tag-label {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .signal-tag strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }

  .signal-tag-top { top: 62px; right: 24px; }
  .signal-tag-bottom { bottom: 98px; left: 16px; }

  .signal-rings {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .signal-rings svg { width: 290px; height: 290px; }

  @media (max-width: 560px) {
    .signal-rings svg { width: 230px; height: 230px; }
  }

  .ring-outer { animation: spin 14s linear infinite; transform-origin: 100px 100px; }
  .ring-mid   { animation: spin 22s linear infinite; transform-origin: 100px 100px; }
  .ring-inner { animation: spin 8s cubic-bezier(.45,.05,.55,.95) infinite reverse; transform-origin: 100px 100px; }

  .core-dot    { animation: pulse 3s ease-in-out infinite; transform-origin: 100px 100px; }
  .core-ripple { animation: ripple 3s ease-out infinite; transform-origin: 100px 100px; }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }

  @keyframes ripple {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  .signal-foot {
    display: flex;
    justify-content: flex-end;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    color: var(--text);
  }

  @media (prefers-reduced-motion: reduce) {
    .ring-outer, .ring-mid, .ring-inner, .core-dot, .core-ripple { animation: none; }
  }

  /* capability ticker */
  .ticker-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
  }

  .ticker-strip span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

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

  /* ---------------- section shell ---------------- */
  .section {
    padding: 88px 0;
    border-bottom: 1px solid var(--border);
  }

  .section-alt { background: var(--bg-raised); }

  .section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 48px;
  }

  @media (max-width: 720px) {
    .section-head { grid-template-columns: 1fr; }
  }

  h2.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
  }

  .section-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
  }

  /* ---------------- model section ---------------- */
  .model-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
  }

  .model-numeral {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(72px, 9vw, 128px);
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
  }

  .model-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 18px;
  }

  .model-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    max-width: 58ch;
    margin: 0 0 40px;
  }

  .model-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .model-step-index {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 10px;
  }

  .model-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 8px;
  }

  .model-step p {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
  }

  @media (max-width: 860px) {
    .model-grid { grid-template-columns: 1fr; }
    .model-steps { grid-template-columns: 1fr; gap: 22px; }
  }

  /* ---------------- ventures ---------------- */
  .venture-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .venture-card {
    grid-column: span 2;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-card);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
  }

  .venture-card:hover { border-color: var(--border-strong); }

  .venture-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .venture-cat {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  .venture-status {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong);
  }

  .venture-shot {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-void);
  }

  .venture-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
  }

  .venture-body { display: flex; flex-direction: column; }

  .venture-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
  }

  .venture-tag {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
  }

  /* purple text link (products + team invite) */
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--accent-strong);
    text-decoration: none;
  }

  .text-link svg { transition: transform 0.15s ease; }
  .text-link:hover svg { transform: translateX(3px); }

  /* wide TaxCalc card: text left, picture right */
  .venture-wide {
    grid-column: span 6;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    grid-template-areas: "top shot" "body shot";
    grid-template-rows: auto 1fr;
    column-gap: 32px;
    row-gap: 18px;
  }

  .venture-wide .venture-top { grid-area: top; }
  .venture-wide .venture-shot { grid-area: shot; align-self: center; }
  .venture-wide .venture-shot img { aspect-ratio: 16 / 8; }
  .venture-wide .venture-body { grid-area: body; align-self: end; }

  @media (max-width: 900px) {
    .venture-grid { grid-template-columns: repeat(2, 1fr); }
    .venture-card { grid-column: span 1; }
    .venture-wide {
      grid-column: span 2;
      grid-template-columns: 1fr;
      grid-template-areas: "top" "shot" "body";
      grid-template-rows: auto;
    }
    .venture-wide .venture-shot img { aspect-ratio: 16 / 10; }
  }

  @media (max-width: 560px) {
    .venture-grid { grid-template-columns: 1fr; }
    .venture-wide { grid-column: span 1; }
  }

  /* ---------------- team ---------------- */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .team-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-card);
  }

  .team-avatar {
    height: 160px;
    position: relative;
    overflow: hidden;
  }

  .team-avatar .circle {
    position: absolute;
    border-radius: 50%;
  }

  .team-meta {
    padding: 16px 18px 20px;
  }

  .team-index {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: 8px;
  }

  .team-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 3px;
  }

  .team-role {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin: 0;
  }

  .team-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 6px 0 14px;
  }

  /* invitation card */
  .team-card.team-invite {
    border: 1px dashed var(--border-strong);
    background: var(--bg-card);
  }

  .team-invite .team-avatar { background: transparent; }

  .team-invite .team-avatar .circle {
    background: transparent;
    border: 1.5px dashed rgba(232,99,124,0.55);
  }

  @media (max-width: 860px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ---------------- impact ---------------- */
  .impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .impact-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0 18px;
    max-width: 15ch;
  }

  .impact-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    max-width: 46ch;
  }

  .impact-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .impact-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
  }

  .impact-item:first-child { border-top: none; padding-top: 0; }

  .impact-num {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 600;
  }

  .impact-item h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
  }

  .impact-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
  }

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

  /* ---------------- cta ---------------- */
  .cta-section {
    padding: 90px 0;
  }

  .cta-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    flex-wrap: wrap;
  }

  .cta-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 12px 0 0;
    max-width: 12ch;
  }

  .cta-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #a6abbd;
    margin: 14px 0 0;
  }

  @media (max-width: 640px) {
    .cta-row { flex-direction: column; align-items: flex-start; }
  }

  .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--accent-strong);
    text-decoration: none;
    white-space: nowrap;
  }

  .cta-link svg { transition: transform 0.15s ease; }
  .cta-link:hover svg { transform: translateX(3px); }

  /* ---------------- footer ---------------- */
  footer {
    padding: 26px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-faint);
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
  }

  .footer-logo img { height: 21px; width: auto; }

  /* focus visibility */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  /* ---------------- scroll navigation ---------------- */
  .scroll-nav {
    position: fixed;
    right: 20px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .scroll-btn {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: rgba(16,17,32,0.9);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  }

  .scroll-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
  .scroll-btn:active { transform: scale(0.97); }

  .scroll-nav[data-state="top"] .scroll-btn[data-show="top"],
  .scroll-nav[data-state="middle"] .scroll-btn[data-show="middle"],
  .scroll-nav[data-state="bottom"] .scroll-btn[data-show="bottom"] { display: inline-flex; }

  @media (max-width: 560px) {
    .scroll-nav { right: 14px; }
  }

  @media print { .scroll-nav { display: none; } }
