:root {
  --paper: #f3f2ee;
  --ink: #111318;
  --muted: #646a73;
  --line: rgba(17, 19, 24, .11);
  --blue: #5568ff;
  --cyan: #4ccfe1;
  --violet: #9b73ff;
  --green: #20b684;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 19, 24, .08);
  background: rgba(243, 242, 238, .82);
  backdrop-filter: blur(18px) saturate(1.15);
}

.nav { height: 70px; }
.brand { color: #111318; }
.brand-mark {
  border-color: #111318;
  background: #111318;
  box-shadow: none;
}
.brand-mark::before { background: #fff; }
.brand-mark::after { background: #8ea0ff; }
.nav-links { color: #5d6169; }
.nav-links a:hover { color: #111318; }
.nav-cta {
  color: #fff !important;
  border-color: #111318;
  background: #111318;
  box-shadow: 0 8px 22px rgba(17, 19, 24, .14);
}

.hero {
  min-height: 760px;
  color: #111318;
  background:
    radial-gradient(circle at 76% 38%, rgba(93, 108, 255, .17), transparent 30%),
    radial-gradient(circle at 87% 15%, rgba(76, 207, 225, .17), transparent 24%),
    #f3f2ee;
}
.hero::before {
  background:
    linear-gradient(rgba(17, 19, 24, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 86%);
}
.hero-inner {
  min-height: 684px;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: 76px;
  padding: 76px 0 116px;
}
.eyebrow { color: #6d727a; font-weight: 680; }
.eyebrow::before { background: #111318; }
h1 {
  font-size: clamp(48px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -.065em;
  color: #101217;
}
h1 em {
  color: transparent;
  background: linear-gradient(100deg, #5568ff, #8c63ff 55%, #4fbacb);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
  font-style: italic;
}
.hero-copy > p { color: #656b75; }
.button-primary { color: #fff; background: #111318; box-shadow: 0 14px 28px rgba(17, 19, 24, .16); }
.button-secondary { color: #242831; border-color: rgba(17, 19, 24, .18); background: rgba(255, 255, 255, .4); }
.hero-proof { color: #747a83; }
.hero-proof span::before { background: #111318; box-shadow: 0 0 0 4px rgba(17, 19, 24, .06); }

.product-map {
  min-height: 480px;
  border: 1px solid rgba(17, 19, 24, .1);
  border-radius: 30px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 36px 80px rgba(48, 53, 69, .14), inset 0 1px rgba(255,255,255,.8);
  backdrop-filter: blur(18px);
}
.orbit { border-color: rgba(17, 19, 24, .12); }
.orbit::before { border-color: rgba(17, 19, 24, .12); }
.core {
  border-color: rgba(17, 19, 24, .08);
  background: #111824;
  box-shadow: 0 28px 60px rgba(17, 24, 36, .24);
}
.node {
  color: #171a21;
  border-color: rgba(17, 19, 24, .1);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 34px rgba(51, 56, 71, .12);
}
.node span { color: #7c828c; }
.hero-foot { border-color: rgba(17, 19, 24, .1); }
.hero-foot-inner { color: #727883; }
.hero-foot strong { color: #1b2029; }

.signal-strip { background: #e9e7e1; border-color: rgba(17, 19, 24, .1); }
.signal { border-color: rgba(17, 19, 24, .1); }
.signal:first-child { border-color: rgba(17, 19, 24, .1); }

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

@media (max-width: 560px) {
  .hero { min-height: 0; }
  h1 { font-size: 46px; }
  .product-map { border-radius: 24px; }
}

/* Complete visual system — editorial SaaS, built around product context. */
::selection { color: #fff; background: #5e68ee; }
:focus-visible { outline: 3px solid rgba(85, 104, 255, .45); outline-offset: 4px; }

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 18px;
  color: #d8d9dd;
  background: #111318;
  font-size: 12px;
  letter-spacing: .01em;
}
.announcement-dot { width: 6px; height: 6px; border-radius: 50%; background: #66e0b7; box-shadow: 0 0 0 4px rgba(102, 224, 183, .12); }
.announcement a { color: #aeb7ff; font-weight: 680; text-decoration: none; }
.announcement a:hover { color: #fff; }
.nav-wrap { top: 0; }
.nav-links { gap: 26px; }

.map-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(17, 19, 24, .09);
  color: #7a8088;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .14em;
}
.map-toolbar b { display: flex; align-items: center; gap: 7px; color: #218563; font-size: 9px; }
.map-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #27bb88; box-shadow: 0 0 0 4px rgba(39, 187, 136, .1); }
.reply-preview {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  width: 250px;
  padding: 15px 16px;
  border: 1px solid rgba(17, 19, 24, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 18px 36px rgba(38, 42, 55, .12);
  backdrop-filter: blur(12px);
}
.reply-preview > span { color: #6871dc; font-size: 9px; font-weight: 780; letter-spacing: .13em; }
.reply-preview p { margin: 8px 0; color: #30353e; font-size: 11px; line-height: 1.55; }
.reply-preview small { color: #8a9098; font-size: 9px; }
.node-a { top: 72px; left: 18px; }
.node-b { top: 98px; right: 12px; }
.node-c { bottom: 72px; left: 12px; }
.node-d { right: 18px; bottom: 116px; }
.product-map::after {
  content: "";
  position: absolute;
  inset: 48px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 104, 255, .3), transparent);
}

.section { padding: 126px 0; }
.section-kicker { color: #686e78; font-weight: 780; }
.section-kicker::before { width: 9px; height: 9px; border-radius: 2px; background: #111318; }
.section-heading { color: #111318; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -.058em; }
.section-lead { color: #6f747d; }
.section-head-row { margin-bottom: 62px; }
.section-note { color: #6b7079; }

.signal-strip { padding: 0; }
.signals { width: min(1240px, calc(100% - 40px)); }
.signal { min-height: 142px; display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
.signal b { color: #16191f; font-size: 15px; letter-spacing: -.02em; }
.signal span { color: #73777e; }

.audience-start { background: #fbfaf7; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.start-card {
  position: relative;
  min-height: 330px;
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 24, .1);
  border-radius: 24px;
  color: #17191f;
  background: #f0eee8;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.start-card:nth-child(2) { grid-column: span 5; }
.start-card:nth-child(3) { grid-column: span 5; background: #e8e5ff; }
.start-card-primary,
.start-card-dark { grid-column: span 7; }
.start-card-primary {
  background:
    radial-gradient(circle at 95% 8%, rgba(255, 255, 255, .7), transparent 26%),
    linear-gradient(145deg, #c9d0ff 0%, #d9c6ff 50%, #bee8e2 100%);
}
.start-card-dark { color: #fff; background: #15171c; border-color: #15171c; }
.start-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(17, 19, 24, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(17, 19, 24, .025), 0 0 0 84px rgba(17, 19, 24, .018);
}
.start-card-dark::after { border-color: rgba(255,255,255,.14); box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018); }
.start-card:hover { transform: translateY(-6px); box-shadow: 0 28px 58px rgba(28, 31, 39, .12); }
.start-role { color: #6a6f78; font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.start-card-primary .start-role { color: #4e5676; }
.start-card-dark .start-role { color: #8d929b; }
.start-card strong { max-width: 480px; margin: 72px 0 13px; font-size: 25px; line-height: 1.35; letter-spacing: -.035em; }
.start-card p { max-width: 500px; margin: 0; color: #666b74; font-size: 14px; line-height: 1.75; }
.start-card-primary p { color: #565d75; }
.start-card-dark p { color: #9ca1aa; }
.start-action { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 28px; font-size: 13px; font-weight: 720; }
.start-action b { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(17,19,24,.15); border-radius: 50%; font-size: 12px; }
.start-card-dark .start-action b { border-color: rgba(255,255,255,.18); }
.start-footnote { display: flex; align-items: start; gap: 10px; margin: 22px 4px 0; color: #787d86; font-size: 12px; line-height: 1.7; }
.start-footnote span { color: #27ad7f; font-size: 8px; transform: translateY(5px); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  border: 0;
}
.capability-card {
  --card-bg: rgba(255, 255, 255, .72);
  min-height: 330px;
  grid-column: span 4;
  padding: 34px;
  border: 1px solid rgba(17, 19, 24, .1);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.capability-card:first-child { --card-bg: #14161b; grid-column: span 7; color: #fff; border-color: #14161b; }
.capability-card:nth-child(2) { --card-bg: #e5e2ff; grid-column: span 5; }
.capability-card:nth-child(3) { --card-bg: #dff3f0; }
.capability-card:nth-child(4) { --card-bg: #f5e9d6; }
.capability-card:nth-child(5) { --card-bg: #eadff4; }
.capability-card:last-child { --card-bg: #e7ebff; grid-column: span 12; min-height: 260px; }
.capability-card:first-child .cap-index { color: #8c929c; }
.capability-card:first-child h3 { color: #fff; }
.capability-card:first-child > p { max-width: 620px; color: #a8adb6; }
.capability-card:first-child li { color: #d6d9de; }
.capability-card:last-child > p { max-width: 720px; }
.capability-card:last-child ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.capability-card h3 { margin-top: 62px; color: #16191f; font-size: 26px; }
.capability-card > p { color: #626771; }
.capability-card li { color: #3d424c; }
.capability-card::after { top: auto; right: -30px; bottom: -50px; width: 150px; height: 150px; opacity: .06; }
.capability-card:hover { transform: translateY(-6px); background: var(--card-bg); box-shadow: 0 25px 55px rgba(24, 27, 34, .12); }

.workflow { background: #111318; }
.workflow::before {
  background:
    radial-gradient(circle at 10% 100%, rgba(85, 104, 255, .24), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(155, 115, 255, .18), transparent 25%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.workflow .section-kicker { color: #9da1a9; }
.workflow .section-kicker::before { background: #fff; }
.workflow .section-lead { color: #979ba4; }
.steps { gap: 12px; border: 0; }
.step { min-height: 270px; padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.035); }
.step::before { top: 25px; left: auto; right: 24px; width: 7px; height: 7px; background: #8b96ff; box-shadow: 0 0 0 6px rgba(139, 150, 255, .09); }
.step small { color: #737983; }
.step h3 { margin-top: 92px; font-size: 20px; }
.step p { color: #9297a0; }
.boundary-note { border-radius: 18px; background: rgba(255,255,255,.045); }

.surface-grid { gap: 16px; }
.surface-card { min-height: 440px; padding: 32px; border-color: rgba(17,19,24,.1); border-radius: 24px; background: rgba(255,255,255,.72); }
.surface-card:nth-child(1) { background: #e7ebff; }
.surface-card:nth-child(2) { background: #e0f1ed; }
.surface-card:nth-child(3) { background: #f1e8dc; }
.surface-card:nth-child(4) { background: #e8e0f1; }
.surface-card h3 { color: #16191f; font-size: 27px; }
.surface-card > p { color: #656b74; }
.status { color: #215d4a; background: rgba(255,255,255,.58); }
.status-beta { color: #6d5429; }
.surface-link { color: #3e49b8; }
.ui-window, .chat-mock { border-color: rgba(17,19,24,.1); box-shadow: 0 28px 60px rgba(31, 35, 45, .14); }

.use-cases { gap: 16px; }
.case-main {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.55), transparent 26%),
    linear-gradient(145deg, #bec6ff 0%, #d9c5ff 48%, #bde5e1 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.5);
}
.case-main .section-kicker { color: #484f6d; }
.case-main > p { color: #515873; }
.case-signal div { border-color: rgba(17,19,24,.09); background: rgba(255,255,255,.36); backdrop-filter: blur(12px); }
.case-signal b { color: #292d3b; }
.case-signal span { color: #60677e; }
.case-stack { gap: 16px; }
.case-small { border-radius: 24px; background: rgba(255,255,255,.72); }
.case-small:nth-child(2) { color: #fff; background: #111318; border-color: #111318; }

.security { background: #e9e7e1; }
.security-layout { gap: 86px; }
.security-panel { top: 106px; border-radius: 26px; background: #111318; box-shadow: 0 30px 70px rgba(17,19,24,.18); }
.security-panel::before { content: ""; display: block; width: 70px; height: 70px; margin-bottom: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: radial-gradient(circle, #7f8cff 0 8%, transparent 9% 32%, rgba(127,140,255,.5) 33% 34%, transparent 35%); }
.security-list { border-color: rgba(17,19,24,.12); }
.security-item { border-color: rgba(17,19,24,.12); }
.security-no { border-color: rgba(17,19,24,.15); color: #676d76; }
.security-item h3 { color: #16191f; }
.security-item p { color: #686e77; }

.access { background: #f3f2ee; }
.access-grid { gap: 16px; }
.access-card { min-height: 315px; border-color: rgba(17,19,24,.1); border-radius: 22px; background: rgba(255,255,255,.68); }
.access-card:nth-child(2) { color: #fff; background: #20242c; border-color: #20242c; }
.access-card:nth-child(2) .access-no, .access-card:nth-child(2) p { color: #9da3ad; }
.access-card:nth-child(2) h3, .access-card:nth-child(2) ul { color: #fff; }

.faq { gap: 96px; }
.faq-list, details { border-color: rgba(17,19,24,.12); }
summary { font-size: 16px; }

.final-cta { padding-bottom: 26px; background: #f3f2ee; }
.cta-box {
  min-height: 410px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 120%, rgba(85,104,255,.38), transparent 39%),
    radial-gradient(circle at 86% -20%, rgba(155,115,255,.35), transparent 36%),
    #111318;
}
.cta-box::before { border-color: rgba(126,139,255,.35); }
.cta-content h2 { font-size: clamp(38px, 5vw, 64px); }
.cta-login { display: inline-flex; margin-top: 24px; color: #9da7c9; font-size: 12px; text-decoration: none; }
.cta-login:hover { color: #fff; }
footer { background: #f3f2ee; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-mark::before { width: 4px; height: 13px; left: 7px; top: 6px; }
.footer-brand .brand-mark::after { width: 4px; height: 8px; right: 7px; top: 10px; }

.js-ready .capability-card,
.js-ready .surface-card,
.js-ready .step,
.js-ready .access-card,
.js-ready .security-item,
.js-ready .case-small {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
}
.js-ready .is-visible { opacity: 1; transform: translateY(0); }
.js-ready .capability-card.is-visible:hover { transform: translateY(-6px); }

@media (max-width: 1020px) {
  .nav-links a:nth-child(4) { display: none; }
  .hero-inner { gap: 44px; }
  .product-map { min-height: 455px; }
  .node-a { left: 14px; }
  .node-b { right: 10px; }
  .reply-preview { width: 220px; }
  .capability-card,
  .capability-card:first-child,
  .capability-card:nth-child(2),
  .capability-card:last-child { grid-column: span 6; }
  .start-card,
  .start-card:nth-child(2),
  .start-card:nth-child(3),
  .start-card-primary,
  .start-card-dark { grid-column: span 6; }
}

@media (max-width: 900px) {
  .announcement span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hero-inner { padding-top: 64px; }
  .product-map { width: min(580px, 100%); margin: 0 auto; }
  .security-panel { position: relative; top: auto; }
}

@media (max-width: 560px) {
  .announcement { justify-content: flex-start; }
  .announcement a { margin-left: auto; white-space: nowrap; }
  .nav-links { gap: 0; }
  .nav-cta { border-radius: 9px; }
  .hero-inner { padding-top: 48px; }
  .product-map { min-height: 440px; margin: 2px 0 0; transform: none; }
  .orbit { width: 300px; height: 300px; }
  .core { width: 158px; padding: 19px; }
  .core strong { font-size: 18px; }
  .node { min-width: 108px; padding: 10px; }
  .node b { font-size: 12px; }
  .node span { font-size: 9px; }
  .node-a { top: 64px; left: 8px; }
  .node-b { top: 90px; right: 6px; }
  .node-c { bottom: 76px; left: 7px; }
  .node-d { display: none; }
  .reply-preview { right: 10px; bottom: 10px; width: 205px; }
  .hero-foot-inner { padding-bottom: 24px; }
  .section { padding: 84px 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card,
  .capability-card:first-child,
  .capability-card:nth-child(2),
  .capability-card:last-child { grid-column: auto; min-height: 310px; }
  .start-grid { grid-template-columns: 1fr; }
  .start-card,
  .start-card:nth-child(2),
  .start-card:nth-child(3),
  .start-card-primary,
  .start-card-dark { grid-column: auto; min-height: 300px; padding: 28px; }
  .start-card strong { margin-top: 54px; font-size: 23px; }
  .capability-card:last-child ul { display: block; }
  .steps { gap: 12px; }
  .step { min-height: 240px; padding: 24px; }
  .step h3 { margin-top: 72px; }
  .surface-card { min-height: 420px; }
  .faq { gap: 42px; }
  .cta-box { min-height: 430px; padding-left: 24px; padding-right: 24px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .capability-card,
  .js-ready .surface-card,
  .js-ready .step,
  .js-ready .access-card,
  .js-ready .security-item,
  .js-ready .case-small { opacity: 1; transform: none; transition: none; }
}
