@import url("./loop.css");
@import url("./risk-showcase.css");
@import url("./home-hero.css");
@import url("./home-solutions.css");
@import url("./home-cycle-demo.css");
@import url("./business-services.css");
@import url("./case-outcomes.css");
.wrap {
  width: min(1280px,calc(100% - clamp(48px,9vw,152px)));
  margin-inline: auto;
}

.public-header {
  position: relative;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.public-nav,.header-actions,.mobile-links {
  display: flex;
  align-items: center;
}

.public-nav {
  gap: clamp(22px,3.2vw,50px);
  margin-left: auto;
  margin-right: auto;
}

.public-nav>a {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .01em;
  color: var(--muted);
  padding: 13px 0;
}

.public-nav>a:hover {
  color: var(--accent);
}

.header-actions {
  gap: 12px;
}

.nav-divider {
  height: 19px;
  width: 1px;
  background: var(--line);
}

.header-demo {
  border-radius: 7px;
  background: #16243b;
  color: #fff;
  font-size: 13px;
  padding: 10px 15px;
  min-height: 38px;
}

.header-demo:hover {
  background: #28436b;
}

[data-theme=dark] .header-demo {
  background: #e0eaff;
  color: #122139;
}

.menu-btn,.mobile-links {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080f1e;
  color: #fff;
}

.hero:before {
  content: "";
  z-index: -2;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 71% 60%,#172e586e,transparent 58%),radial-gradient(ellipse at 9% 0%,#10223b85,transparent 46%),linear-gradient(108deg,#0c1629 0%,#0a1223 48%,#091222 100%);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#739ddb0b 1px,transparent 1px),linear-gradient(90deg,#739ddb0b 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg,transparent 0%,#0005 30%,#000 68%,#0008 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 0;
  align-items: center;
  min-height: clamp(490px,39.5vw,592px);
  position: relative;
}

.hero-copy {
  z-index: 2;
  padding: 38px 0 41px;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: .065em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bdd3f3;
  margin-bottom: 23px;
}

.tracer,.contact-label i {
  display: block;
  width: 23px;
  height: 3px;
  background: linear-gradient(90deg,#4f78ff,#72ddd5);
  border-radius: 6px;
}

.hero h1 {
  font-size: clamp(37px,4.08vw,64px);
  line-height: 1.29;
  font-weight: 715;
  letter-spacing: -.053em;
  white-space: nowrap;
}
.hero h1.growth-headline {
  font-size: clamp(30px,3.45vw,53px);
  line-height: 1.32;
  white-space: normal;
}
.growth-headline > span { display: block; }

.hero-ai {
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: -.04em;
  margin: 0 .07em 0 .055em;
}

.gradient-text {
  background: linear-gradient(100deg,#9ebdff 0%,#83aaff 46%,#8ee5de 98%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy>p {
  color: #acbdd4;
  font-size: clamp(14px,1.13vw,17px);
  line-height: 1.85;
  margin-top: 22px;
  letter-spacing: .003em;
}

.hero-actions,.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 29px;
}

.hero-primary,.hero-secondary {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 7px;
  color: white;
  font-size: 14px;
  letter-spacing: .015em;
}

.hero-primary {
  background: #3a6cf2;
  border-color: #507cf2;
  box-shadow: 0 5px 22px #1947c12b;
}

.hero-primary:hover {
  background: #4c7bff;
}

.hero-secondary {
  background: #ffffff06;
  border-color: #495971;
  color: #e2eaf6;
}

.hero-secondary:hover {
  background: #ffffff12;
  border-color: #70829b;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .04em;
  color: #9aacc5;
}

.hero-footnote svg {
  color: #78a5c5;
}

.hero-footnote>span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #65758a;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px 0 48px;
}

.visual-field {
  position: relative;
  width: 100%;
  aspect-ratio: 600/432;
}

.art-stage,.callout-lines,.hero-window-wrap {
  position: absolute;
  inset: 0;
}

.art-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px #0002);
}

.callout-lines {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.field-cross {
  width: 13px;
  height: 13px;
  position: absolute;
  opacity: .5;
  z-index: 1;
  pointer-events: none;
}

.field-cross:before,.field-cross:after {
  content: "";
  background: #657f9f;
  position: absolute;
}

.field-cross:before {
  width: 100%;
  height: 1px;
  top: 6px;
}

.field-cross:after {
  height: 100%;
  width: 1px;
  left: 6px;
}

.cross-a {
  top: 7%;
  left: 9%;
}

.cross-b {
  bottom: 9%;
  right: 5%;
}

.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #364d6d;
  border-radius: 7px;
  background: linear-gradient(105deg,#1a2b44f5,#121e33f5);
  box-shadow: 0 5px 18px #03091844,inset 0 1px 0 #ffffff0a;
  text-align: left;
  color: #e4edff;
}

.hotspot:hover {
  background: #253a58;
  border-color: #709ad7;
  transform: translateY(-2px);
}

.hotspot span {
  display: grid;
  gap: 3px;
}

.hotspot b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
  line-height: 1;
}

.hotspot small {
  color: #b0c1d8;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: .03em;
}

.hot-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  border-radius: 5px;
}

.hot-icon.blue {
  color: #8fbbff;
  background: #243e66;
}

.hot-icon.violet {
  color: #c8b4ff;
  background: #393151;
}

