.design-space-hero,
.design-space-hero p,
.design-space-hero h1,
.design-space-hero h2,
.design-space-hero h3,
.design-space-hero h4,
.design-space-hero h5,
.design-space-hero h6,
.design-space-hero a,
.design-space-hero button,
.design-space-hero span,
.design-space-hero div,
.design-space-page,
.design-space-page p,
.design-space-page li,
.design-space-page h1,
.design-space-page h2,
.design-space-page h3,
.design-space-page h4,
.design-space-page h5,
.design-space-page h6,
.design-space-page a,
.design-space-page button,
.design-space-page span,
.design-space-page div,
.design-space-page figcaption {
  font-family: "Inter", var(--sans);
}

.design-space-hero .home3-section-eyebrow,
.design-space-page .tag,
.design-space-page .cv-label,
.design-space-page .cv-row-label,
.design-space-page .cv-row-label span,
.design-space-page .cv-count,
.design-space-page .cv-insight-label,
.design-space-page .case-num,
.design-space-page .case-stat-label,
.design-space-page .case-param,
.design-space-page .path-label,
.design-space-page .path-result-text,
.design-space-page .ai-chat-name,
.design-space-page .ai-chat-status,
.design-space-page .cta-eyebrow,
.design-space-page .btn-wht,
.design-space-page .btn-owht {
  font-family: "Inter", var(--sans);
  letter-spacing: 0.05em;
}

.design-space-hero .home3-hero-title,
.design-space-page .prob-h2,
.design-space-page .cases-h2,
.design-space-page .paths-h2,
.design-space-page .impact-h2,
.design-space-page .cta-h2 {
  font-family: "Inter", var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.design-space-hero-shell {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 56px);
  padding: 4.8rem clamp(1rem, 3vw, 2.5rem) 2.2rem;
  gap: 1.5rem;
  box-shadow: inset 0 -36px 84px rgba(2, 10, 26, 0.18);
}

.design-space-hero-grid {
  min-height: clamp(35rem, 76vh, 49rem);
  padding: 0;
}

.design-space-hero {
  background:
    radial-gradient(circle at 14% 24%, rgba(59, 223, 255, 0.24), transparent 24%),
    radial-gradient(circle at 36% 76%, rgba(255, 169, 74, 0.2), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #0b1730 52%, #13213b 100%);
}

.design-space-hero .home3-hero-visual::after {
  background:
    linear-gradient(90deg, rgba(7, 12, 24, 0.01) 0%, rgba(7, 12, 24, 0.08) 44%, rgba(7, 12, 24, 0.18) 74%, rgba(7, 12, 24, 0.34) 100%),
    radial-gradient(circle at 78% 48%, rgba(31, 56, 103, 0.02), rgba(7, 12, 24, 0.22) 82%);
}

.design-space-hero-content {
  width: min(46rem, calc(100% - 1.4rem));
  margin-left: auto;
  margin-right: 0;
  padding: 5rem clamp(1.4rem, 3vw, 3rem) 4.7rem;
}

.design-space-hero .home3-hero-content::before {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(19, 30, 56, 0.46) 0%, rgba(14, 24, 48, 0.58) 100%);
  box-shadow: 0 16px 34px rgba(1, 6, 18, 0.2);
}

.design-space-hero-eyebrow {
  border-color: rgba(46, 230, 255, 0.24);
  background: rgba(46, 230, 255, 0.1);
  color: #97f2ff;
}

.design-space-hero .home3-hero-title-primary {
  max-width: 36rem;
  font-size: clamp(2.2rem, 1.84rem + 1.32vw, 3.65rem);
  line-height: 0.98;
}

.design-space-hero .home3-hero-title-secondary {
  max-width: 35rem;
  font-size: clamp(1.16rem, 1.02rem + 0.46vw, 1.62rem);
  line-height: 1.18;
  color: #dce8ff;
  white-space: normal;
}

.design-space-hero-copy {
  max-width: 35rem;
}

.design-space-hero-copy p {
  color: rgba(234, 241, 255, 0.9);
  font-size: clamp(1rem, 0.95rem + 0.26vw, 1.14rem);
  line-height: 1.72;
}

.design-space-hero-actions {
  margin-top: 2rem;
}

