:root {
  --bg: #f3f4ef;
  --surface: #ffffff;
  --surface-2: #e9ede7;
  --ink: #11251f;
  --muted: #66746f;
  --line: #d7ddd7;
  --brand: #123f36;
  --brand-2: #1c6f5e;
  --brand-soft: #dcece6;
  --accent: #e4a53a;
  --danger: #bd5f57;
  --shadow: 0 24px 70px rgba(25, 51, 43, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #0d1714;
  --surface: #14221e;
  --surface-2: #1b2c27;
  --ink: #edf5f2;
  --muted: #9aaba5;
  --line: #2b3b36;
  --brand: #64c2a8;
  --brand-2: #8ad7c1;
  --brand-soft: #1d3a32;
  --accent: #f0b95c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); transition: background .25s, color .25s; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; z-index: 99; inset: 0; pointer-events: none; opacity: .16; background: repeating-radial-gradient(circle at 0 0, transparent 0, transparent 2px, rgba(18,63,54,.08) 3px, transparent 4px); background-size: 11px 13px; mix-blend-mode: multiply; }

.site-header { position: sticky; z-index: 50; top: 0; display: grid; grid-template-columns: 240px 1fr auto; min-height: 78px; align-items: center; gap: 28px; border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent); padding: 0 clamp(22px, 4vw, 70px); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--accent); color: #17352d; font-family: var(--serif); font-size: 20px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 14px; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 12px; font-weight: 700; }
.main-nav > a, .nav-popover > button { position: relative; border: 0; padding: 28px 0 26px; background: none; color: var(--muted); cursor: pointer; }
.main-nav > a::after, .nav-popover > button::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; border-radius: 2px; background: var(--brand-2); content: ""; transform: scaleX(0); transition: transform .2s; }
.main-nav > a:hover::after, .nav-popover:hover > button::after, .nav-popover.open > button::after { transform: scaleX(1); }
.main-nav > a:hover, .nav-popover > button:hover, .nav-popover.open > button { color: var(--ink); }
.nav-popover { position: relative; }
.nav-popover > button span { margin-left: 4px; }
.nav-popover__panel { position: absolute; top: 67px; left: 50%; display: grid; width: 360px; gap: 4px; border: 1px solid var(--line); border-radius: 18px; padding: 8px; background: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s; }
.nav-popover:hover .nav-popover__panel, .nav-popover.open .nav-popover__panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-popover__panel a { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 12px; }
.nav-popover__panel a:hover { background: var(--surface-2); }
.nav-popover__panel i { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); font-size: 9px; font-style: normal; font-weight: 900; }
.nav-popover__panel span { display: flex; flex-direction: column; gap: 3px; }
.nav-popover__panel strong { font-size: 11px; }
.nav-popover__panel small { color: var(--muted); font-size: 9px; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.theme-button, .icon-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; padding: 0 11px; background: var(--surface); cursor: pointer; }
.theme-button b { font-size: 10px; }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 13px; padding: 0 19px; font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 39px; border-radius: 11px; padding: 0 15px; font-size: 10px; }
.button--primary { background: var(--brand); color: #f6fbf8; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 20%, transparent); }
[data-theme="dark"] .button--primary { background: var(--brand-2); color: #0c211b; }
.button--dark { background: #102d25; color: #fff; }
.button--ghost { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.button--full { width: 100%; }
.rainbow-dot { width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#31e7ff, #8f63ff, #ff5ca8, #ffc94a, #59efa9, #31e7ff); box-shadow: 0 0 0 3px color-mix(in srgb, #8f63ff 14%, transparent); }

.hero { display: grid; min-height: calc(100vh - 78px); grid-template-columns: minmax(0, .85fr) minmax(600px, 1.15fr); align-items: center; gap: clamp(40px, 6vw, 100px); overflow: hidden; padding: 74px clamp(22px, 5vw, 90px) 90px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 20px; height: 1px; background: currentColor; }
.hero h1 { max-width: 700px; margin: 21px 0 20px; font-family: var(--serif); font-size: clamp(52px, 5.6vw, 90px); font-weight: 500; letter-spacing: -.058em; line-height: .96; }
.hero h1 em, .manifesto em { color: var(--brand-2); font-style: italic; }
.hero-copy > p { max-width: 590px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.hero-notes { display: flex; gap: 0; margin-top: 36px; }
.hero-notes span { display: flex; flex-direction: column; gap: 3px; border-left: 1px solid var(--line); padding: 0 25px; color: var(--muted); font-size: 9px; }
.hero-notes span:first-child { border-left: 0; padding-left: 0; }
.hero-notes b { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 500; }

.hero-product { position: relative; width: min(100%, 880px); border: 1px solid var(--line); border-radius: 25px; padding: 8px; background: var(--surface); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.window-bar { display: flex; height: 32px; align-items: center; gap: 5px; padding: 0 9px; }
.window-bar > span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.window-bar small { margin-left: 8px; color: var(--muted); font-size: 7px; }
.mini-app { display: grid; min-height: 480px; grid-template-columns: 54px 1fr; overflow: hidden; border-radius: 18px; background: #f6f6f2; color: #13241f; }
.mini-side { display: flex; align-items: center; flex-direction: column; gap: 13px; padding: 13px 8px; background: #123f36; color: #c2d8d1; }
.mini-logo { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 15px; border-radius: 9px; background: var(--accent); color: #17352d; font-family: var(--serif); font-weight: 800; }
.mini-side i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; font-size: 11px; font-style: normal; }
.mini-side i.active { background: rgba(255,255,255,.12); color: #fff; }
.mini-side__last { margin-top: auto; }
.mini-main { padding: 0 24px 24px; }
.mini-top { display: flex; height: 52px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e6e1; font-size: 8px; font-weight: 800; }
.mini-top i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #dfe9e5; color: #235e50; font-size: 7px; font-style: normal; }
.mini-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; padding: 25px 0 18px; }
.mini-heading div { display: flex; flex-direction: column; gap: 6px; }
.mini-heading small, .mini-list > small, .mini-chart small { color: #257a66; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.mini-heading strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.mini-heading button { border: 1px solid #dde2dd; border-radius: 8px; padding: 7px 9px; background: white; color: #62716b; font-size: 7px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mini-stats article { display: flex; min-height: 88px; flex-direction: column; border: 1px solid #dfe3de; border-radius: 12px; padding: 13px; background: #fff; }
.mini-stats small { color: #66736e; font-size: 7px; }
.mini-stats strong { margin-top: 8px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.mini-stats span { margin-top: auto; color: #7b8883; font-size: 6px; }
.mini-stats .up { color: #23715f; }
.mini-grid { display: grid; grid-template-columns: 1.65fr .8fr; gap: 9px; margin-top: 9px; }
.mini-grid > article { min-height: 205px; border: 1px solid #dfe3de; border-radius: 12px; padding: 15px; background: #fff; }
.mini-chart > div:first-child, .mini-list { display: flex; flex-direction: column; gap: 5px; }
.mini-chart b, .mini-list > b { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.chart-bars { display: flex; height: 118px; align-items: end; justify-content: space-around; gap: 8px; border-bottom: 1px solid #dbe2dd; padding: 8px 5px 0; background: repeating-linear-gradient(to top, transparent 0, transparent 28px, #eef1ed 29px); }
.chart-bars i { width: 8%; height: var(--h); border-radius: 5px 5px 1px 1px; background: linear-gradient(#43a68f, #1d6c5a); }
.chart-labels { display: flex; justify-content: space-around; color: #7b8883; font-size: 5px; }
.mini-list p { display: flex; align-items: center; gap: 7px; margin: 3px 0 0; border-top: 1px solid #edf0ec; padding-top: 8px; }
.mini-list p > i { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #e4f1ec; color: #286f5e; font-size: 6px; font-style: normal; font-weight: 900; }
.mini-list p > span { display: flex; flex-direction: column; gap: 2px; }
.mini-list p strong { font-size: 6px; }
.mini-list p small { color: #7b8883; font-size: 5px; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.55); border-radius: 13px; padding: 10px 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 14px 35px rgba(14,42,34,.16); backdrop-filter: blur(12px); }
.floating-card > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand-2); font-size: 11px; font-weight: 900; }
.floating-card div { display: flex; flex-direction: column; gap: 2px; }
.floating-card small { color: var(--muted); font-size: 6px; text-transform: uppercase; }
.floating-card strong { font-size: 8px; }
.floating-card--one { right: -18px; bottom: 60px; }
.floating-card--two { top: 94px; left: -31px; }

.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px clamp(24px, 10vw, 190px); text-align: center; }
.manifesto p { max-width: 1040px; margin: auto; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 58px); letter-spacing: -.04em; line-height: 1.14; }
.section { padding: 110px clamp(22px, 5vw, 90px); }
.section-heading { display: flex; max-width: 1260px; align-items: end; justify-content: space-between; gap: 50px; margin: 0 auto 43px; }
.section-heading h2 { max-width: 720px; margin: 13px 0 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.product-demo { background: color-mix(in srgb, var(--surface-2) 68%, var(--bg)); }
.demo-shell { display: grid; max-width: 1260px; min-height: 710px; grid-template-columns: 220px 1fr; overflow: hidden; margin: auto; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); }
.demo-sidebar { display: flex; flex-direction: column; padding: 22px 13px; background: #123f36; color: #c9dcd5; }
.demo-brand { display: flex; align-items: center; gap: 10px; padding: 0 7px 25px; }
.demo-brand > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--accent); color: #15362d; font-family: var(--serif); font-size: 17px; font-weight: 800; }
.demo-brand div { display: flex; flex-direction: column; gap: 2px; }
.demo-brand strong { color: #fff; font-size: 12px; }
.demo-brand small { font-size: 7px; }
.demo-sidebar nav { display: grid; gap: 5px; }
.demo-sidebar nav button { display: flex; min-height: 43px; align-items: center; gap: 10px; border: 0; border-radius: 11px; padding: 0 12px; background: transparent; color: inherit; font-size: 9px; font-weight: 750; text-align: left; cursor: pointer; }
.demo-sidebar nav button span { width: 18px; color: #83b5a8; font-size: 14px; text-align: center; }
.demo-sidebar nav button.active, .demo-sidebar nav button:hover { background: rgba(255,255,255,.11); color: #fff; }
.demo-sidebar__foot { display: flex; flex-direction: column; gap: 4px; margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: 17px 8px 0; }
.demo-sidebar__foot small { color: #85ad9f; font-size: 6px; letter-spacing: .12em; }
.demo-sidebar__foot strong { color: #fff; font-size: 8px; }
.demo-content { min-width: 0; background: var(--bg); }
.demo-topbar { display: flex; height: 68px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 24px; background: var(--surface); }
.demo-topbar > div { display: flex; align-items: center; gap: 8px; }
.demo-company { font-size: 10px; font-weight: 800; }
.icon-button { width: 38px; padding: 0; }
.avatar-button { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; }
.avatar-button > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); font-size: 8px; font-weight: 900; }
.avatar-button i { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-style: normal; }
.avatar-button strong { font-size: 8px; }
.avatar-button small { color: var(--muted); font-size: 6px; }
.demo-mobile-menu { display: none; }
.demo-view { padding: 34px; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.view-head span { color: var(--brand-2); font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.view-head h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: -.035em; }
.view-head p { max-width: 360px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric { display: flex; min-height: 118px; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: var(--surface); }
.metric > span { color: var(--muted); font-size: 7px; font-weight: 700; }
.metric strong { margin-top: 9px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.metric small { margin-top: auto; color: var(--muted); font-size: 6px; }
.metric small.good { color: var(--brand-2); }
.demo-panels { display: grid; grid-template-columns: 1.45fr .8fr; gap: 10px; margin-top: 10px; }
.demo-panel { min-height: 300px; border: 1px solid var(--line); border-radius: 15px; padding: 18px; background: var(--surface); }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.panel-title div { display: flex; flex-direction: column; gap: 5px; }
.panel-title small { color: var(--brand-2); font-size: 6px; font-weight: 900; letter-spacing: .12em; }
.panel-title strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.panel-title button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--surface); color: var(--muted); font-size: 6px; }
.demo-chart { display: flex; height: 205px; align-items: end; justify-content: space-around; gap: 10px; border-bottom: 1px solid var(--line); padding: 20px 10px 0; background: repeating-linear-gradient(to top, transparent 0, transparent 47px, color-mix(in srgb, var(--line) 58%, transparent) 48px); }
.demo-chart span { position: relative; width: 8%; height: var(--h); border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, #48a78f, #17584a); }
.demo-chart span::after { position: absolute; top: -14px; left: 50%; color: var(--muted); content: attr(data-label); font-size: 6px; transform: translateX(-50%); }
.activity-list { margin-top: 12px; }
.activity-row { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 10px 0; }
.activity-row:first-child { border-top: 0; }
.activity-row > i { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand-2); font-size: 7px; font-style: normal; font-weight: 900; }
.activity-row > span { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.activity-row strong { font-size: 7px; }
.activity-row small { color: var(--muted); font-size: 6px; }
.activity-row em { border-radius: 999px; padding: 4px 6px; background: var(--brand-soft); color: var(--brand-2); font-size: 5px; font-style: normal; }
.data-table { width: 100%; margin-top: 14px; border-collapse: collapse; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 11px 8px; font-size: 7px; text-align: left; }
.data-table th { color: var(--muted); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td:first-child { font-weight: 800; }
.status { display: inline-flex; border-radius: 999px; padding: 4px 7px; background: var(--brand-soft); color: var(--brand-2); font-size: 5px; font-weight: 850; }
.status.pending { background: #f6ecd8; color: #9a6815; }
.people-toolbar { display: flex; gap: 7px; margin-bottom: 10px; }
.fake-input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--surface); color: var(--muted); font-size: 7px; }
.tiny-button { border: 0; border-radius: 9px; padding: 0 12px; background: var(--brand); color: white; font-size: 7px; font-weight: 800; }

.modules { background: var(--bg); }
.module-grid { display: grid; max-width: 1260px; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: auto; }
.module-card { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 25px; background: var(--surface); }
.module-card--wide { grid-column: span 2; }
.module-card--accent { background: var(--brand); color: #eef9f5; }
.module-number { position: absolute; top: 20px; right: 21px; color: var(--muted); font-family: var(--serif); font-size: 12px; }
.module-card--accent .module-number, .module-card--accent p { color: #a8c8be; }
.module-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand-2); font-size: 18px; }
.module-card--accent .module-icon { background: rgba(255,255,255,.1); color: #8fe2c8; }
.module-card h3 { max-width: 370px; margin: 38px 0 11px; font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.module-card p { max-width: 520px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.tag-row { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; color: var(--muted); font-size: 6px; font-weight: 800; }
.module-card--accent .tag-row span { border-color: rgba(255,255,255,.16); color: #cce1da; }

.architecture { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; background: #102d25; color: #eff8f5; }
.eyebrow--light { color: #76cdb4; }
.architecture-copy h2 { margin: 18px 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.architecture-copy > p { max-width: 550px; color: #9cb9b0; font-size: 12px; line-height: 1.8; }
.architecture-copy ul { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.architecture-copy li { display: flex; gap: 15px; border-top: 1px solid rgba(255,255,255,.1); padding: 17px 0; }
.architecture-copy li > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: rgba(255,255,255,.08); color: #73c9b1; font-size: 7px; }
.architecture-copy li div { display: flex; flex-direction: column; gap: 5px; }
.architecture-copy li strong { font-size: 10px; }
.architecture-copy li small { color: #91aea5; font-size: 8px; }
.architecture-map { position: relative; min-height: 580px; }
.map-core, .map-node { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); box-shadow: 0 20px 60px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.map-core { top: 50%; left: 50%; width: 190px; height: 190px; border-radius: 50%; transform: translate(-50%,-50%); }
.map-core > span { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 10px; border-radius: 15px; background: var(--accent); color: #16382f; font-family: var(--serif); font-size: 24px; font-weight: 800; }
.map-core strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.map-core small, .map-node small { margin-top: 4px; color: #89a99f; font-size: 7px; }
.map-node { width: 132px; height: 106px; border-radius: 18px; }
.map-node i { color: #73cdb3; font-size: 20px; font-style: normal; }
.map-node strong { margin-top: 7px; font-size: 9px; }
.map-node--one { top: 4%; left: 12%; }.map-node--two { top: 7%; right: 7%; }.map-node--three { right: 3%; bottom: 5%; }.map-node--four { bottom: 4%; left: 8%; }
.map-orbit { position: absolute; top: 50%; left: 50%; border: 1px dashed rgba(115,205,179,.24); border-radius: 50%; transform: translate(-50%,-50%); }
.map-orbit--one { width: 420px; height: 420px; }.map-orbit--two { width: 570px; height: 570px; }

.closing { background: var(--bg); }
.closing-panel { max-width: 1260px; margin: auto; border: 1px solid var(--line); border-radius: 27px; padding: clamp(35px, 7vw, 90px); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.closing-panel h2 { max-width: 880px; margin: 18px auto; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.closing-panel > p { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.8; }
.closing-panel > div { display: flex; justify-content: center; gap: 10px; margin-top: 27px; }
.closing-panel > small { display: block; margin-top: 26px; color: var(--muted); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
footer { display: flex; min-height: 120px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 25px clamp(22px, 5vw, 90px); color: var(--muted); font-size: 8px; }

.scan-dialog { width: min(92vw, 540px); border: 1px solid var(--line); border-radius: 25px; padding: 27px; background: var(--surface); color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.scan-dialog::backdrop { background: rgba(3,18,14,.68); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
.scan-copy { padding-right: 25px; }
.scan-copy h2 { margin: 10px 0 7px; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.scan-copy p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.scan-stage { position: relative; height: 330px; overflow: hidden; margin-top: 20px; border-radius: 20px; background: radial-gradient(circle at 50% 30%, #214c41, #081712 72%); }
.face-silhouette { position: absolute; top: 48%; left: 50%; width: 135px; height: 186px; border-radius: 48% 48% 43% 43%; background: linear-gradient(145deg, #244f43, #17362d); transform: translate(-50%,-50%); }
.face-silhouette::after { position: absolute; bottom: -115px; left: 50%; width: 260px; height: 170px; border-radius: 50% 50% 0 0; background: #17362d; content: ""; transform: translateX(-50%); }
.face-silhouette i, .face-silhouette span { position: absolute; z-index: 1; top: 78px; width: 27px; height: 4px; border-radius: 50%; border-top: 2px solid #6b8b81; }
.face-silhouette i { left: 24px; }.face-silhouette span { right: 24px; }
.spectrum-ring { position: absolute; top: 48%; left: 50%; width: 184px; height: 246px; border-radius: 48% 48% 43% 43%; padding: 4px; background: conic-gradient(#32e8ff,#9065ff,#ff5ba7,#ffc947,#59efa9,#32e8ff); transform: translate(-50%,-50%); animation: hue 3s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spectrum-line { position: absolute; top: 20%; right: 22%; left: 22%; height: 2px; opacity: .8; background: linear-gradient(90deg,transparent,#31e7ff,#8f63ff,#ff5ca8,#ffc94a,transparent); box-shadow: 0 0 13px #765bff; animation: scanline 2.3s ease-in-out infinite, hue 3s linear infinite; }
.scan-status { position: absolute; right: 15px; bottom: 14px; left: 15px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 9px; background: rgba(5,20,15,.75); color: #e9f6f1; font-size: 8px; backdrop-filter: blur(10px); }
.scan-status i { width: 6px; height: 6px; border-radius: 50%; background: #63d9b8; box-shadow: 0 0 0 4px rgba(99,217,184,.13); }
.scan-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 10px 0; }
.scan-steps span { border: 1px solid var(--line); border-radius: 10px; padding: 9px; color: var(--muted); font-size: 8px; font-weight: 800; text-align: center; }
.scan-steps span.done { border-color: color-mix(in srgb, var(--brand-2) 30%, var(--line)); background: var(--brand-soft); color: var(--brand-2); }
@keyframes scanline { 0%,100% { transform: translateY(0); } 50% { transform: translateY(185px); } }
@keyframes hue { to { filter: hue-rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 200px 1fr auto; gap: 14px; }
  .main-nav { gap: 15px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-product { justify-self: center; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-map { width: min(100%, 680px); justify-self: center; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto auto; min-height: 68px; padding: 0 16px; }
  .menu-toggle { display: inline-flex; min-height: 37px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 0 11px; background: var(--surface); font-size: 9px; font-weight: 800; }
  .main-nav { position: absolute; top: 67px; right: 12px; left: 12px; display: none; align-items: stretch; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 16px; padding: 8px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-popover > button { display: block; width: 100%; padding: 12px; text-align: left; }
  .main-nav > a::after, .nav-popover > button::after { display: none; }
  .nav-popover__panel { position: static; display: none; width: 100%; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; }
  .nav-popover.open .nav-popover__panel { display: grid; transform: none; }
  .nav-popover:hover .nav-popover__panel { display: none; }
  .nav-popover.open:hover .nav-popover__panel { display: grid; }
  .header-actions .button { display: none; }
  .theme-button b { display: none; }
  .hero { min-height: 0; padding-top: 58px; }
  .hero h1 { font-size: clamp(47px, 14vw, 72px); }
  .hero-product { transform: none; }
  .mini-app { min-height: 400px; }
  .floating-card { display: none; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .demo-shell { grid-template-columns: 72px 1fr; }
  .demo-sidebar nav button { font-size: 0; }
  .demo-brand { padding-left: 5px; }
  .demo-sidebar nav button { justify-content: center; padding: 0; }
  .demo-sidebar nav button span { font-size: 15px; }
  .demo-sidebar__foot { display: none; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .demo-panels { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2,1fr); }
  .module-card--wide { grid-column: span 2; }
}

@media (max-width: 580px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand small { display: none; }
  .hero { gap: 55px; padding: 46px 16px 68px; }
  .hero-copy > p { font-size: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-notes { justify-content: space-between; }
  .hero-notes span { padding: 0 12px; font-size: 7px; }
  .hero-notes b { font-size: 17px; }
  .hero-product { width: 760px; justify-self: start; transform: scale(.65); transform-origin: left top; }
  .hero-product::after { position: absolute; top: 0; right: 0; bottom: 0; width: 36%; background: linear-gradient(90deg,transparent,var(--bg)); content: ""; pointer-events: none; }
  .hero-product { margin-bottom: -180px; }
  .manifesto { padding: 65px 20px; }
  .manifesto p { font-size: 30px; }
  .section { padding-right: 16px; padding-left: 16px; }
  .section-heading h2 { font-size: 39px; }
  .demo-shell { min-height: 690px; grid-template-columns: 1fr; }
  .demo-sidebar { display: none; }
  .demo-sidebar.mobile-open { position: absolute; z-index: 10; display: flex; width: 210px; min-height: 600px; }
  .demo-sidebar.mobile-open nav button { justify-content: flex-start; padding: 0 12px; font-size: 9px; }
  .demo-mobile-menu { display: inline-grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
  .demo-company { display: none; }
  .avatar-button i { display: none; }
  .demo-view { padding: 22px 14px; }
  .view-head { align-items: flex-start; flex-direction: column; }
  .metric-grid { gap: 7px; }
  .metric { min-height: 105px; padding: 13px; }
  .demo-panels { grid-template-columns: 1fr; }
  .demo-panel { min-height: 270px; padding: 13px; }
  .data-table th:nth-child(3), .data-table td:nth-child(3) { display: none; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card--wide { grid-column: span 1; }
  .architecture { gap: 20px; }
  .architecture-map { min-height: 430px; transform: scale(.78); }
  .map-orbit--two { width: 510px; height: 510px; }
  .closing-panel > div { flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  .scan-dialog { padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.main-nav .portfolio-return{font-weight:700;color:var(--ink,#123f36);border:1px solid currentColor;padding:8px 12px;border-radius:8px;white-space:nowrap}