.hot-icon.green {
  color: #88e2d6;
  background: #1d4549;
}
.hot-icon.amber { color: #f1d8a4; background: #483e31; }
.spot-aoo { left: 1%; top: 63%; }

.spot-geo {
  left: 2.2%;
  top: 26%;
}

.spot-aao {
  right: 1%;
  top: 24%;
}

.spot-crm {
  right: 0;
  top: 62%;
}

.visual-switch {
  position: absolute;
  bottom: 21px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  align-items: center;
  border: 1px solid #344056;
  border-radius: 24px;
  padding: 3px;
  background: #0c1526d9;
  white-space: nowrap;
}

.visual-switch button {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  color: #9dacbf;
  font-size: 11px;
  line-height: 1;
  border-radius: 20px;
  padding: 8px 11px;
}

.visual-switch button[aria-pressed=true] {
  background: #273a58;
  color: #e7f0ff;
  box-shadow: inset 0 0 0 1px #405676;
}

.visual-switch button:hover {
  color: white;
}

.hero-window-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 1% 0;
  transform: perspective(1050px) rotateY(-5deg) rotateX(3deg);
}

.hero-window-wrap .product-window {
  width: 100%;
  background: #122036;
  border-color: #334760;
  color: #ecf1ff;
  --surface: #132237;
  --surface-2: #182940;
  --line: #304259;
  --text: #ecf1ff;
  --muted: #b4c2d8;
  --faint: #a6b9d0;
  --accent: #a4c4ff;
  --accent-soft: #20385d;
  --green: #a2e6cf;
  --green-bg: #21473d;
  --violet: #d0baff;
  --violet-bg: #3d3256;
  --amber: #f5d28b;
  --amber-bg: #473e2d;
}

.section {
  padding: clamp(52px,4.9vw,80px) 0;
  scroll-margin-top: 15px;
}

.section-head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 25px;
}

.section-title h2,.contact-inner h2 {
  font-size: clamp(27px,2.65vw,42px);
  line-height: 1.27;
  letter-spacing: -.048em;
  font-weight: 690;
}

.section-kicker,.contact-label,.sector-overline,.step-context {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .065em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-kicker {
  color: var(--accent);
  margin-bottom: 12px;
}

.section-kicker i {
  height: 2px;
  width: 18px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}

.scene-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  justify-content: center;
  padding: 0 10px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  flex: none;
  box-shadow: 0 1px 3px #182f5310;
}

.scene-select>span {
  border-right: 1px solid var(--line);
  padding-right: 8px;
}

.scene-select select {
  appearance: none;
  font-weight: 600;
  border: 0;
  padding: 9px 17px 9px 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}

.scene-select>svg:last-child {
  pointer-events: none;
  position: absolute;
  right: 10px;
}

.feature-section {
  background: var(--surface);
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
}

.feature-card {
  --card-tone: var(--accent);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 20px 21px 18px;
  overflow: hidden;
}

.feature-card.violet {
  --card-tone: var(--violet);
}

.feature-card.green {
  --card-tone: var(--green);
}
.feature-card.amber { --card-tone: var(--amber); }
.code-label.amber { color: var(--amber); }
.feature-english {
  display: block;
  font: 500 12px/1.5 var(--mono);
  color: var(--muted);
  margin: -5px 0 12px;
}
.feature-scope { margin: 6px 0 0 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.feature-scope a { display: inline-flex; gap: 2px; align-items: center; color: var(--accent); font-weight: 600; }

.feature-card[aria-pressed=true] {
  border-color: color-mix(in srgb,var(--card-tone) 64%,var(--line));
  background: linear-gradient(115deg,color-mix(in srgb,var(--card-tone) 6%,var(--surface)),var(--surface));
  box-shadow: 0 3px 12px #1d396009;
}

.feature-card[aria-pressed=true]:before {
  content: "";
  width: 3px;
  position: absolute;
  inset: 16px auto 16px 0;
  border-radius: 0 3px 3px 0;
  background: var(--card-tone);
}

.feature-card:hover {
  border-color: var(--card-tone);
  transform: translateY(-1px);
}

.feature-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.feature-card-top strong {
  font-size: 19px;
  letter-spacing: -.02em;
}

.feature-arrow {
  margin-left: auto;
  color: var(--faint);
}

.feature-card[aria-pressed=true] .feature-arrow {
  color: var(--card-tone);
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(200px,.7fr) minmax(0,1.8fr);
  gap: clamp(24px,4vw,70px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(23px,2.6vw,42px);
  background: linear-gradient(110deg,var(--surface-2),var(--bg));
  border: 1px solid var(--line);
  border-radius: 13px;
}

.feature-explainer h3,.journey-detail h3,.sector-example h3 {
  margin: 9px 0 12px;
  line-height: 1.35;
  letter-spacing: -.035em;
  font-size: clamp(22px,2vw,32px);
}

.feature-explainer p,.journey-detail>div>p,.kb-intro .kb-scope-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-explainer .text-link {
  margin-top: 12px;
}

.code-label {
  font-family: var(--mono);
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.code-label.green {
  color: var(--green);
}

.code-label.violet {
  color: var(--violet);
}

.boundary-line {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.boundary-line svg {
  margin-top: 2px;
}

.product-window {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px -17px #243a6659;
  color: var(--text);
}

.window-bar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 0 13px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
}

.window-bar b {
  font-weight: 400;
  margin: 0 3px;
}

.window-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding-right: 5px;
}

.window-dots i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--faint);
  opacity: .45;
}