.design-space-hero-actions .workflow-secondary-cta {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.design-space-hero .home3-hero-visual-glow {
  filter: blur(18px);
  opacity: 0.46;
}

.design-space-hero .home3-hero-visual-glow-primary {
  display: none;
}

.design-space-hero .home3-hero-visual-glow-secondary {
  background: rgba(255, 190, 91, 0.3);
}

.design-space-hero .home3-hero-content::before {
  -webkit-backdrop-filter: blur(5px) saturate(136%);
  backdrop-filter: blur(5px) saturate(136%);
}

.design-space-coverage-shell {
  position: relative;
  z-index: 2;
  width: min(78rem, calc(100% - 1.5rem));
  margin: 0 auto;
}

.design-space-coverage-strip {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.55rem;
  background:
    linear-gradient(180deg, rgba(10, 14, 25, 0.72) 0%, rgba(9, 13, 24, 0.84) 100%);
  box-shadow: 0 24px 56px rgba(2, 8, 23, 0.3);
  -webkit-backdrop-filter: blur(12px) saturate(124%);
  backdrop-filter: blur(12px) saturate(124%);
}

.cov-item {
  padding: 1.45rem 1.5rem 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cov-item:last-child {
  border-right: none;
}

.cov-val,
.cov-val span {
  font-family: "Inter", var(--sans);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.cov-val {
  margin-bottom: 0.45rem;
  font-size: clamp(2rem, 1.7rem + 1vw, 2.7rem);
  line-height: 1;
}

.cov-val span {
  font-size: 1.1rem;
}

.cov-item:nth-child(1) .cov-val,
.cov-item:nth-child(3) .cov-val {
  color: #8fe8ff;
}

.cov-item:nth-child(2) .cov-val,
.cov-item:nth-child(4) .cov-val {
  color: #d2f436;
}

.cov-label {
  color: rgba(244, 242, 237, 0.84);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.55;
  text-transform: uppercase;
}

.cov-sub {
  margin-top: 0.4rem;
  color: rgba(244, 242, 237, 0.58);
  font-size: 0.88rem;
  line-height: 1.55;
}

.design-space-page {
  background:
    radial-gradient(circle at top left, rgba(37, 201, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f4f7fd 0%, #ffffff 18%, #f6f8fc 100%);
}

.design-space-inner-section {
  max-width: 74rem;
  margin: 0 auto;
}

.design-space-page .tag {
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.design-space-page .tag::before {
  width: 1rem;
}

.design-space-section-problem {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.design-space-section-cases {
  background:
    radial-gradient(circle at 16% 12%, rgba(46, 230, 255, 0.08), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(67, 41, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #0d1220 0%, #101828 100%);
}

.design-space-section-paths {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.design-space-section-impact {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.prob-grid,
.cases-header,
.paths-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 5rem);
}

.prob-grid {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  align-items: center;
}

.cases-header {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: end;
  margin-bottom: 2.8rem;
}

.cases-header-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cases-header-tag-card {
  display: flex;
  align-items: center;
  width: fit-content;
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0 0 1rem;
  padding: 0.92rem 1.3rem;
  border: 1px solid rgba(58, 121, 255, 0.6);
  border-radius: 1rem;
  background: linear-gradient(180deg, #163c7c 0%, #102a56 100%);
  box-shadow: 0 14px 32px rgba(8, 22, 48, 0.16);
}

.cases-header-tag-card .tag {
  margin-bottom: 0;
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cases-header-tag-card .tag::before {
  display: none;
}

.paths-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.prob-h2,
.cases-h2,
.paths-h2,
.impact-h2 {
  margin-bottom: 1rem;
  color: #111827;
  font-size: clamp(2rem, 1.72rem + 1.06vw, 3.08rem);
  line-height: 1.04;
}

.cases-h2,
.paths-h2 {
  max-width: 34rem;
}

.prob-h2 em,
.paths-h2 em,
.impact-h2 em {
  font-style: normal;
  color: #4330ff;
}

.cases-h2 em {
  font-style: normal;
  color: #d2f436;
}

.design-space-section-cases .cases-h2 {
  color: #f8fbff;
}

.prob-body,
.cases-intro,
.paths-intro,
.impact-intro {
  color: #4b5563;
  font-size: 1.03rem;
  line-height: 1.78;
}

.prob-body p + p {
  margin-top: 1rem;
}

.cases-intro {
  color: rgba(235, 241, 255, 0.82);
  max-width: 35rem;
}

.coverage-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.7rem;
  border: 1px solid rgba(67, 41, 255, 0.1);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.07);
}

.cv-label,
.cv-count,
.cv-row-label {
  color: #4b5563;
}

.cv-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cv-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cv-row-label {
  width: 10.25rem;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.cv-row-label span {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 600;
}

.cv-dots {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cv-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
}

.cv-dot.filled-old {
  background: #5f74ff;
}

.cv-dot.filled-new {
  background: #bde300;
}

.cv-dot.empty {
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.cv-count {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.cv-divider {
  height: 1px;
  background: rgba(17, 24, 39, 0.08);
}

.cv-insight {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(67, 41, 255, 0.12);
  border-radius: 1rem;
  background: rgba(67, 41, 255, 0.04);
}

.cv-insight-label {
  margin-bottom: 0.4rem;
  color: #4330ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cv-insight-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 24px 62px rgba(2, 8, 23, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.case-card::before {
  content: "";
  display: block;
  height: 3px;
}

.case-card.c1::before,
.case-card.c2::before {
  background: #7de8ff;
}

.case-card.c3::before,
.case-card.c4::before {
  background: #c9ef1d;
}

.case-card.c5::before,
.case-card.c6::before {
  background: #ff8d72;
}

.case-card-more {
  grid-column: 1 / -1;
}

.case-card-more::before {
  background: linear-gradient(90deg, #7de8ff 0%, #d2f436 52%, #ff8d72 100%);
}

.case-top {
  padding: 1.55rem;
}

.case-num {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: rgba(220, 232, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card.c1 .case-num,
.case-card.c2 .case-num {
  color: #7de8ff;
}

.case-card.c3 .case-num,
.case-card.c4 .case-num {
  color: #c9ef1d;
}

.case-card.c5 .case-num,
.case-card.c6 .case-num {
  color: #ffb09d;
}

.case-title {
  margin-bottom: 0.7rem;
  color: #f8fbff;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.28;
}

.case-desc {
  margin-bottom: 1.1rem;
  min-height: calc(1.72em * 4);
  color: rgba(235, 241, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
}

.case-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-stat-val,
.case-stat-val span {
  font-family: "Inter", var(--sans);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.case-stat-val {
  font-size: 2.2rem;
  line-height: 1;
}

.case-stat-val span {
  font-size: 1rem;
}

.case-card.c1 .case-stat-val,
.case-card.c2 .case-stat-val {
  color: #8fe8ff;
}

.case-card.c3 .case-stat-val,
.case-card.c4 .case-stat-val {
  color: #d2f436;
}

.case-card.c5 .case-stat-val,
.case-card.c6 .case-stat-val {
  color: #ff9a7f;
}

.case-stat-label {
  color: rgba(220, 232, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.case-params {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-param {
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 241, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
}

.case-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding: 0 1.55rem 0.55rem;
}

.case-actions .home3-inline-link {
  margin-top: 0;
  padding-top: 0;
  color: #7de8ff;
  font-size: 0.9rem;
}

.case-actions .home3-inline-link:hover,
.case-actions .home3-inline-link:focus {
  color: #b8f4ff;
}

.case-actions .home3-inline-link:focus {
  outline: 2px solid rgba(125, 232, 255, 0.68);
  outline-offset: 0.18rem;
  border-radius: 0.35rem;
}

.case-img-wrap {
  display: flex;
  aspect-ratio: 16 / 9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #ffffff;
}

.case-img-wrap img,
.case-img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.case-img-wrap img {
  object-fit: cover;
}

.case-card.c2 .case-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.case-card.c2 .case-img-wrap img {
  object-fit: contain;
}

.case-card.c4 .case-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.case-card.c4 .case-img-wrap img {
  object-fit: contain;
}

.case-card.c5 .case-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.case-card.c5 .case-img-wrap img {
  object-fit: contain;
}

.case-card.c6 .case-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.case-card.c6 .case-img-wrap img {
  object-fit: contain;
}

.case-more-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.7rem 1.7rem 0.85rem;
}

.case-more-tag {
  color: #ffb09d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.4rem;
  width: 100%;
}

.case-more-item {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.case-more-title {
  margin-bottom: 0.45rem;
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.case-more-copy {
  color: rgba(235, 241, 255, 0.82);
  font-size: 0.93rem;
  line-height: 1.68;
}

.case-more-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 0.15rem;
}

.case-card-more .btn-owht {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border-color: rgba(73, 164, 255, 0.42);
  color: #eff8ff;
  background: linear-gradient(135deg, #1a67ff 0%, #2fb4ff 100%);
  box-shadow: 0 14px 32px rgba(18, 79, 198, 0.28);
}

.case-card-more .btn-owht:hover,
.case-card-more .btn-owht:focus {
  border-color: rgba(143, 217, 255, 0.58);
  color: #f8fbff;
  background: linear-gradient(135deg, #2a78ff 0%, #46c3ff 100%);
  box-shadow: 0 18px 38px rgba(18, 79, 198, 0.34);
}

.case-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 2rem;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
}

.case-img-placeholder-icon {
  font-size: 2rem;
}

.case-img-placeholder-text {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.paths-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.8rem;
}

.paths-header-tag-card {
  width: fit-content;
  margin: 0 auto 1rem;
  border-color: rgba(67, 48, 255, 0.22);
  background: linear-gradient(180deg, #f7f8ff 0%, #eef2ff 100%);
  box-shadow: 0 12px 26px rgba(67, 48, 255, 0.08);
}

.paths-header-tag-card .tag {
  color: #4330ff;
}

.paths-grid {
  gap: 1.5rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.path-card.python {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(13, 18, 32, 0.98) 0%, rgba(16, 24, 40, 0.98) 100%);
}

.path-card.ai {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 255, 0.98) 100%);
}

.path-card-top,
.path-features,
.path-result-badge,
.ai-placeholder {
  padding-left: 1.55rem;
  padding-right: 1.55rem;
}

.path-card-top {
  padding-top: 1.65rem;
  padding-bottom: 1rem;
}

.path-icon,
.path-icon-light {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.path-icon {
  color: #4330ff;
}

.path-icon-light {
  color: #f8fbff;
}

.path-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.path-card.python .path-label {
  color: #d2f436;
}

.path-card.ai .path-label {
  color: #4330ff;
}

.path-title {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.24;
}

.path-card.python .path-title {
  color: #f8fbff;
}

.path-card.ai .path-title {
  color: #111827;
}

.path-desc,
.path-feat {
  font-size: 0.97rem;
  line-height: 1.72;
}

.path-card.python .path-desc,
.path-card.python .path-feat {
  color: rgba(235, 241, 255, 0.76);
}

.path-card.ai .path-desc,
.path-card.ai .path-feat {
  color: #4b5563;
}

.path-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-bottom: 1rem;
}

.path-feat {
  display: flex;
  gap: 0.75rem;
}

.path-feat-ok {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-weight: 700;
}

.path-card.python .path-feat-ok {
  color: #d2f436;
}

.path-card.ai .path-feat-ok {
  color: #4330ff;
}

.code-block {
  margin: 0 1.55rem 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: #0b1020;
}

.code-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #d2f436;
}

.fname,
.code-body,
.c,
.k,
.f,
.s,
.n,
.o {
  font-family: "DM Mono", monospace;
}

.fname {
  color: rgba(235, 241, 255, 0.68);
  font-size: 0.75rem;
}

.code-body {
  padding: 1rem;
  color: rgba(235, 241, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.78;
  overflow-x: auto;
  white-space: pre-wrap;
  tab-size: 2;
}

.c { color: rgba(255, 255, 255, 0.48); }
.k { color: #ff79c6; }
.f { color: #50fa7b; }
.s { color: #f1fa8c; }
.n { color: #bd93f9; }
.o { color: #8be9fd; }

.ai-placeholder {
  padding-bottom: 1.2rem;
}

.ai-chat {
  overflow: hidden;
  border: 1px solid rgba(67, 41, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(247, 249, 255, 0.96);
}

.ai-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4330ff 0%, #6b5cff 100%);
  color: #ffffff;
  font-size: 0.82rem;
}

.ai-chat-name,
.ai-chat-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-chat-name {
  color: #111827;
}

.ai-chat-status {
  margin-left: auto;
  color: #0f9f58;
}

.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.ai-msg {
  max-width: 88%;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.93rem;
  line-height: 1.66;
}

.ai-msg.user {
  margin-left: auto;
  background: linear-gradient(135deg, #4330ff 0%, #5c53ff 100%);
  color: #ffffff;
  border-bottom-right-radius: 0.35rem;
}

.ai-msg.bot {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #374151;
  border-bottom-left-radius: 0.35rem;
}

.ai-msg.bot strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.path-result-badge {
  display: flex;
  gap: 0.85rem;
  margin: 0 1.55rem 0.95rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
}

.path-card.python .path-result-badge {
  border: 1px solid rgba(46, 230, 255, 0.16);
  background: rgba(46, 230, 255, 0.08);
}

.path-card.ai .path-result-badge {
  border: 1px solid rgba(67, 41, 255, 0.12);
  background: rgba(67, 41, 255, 0.04);
}

.path-result-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.path-result-text {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.66;
}

.path-result-text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.path-card.python .path-result-text {
  color: rgba(235, 241, 255, 0.82);
}

.path-card.python .path-result-text strong {
  color: #8fe8ff;
}

.path-card.ai .path-result-text {
  color: #4b5563;
}

.path-card.ai .path-result-text strong {
  color: #4330ff;
}

.path-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding: 0 1.55rem 1.55rem;
}

.path-card .path-actions .home3-inline-link {
  margin-top: 0;
  padding-top: 0;
  color: #1d84ff;
  font-size: 0.9rem;
}

.path-card .path-actions .home3-inline-link:hover,
.path-card .path-actions .home3-inline-link:focus {
  color: #56b6ff;
}

.impact-intro {
  max-width: 36rem;
  margin-bottom: 2.8rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.impact-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.65rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.impact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 41, 255, 0.14);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.impact-card::after {
  content: attr(data-n);
  position: absolute;
  right: 1rem;
  bottom: -0.55rem;
  color: rgba(17, 24, 39, 0.04);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
}

.impact-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.impact-title {
  margin-bottom: 0.7rem;
  color: #111827;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.35;
}

.impact-body {
  color: #4b5563;
  font-size: 0.96rem;
  line-height: 1.72;
}

.impact-tag {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.impact-tag.blue {
  color: #4330ff;
  background: rgba(67, 41, 255, 0.07);
  border: 1px solid rgba(67, 41, 255, 0.12);
}

.impact-tag.teal {
  color: #0e93aa;
  background: rgba(46, 230, 255, 0.09);
  border: 1px solid rgba(46, 230, 255, 0.14);
}

.impact-tag.green {
  color: #5b7f00;
  background: rgba(189, 227, 0, 0.12);
  border: 1px solid rgba(189, 227, 0, 0.18);
}

.design-space-cta-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.design-space-page .cta-eyebrow,
.design-space-page .btn-wht,
.design-space-page .btn-owht,
.design-space-page .cta-h2 {
  font-family: "Inter", var(--sans);
}

.design-space-page .cta-h2 {
  max-width: 38rem;
  font-weight: 700;
}

.design-space-page .cta-body {
  max-width: 39rem;
  color: #4b5563;
  font-size: 1rem;
}

@media (max-width: 1199.98px) {
  .design-space-hero-content {
    width: min(42rem, calc(100% - 1.4rem));
  }

  .cases-grid,
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-grid .impact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .design-space-hero {
    padding-top: 0;
  }

  .design-space-hero-shell {
    min-height: auto;
    padding: 4.3rem 1.25rem 1.8rem;
  }

  .design-space-hero-grid {
    min-height: 42rem;
  }

  .design-space-hero-content {
    width: min(39rem, calc(100% - 1rem));
    padding: 4rem 1.5rem 3.5rem;
  }

  .design-space-coverage-shell {
    width: min(44rem, 100%);
  }

  .design-space-coverage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cov-item:nth-child(2) {
    border-right: none;
  }

  .cov-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .prob-grid,
  .cases-header,
  .paths-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid .impact-card:last-child {
    grid-column: auto;
  }

  .cv-row {
    align-items: flex-start;
  }

  .cv-row-label {
    width: 8.8rem;
  }
}

@media (max-width: 767.98px) {
  .design-space-hero-shell {
    padding: 3.8rem 1rem 1.25rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .design-space-hero-grid {
    min-height: 37rem;
  }

  .design-space-hero-content {
    width: 100%;
    padding: 3.25rem 1rem 2.8rem;
  }

  .design-space-hero-actions,
  .design-space-page .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .design-space-hero-actions .home3-hero-cta,
  .design-space-hero-actions .workflow-secondary-cta {
    width: 100%;
  }

  .design-space-coverage-shell {
    width: 100%;
  }

  .design-space-coverage-strip {
    grid-template-columns: 1fr;
  }

  .cov-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cov-item:last-child {
    border-bottom: none;
  }

  .coverage-visual,
  .impact-card,
  .path-card,
  .case-card {
    border-radius: 1.15rem;
  }

  .cv-row {
    flex-direction: column;
  }

  .cv-row-label {
    width: auto;
  }

  .case-top,
  .path-card-top,
  .path-features,
  .path-result-badge,
  .path-actions,
  .ai-placeholder,
  .impact-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .case-top,
  .impact-card {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .case-desc {
    min-height: 0;
  }

  .case-more-body {
    gap: 1.25rem;
    padding: 1.25rem 1.25rem 0.85rem;
  }

  .case-more-grid {
    grid-template-columns: 1fr;
  }

  .case-more-actions {
    justify-content: stretch;
  }

  .case-card-more .btn-owht {
    width: 100%;
  }

  .code-block,
  .path-result-badge {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }
}
