:root {
  --wf-width: 1200px;
  --wf-gutter: clamp(22px, 5vw, 60px);
  --wf-mono: "Fragment Mono", monospace;
}

.wf-page { isolation: isolate; }
.wf-wrap { width: min(var(--wf-width), calc(100% - 2 * var(--wf-gutter))); margin-inline: auto; }
.wf-hero { padding-block: clamp(144px, 12vw, 185px) clamp(68px, 8vw, 108px); }
.wf-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(35px, 5.2vw, 76px); align-items: center; }
.wf-kicker, .wf-label {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  border-radius: 99px; padding: 7px 14px; background: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.35;
}
.wf-kicker img { flex: none; object-fit: contain; border-radius: 4px; }
.wf-hero h1 {
  font-size: clamp(40px, 4.7vw, 70px); line-height: 1.085; font-weight: 600;
  letter-spacing: -.074em; margin-block: 23px 20px; text-wrap: balance;
}
.wf-hero h1 span { display: block; }
.wf-hero h1 span + span { color: #5a5a5a; }
.wf-hero p { max-width: 520px; color: #646464; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.62; }
.wf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.wf-actions a { min-width: auto; }
.wf-secondary { display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; padding: 16px 19px; font-size: 15px; background: #fff; }
.wf-secondary:hover { background: #e2e2e2; }
.wf-signals { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 26px 0 0; padding: 0; list-style: none; color: #565656; }
.wf-signals li { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.wf-signals li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--wf-accent); }

.wf-preview {
  min-width: 0; margin: 0; overflow: hidden;
  border: 5px solid #fff; border-radius: 24px; padding: 16px;
  color: #fff; background: linear-gradient(150deg, #191b2b, #08090e 58%);
  box-shadow: 0 18px 32px #18182924;
}
.wf-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 3px 14px; }
.wf-preview .brand { color: #fff; font-size: 27px; }
.wf-preview-top small, .wf-preview figcaption span, .wf-stage-meta, .wf-stage-index, .wf-scenario-num {
  font-family: var(--wf-mono); font-size: 11px; font-weight: 400; letter-spacing: .04em;
}
.wf-preview-top small { border: 1px solid #ffffff2a; border-radius: 99px; color: #f4f4f8; padding: 6px 10px; white-space: nowrap; }
.wf-art-frame { overflow: hidden; border-radius: 13px; border: 1px solid #ffffff22; background: #0a0a13; }
.wf-art-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.wf-preview figcaption { display: flex; justify-content: space-between; gap: 9px; align-items: center; color: #c2c4d3; padding: 13px 3px 1px; }
.wf-preview figcaption strong { font-size: 13px; font-weight: 500; color: #f5f5ff; }
.wf-preview figcaption span { text-align: right; }

.wf-section { padding-block: clamp(60px, 7vw, 100px); scroll-margin-top: 90px; }
.wf-section-head { max-width: 740px; margin-bottom: 32px; }
.wf-section-head h2, .wf-cta h2 {
  margin-top: 14px; font-size: clamp(32px, 4vw, 55px); line-height: 1.13;
  font-weight: 600; letter-spacing: -.07em; text-wrap: balance;
}
.wf-section-head p { color: #616161; line-height: 1.62; font-size: 16px; margin-top: 13px; }
.wf-steps { border-top: 1px solid #dcdcdc; }
.wf-workbench {
  overflow: hidden; padding: 14px;
  border: 5px solid #fff; border-radius: 24px;
  background: #0d0e14; color: #fff;
  box-shadow: 0 15px 24px #18182916;
}
.wf-workbench-header, .wf-stage-top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.wf-workbench-header { padding: 4px 7px 14px; color: #f2f2f4; font-size: 13px; }
.wf-workbench-header div { display: flex; gap: 8px; align-items: center; }
.wf-workbench-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #aca3ff; box-shadow: 0 0 12px #8a7cff; }
.wf-workbench-header > span { color: #d5d2e3; white-space: nowrap; }
.wf-workbench-body { display: grid; grid-template-columns: minmax(235px, .72fr) minmax(0, 1.45fr); gap: 12px; }
.wf-stage-tabs { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wf-stage-tabs button {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  min-width: 0; padding: 13px; border: 1px solid #ffffff16; border-radius: 11px;
  color: #f6f6f8; background: #191a25; text-align: left;
  transition: background-color .18s, border-color .18s;
}
.wf-stage-tabs button:is(:hover, [aria-selected="true"]) { border-color: #b1a7ff88; background: #27243c; }
.wf-stage-index {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 8px; background: #ffffff14; color: #fff;
}
.wf-stage-tabs button[aria-selected="true"] .wf-stage-index { background: #d9d4ff; color: #25213f; }
.wf-stage-tabs :is(small, strong) { display: block; line-height: 1.38; }
.wf-stage-tabs small { color: #bdbac9; font-size: 11px; }
.wf-stage-tabs strong { margin-top: 3px; font-size: 14px; font-weight: 600; }
.wf-stage-arrow { color: #c6bee8; font-size: 15px; }
.wf-stage-content { min-width: 0; display: grid; align-items: stretch; }
.wf-stage {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 320px; padding: clamp(23px, 3.2vw, 42px);
  border: 1px solid #ffffff23; border-radius: 13px;
  background: #151626;
}
.wf-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #151626 20%, #151626aa 65%, #15162655),
              url("/assets/hero.webp") right 48% / 76% auto no-repeat;
  opacity: .65;
}
.wf-stage-top { width: 100%; }
.wf-stage-symbol {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #cabfff50; border-radius: 11px; background: #c8beff1c; color: #ded7ff;
}
.wf-stage-symbol svg { width: 24px; height: 24px; }
.wf-stage-meta { color: #e2dfef; }
.wf-stage h3 { margin: 17px 0 8px; color: #fff; font-size: clamp(24px, 3vw, 39px); line-height: 1.17; letter-spacing: -.06em; }
.wf-stage p { max-width: 630px; color: #dfdce9; line-height: 1.67; font-size: 15px; margin-bottom: 21px; }
.wf-stage-output {
  display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: baseline;
  margin-top: auto; padding: 10px 12px; border: 1px solid #ffffff23;
  border-radius: 8px; background: #111322ba;
}
.wf-stage-output span { color: #d6caff; font-size: 11px; font-weight: 600; }
.wf-stage-output b { color: #fff; font-size: 13px; line-height: 1.4; font-weight: 500; }
.wf-scenarios, .wf-guardrails { display: grid; margin: 0; padding: 0; list-style: none; }
.wf-scenario h3, .wf-guardrails h3 { margin-block: 15px 9px; font-size: 20px; font-weight: 600; line-height: 1.28; letter-spacing: -.05em; }
.wf-scenario p, .wf-guardrails p, .wf-faq p { color: #626262; line-height: 1.65; font-size: 15px; }

.wf-scenario-section { background: #080809; color: #fff; }
.wf-scenario-section .wf-label { color: #101010; }
.wf-scenario-section .wf-section-head p { color: #b5b5b5; }
.wf-scenarios, .wf-guardrails { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.wf-scenario { min-width: 0; border: 1px solid #ffffff26; border-radius: 16px; padding: 24px; background: radial-gradient(ellipse at 100% 0%, #30294c 0%, #1b1925 40%, #161617 82%); }
.wf-scenario:nth-child(2) { background: radial-gradient(ellipse at 100% 0%, #1b3655 0%, #161d2a 40%, #161617 82%); }
.wf-scenario:nth-child(3) { background: radial-gradient(ellipse at 100% 0%, #492941 0%, #221822 40%, #161617 82%); }
.wf-scenario-num { color: #c7c7ca; }
.wf-scenario p { color: #bdbdbf; }

.wf-guardrails { margin-bottom: 42px; }
.wf-guardrails li { min-width: 0; border-top: 2px solid #cdcdcd; padding: 10px 10px 6px 0; }
.wf-guardrails li::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-top: 5px;
  border-radius: 50%; background: var(--wf-accent);
}
.wf-guardrails h3 { margin-top: 9px; }
.wf-faq { background: #fff; border-radius: 18px; padding: clamp(19px, 3.2vw, 40px); }
.wf-faq h2 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -.065em; margin-bottom: 12px; }
.wf-faq details { border-top: 1px solid #e6e6e6; }
.wf-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 16px; cursor: pointer; font-weight: 600; line-height: 1.45;
}
.wf-faq summary::-webkit-details-marker { display: none; }
.wf-faq summary::after { content: "+"; color: #555; font-size: 22px; line-height: 1; }
.wf-faq details[open] summary::after { content: "−"; }
.wf-faq p { max-width: 810px; padding-bottom: 17px; }
.wf-sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 15px; margin-top: 21px; color: #555; font-size: 13px; }
.wf-sources a { text-decoration: underline; text-underline-offset: 3px; }
.wf-sources a:hover { color: #000; }

.wf-cta { background: #0a0a0b; color: #fff; padding-block: clamp(48px, 6.8vw, 92px) 31px; }
.wf-cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 64px); }
.wf-cta .brand { font-size: 31px; }
.wf-cta h2 { margin-bottom: 12px; }
.wf-cta p { color: #b7b7b7; line-height: 1.65; max-width: 580px; }
.wf-cta .pill-button { background: #fff; color: #090909; }
.wf-cta .lower-inquiry-error { color: #ffb5b5; }
.wf-related { margin-top: 36px; padding-top: 19px; border-top: 1px solid #ffffff2b; display: flex; flex-wrap: wrap; gap: 10px 17px; align-items: center; }
.wf-related p { font-size: 13px; }
.wf-related a { color: #f4f4f4; font-size: 14px; padding-block: 4px; }
.wf-related a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .wf-hero-inner { gap: 28px; }
}
@media (max-width: 760px) {
  .wf-hero { padding-top: 141px; }
  .wf-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .wf-hero h1 { margin-top: 19px; font-size: clamp(37px, 8.5vw, 61px); text-wrap: wrap; }
  .wf-preview-top .brand { font-size: 25px; }
  .wf-section { scroll-margin-top: 116px; }
  .wf-workbench-body { grid-template-columns: 1fr; }
  .wf-stage-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .wf-scenarios, .wf-guardrails { grid-template-columns: 1fr; gap: 11px; }
  .wf-cta-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .wf-actions .pill-button { padding-inline: 20px; min-height: 50px; }
  .wf-secondary { padding-inline: 14px; }
  .wf-preview { padding: 12px; border-radius: 19px; }
  .wf-preview-top small, .wf-preview figcaption span { font-size: 9px; }
  .wf-workbench { padding: 9px; border-radius: 18px; }
  .wf-stage-tabs button { gap: 7px; padding: 9px; grid-template-columns: auto minmax(0, 1fr); }
  .wf-stage-index { width: 24px; height: 24px; }
  .wf-stage-arrow { display: none; }
  .wf-stage-tabs strong { font-size: 12px; }
  .wf-stage { min-height: 300px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-stage-tabs button { transition: none; }
}