.window-demo {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.window-demo i {
  width: 5px;
  height: 5px;
  background: #319f87;
  border-radius: 50%;
}

.window-body {
  display: grid;
  grid-template-columns: 111px minmax(0,1fr);
}

.window-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--line);
  padding: 14px 8px;
  background: var(--surface-2);
}

.window-nav-label {
  font-size: 10px;
  color: var(--faint);
  padding: 0 7px 6px;
}

.window-nav button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

.window-nav button.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.window-main {
  padding: 16px 19px;
  min-width: 0;
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.mock-title>.tone-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.mock-title>div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mock-title strong {
  font-size: 15px;
}

.mock-title small {
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
}

.mock-title .mono-code {
  margin-left: auto;
}

.sample-table {
  width: 100%;
}

.sample-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) 60px 65px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-height: 38px;
  text-align: left;
  color: var(--text);
  font-size: 12px;
}

.sample-row:last-child {
  border-bottom: 0;
}

.sample-row>span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.sample-row .pill {
  justify-self: start;
  font-size: 10px;
  padding: 3px 7px;
}

.sample-row.table-label {
  font-size: 10px;
  min-height: 26px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 0 5px;
}

.sample-row.table-label>span:first-child {
  padding-left: 1px;
}

.doc-symbol {
  display: inline-flex;
  color: var(--accent);
  padding-left: 4px;
}

.scope-text {
  color: var(--muted);
  font-size: 11px;
}

button.sample-row:hover {
  background: var(--surface-2);
}

.sample-question {
  display: grid;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
}

.sample-question select {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px;
  font-size: 12px;
}

.sample-answer,.sample-journey {
  border-radius: 7px;
  background: var(--surface-2);
  padding: 11px 12px;
  margin-top: 8px;
}

.sample-answer b,.sample-journey strong {
  font-size: 12px;
}

.sample-answer p,.sample-journey p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 5px 0 9px;
}

.sample-journey>div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sample-avatar {
  display: grid;
  place-items: center;
  background: var(--green-bg);
  color: var(--green);
  width: 31px;
  height: 31px;
  border-radius: 50%;
}

.sample-journey>div>span {
  display: grid;
}

.sample-journey small {
  font-size: 10px;
  margin-top: 2px;
  color: var(--muted);
}

.mini-stages {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.mini-stages span {
  font-size: 10px;
  color: var(--muted);
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mini-stages .now {
  color: var(--accent);
  background: var(--accent-soft);
}

.compact-window .window-body {
  grid-template-columns: 89px minmax(0,1fr);
}

.compact-window .window-main {
  padding: 15px 12px;
}

.compact-window .sample-row {
  grid-template-columns: minmax(0,1fr) 40px 49px;
  font-size: 11px;
}

.journey-section,.industry-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  padding: 19px 22px 0;
  gap: 5px;
}

.journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  gap: 9px;
  padding: 0 4px 15px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 550;
}

.journey-step:before {
  content: "";
  position: absolute;
  left: 41px;
  top: 11px;
  right: 5px;
  height: 1px;
  background: var(--line);
}

.journey-step:last-child:before {
  display: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono);
}

.journey-step[aria-pressed=true] {
  color: var(--accent);
}

.journey-step[aria-pressed=true]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 3px;
  right: 15px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

.journey-step[aria-pressed=true] .step-num {
  color: white;
  background: #3568df;
  border-color: #3568df;
}

.journey-step.past .step-num {
  color: var(--accent);
  border-color: var(--accent);
}

.journey-detail {
  padding: clamp(24px,3vw,46px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px,5vw,95px);
  align-items: center;
}

.step-context {
  font-size: 11px;
  color: var(--accent);
}

.step-context i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.journey-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.journey-sample {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--surface-2);
}

.sample-caption,.sector-overline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.sample-caption i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.journey-detail .journey-sample p {
  color: var(--text);
  font-size: 17px;
  margin: 12px 0;
  line-height: 1.65;
  font-weight: 550;
}

.journey-sample>span {
  font-size: 11px;
  color: var(--muted);
}

.knowledge-section {
  background: var(--surface);
}

.kb-public-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(30px,7vw,108px);
  align-items: center;
}

.kb-intro .segmented {
  margin: 21px 0 12px;
}

.kb-intro .kb-scope-copy {
  font-size: 13px;
  max-width: 420px;
}

.kb-map {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px,2.6vw,38px);
  background-color: var(--surface-2);
  background-image: radial-gradient(var(--line) .7px,transparent .8px);
  background-size: 13px 13px;
}

.kb-source {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 15px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.kb-source>div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.kb-source small {
  font-size: 10px;
  color: var(--muted);
}

.kb-source strong {
  font-size: 15px;
}

.kb-source>.pill {
  margin-left: auto;
}

.branch-pipe {
  position: relative;
  height: 32px;
}

.branch-pipe:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  background: #88aaff;
}

.branch-pipe i {
  position: absolute;
  top: 50%;
  left: 16%;
  right: 16%;
  border: 1px solid #88aaff;
  border-bottom: 0;
  height: 50%;
  border-radius: 4px 4px 0 0;
}

.kb-branches {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
.kb-branches .amber[aria-pressed=true] {
  color: var(--amber); border-color: var(--amber); background: var(--amber-bg);
}

.kb-branches button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 4px;
  font-size: 13px;
}

