@font-face { font-family: Manrope; src: url("../fonts/Manrope-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/Manrope-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #09090b;
  --ink-soft: #111116;
  --paper: #f2f2ee;
  --paper-deep: #e9e9e4;
  --white: #fff;
  --violet: #c9c1ff;
  --mint: #c9fbdc;
  --peach: #ffd9ce;
  --lime: #e8ff8a;
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(9, 9, 11, .16);
  --muted-dark: rgba(255, 255, 255, .62);
  --muted-light: rgba(9, 9, 11, .62);
  --page: min(100% - 48px, 1180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; font-weight: 500; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.spaces-page { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1100; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); border-radius: 999px; background: var(--lime); color: var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.spaces-hero { position: relative; min-height: calc(100svh - var(--site-nav-height, 80px)); overflow: hidden; padding: clamp(72px, 8vw, 120px) 0 clamp(100px, 12vw, 180px); background: var(--ink); color: var(--white); }
.spaces-hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 18% 20%, rgba(232, 255, 138, .09), transparent 24%), radial-gradient(circle at 79% 45%, rgba(201, 193, 255, .16), transparent 31%); pointer-events: none; }
.hero-glow { position: absolute; top: 32%; left: 50%; width: min(92vw, 1220px); aspect-ratio: 2.3; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(100deg, rgba(201, 251, 220, .12), rgba(201, 193, 255, .2), rgba(255, 217, 206, .12)); filter: blur(90px); opacity: .75; }
.hero-copy { position: relative; z-index: 1; max-width: 860px; text-align: center; }
.hero-copy .eyebrow { color: #c9fbdc; opacity: 0; animation: rise .7s .08s ease forwards; }
.hero-copy h1 { margin: 0; font-size: clamp(64px, 7.4vw, 104px); font-weight: 500; letter-spacing: -.07em; line-height: .94; opacity: 0; transform: translateY(22px); animation: rise .9s .16s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy > p:not(.eyebrow) { max-width: 720px; margin: 28px auto 0; color: var(--muted-dark); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.52; opacity: 0; transform: translateY(22px); animation: rise .9s .28s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy .button { margin-top: 28px; opacity: 0; transform: translateY(22px); animation: rise .9s .4s cubic-bezier(.2, .7, .2, 1) forwards; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 25px; border: 1px solid currentColor; border-radius: 5px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button-light { border-color: transparent; background: linear-gradient(100deg, #fff7bb, #ffdcd4); color: var(--ink); }
.button-light:hover { background: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: transparent; color: var(--ink); }

.knowledge-stage { position: relative; z-index: 2; margin-top: clamp(72px, 9vw, 118px); padding: 46px 44px 44px; border: 1px solid rgba(255, 255, 255, .25); background: #f6f5f1; color: var(--ink); box-shadow: 0 38px 120px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(34px); animation: stage-in 1s .32s cubic-bezier(.2, .7, .2, 1) forwards; }
.knowledge-stage figcaption, .visual-label { position: absolute; top: -28px; left: 0; color: rgba(255, 255, 255, .52); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stage-topline { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); color: #686970; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.stage-body { display: grid; grid-template-columns: 190px 1fr; min-height: 360px; }
.stage-body aside { display: grid; align-content: start; gap: 7px; padding: 30px 22px 0 0; border-right: 1px solid var(--line-light); }
.stage-body aside > strong { margin-bottom: 11px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.stage-body aside > span { display: flex; justify-content: space-between; padding: 10px 12px; color: #707177; font-size: 12px; }
.stage-body aside .is-active { background: #e7e4ff; color: var(--ink); }
.stage-body aside b { font-weight: 500; }
.knowledge-list { padding: 30px 0 0 32px; }
.knowledge-heading { display: flex; justify-content: space-between; padding-bottom: 16px; color: #77787e; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.workspace-goal { max-width: 600px; margin: 3px 0 24px; font-size: clamp(25px, 2.7vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.knowledge-list article { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; min-height: 72px; border-top: 1px solid var(--line-light); }
.source-mark { display: grid; width: 38px; height: 42px; place-items: center; background: #e3e2de; color: #5f6066; font-size: 8px; font-style: normal; font-weight: 700; }
.knowledge-list p { display: grid; gap: 5px; margin: 0; }
.knowledge-list strong { font-size: 15px; font-weight: 600; }
.knowledge-list small { color: #77787e; font-size: 11px; }
.status { min-width: 98px; padding: 7px 10px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 700; text-align: center; text-transform: uppercase; }
.approved { background: #d7f2dc; color: #25592e; }
.review { background: #fff0c7; color: #66500c; }
.collected { background: #e4e4e4; color: #58595d; }
.stage-note { position: absolute; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(16, 16, 20, .9); color: #d9d9dc; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(12px); }
.note-one { top: 42%; left: -74px; }
.note-two { right: -36px; bottom: 44px; }

.status-section { padding: clamp(110px, 13vw, 180px) 0; background: var(--paper); }
.section-heading h2 { margin: 0; font-size: clamp(46px, 5.2vw, 76px); font-weight: 500; letter-spacing: -.06em; line-height: 1.02; }
.section-heading > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: var(--muted-light); font-size: 17px; line-height: 1.55; }
.section-heading.centered { max-width: 920px; text-align: center; }
.section-heading.centered > p:not(.eyebrow) { margin-inline: auto; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 8vw, 108px); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.status-grid article { min-height: 280px; padding: 36px 36px 40px; }
.status-grid article + article { border-left: 1px solid var(--line-light); }
.status-grid span, .role-list span { color: #77787d; font-size: 10px; letter-spacing: .12em; }
.status-grid h3 { margin: 54px 0 14px; font-size: clamp(28px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.status-grid p { margin: 0; color: var(--muted-light); font-size: 14px; }

.workflow-section { overflow: hidden; padding: clamp(110px, 13vw, 180px) 0; background: var(--ink); color: var(--white); }
.inverse .eyebrow, .step-label { color: var(--lime); }
.inverse > p:not(.eyebrow) { color: var(--muted-dark); }
.workflow-grid { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(460px, 1.32fr); gap: clamp(70px, 9vw, 140px) clamp(44px, 7vw, 100px); align-items: center; margin-top: clamp(100px, 12vw, 170px); }
.workflow-copy h3 { margin: 0; font-size: clamp(42px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.workflow-copy > p:not(.step-label) { margin: 25px 0 0; color: var(--muted-dark); font-size: 16px; line-height: 1.6; }
.step-label { margin: 0 0 22px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.concept-visual { position: relative; min-height: 520px; background: linear-gradient(135deg, rgba(201, 251, 220, .9), rgba(201, 193, 255, .88) 52%, rgba(255, 217, 206, .9)); color: var(--ink); }
.concept-visual .visual-label { top: 18px; left: 22px; color: rgba(9, 9, 11, .58); }
.material-visual { display: grid; place-items: center; overflow: hidden; }
.material-orbit { position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(9, 9, 11, .18); border-radius: 50%; }
.material-orbit::before, .material-orbit::after { position: absolute; inset: 17%; content: ""; border: 1px solid rgba(9, 9, 11, .12); border-radius: 50%; }
.material-orbit::after { inset: -25%; }
.space-core { position: relative; z-index: 2; display: grid; width: 180px; aspect-ratio: 1; place-content: center; border: 1px solid rgba(9, 9, 11, .22); border-radius: 50%; background: rgba(249, 248, 244, .91); text-align: center; box-shadow: 0 26px 70px rgba(48, 42, 64, .18); }
.space-core small { font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.space-core strong { margin-top: 8px; font-size: 20px; font-weight: 600; }
.space-core span { margin-top: 3px; color: #707177; font-size: 10px; }
.material-node { position: absolute; display: grid; min-width: 108px; gap: 3px; padding: 12px 15px; border: 1px solid rgba(9, 9, 11, .2); background: rgba(249, 248, 244, .88); font-size: 11px; box-shadow: 0 16px 35px rgba(48, 42, 64, .12); animation: drift 5s ease-in-out infinite; }
.material-node b { font-size: 8px; letter-spacing: .13em; }
.node-pdf { top: 25%; left: 8%; }
.node-web { top: 18%; right: 9%; animation-delay: -1.2s; }
.node-note { right: 7%; bottom: 16%; animation-delay: -2.4s; }
.node-talk { bottom: 11%; left: 12%; animation-delay: -3.6s; }
.agent-visual { display: grid; place-items: center; padding: 68px; }
.agent-card { width: 100%; max-width: 460px; padding: 34px; background: #f8f7f3; box-shadow: 0 25px 70px rgba(48, 42, 64, .18); }
.agent-meta { display: flex; justify-content: space-between; color: #6f7076; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.agent-live { color: #32663b; }
.agent-live::before { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #6fc27c; content: ""; animation: pulse 1.8s ease-in-out infinite; }
.agent-card h4 { margin: 36px 0 14px; font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.agent-task { margin: 0 0 24px; color: #68696e; font-size: 12px; line-height: 1.55; }
.agent-source { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 10px; }
.agent-source span, .agent-source em { color: #77787e; font-style: normal; }
.artifact-result { display: grid; gap: 5px; margin-top: 22px; padding: 18px; background: #e7e4ff; }
.artifact-result small { font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.artifact-result strong { font-size: 15px; }
.artifact-result span { color: #65666b; font-size: 10px; }
.agent-action { display: block; width: 100%; margin-top: 20px; padding: 14px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; text-align: center; }

.roles-section { padding: clamp(110px, 13vw, 180px) 0; background: linear-gradient(130deg, var(--paper) 30%, #efecf6); }
.roles-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 130px); }
.roles-layout .section-heading { position: sticky; top: calc(var(--site-nav-height, 80px) + 50px); align-self: start; }
.roles-layout .section-heading h2 { font-size: clamp(48px, 5vw, 72px); }
.role-list { border-top: 1px solid var(--line-light); }
.role-list article { display: grid; grid-template-columns: 38px minmax(160px, .55fr) 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.role-list h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.role-list p { margin: 0; color: var(--muted-light); font-size: 14px; }

.faq-section { padding: clamp(100px, 12vw, 160px) 0; background: var(--ink-soft); color: var(--white); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 150px); }
.faq-layout .section-heading h2 { font-size: clamp(44px, 4.7vw, 68px); }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: clamp(18px, 1.8vw, 24px); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--violet); font-size: 28px; font-weight: 400; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: 0 48px 26px 0; color: var(--muted-dark); }

.closing-section { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 180px) 0; background: var(--paper); }
.closing-glow { position: absolute; inset: 0; background: radial-gradient(circle at 20% 40%, rgba(201, 251, 220, .42), transparent 34%), radial-gradient(circle at 78% 58%, rgba(201, 193, 255, .42), transparent 36%), radial-gradient(circle at 52% 10%, rgba(255, 217, 206, .52), transparent 30%); filter: blur(50px); }
.closing-copy { position: relative; z-index: 1; max-width: 950px; text-align: center; }
.closing-copy h2 { margin: 0; font-size: clamp(54px, 6.7vw, 92px); font-weight: 500; letter-spacing: -.07em; line-height: .98; }
.closing-copy > p:not(.eyebrow) { max-width: 660px; margin: 28px auto 0; color: var(--muted-light); font-size: 17px; }
.closing-copy .button { margin-top: 30px; }

.spaces-footer { padding: 86px 0 38px; background: #e9e9e7; }
.footer-grid { display: grid; grid-template-columns: .6fr 1.6fr .7fr; gap: 52px; align-items: start; }
.footer-brand { font-size: 25px; letter-spacing: -.06em; }
.footer-grid > p { margin: 0; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.055em; line-height: 1.02; }
.footer-grid nav { display: grid; gap: 10px; font-size: 13px; }
.footer-grid > span { grid-column: 1 / -1; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-light); color: #6e6f74; font-size: 11px; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes stage-in { to { opacity: 1; transform: none; } }
@keyframes drift { 50% { transform: translateY(-7px); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

@media (max-width: 900px) {
  .stage-body { grid-template-columns: 150px 1fr; }
  .knowledge-stage { padding-inline: 28px; }
  .note-one { left: -20px; }
  .note-two { right: -12px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .status-grid article:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .status-grid article:nth-child(odd) { border-left: 0; }
  .agent-visual { order: 4; }
  .workflow-grid .workflow-copy:last-child { order: 3; }
  .roles-layout, .faq-layout { grid-template-columns: 1fr; }
  .roles-layout .section-heading { position: static; }
  .footer-grid { grid-template-columns: .5fr 1.5fr; }
  .footer-grid nav { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --page: min(100% - 32px, 1180px); }
  .spaces-hero { padding-top: 64px; }
  .hero-copy h1 { overflow-wrap: break-word; hyphens: auto; font-size: clamp(46px, 13vw, 68px); }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .knowledge-stage { width: calc(100% - 32px); padding: 30px 18px 22px; }
  .stage-body { display: block; min-height: 0; }
  .stage-body aside { display: none; }
  .knowledge-list { padding: 20px 0 0; }
  .knowledge-list article { grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; }
  .knowledge-list article .status { grid-column: 2; justify-self: start; }
  .source-mark { width: 32px; height: 36px; }
  .stage-note { display: none; }
  .section-heading h2 { font-size: clamp(42px, 12vw, 58px); }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid article { min-height: 0; padding: 28px 4px 32px; }
  .status-grid article + article { border-top: 1px solid var(--line-light); border-left: 0; }
  .status-grid h3 { margin-top: 28px; }
  .workflow-grid { margin-top: 80px; }
  .workflow-copy h3 { font-size: clamp(38px, 11vw, 52px); }
  .concept-visual { min-height: 430px; }
  .agent-visual { padding: 48px 18px 24px; }
  .agent-card { padding: 25px; }
  .material-node { min-width: 90px; padding: 10px; font-size: 10px; }
  .node-pdf { left: 3%; }
  .node-web { right: 3%; }
  .node-note { right: 2%; }
  .node-talk { left: 4%; }
  .role-list article { grid-template-columns: 28px 1fr; gap: 10px 14px; }
  .role-list p { grid-column: 2; }
  .faq-list summary { min-height: 80px; font-size: 17px; }
  .closing-copy h2 { font-size: clamp(48px, 13.5vw, 70px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p, .footer-grid nav { grid-column: 1; }
  .footer-grid > span { margin-top: 24px; }
}

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