:root {
  --header-height: 96px;
  --bg: #d8e9df;
  --scene-surface: #9cccb7;
  --ink: #20292d;
  --muted: #424d54;
  --accent: #10543f;
  --line: rgba(41, 52, 58, .20);
  --paper: #f3f7f1;
  --dark: #0a0c10;
  --mist: #dce9e1;
  --ink-muted: #464b57;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--bg); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button:disabled { opacity: .4; }
p, h1, h2, h3 { margin: 0; }
button[hidden], [hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--ink); }

/* Four-second brand entrance. The WebGL scene keeps loading behind this surface. */
html.entry-active, html.entry-active body { overflow: hidden; }
.entry-screen {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 40px 24px;
  background: radial-gradient(ellipse 45% 52% at 50% 43%, #fbfcf8 15%, #e2eee5 70%, transparent),
              linear-gradient(135deg, #f3f6f1, #dbe9df 52%, #edf2ec);
  color: #284a3b; opacity: 1; touch-action: none;
  transition: opacity 550ms ease;
}
.entry-screen.is-leaving { opacity: 0; }
.entry-content { text-align: center; transform: translateY(-12px); }
.entry-mark { position: relative; width: 126px; margin: 0 auto 68px; }
.entry-mark img {
  position: relative; display: block; width: 100%; height: auto;
  animation: entry-breathe 2.6s ease-in-out infinite;
}
.entry-orbit {
  position: absolute; width: 208px; height: 208px; left: 50%; top: 50%;
  margin: -104px 0 0 -104px; border-radius: 50%;
  border: 1px solid rgba(62, 101, 79, .15);
  box-shadow: 0 0 0 16px rgba(255, 255, 255, .2), 0 0 0 17px rgba(62, 101, 79, .035);
  animation: entry-orbit 8s linear infinite;
}
.entry-orbit::after {
  content: ''; position: absolute; width: 6px; height: 6px; top: -3px; left: calc(50% - 3px);
  border-radius: 50%; background: #608773; box-shadow: 0 0 14px rgba(70, 112, 86, .2);
}
.entry-tagline { font: italic 28px/1.3 'Instrument Serif', Georgia, serif; color: #355743; }
.entry-track { width: 164px; height: 2px; margin: 30px auto 18px; background: rgba(55, 88, 67, .12); overflow: hidden; }
.entry-track span {
  display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #7fa28b, #315a43);
  transform-origin: left; animation: entry-progress 3450ms cubic-bezier(.22, .5, .5, 1) both;
}
.entry-status { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; letter-spacing: 1.3px; color: #52695b; }
.entry-dots { display: inline-flex; gap: 3px; }
.entry-dots i { width: 2px; height: 2px; border-radius: 50%; background: currentColor; animation: entry-dot 1.2s ease-in-out infinite; }
.entry-dots i:nth-child(2) { animation-delay: .16s; }
.entry-dots i:nth-child(3) { animation-delay: .32s; }
.entry-caption { position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); font-size: 8px; letter-spacing: 2.6px; color: #6c7f72; }
@keyframes entry-breathe { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }
@keyframes entry-orbit { to { transform: rotate(360deg); } }
@keyframes entry-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes entry-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 700px) {
  .entry-mark { width: 112px; margin-bottom: 64px; }
  .entry-orbit { width: 186px; height: 186px; margin: -93px 0 0 -93px; }
  .entry-tagline { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-screen { transition: none; }
  .entry-screen *, .entry-screen *::after { animation: none !important; }
}

.skip-link {
  position: fixed; left: 20px; top: -80px; z-index: 200;
  padding: 14px 18px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600;
}
.skip-link:focus { top: 15px; }

.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.1px; line-height: 1.6; }
.signal-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 100%;
  background: var(--accent); margin: 0 9px 2px 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent);
}

#experience {
  position: relative; height: 100svh; min-height: 800px; max-height: 1120px;
  overflow: hidden; isolation: isolate; background: var(--scene-surface);
  background-image: radial-gradient(ellipse 34% 30% at 50% 57%, transparent, #f6f8f6);
  transition: background-color .8s ease;
}
#scene { position: absolute; inset: 0; z-index: -3; }
#scene canvas { width: 100%; height: 100%; display: block; }
.scene-vignette {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 247, 242, .16), transparent 28%, transparent 64%, rgba(240, 247, 242, .45));
}
.grain {
  position: absolute; inset: 0; z-index: 10; opacity: .025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.site-header {
  height: var(--header-height); padding: 0 4.15%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: fixed; inset: 0 0 auto; z-index: 120;
  background: linear-gradient(110deg, rgba(241, 247, 242, .96), rgba(210, 230, 219, .94) 48%, rgba(231, 241, 234, .96));
  backdrop-filter: blur(22px) saturate(80%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 22px rgba(35, 46, 52, .06);
  border-bottom: 1px solid rgba(41, 52, 58, .18);
}
.brand, .demo-brand {
  width: max-content; padding: 5px 8px;
  /* Original transparent logo sits directly on the soft sage surface. */
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 86px; height: auto; max-height: 76px; object-fit: contain; display: block; }
#mobile-menu { display: none; }

.main-nav { display: flex; gap: 38px; font-size: 12.5px; font-weight: 500; margin-left: 70px; color: #36434a; }
.main-nav a { position: relative; padding: 10px 0; transition: color .25s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:after {
  content: ''; position: absolute; bottom: 2px; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width .3s ease;
}
.main-nav a:hover:after { width: 100%; }

.header-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-login {
  --account-top: #3b785e; --account-bottom: #2e634d;
  --account-hover: #3e7d62; --account-shadow: 22, 55, 44;
}
.header-action {
  --account-top: #214e3e; --account-bottom: #183c31;
  --account-hover: #2a5e4c; --account-shadow: 22, 55, 44;
}
.header-login, .header-action {
  font-size: 12px; font-weight: 600; padding: 11px 18px; min-height: 44px; white-space: nowrap;
  border: 1px solid var(--account-top); border-radius: 999px;
  background: linear-gradient(135deg, var(--account-top), var(--account-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #f7faf7;
  box-shadow: 0 4px 14px rgba(var(--account-shadow), .08);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.header-login:hover, .header-action:hover {
  background: var(--account-hover); border-color: var(--account-hover);
  box-shadow: 0 6px 18px rgba(var(--account-shadow), .14);
}
.menu-toggle { display: none; }
.menu-toggle span { display: block; height: 1.5px; width: 20px; background: var(--ink); margin: 5px 0; border-radius: 1px; }

.hero-copy {
  position: absolute; top: 19.5%; left: 0; text-align: center; width: 100%;
  pointer-events: none; z-index: 2; padding: 0 24px;
}
.hero-eyebrow {
  margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  color: #2e3b42; font-size: clamp(14px, 1.38vw, 20px); font-weight: 600;
  letter-spacing: 3.4px; line-height: 1.4;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hero-eyebrow .signal-dot { width: 7px; height: 7px; margin: 0 11px 1px 0; }

.scene-hit-area {
  position: absolute; inset: 35% 0 20%; z-index: 3;
  touch-action: pan-y; cursor: grab; outline-offset: -8px !important;
}
.scene-hit-area.dragging { cursor: grabbing; }

.hero-bottom {
  position: absolute; bottom: 13.7%; left: 4.2%; right: 4.2%;
  display: flex; align-items: end; justify-content: space-between; z-index: 4; gap: 20px;
}
.active-info .eyebrow { color: var(--muted); font-size: 8.5px; letter-spacing: 2px; }
.active-name {
  font-size: 30px; font-weight: 600; letter-spacing: -1.1px; padding: 9px 0 0;
  display: flex; gap: 30px; align-items: center; text-align: left; color: var(--ink);
}
.active-name span { font-size: 22px; color: var(--accent); transition: transform .25s; }
.active-name:hover span { transform: translate(2px, -2px); }
.carousel-arrows { display: flex; gap: 10px; padding-bottom: 2px; }
.carousel-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(41, 52, 58, .26);
  background: rgba(255, 255, 255, .32); backdrop-filter: blur(16px);
  font-size: 17px; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.carousel-arrows button:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 18%, transparent); }

.hero-rail {
  position: absolute; bottom: 0; left: 4.2%; right: 4.2%; height: 84px;
  display: flex; align-items: center; gap: 22px; z-index: 5;
  border-top: 1px solid var(--line);
}
.module-tabs { display: flex; gap: 30px; height: 100%; align-items: center; flex: 1; }
.module-tab {
  position: relative; height: 100%; font-size: 11px; color: var(--muted);
  padding: 0; white-space: nowrap; display: flex; align-items: center; gap: 9px;
  transition: color .25s; font-weight: 500;
}
.module-tab span { font-size: 8.5px; color: #515d65; }
.module-tab[aria-selected=true] { color: var(--ink); font-weight: 600; }
.module-tab[aria-selected=true] span { color: var(--accent); }
.module-tab:before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.module-tab[aria-selected=true]:before { transform: scaleX(1); }
.module-tab:hover { color: var(--ink); }

.motion-control {
  height: 32px; width: 32px; border: 1px solid rgba(41, 52, 58, .24); border-radius: 50%;
  background: rgba(255, 255, 255, .28); backdrop-filter: blur(14px);
  font-size: 10px; color: var(--ink); transition: background .2s, color .2s;
}
.motion-control:hover { background: rgba(255, 255, 255, .18); color: var(--ink); }
.scroll-hint { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; white-space: nowrap; margin-left: 18px; color: var(--muted); transition: color .2s; }
.scroll-hint:hover { color: var(--ink); }
.scroll-hint span { font-size: 15px; margin-left: 14px; color: var(--accent); }

#scene-loading {
  position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%);
  font-size: 11px; color: var(--muted); display: flex; flex-direction: column;
  align-items: center; gap: 18px; z-index: 2; letter-spacing: 1px;
}
#scene-loading span {
  width: 28px; height: 28px; border: 2px solid rgba(41, 52, 58, .18);
  border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#scene-fallback { position: absolute; inset: 39% 20% 23%; text-align: center; }
#scene-fallback img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 14px; }
#scene-fallback p { font-size: 12.5px; color: var(--muted); max-width: 320px; margin: auto; line-height: 1.7; }

.is-detail { overflow: hidden; }
.is-detail #experience { position: fixed; inset: 0; z-index: 100; height: 100dvh; min-height: 0; max-height: none; }
.is-detail .hero-copy, .is-detail .hero-bottom, .is-detail .hero-rail,
.is-detail .scene-hit-area, .is-detail .main-nav, .is-detail .header-auth, .is-detail .menu-toggle {
  opacity: 0; pointer-events: none; visibility: hidden;
}

.detail-ui { position: absolute; inset: 96px 4.2% 0; z-index: 15; }
.detail-orbit {
  position: absolute; left: 35%; width: 40%; top: 17%; bottom: 14%;
  cursor: grab; touch-action: none; border-radius: 28px; outline-offset: -4px !important;
}
.detail-orbit.dragging { cursor: grabbing; }
#detail-orbit-hint {
  position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px; white-space: nowrap; pointer-events: none;
  color: var(--muted); font-size: 16px; opacity: .7;
}
#detail-orbit-hint span { font-size: 9px; letter-spacing: .5px; }
.detail-orbit:hover #detail-orbit-hint, .detail-orbit:focus-visible #detail-orbit-hint { color: var(--ink); opacity: 1; }
.close-detail {
  display: inline-flex; align-items: center; gap: 18px; font-size: 11.5px; font-weight: 600;
  padding: 10px 17px; border-radius: 999px;
  border: 1px solid rgba(41, 52, 58, .24); background: rgba(255, 255, 255, .32);
  backdrop-filter: blur(18px); color: var(--ink); transition: background .2s;
}
.close-detail:hover { background: rgba(255, 255, 255, .16); }
.close-detail span {
  font-size: 8px; color: var(--muted); border: 1px solid rgba(41, 52, 58, .24);
  padding: 3px 6px; border-radius: 4px;
}
.detail-copy { position: absolute; top: 17%; left: 0; max-width: 345px; }
.detail-copy > .eyebrow { font-size: 9.5px; color: var(--accent); }
.detail-copy h2 { font-size: 54px; line-height: 1.04; font-weight: 600; letter-spacing: -2.1px; margin: 18px 0 38px; color: var(--ink); }
.benefit-copy { min-height: 165px; max-width: 310px; animation: copy-in .5s ease both; }
.benefit-copy > .eyebrow { color: var(--muted); font-size: 8.5px; }
.benefit-copy h3 { font-size: 22px; font-weight: 600; letter-spacing: -.6px; margin: 12px 0; color: var(--ink); }
.benefit-copy p { font-size: 13px; line-height: 1.85; color: #354249; }
.detail-cta {
  font-size: 11.5px; font-weight: 600; margin-top: 22px; padding: 13px 22px;
  border-radius: 999px; border: 1px solid rgba(41, 52, 58, .26);
  background: linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(230, 235, 236, .35)); backdrop-filter: blur(18px);
  display: inline-flex; gap: 28px; align-items: center; color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.detail-cta span { color: var(--accent); transition: color .25s; }
.detail-cta:hover { background: #ffffff; color: #050608; border-color: var(--ink); }
.detail-cta:hover span { color: #050608; }

.benefit-controls {
  position: absolute; right: 0; top: 26%; display: flex; flex-direction: column; width: 225px; gap: 7px;
}
.benefit-tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  font-size: 11.5px; color: var(--muted); padding: 16px 16px;
  border-radius: 12px; border: 1px solid transparent;
  border-bottom-color: rgba(41, 52, 58, .18);
  transition: background .25s, color .25s, border-color .25s;
}
.benefit-tab span { font-size: 9px; color: #515d65; font-weight: 600; }
.benefit-tab:after { content: '↗'; margin-left: auto; opacity: 0; font-size: 15px; color: var(--accent); transition: opacity .2s; }
.benefit-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .28); }
.benefit-tab[aria-selected=true] {
  color: var(--ink); font-weight: 600;
  background: rgba(255, 255, 255, .52); border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 16px rgba(35, 46, 52, .04);
  backdrop-filter: blur(16px);
}
.benefit-tab[aria-selected=true] span { color: var(--accent); }
.benefit-tab[aria-selected=true]:after { opacity: 1; }

.detail-footnote {
  position: absolute; bottom: 32px; left: 0; right: 0; text-align: center;
  font-size: 10px; font-weight: 500; letter-spacing: 1px; color: var(--muted);
}
.detail-footnote span { display: block; margin-top: 7px; font-size: 8.5px; letter-spacing: 0; color: var(--muted); }
@keyframes copy-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Warm pearl editorial surface within the sage brand palette. */
.section-pad { padding: 108px 6.6%; }
.approach { background: linear-gradient(145deg, #f7faf5, var(--paper) 55%, #e2ece4); color: var(--dark); border-top: 1px solid rgba(255, 255, 255, .75); }
.section-top { display: flex; align-items: center; justify-content: space-between; }
.section-top .eyebrow { font-size: 9.5px; color: #058a62; }
.little-mark {
  width: 48px; height: 48px; margin-left: auto; margin-right: 21%;
  color: #0a0c10; display: inline-flex; align-items: center; justify-content: center;
}
.little-mark svg { width: 100%; height: 100%; display: block; }
.small-note { font-size: 10.5px; font-weight: 500; line-height: 1.7; color: var(--ink-muted); }

.editorial-title {
  font-size: clamp(45px, 5.7vw, 88px); font-weight: 600;
  letter-spacing: -3.4px; line-height: 1.06; margin: 64px 0 54px; color: #0a0c10;
}
.editorial-title span { color: #5b6270; font-weight: 500; }
.editorial-title em { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -1.8px; font-size: 1.15em; color: #057a58; }

.approach-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; }
.approach-lead { font-size: 21px; font-weight: 600; line-height: 1.6; letter-spacing: -.5px; color: #0a0c10; }
.approach-text p { font-size: 14px; line-height: 1.85; color: #3c404b; margin-bottom: 20px; max-width: 395px; }
.approach-text strong { font-weight: 700; color: #0a0c10; }

.workflow {
  margin-top: 68px; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.workflow article {
  --card-accent: #058a62;
  position: relative; background: linear-gradient(135deg, #ffffff, #e8efea);
  border: 1px solid rgba(10, 16, 28, .09);
  box-shadow: 0 10px 28px rgba(10, 16, 28, .04);
  border-radius: 22px; padding: 30px 28px 34px; overflow: hidden;
}
.workflow article:before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent);
}
.workflow article.card-emerald { --card-accent: #06966b; }
.workflow article.card-sapphire { --card-accent: #1368d6; }
.workflow article.card-iris { --card-accent: #6c3dd1; }
.workflow article.visible {
  transition: opacity .52s ease, transform .52s ease, box-shadow .35s ease;
}
.workflow article:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(10, 16, 28, .08);
}
.step-visual { height: 52px; margin-bottom: 24px; color: #1d222c; }
.step-visual svg { height: 100%; width: auto; display: block; }
.svg-accent-stroke { stroke: var(--card-accent); }
.svg-accent-fill { fill: var(--card-accent); }
.workflow article > span { font-size: 9px; font-weight: 700; letter-spacing: 1.8px; color: var(--card-accent); display: block; }
.workflow h3 { font-size: 24px; font-weight: 600; line-height: 1.22; letter-spacing: -.8px; margin: 14px 0 14px; color: #0a0c10; }
.workflow p { font-size: 13px; line-height: 1.8; color: #3c404b; max-width: 295px; }

/* Sage workspace shell with a white document canvas. */
.workspace { background: linear-gradient(115deg, #d4e5db, #eef4ef 55%, #ccdfd4); color: #0a0c10; padding-top: 104px; padding-bottom: 92px; overflow: hidden; }
.workspace-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.workspace-heading > .eyebrow { grid-column: 1 / -1; font-size: 9.5px; color: #1368d6; }
.workspace-heading h2 { font-size: 50px; font-weight: 600; line-height: 1.1; letter-spacing: -2.2px; color: #0a0c10; }
.workspace-heading h2 em { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 1.15em; color: #1368d6; }
.workspace-heading > p:last-child { justify-self: end; font-size: 13px; line-height: 1.8; margin-bottom: 5px; color: #3c404b; font-weight: 500; }

.workspace-demo {
  --demo-accent: #2ce6a8;
  --demo-accent-ink: #10543f;
  margin-top: 56px; display: flex;
  border: 1px solid rgba(10, 14, 24, .12);
  box-shadow: 0 36px 86px rgba(10, 14, 24, .13), 0 8px 24px rgba(10, 14, 24, .06);
  min-height: 550px; background: #ffffff; border-radius: 20px; overflow: hidden; transform-origin: center;
}
.demo-sidebar {
  width: 232px; flex-shrink: 0; padding: 26px 16px 20px;
  background: linear-gradient(145deg, #dceae1, #c2d7cc); border-right: 1px solid rgba(41, 52, 58, .16);
  display: flex; flex-direction: column; color: var(--ink);
}
.demo-brand {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start; margin-bottom: 24px;
}
.demo-brand img { width: 82px; height: auto; display: block; }
.demo-sidebar > p { font-size: 7.5px; font-weight: 700; letter-spacing: 1.5px; margin: 0 12px 12px; color: var(--muted); }

.demo-tab {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 12px 12px; border-radius: 10px; text-align: left;
  color: #3d4a51; font-size: 11px; font-weight: 500; margin-bottom: 4px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.demo-tab svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .82; }
.demo-tab:hover { background: rgba(255, 255, 255, .35); color: var(--ink); }
.demo-tab[aria-selected=true] {
  background: rgba(255, 255, 255, .65); color: var(--ink); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--demo-accent-ink), 0 4px 14px rgba(35, 46, 52, .06);
}
.demo-tab[aria-selected=true] svg { opacity: 1; color: var(--demo-accent-ink); }

.demo-user {
  margin-top: auto; padding: 38px 8px 0;
  display: flex; gap: 10px; align-items: center; font-size: 9.5px; font-weight: 600; color: var(--ink);
}
.demo-user > span {
  background: var(--demo-accent-ink); color: #ffffff;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; font-size: 9.5px; font-weight: 800; flex-shrink: 0;
}
.demo-user small { display: block; font-size: 7.5px; color: var(--muted); margin-top: 2px; font-weight: 400; }

.demo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #ffffff; }
.demo-top {
  height: 60px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(10, 14, 24, .08); font-size: 10.5px; color: #545b69; background: #f8f9fc;
}
.demo-path { display: inline-flex; align-items: center; gap: 16px; }
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.window-dots i:nth-child(1) { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.demo-top b { font-weight: 400; margin: 0 10px; color: #9aa1b0; }
#demo-breadcrumb { color: #0a0c10; font-weight: 700; }

.demo-label {
  font-size: 7.5px; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--demo-accent-ink) 12%, transparent);
  color: var(--demo-accent-ink);
}
.demo-label i {
  display: inline-block; width: 5.5px; height: 5.5px; background: var(--demo-accent-ink);
  border-radius: 50%; margin-right: 6px; vertical-align: middle;
}

#demo-content { padding: 34px 36px; flex: 1; animation: copy-in .4s ease; }
.demo-content-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--demo-accent-ink); }
.demo-content-title { font-size: 28px; font-weight: 600; margin: 8px 0; letter-spacing: -.9px; color: #0a0c10; }
.demo-content-sub { font-size: 12px; line-height: 1.7; color: #464b57; }

.demo-document { display: grid; grid-template-columns: 1.05fr .75fr; gap: 24px; margin-top: 26px; }
.document-body {
  padding: 24px; background: #f8fafe; border: 1px solid rgba(10, 16, 28, .10);
  border-radius: 14px; box-shadow: 0 6px 20px rgba(10, 16, 28, .035);
}
.document-heading {
  font-size: 8.5px; font-weight: 700; letter-spacing: 1px; color: #5b6270;
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.document-badge {
  background: #ffffff; border: 1px solid rgba(10, 16, 28, .09);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 600; letter-spacing: .3px; color: #3c404b;
}
.document-body h4 { font-size: 15.5px; font-weight: 700; margin: 0 0 12px; color: #0a0c10; }
.document-body p { font-size: 11.5px; line-height: 1.9; color: #2b303a; }
.doc-highlight {
  background: color-mix(in srgb, var(--demo-accent-ink) 14%, transparent);
  padding: 2px 7px; border-radius: 5px; color: var(--demo-accent-ink); font-weight: 600;
}
.document-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.document-chips span {
  font-size: 8.5px; font-weight: 600; color: #3c404b; background: #ffffff;
  border: 1px solid rgba(10, 16, 28, .10); padding: 5px 10px; border-radius: 999px;
}
.document-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.document-lines span { height: 3.5px; background: rgba(10, 16, 28, .08); border-radius: 10px; }
.document-lines span:nth-child(2) { width: 88%; }
.document-lines span:nth-child(3) { width: 66%; }

.document-side { padding-top: 4px; }
.document-side h4 { font-size: 11px; font-weight: 700; margin: 0 0 14px; color: #0a0c10; }
.document-side-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 10.5px; line-height: 1.5; padding: 13px 0; border-top: 1px solid rgba(10, 16, 28, .08);
}
.side-index {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: color-mix(in srgb, var(--demo-accent-ink) 11%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--demo-accent-ink) 25%, transparent);
  display: inline-grid; place-items: center; font-size: 8.5px; font-weight: 700; color: var(--demo-accent-ink);
}
.document-side-item strong { display: block; font-weight: 700; color: #0a0c10; }
.document-side-item > div > span { display: block; color: #4e5563; font-size: 9px; margin-top: 4px; }

.demo-status {
  padding: 14px 28px; display: flex; justify-content: space-between;
  font-size: 8.5px; font-weight: 500; color: #545b69;
  border-top: 1px solid rgba(10, 16, 28, .08);
  background: #f8f9fc; gap: 15px;
}
.workspace-note { font-size: 13.5px; text-align: center; margin-top: 34px; letter-spacing: -.2px; color: #0a0c10; font-weight: 600; }
.workspace-note span { color: var(--ink-muted); margin-left: 6px; font-weight: 500; }

/* Soft adliGO greens and pearl highlights, with module-colored typography. */
.closing {
  position: relative; background: #d1e4d9; overflow: hidden; padding-top: 104px; padding-bottom: 0;
  background-image: radial-gradient(ellipse at 80% 20%, rgba(169, 214, 197, .5), transparent 65%), linear-gradient(115deg, #bed8ca, #edf4eb 40%, #cde3d7 75%, #bbd7cc);
  border-top: 1px solid rgba(255, 255, 255, .7);
}
.closing:before {
  content: 'a'; position: absolute; right: 5%; bottom: -150px;
  font-family: 'Instrument Serif', serif; font-style: italic; line-height: 1;
  font-size: 760px; color: rgba(38, 57, 63, .035); pointer-events: none;
}
.closing > .eyebrow { font-size: 9.5px; color: var(--accent); }
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: center; margin: 28px 0 84px; position: relative; }
.closing h2 { font-size: clamp(60px, 6vw, 88px); font-weight: 600; line-height: 1.05; letter-spacing: -3.6px; color: var(--ink); }
.closing h2 em {
  font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.closing-note { font-size: 13px; line-height: 1.85; color: var(--muted); margin-top: 30px; }
.contact-details { min-width: 0; font-style: normal; border-top: 1px solid var(--line); }
.contact-link { display: block; padding: 25px 0 29px; border-bottom: 1px solid var(--line); transition: border-color .25s, color .25s; }
.contact-label { display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--muted); margin-bottom: 12px; }
.contact-value { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: clamp(26px, 2.7vw, 40px); letter-spacing: -1.2px; }
.contact-arrow { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(41, 52, 58, .24); border-radius: 50%; font-size: 23px; color: var(--accent); transition: transform .25s, background .25s, color .25s; }
.contact-linkedin .contact-value { font-size: clamp(23px, 2vw, 29px); letter-spacing: -.6px; }
.contact-link:hover { color: var(--accent); border-color: var(--accent); }
.contact-link:hover .contact-arrow { background: var(--accent); color: #ffffff; transform: translate(2px, -2px); }
.closing footer {
  min-height: 100px; display: grid; grid-template-columns: auto auto 1fr auto; gap: 40px; align-items: center; position: relative;
  border-top: 1px solid var(--line); font-size: 10px; color: var(--muted);
}
.closing footer .brand img { width: 76px; max-height: none; }
.closing footer > span { justify-self: center; }
.closing footer a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  padding: 13px 20px; border-radius: 999px; background: #ffffff; color: #0a0c10;
  font-size: 12px; font-weight: 600; z-index: 150; box-shadow: 0 12px 35px rgba(0, 0, 0, .4);
  max-width: 90%; text-align: center;
}
.noscript { padding: 40px; background: #f3f6fb; color: #0a0c10; }
.workflow-line { display: none; }

@media (min-width: 1600px) {
  .hero-copy { top: 20%; }
  .hero-bottom { bottom: 14%; }
  .hero-rail { height: 94px; }
  .active-name { font-size: 34px; }
  .module-tabs { gap: 44px; }
}

@media (max-width: 1100px) {
  .site-header { gap: 18px; }
  .main-nav { margin: 0; gap: 18px; font-size: 11.5px; }
  .header-auth { gap: 4px; }
  .header-login { padding: 10px 14px; font-size: 11px; }
  .header-action { padding: 10px 14px; font-size: 11px; gap: 10px; }
  .hero-eyebrow { font-size: 16px; letter-spacing: 3px; }
  .module-tabs { gap: 20px; }
  .scroll-hint { display: none; }
  .detail-copy { max-width: 265px; }
  .detail-copy h2 { font-size: 42px; }
  .benefit-controls { width: 185px; }
  .demo-sidebar { width: 196px; }
  .section-pad { padding-left: 6%; padding-right: 6%; }
  .editorial-title { letter-spacing: -2.4px; }
  .workspace-heading h2 { font-size: 42px; }
  .demo-top, #demo-content { padding-left: 24px; padding-right: 24px; }
  .contact-layout { gap: 40px; }
  .contact-break { display: none; }
}

@media (max-width: 700px) {
  :root { --header-height: 78px; }
  #experience { height: 100svh; min-height: 780px; max-height: 1000px; }
  .site-header { padding: 0 6%; gap: 12px; }
  .brand img { width: 67px; max-height: 62px; }
  .main-nav { display: none; }
  .header-auth { margin-left: auto; }
  .header-login { padding: 10px 12px; font-size: 11px; }
  .header-action { font-size: 11px; padding: 10px 12px; gap: 8px; }
  .menu-toggle { display: block; padding: 5px 0 5px 6px; }
  .hero-copy { top: 18.5%; padding: 0 6%; }
  .hero-eyebrow { font-size: 12.5px; letter-spacing: 2.2px; }
  .hero-eyebrow .signal-dot { width: 5.5px; height: 5.5px; margin: 0 8px 1px 0; }
  .scene-hit-area { inset: 33% 0 24%; }
  .hero-bottom { left: 6%; right: 6%; bottom: 13%; gap: 15px; }
  .active-name { font-size: 25px; gap: 18px; letter-spacing: -1px; }
  .active-info .eyebrow { font-size: 7.5px; }
  .carousel-arrows { gap: 6px; }
  .carousel-arrows button { width: 36px; height: 36px; font-size: 15px; }
  .hero-rail { left: 6%; right: 6%; height: 70px; gap: 10px; }
  .module-tabs { gap: 16px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  .module-tabs::-webkit-scrollbar { display: none; }
  .module-tab { font-size: 8.5px; gap: 5px; flex-shrink: 0; }
  .module-tab span { font-size: 6.5px; }
  .motion-control { height: 27px; width: 27px; flex-shrink: 0; }
  .section-pad { padding: 68px 6%; }
  .small-note { font-size: 9.5px; }
  .section-top .eyebrow { font-size: 8.5px; }
  .little-mark { width: 36px; height: 36px; margin-right: 10%; margin-left: auto; }
  .editorial-title { font-size: 40px; line-height: 1.12; letter-spacing: -1.8px; margin: 40px 0 28px; }
  .approach-body { grid-template-columns: 1fr; gap: 22px; }
  .approach-lead { font-size: 16.5px; line-height: 1.65; }
  .approach-text p { font-size: 12.5px; max-width: none; margin-bottom: 14px; }
  .workflow { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .workflow article { padding: 22px 20px; border-radius: 18px; }
  .step-visual { height: 42px; margin-bottom: 16px; }
  .workflow h3 { margin: 10px 0 10px; font-size: 21px; letter-spacing: -.6px; }
  .workflow h3 br { display: none; }
  .workflow p { max-width: 100%; font-size: 12px; }
  .workspace-heading { grid-template-columns: 1fr; gap: 16px; }
  .workspace-heading > .eyebrow { font-size: 8.5px; }
  .workspace-heading h2 { font-size: 34px; letter-spacing: -1.5px; }
  .workspace-heading > p:last-child { justify-self: start; font-size: 12px; }
  .workspace-demo { margin-top: 28px; display: block; min-height: 0; border-radius: 16px; }
  .demo-sidebar { width: 100%; border-right: 0; border-bottom: 1px solid rgba(41, 52, 58, .18); display: block; padding: 14px 12px 10px; }
  .demo-brand { display: inline-flex; margin-bottom: 12px; }
  .demo-brand img { width: 61px; }
  .demo-sidebar > p, .demo-user { display: none; }
  #demo-tabs { display: flex; overflow-x: auto; gap: 5px; scrollbar-width: none; }
  .demo-tab { width: auto; flex-shrink: 0; font-size: 8.5px; padding: 9px 10px; border-radius: 8px; gap: 6px; margin-bottom: 0; }
  .demo-tab[aria-selected=true] { box-shadow: inset 0 -2px 0 var(--demo-accent-ink); }
  .demo-tab svg { width: 12px; height: 12px; }
  .demo-top { height: 48px; padding: 0 16px; font-size: 8px; }
  .window-dots { display: none; }
  .demo-top b { margin: 0 6px; }
  .demo-label { font-size: 6px; letter-spacing: .6px; padding: 4px 8px; }
  #demo-content { padding: 22px 18px; }
  .demo-content-title { font-size: 22px; }
  .demo-content-sub { font-size: 10.5px; }
  .demo-document { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .document-body { padding: 18px; border-radius: 12px; }
  .document-side { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .document-side h4 { width: 100%; margin-bottom: 8px; }
  .document-side-item { flex: 1; min-width: 110px; font-size: 9px; gap: 8px; }
  .demo-status { padding: 12px 16px; font-size: 6.5px; }
  .demo-status > span:last-child { display: none; }
  .workspace-note { font-size: 11.5px; line-height: 1.75; margin-top: 22px; }
  .workspace-note span { display: block; margin-left: 0; }
  .closing { padding-bottom: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; margin: 24px 0 48px; }
  .closing h2 { font-size: 54px; letter-spacing: -2.2px; }
  .closing-note { font-size: 12px; margin-top: 24px; max-width: 310px; }
  .contact-link { padding: 20px 0 24px; }
  .contact-value { font-size: 29px; }
  .contact-linkedin .contact-value { font-size: 24px; }
  .contact-arrow { width: 36px; height: 36px; font-size: 20px; }
  .closing:before { font-size: 480px; bottom: -80px; right: -55px; }
  .closing footer { grid-template-columns: 1fr auto; gap: 22px 14px; padding: 26px 0; font-size: 9px; }
  .closing footer .brand img { width: 67px; }
  .closing footer > span { justify-self: start; }
  #mobile-menu {
    display: block; position: fixed; left: 4%; right: 4%; top: calc(var(--header-height) - 6px); z-index: 130;
    padding: 16px; border-radius: 16px;
    background: linear-gradient(130deg, rgba(240, 247, 241, .98), rgba(212, 231, 219, .98)); backdrop-filter: blur(24px);
    border: 1px solid rgba(41, 52, 58, .18); box-shadow: 0 20px 44px rgba(35, 46, 52, .18);
  }
  #mobile-menu a { display: block; padding: 13px 12px; font-size: 14px; border-radius: 10px; }
  #mobile-menu a:hover { background: rgba(255, 255, 255, .32); }
}

/* Stack only the detail view on phone and tablet; keep the V10 overview layout. */
@media (max-width: 1100px) {
  .detail-ui { inset: 74px 6% 0; }
  .detail-orbit { left: 0; width: 100%; top: 22%; bottom: 280px; }
  #detail-orbit-hint { bottom: 0; font-size: 13px; }
  #detail-orbit-hint span { font-size: 8px; }
  .close-detail { font-size: 10px; padding: 7px 12px; }
  .close-detail span { display: none; }
  .detail-copy { top: 7%; max-width: 100%; width: 100%; pointer-events: none; }
  .detail-copy > .eyebrow { font-size: 7.5px; }
  .detail-copy h2 { font-size: 36px; letter-spacing: -1.5px; margin: 8px 0 0; line-height: 1.05; max-width: 290px; }
  .benefit-copy { position: fixed; left: 6%; right: 6%; bottom: 168px; min-height: 0; max-width: none; pointer-events: auto; }
  .benefit-copy > .eyebrow { font-size: 6.5px; }
  .benefit-copy h3 { font-size: 18.5px; margin: 5px 0 6px; }
  .benefit-copy p { font-size: 10.5px; line-height: 1.65; max-width: 325px; }
  .detail-cta { position: fixed; bottom: 24px; left: 6%; font-size: 10px; margin: 0; pointer-events: auto; padding: 10px 18px; gap: 22px; }
  .benefit-controls { position: fixed; top: auto; bottom: 76px; left: 6%; right: 6%; width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .benefit-tab { font-size: 8.5px; padding: 10px 10px; gap: 8px; border-radius: 10px; }
  .benefit-tab span { font-size: 7px; }
  .benefit-tab:after { font-size: 11px; }
  .detail-footnote { display: none; }
  .is-detail .site-header { height: 73px; }
  .is-detail .site-header .brand img { width: 66px; max-height: none; }
  .is-detail .header-auth { display: none; }
}

@media (max-width: 380px) {
  .site-header { padding: 0 5%; gap: 8px; }
  .hero-eyebrow { font-size: 11.5px; letter-spacing: 1.9px; }
  .header-login { font-size: 10.5px; padding: 10px 10px; }
  .header-action { font-size: 10.5px; padding: 10px 10px; }
  .active-name { font-size: 23px; }
  .little-mark { margin-right: 6%; }
  .editorial-title { font-size: 36px; }
  .workspace-heading h2 { font-size: 30px; }
  .closing h2 { font-size: 42px; }
}

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

@media (min-width: 701px) and (max-height: 820px) {
  .hero-copy { top: 18%; z-index: 2; }
  .hero-eyebrow { font-size: 16px; letter-spacing: 3px; }
}