.kb-branches button[aria-pressed=true] {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.kb-branches .violet[aria-pressed=true] {
  color: var(--violet);
  border-color: var(--violet);
  background: var(--violet-bg);
}

.kb-branches .green[aria-pressed=true] {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-bg);
}

.branch-note {
  display: flex;
  align-items: start;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 17px;
}

.branch-note svg {
  margin-top: 1px;
}

.locked-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 14px 0 7px;
}

.locked-fields>span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.sector-layout {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 20px;
}

.sector-options {
  display: grid;
  gap: 8px;
}

.sector-options button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: left;
}

.sector-options button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.sector-options button>span {
  display: grid;
  gap: 4px;
}

.sector-options button strong {
  font-size: 14px;
}

.sector-options small {
  font-size: 12px;
  color: var(--muted);
}

.sector-options button>svg:last-child {
  margin-left: auto;
  color: var(--muted);
}

.sector-options button[aria-pressed=true]>svg {
  color: var(--accent);
}

.sector-example {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.sector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sector-example h3 {
  margin: 8px 0 12px;
}

.sector-facts {
  display: flex;
  gap: clamp(16px,4vw,65px);
}

.sector-facts>div {
  display: grid;
  gap: 5px;
}

.sector-facts small {
  font-size: 11px;
  color: var(--muted);
}

.sector-facts strong {
  font-size: 13px;
}

.sector-example>p {
  margin: 14px 0 5px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-section {
  background: radial-gradient(ellipse at 100% 30%,#152e56,transparent 68%),#101c30;
  color: white;
  padding: 45px 0;
}

.contact-inner,.contact-actions {
  display: flex;
  align-items: center;
}

.contact-inner {
  justify-content: space-between;
  gap: 22px;
}

.contact-label {
  font-size: 11px;
  color: #b3c8eb;
  margin-bottom: 12px;
}

.contact-inner h2 {
  font-size: clamp(22px,2.35vw,35px);
}

.public-footer {
  background: var(--surface);
  padding: 24px 0 19px;
}

.footer-top,.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-top>span {
  font-size: 13px;
  color: var(--muted);
}

.footer-top .text-link {
  margin-left: auto;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 14px;
  color: var(--faint);
  font-size: 11px;
}

.entry {
  min-height: calc(100vh - 73px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--bg);
}

.entry-grid {
  display: grid;
  grid-template-columns: .83fr 1fr;
  width: min(940px,100%);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.entry-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 31px 20px;
  color: #fff;
  background: radial-gradient(ellipse at 50% 70%,#192f51,transparent 65%),#0c172a;
  overflow: hidden;
}

.entry-art-label,.entry-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #b4c9ed;
}

.entry-art-label i {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #83cfeb;
}

.entry-art h2 {
  font-size: clamp(28px,3vw,46px);
  line-height: 1.35;
  letter-spacing: -.045em;
}

.entry-art p {
  color: #adc0d9;
  line-height: 1.7;
  font-size: 13px;
  margin-top: 12px;
}

.entry-art img {
  width: 117%;
  max-width: none;
  height: auto;
  margin: -5% -8% 0;
}

.entry-form {
  padding: clamp(27px,3.3vw,50px);
}

.entry-tag {
  color: var(--accent);
  font-weight: 650;
}

.entry-form h1 {
  font-size: 32px;
  letter-spacing: -.05em;
  margin: 12px 0;
}

.entry-form>p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.entry-scene {
  margin: 18px 0;
}

.role-picker {
  border: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.role-picker legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0 0 8px;
}

.role-picker button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.role-picker button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.role-picker button>span {
  display: grid;
  gap: 4px;
}

.role-picker strong {
  font-size: 14px;
}

.role-picker small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.role-radio {
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--faint);
  border-radius: 50%;
  height: 15px;
  width: 15px;
  margin-left: auto;
}

.role-picker [aria-pressed=true] .role-radio {
  border: 4px solid var(--accent);
}

.entry-start {
  width: 100%;
  margin: 20px 0 12px;
}

.entry-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

@media(min-width:1600px) {
  .hero h1 {
    font-size: 61px;
  }
  .hero-inner {
    min-height: 584px;
  }
}

@media(max-width:1040px) {
  .hero-inner {
    min-height: 456px;
  }
  .hero-copy>p {
    font-size: 14px;
  }
  .hotspot {
    gap: 5px;
    padding: 6px 7px;
  }
  .hot-icon {
    width: 21px;
    height: 24px;
  }
  .hotspot small {
    font-size: 9px;
  }
  .feature-card {
    padding: 16px;
  }
  .feature-card-top {
    gap: 8px;
  }
  .feature-card-top strong {
    font-size: 17px;
  }
  .window-body {
    grid-template-columns: 94px minmax(0,1fr);
  }
  .window-main {
    padding: 12px;
  }
  .sample-row {
    grid-template-columns: minmax(0,1fr) 43px 52px;
  }
  .feature-showcase {
    grid-template-columns: .72fr 1.8fr;
  }
  .wide-break {
    display: none;
  }
  .kb-public-grid {
    gap: 33px;
  }
  .visual-switch {
    bottom: 22px;
  }
}

@media(max-width:800px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .public-nav {
    gap: 18px;
  }
  .nav-inner {
    gap: 18px;
    height: 63px;
  }
  .header-actions {
    gap: 5px;
  }
  .hero h1 {
    font-size: clamp(29px,4.15vw,37px);
  }
  .hero-inner {
    min-height: 409px;
  }
  .hero-copy {
    padding: 29px 0;
  }
  .hero-kicker {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .hero-copy>p {
    margin-top: 16px;
    font-size: 13px;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 7px;
  }
  .hero-actions .btn {
    font-size: 13px;
    padding: 10px 13px;
  }
  .visual-switch {
    bottom: 32px;
  }
  .hotspot b {
    font-size: 11px;
  }
  .spot-geo {
    left: 0;
  }
  .feature-tabs {
    gap: 9px;
  }
  .feature-card {
    padding: 13px;
  }
  .feature-card-top {
    gap: 6px;
  }
  .feature-card .tone-icon {
    width: 33px;
    height: 33px;
  }
  .feature-desc {
    font-size: 12px;
  }
  .feature-arrow {
    display: none;
  }
  .feature-showcase {
    grid-template-columns: 1fr;
  }
  .feature-explainer {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px 12px;
    align-items: center;
  }
  .feature-explainer h3 {
    font-size: 21px;
    margin: 0;
  }
  .feature-explainer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .feature-explainer .text-link {
    margin: 0;
    justify-self: end;
  }
  .kb-public-grid {
    grid-template-columns: .88fr 1.12fr;
    gap: 24px;
  }
  .kb-map {
    padding: 17px;
  }
  .kb-branches button {
    font-size: 11px;
    gap: 3px;
  }
  .kb-source {
    padding: 10px;
  }
  .kb-source strong {
    font-size: 13px;
  }
  .journey-steps {
    padding-inline: 12px;
  }
  .journey-step {
    font-size: 12px;
  }
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media(max-width:670px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .nav-inner {
    height: 60px;
    gap: 10px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand-word b {
    font-size: 18px;
  }
  .brand-word small {
    font-size: 7px;
  }
  .public-nav,.nav-divider {
    display: none;
  }
  .header-actions {
    gap: 2px;
  }
  .header-demo {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .menu-btn {
    display: inline-flex;
  }
  .mobile-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 7px 18px 14px;
    gap: 4px;
    background: var(--surface);
    border-top: 1px solid var(--line);
  }
  .mobile-links a {
    padding: 12px;
    color: var(--muted);
    min-height: 42px;
    font-size: 14px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .hero-copy {
    padding: 34px 0 0;
  }
  .hero h1 {
    font-size: clamp(29px,7.9vw,48px);
    letter-spacing: -.045em;
    line-height: 1.28;
  }
  .hero-kicker {
    margin-bottom: 14px;
    font-size: 11px;
  }
  .hero-copy>p {
    max-width: 525px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.75;
  }
  .hero-actions {
    margin-top: 17px;
  }
  .hero-actions .btn {
    font-size: 13px;
    min-height: 44px;
    padding: 11px 15px;
  }
  .hero-footnote {
    margin-top: 11px;
    font-size: 10px;
  }
  .hero-visual {
    align-self: center;
    width: min(100%,430px);
    padding: 0 0 42px;
    margin-top: -3px;
  }
  .visual-field {
    aspect-ratio: 600/375;
  }
  .visual-switch {
    bottom: 8px;
  }
  .visual-switch button {
    padding: 7px 10px;
    min-height: 32px;
  }
  .visual-switch {
    padding: 2px;
  }
  .hotspot {
    padding: 6px 7px;
    min-height: 42px;
  }
  .hotspot span {
    gap: 3px;
  }
  .hotspot small {
    font-size: 9px;
  }
  .spot-geo {
    left: 1%;
    top: 31%;
  }
  .spot-aao {
    right: 1%;
    top: 24%;
  }
  .spot-crm {
    right: 0;
    top: 65%;
  }
  .cross-a {
    top: 13%;
  }
  .hero-window-wrap {
    padding: 5px 0;
    transform: none;
  }
  .compact-window .window-body {
    grid-template-columns: 72px minmax(0,1fr);
  }
  .compact-window .window-nav {
    padding: 9px 3px;
  }
  .compact-window .window-main {
    padding: 8px;
  }
  .compact-window .sample-row:not(.table-label) {
    min-height: 39px;
  }
  .compact-window .sample-row {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 4px;
  }
  .compact-window .sample-row>span:nth-child(2) {
    display: none;
  }
  .compact-window .sample-answer {
    padding: 6px;
  }
  .compact-window .sample-answer p {
    font-size: 10px;
  }
  .compact-window .mock-title {
    margin-bottom: 5px;
  }
  .section {
    padding: 38px 0;
    scroll-margin-top: 6px;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 18px;
  }
  .section-kicker {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .section-title h2 {
    font-size: 27px;
  }
  .section-title p {
    margin-top: 9px;
    font-size: 13px;
  }
  .scene-select,.scene-select select {
    min-height: 42px;
  }
  .feature-tabs {
    gap: 6px;
  }
  .feature-card {
    gap: 0;
    padding: 10px 4px;
    align-items: center;
    border-radius: 8px;
  }
  .feature-card-top {
    display: grid;
    justify-items: center;
    gap: 4px;
  }
  .feature-card .tone-icon {
    width: 31px;
    height: 31px;
  }
  .feature-card .tone-icon svg {
    width: 18px;
  }
  .feature-card-top strong {
    font-size: 14px;
  }
  .feature-card .mono-code {
    font-size: 9px;
  }
  .feature-card .feature-desc {
    display: none;
  }
  .feature-card[aria-pressed=true]:before {
    height: 2px;
    width: auto;
    inset: auto 12px 0;
    border-radius: 2px;
  }
  .feature-showcase {
    padding: 14px 10px;
    gap: 15px;
    margin-top: 10px;
  }
  .feature-explainer {
    padding: 0 3px;
    column-gap: 7px;
    row-gap: 2px;
  }
  .feature-explainer h3 {
    font-size: 18px;
  }
  .feature-explainer p {
    font-size: 13px;
  }
  .feature-explainer .text-link {
    font-size: 12px;
  }
  .window-body {
    grid-template-columns: minmax(0,1fr);
  }
  .window-nav {
    display: none;
  }
  .window-main {
    padding: 12px 10px;
  }
  .sample-row:not(.table-label),.sample-question select {
    min-height: 44px;
  }
  .sample-row {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 5px;
    font-size: 12px;
  }
  .sample-row>span:nth-child(2) {
    display: none;
  }
  .sample-row .pill {
    justify-self: end;
  }
  .sample-question select {
    font-size: 14px;
  }
  .compact-window .window-body {
    display: block;
  }
  .window-bar {
    height: 29px;
    font-size: 9px;
  }
  .boundary-line {
    font-size: 11px;
  }
  .journey-steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 4px;
    padding: 10px;
    border-bottom: 1px solid var(--line);
  }
  .journey-step {
    border: 1px solid var(--line);
    border-radius: 6px;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    min-height: 45px;
    padding: 5px;
    font-size: 11px;
    line-height: 1.4;
  }
  .journey-step:before,.journey-step[aria-pressed=true]:after {
    display: none;
  }
  .journey-step[aria-pressed=true] {
    background: var(--accent-soft);
    border-color: var(--accent);
  }
  .step-num {
    font-size: 9px;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }
  .journey-detail {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
  }
  .journey-sample {
    padding: 12px;
  }
  .journey-detail .journey-sample p {
    font-size: 15px;
    margin: 8px 0;
  }
  .journey-detail h3 {
    margin: 7px 0;
  }
  .journey-actions {
    margin-top: 8px;
  }
  .kb-public-grid,.sector-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kb-intro .segmented {
    margin: 15px 0 8px;
  }
  .kb-map {
    padding: 15px;
  }
  .kb-branches button {
    min-height: 44px;
    font-size: 12px;
  }
  .sector-options {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 5px;
  }
  .sector-options button {
    padding: 9px 2px;
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
  }
  .sector-options button>span {
    gap: 0;
  }
  .sector-options small,.sector-options button>svg:last-child {
    display: none;
  }
  .sector-options strong {
    font-size: 12px;
  }
  .sector-options .tone-icon {
    width: 28px;
    height: 28px;
  }
  .sector-example {
    padding: 18px;
  }
  .sector-facts {
    gap: 15px;
  }
  .contact-section {
    padding: 30px 0;
  }
  .contact-inner {
    gap: 16px;
  }
  .contact-actions {
    gap: 7px;
  }
  .contact-label {
    margin-bottom: 8px;
  }
  .footer-top,.footer-bottom {
    gap: 9px;
    flex-wrap: wrap;
  }
  .footer-top>span {
    font-size: 11px;
  }
  .footer-top .text-link {
    margin-left: 0;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 7px 12px;
  }
  .entry {
    padding: 17px 12px;
    display: block;
    min-height: calc(100vh - 60px);
  }
  .entry-grid {
    display: block;
    max-width: 510px;
    margin: 0 auto;
  }
  .entry-art {
    padding: 15px 19px;
    display: block;
  }
  .entry-art>div,.entry-art>img {
    display: none;
  }
  .entry-form {
    padding: 22px 18px;
  }
  .entry-form h1 {
    font-size: 28px;
  }
  .entry-tag {
    font-size: 11px;
  }
}

@media(max-width:365px) {
  .wrap {
    width: calc(100% - 26px);
  }
  .hero-copy {
    padding-top: 25px;
  }
  .hero-copy>p {
    font-size: 13px;
  }
  .hero-kicker {
    font-size: 10px;
  }
  .hero-visual {
    padding-bottom: 39px;
  }
  .hero h1 {
    font-size: 7.7vw;
  }
  .kb-source>.pill {
    font-size: 9px;
    padding: 3px 6px;
  }
  .feature-explainer .text-link {
    font-size: 11px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .theme-btn {
    width: 35px;
    min-width: 35px;
  }
}

@media(max-width:670px) {
  .visual-switch button {
    min-height: 40px;
  }
  .hero-visual {
    padding-bottom: 51px;
  }
  .header-demo,.hotspot,.kb-branches button,.scene-select,.scene-select select {
    min-height: 44px;
  }
}

.journey-chat,.journey-doc,.journey-discovery,.journey-handoff {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.journey-chat {
  border-radius: 2px 10px 10px 10px;
}

.journey-sample small,.journey-form label {
  color: var(--muted);
  font-size: 11px;
}

.journey-detail .journey-chat p,.journey-detail .journey-sample .journey-answer,.journey-detail .journey-discovery p,.journey-detail .journey-handoff p {
  font-size: 14px;
  line-height: 1.65;
  margin: 6px 0 0;
  color: var(--text);
}

.journey-doc,.journey-discovery {
  display: grid;
  gap: 8px;
}

.journey-doc strong,.journey-handoff strong {
  font-size: 15px;
}

.journey-discovery button {
  text-align: left;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  min-height: 32px;
}

.journey-discovery small {
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey-question,.journey-question select {
  display: block;
  width: 100%;
  min-width: 0;
}

.journey-question {
  margin-top: 12px;
}

.journey-question select,.journey-form select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 8px;
  color: var(--text);
  font-size: 13px;
}

.journey-detail .journey-sample .journey-answer {
  margin: 9px 0 12px;
}

.journey-hint {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}

.journey-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  align-items: end;
}

.journey-form .journey-sender,.journey-form label {
  display: grid;
  gap: 5px;
}

.journey-sender strong {
  font-size: 14px;
}

.journey-form .btn {
  grid-column: 1/-1;
  justify-self: start;
}

.journey-handoff .mini-stages {
  margin-top: 10px;
}

.journey-sample .text-link {
  font-size: 12px;
}

.journey-sample .mini-stages .now {
  color: var(--accent);
}

@media(max-width:670px) {
  .journey-discovery button,.journey-question select,.journey-form select {
    min-height: 44px;
  }
  .journey-form select,.journey-question select {
    font-size: 16px;
  }
  .journey-detail .journey-sample .journey-answer {
    font-size: 13px;
  }
}

.visual-field:has(.hero-window-wrap) {
  aspect-ratio: auto;
}

.hero-window-wrap {
  position: relative;
  inset: auto;
}

@media (max-width: 670px) {
  .hero-visual:has(.hero-window-wrap) {
    margin-top: 10px;
  }
  .visual-field:has(.hero-window-wrap) .field-cross {
    display: none;
  }
}

.hero-visual:has(.hero-window-wrap) {
  flex-direction: column;
  gap: 18px;
  padding: 23px 0 18px;
}

.hero-visual:has(.hero-window-wrap) .visual-switch {
  position: static;
  transform: none;
  flex-shrink: 0;
}

@media (max-width: 1040px) {
  .hero-window-wrap {
    transform: none;
  }
}

@media (max-width: 670px) {
  .hero-visual:has(.hero-window-wrap) {
    padding: 0 0 10px;
    gap: 5px;
  }
}

/* Compact, interactive product samples share the workspace's semantic colors. */
.preview-service, .preview-revision {
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.preview-service-head, .preview-rule, .preview-revision { display: flex; align-items: flex-start; gap: 8px; }
.preview-service-head { flex-wrap: wrap; justify-content: space-between; align-items: center; }
.preview-service strong, .preview-revision b { font-size: 13px; line-height: 1.6; color: var(--text); }
.preview-service code, .preview-rule code { color: var(--violet); font: 600 11px/1.6 var(--mono); }
.preview-rule code { background: var(--violet-bg); padding: 2px 5px; border-radius: 4px; flex: none; }
.preview-service p, .preview-revision p, .preview-rule p, .preview-hint {
  font-size: 12px; line-height: 1.65; color: var(--muted); margin: 4px 0 0;
}
.preview-choices, .preview-stages { display: flex; gap: 5px; flex-wrap: wrap; margin-block: 9px; }
.preview-choices button, .preview-stages button {
  padding: 5px 9px; min-height: 32px; border-radius: 5px; border: 1px solid var(--line);
  font-size: 12px; color: var(--muted); background: var(--surface);
}
.preview-choices button[aria-pressed=true] { color: var(--violet); background: var(--violet-bg); border-color: var(--violet); }
.preview-stages button[aria-pressed=true] { color: var(--green); background: var(--green-bg); border-color: var(--green); }
.preview-rule { align-items: baseline; }
.preview-rule p { margin: 0; }
.preview-revision { margin-top: 8px; }
.preview-revision .tone-icon { width: 26px; height: 26px; flex: none; border-radius: 6px; }
.preview-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 650; min-height: 34px; color: var(--accent);
}
.preview-observation { margin-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.preview-observation summary {
  cursor: pointer; color: var(--muted); padding: 10px 0 4px; font-weight: 550;
}
.preview-observation summary svg { margin-inline: 2px 5px; vertical-align: middle; }
.preview-observation[open] summary { padding-bottom: 9px; }
.preview-observation select { color-scheme: inherit; }
.branch-pipe i { left: 12.5%; right: 12.5%; }

@media (min-width: 801px) {
  .feature-tabs { padding-block: 2px; }
  .feature-card { min-width: 0; padding: 16px clamp(12px,1.45vw,21px); overflow: visible; }
  .feature-card + .feature-card::after {
    content: ""; position: absolute; left: -15px; top: 50%; width: 14px; height: 1px; background: var(--line);
  }
  .feature-card-top { flex-wrap: wrap; gap: 7px; }
  .feature-card-top .tone-icon { width: 34px; height: 34px; }
  .feature-card-top strong { font-size: clamp(15px,1.35vw,19px); }
}
@media (max-width: 800px) {
  .feature-english { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .feature-explainer:has(.feature-english) p { grid-row: 3; }
  .feature-explainer .text-link { grid-column: 3; grid-row: 1; }
  .feature-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card { text-align: left; align-items: stretch; }
  .feature-card-top { display: flex; justify-content: flex-start; gap: 8px; }
  .feature-card-top .mono-code { margin-left: auto; }
  .kb-branches { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 670px) {
  .hero h1.growth-headline { font-size: clamp(25px,6.85vw,38px); }
  .spot-aoo { top: 66%; left: 1%; }
  .feature-card { padding: 9px; min-height: 50px; }
  .feature-card-top { gap: 5px; }
  .feature-card .tone-icon { width: 25px; height: 27px; border-radius: 5px; }
  .feature-card-top strong { font-size: 13px; }
  .feature-english { margin: 2px 0 4px; font-size: 11px; }
  .feature-scope { margin-left: 0; }
  .preview-observation summary, .preview-choices button, .preview-stages button, .preview-link, .feature-scope a { min-height: 44px; }
  .preview-observation summary { align-content: center; }
  .sample-question select { font-size: 16px; min-height: 44px; }
}
@media (pointer: coarse) {
  .hotspot, .window-nav button, .preview-choices button, .preview-stages button, .preview-link,
  .preview-observation summary, .visual-switch button { min-height: 44px; }
}


/* Secondary homepage sections share the same readable measure as the product overview. */
.home-main > .section:not(.public-risk) {padding-block:clamp(56px,6vw,88px)}
.home-main .loop-section {background:var(--bg);border-top:1px solid var(--line)}
.home-main .knowledge-section {background:var(--surface)}
.home-main .industry-section {background:var(--surface-2)}
.home-drills {padding:clamp(16px,2.4vw,28px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.home-drills-heading {display:flex;align-items:center;justify-content:space-between;gap:6px 18px;flex-wrap:wrap;margin-bottom:12px}
.home-drills-heading h3 {display:flex;align-items:center;gap:9px;margin:0;color:var(--text);font-size:clamp(18px,2vw,23px);letter-spacing:-.025em}
.home-drills-heading h3 svg,.home-drills-grid i {color:var(--accent);flex:none}
.home-drills-heading a {min-height:44px}
.home-drills-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home-drills-grid a {display:flex;align-items:center;gap:12px;min-width:0;padding:12px 15px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2)}
.home-drills-grid a:is(:hover,:focus-visible) {border-color:var(--accent);background:var(--accent-soft)}
.home-drills-grid i {display:grid;place-items:center}
.home-drills-grid span {min-width:0}
.home-drills-grid strong,.home-drills-grid small {display:block}
.home-drills-grid strong {font-size:14px}.home-drills-grid small {color:var(--muted);font-size:12px;margin-top:3px}
.home-scenes-title {font-size:16px;margin:24px 0 12px}
@media(max-width:670px) {
  .home-drills-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-drills-grid a {gap:7px;padding:10px 8px}
}
@media(max-width:390px) {
  .home-drills {padding:12px}
  .home-drills-grid a {align-items:flex-start;gap:5px}
  .home-drills-grid i {margin-top:3px}
}
.home-scene-actions {display:flex;gap:8px 22px;flex-wrap:wrap;align-items:center}
.home-scene-actions a {min-height:44px;align-items:center}
.home-journey {margin-top:24px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:12px;scroll-margin-block-start:16px}
.home-journey > summary {display:flex;min-height:56px;padding:11px 20px;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:14px;font-weight:600}
.home-journey > summary::-webkit-details-marker {display:none}
.home-journey > summary > span {display:inline-flex;align-items:center;gap:10px}
.home-journey > summary svg {flex-shrink:0;color:var(--accent)}
.home-journey[open] > summary > svg {transform:rotate(180deg)}
.home-journey[open] > summary {border-bottom:1px solid var(--line)}
.home-journey-body {padding:clamp(14px,2.2vw,32px)}
.home-journey-body .section-head {align-items:center;margin-bottom:14px}
.home-journey-body .section-head h2 {font-size:clamp(19px,2vw,26px);letter-spacing:-.03em}
.home-journey-body .section-kicker {display:none}
.home-contact-help {font-size:13px;color:#c4d6ee;line-height:1.75;margin:11px 0 0}
.home-cooperation {background:var(--surface)}
.home-cooperation-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:clamp(22px,3vw,38px) 0 0;padding:0;list-style:none}
.home-cooperation-steps li {position:relative;padding:4px clamp(12px,2vw,30px) 0 0;min-width:0}
.home-cooperation-steps li:not(:first-child) {padding-left:clamp(16px,2.6vw,40px);border-left:1px solid var(--line)}
.home-cooperation-steps i {display:inline-grid;width:38px;height:38px;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:10px}
.home-cooperation-steps h3 {font-size:clamp(17px,1.5vw,21px);margin:14px 0 8px;letter-spacing:-.035em}
.home-cooperation-steps p {font-size:14px;line-height:1.8;color:var(--muted);margin:0;max-width:17em}
@media(max-width:760px) {
  .home-main>.section:not(.public-risk) {padding-block:42px}
  .home-journey {margin-top:15px}
  .home-journey > summary {padding:10px 13px;min-height:48px}
  .home-cooperation-steps {grid-template-columns:1fr 1fr;gap:22px 18px}
  .home-cooperation-steps li,.home-cooperation-steps li:not(:first-child) {border:0;border-top:1px solid var(--line);padding:14px 0 0}
  .home-cooperation-steps h3 {margin:9px 0 5px}
  .home-cooperation-steps p {font-size:13px}
}
@media(max-width:400px) {
  .home-journey-body {padding:12px}
  .home-journey-body .section-head {flex-wrap:wrap}
}
