.ds-hero {
  position: relative;
  overflow: hidden;
}
.ds-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #dfffb2 0,
    rgba(223, 255, 178, 0.3) 33%,
    transparent 68%
  );
}
.ds-hero .inner-hero-grid {
  position: relative;
}
.ds-hero h1 {
  max-width: 760px;
}
.ds-actions {
  margin-top: 26px;
}
.ds-cta-eyebrow {
  color: #97938c;
}
.ds-console {
  overflow: hidden;
  border: 1px solid #2e2e2e;
  border-radius: 22px;
  color: #f6f6f1;
  background: #111;
  box-shadow: 0 28px 70px rgba(28, 35, 17, 0.18);
}
.ds-console-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #2b2b2b;
  color: #8f8f8f;
  font-size: 11px;
}
.ds-console-bar span {
  display: flex;
  gap: 6px;
}
.ds-console-bar i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #454545;
}
.ds-console-bar i:first-child {
  background: #c7ff66;
}
.ds-console-bar em {
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ds-terminal {
  padding: 19px;
}
.ds-terminal p {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 12px;
  margin: 0;
  padding: 15px 3px;
  border-bottom: 1px solid #282828;
}
.ds-terminal b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #444;
  border-radius: 7px;
  color: #c7ff66;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ds-terminal span {
  font-size: 14px;
  font-weight: 700;
}
.ds-terminal small {
  color: #878787;
  font-size: 11px;
}
.terminal-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding: 12px;
  border-radius: 10px;
  background: #202020;
  color: #fff;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.terminal-result em {
  margin-left: auto;
  color: #8f8f8f;
  font-style: normal;
  font-size: 10px;
}
.terminal-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7ff66;
  box-shadow: 0 0 0 5px rgba(199, 255, 102, 0.1);
  animation: pulse 1.7s ease-in-out infinite;
}

.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.verdict-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.verdict-card span,
.sample-caption span {
  display: inline-flex;
  margin-bottom: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.verdict-card h3 {
  max-width: 430px;
  font-size: 27px;
}
.verdict-card p {
  margin: 0;
  color: #625f59;
}
.verdict-good {
  background: #efffd7;
}
.verdict-good span {
  color: #3f5e16;
  background: #d9ffa0;
}
.verdict-watch {
  background: #fff0df;
}
.verdict-watch span {
  color: #86511d;
  background: #ffdbb6;
}
.verification-note {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #dcd9d2;
  border-radius: 16px;
  background: #fff;
}
.verification-note img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}
.verification-note strong {
  display: block;
  margin-bottom: 4px;
}
.verification-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.related-workflow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #b8d78b;
  border-radius: 18px;
  color: #344020;
  background: #f0fadf;
  box-shadow: 0 10px 28px rgba(70, 100, 34, 0.08);
}
.related-workflow img {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: #d8f5a8;
}
.related-workflow > div {
  min-width: 0;
}
.related-workflow .eyebrow {
  margin: 0 0 6px;
  color: #45641d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.related-workflow p:last-child {
  margin: 0;
  color: #344020;
  font-size: 16px;
  line-height: 1.6;
}
.related-workflow .text-link {
  color: #294d0b;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.model-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.model-context > div {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--canvas);
}
.model-context h3 {
  font-size: 24px;
}
.model-context p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.price-table thead th {
  color: #6f6b65;
  background: #f4f2ee;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}
.price-table tbody th {
  font-size: 14px;
}
.price-table td {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.cost-example {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}
.cost-example > div {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #fff;
}
.cost-example span,
.cost-example small {
  margin-bottom: 7px;
  color: var(--soft-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cost-example strong {
  font-size: 23px;
  line-height: 1.1;
}
.cost-example > div:not(:first-child) strong {
  font-size: 31px;
}
.cost-example em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.feedback-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feedback-ledger article {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--canvas);
}
.feedback-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
}
.feedback-top a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sentiment {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.sentiment.positive {
  color: #35601c;
  background: #dcffc3;
}
.sentiment.mixed {
  color: #6b5a18;
  background: #fff2ac;
}
.sentiment.caution {
  color: #844f26;
  background: #ffe0c6;
}
.feedback-ledger h3 {
  font-size: 25px;
}
.feedback-ledger p {
  color: var(--muted);
  font-size: 14px;
}
.workflow-meaning {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #55514b;
  font-size: 13px;
}
.workflow-meaning strong {
  color: var(--ink);
}
.feedback-summary {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  margin-top: 18px;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background: #171717;
}
.feedback-summary strong {
  color: #c7ff66;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 11px;
}
.feedback-summary p {
  margin: 0;
  color: #d1d1cc;
}

.stack-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stack-flow article {
  position: relative;
  min-height: 245px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.stack-flow article:nth-child(2),
.stack-flow article:nth-child(5) {
  background: var(--lavender);
}
.stack-flow article:nth-child(3),
.stack-flow article:nth-child(6) {
  background: var(--mint);
}
.stack-flow article > span {
  position: absolute;
  right: 18px;
  top: 16px;
  color: #aaa69e;
  font:
    11px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.stack-flow img {
  width: 43px;
  height: 43px;
  margin-bottom: 43px;
}
.stack-flow h3 {
  font-size: 20px;
}
.stack-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.setup-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
  padding: 31px;
  border: 1px solid #303030;
  border-radius: 20px;
  color: #fff;
  background: #171717;
}
.setup-box h3 {
  font-size: 29px;
}
.setup-box p {
  color: #bbb;
}
.setup-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}
.setup-box li {
  counter-increment: setup;
  position: relative;
  padding: 10px 0 10px 40px;
  border-bottom: 1px solid #333;
  color: #d0d0cb;
  font-size: 13px;
}
.setup-box li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #111;
  background: #c7ff66;
  font-size: 10px;
  font-weight: 800;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sample-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.sample-stage {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.sample-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #151713;
}
.sample-caption {
  padding: 22px 24px 25px;
}
.sample-caption span {
  margin-bottom: 14px;
  color: #555;
  background: #f0eee9;
}
.sample-caption h3 {
  font-size: 22px;
}
.sample-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.sample-kinetic {
  color: #f8f7f2;
  background: #141414;
}
.sample-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.17) 1px, transparent 1px);
  background-size: 42px 42px;
}
.kinetic-index {
  position: absolute;
  left: 6%;
  top: 7%;
  color: #c7ff66;
  font:
    10px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.14em;
}
.kinetic-copy {
  position: absolute;
  left: 6%;
  top: 23%;
  display: flex;
  flex-direction: column;
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.77;
  font-size: clamp(28px, 5vw, 62px);
}
.kinetic-copy span {
  animation: kinetic-in 6s ease-in-out infinite;
}
.kinetic-copy strong {
  color: #c7ff66;
  animation: kinetic-in 6s 0.18s ease-in-out infinite both;
}
.kinetic-copy em {
  color: #959595;
  font-style: normal;
  animation: kinetic-in 6s 0.36s ease-in-out infinite both;
}
.kinetic-copy b {
  animation: kinetic-in 6s 0.54s ease-in-out infinite both;
}
.kinetic-rule {
  position: absolute;
  width: 7px;
  right: 9%;
  top: 19%;
  bottom: 17%;
  background: #c7ff66;
  transform-origin: top;
  animation: rule-grow 6s ease-in-out infinite;
}
.sample-kinetic small {
  position: absolute;
  right: 9%;
  bottom: 8%;
  color: #858585;
  font:
    9px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.sample-data {
  color: #152015;
  background: #efffd7;
}
.data-kicker {
  position: absolute;
  left: 7%;
  top: 7%;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.data-number {
  position: absolute;
  left: 7%;
  top: 18%;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.data-number span {
  font-size: clamp(55px, 9vw, 104px);
  font-weight: 850;
  letter-spacing: -0.09em;
  line-height: 0.8;
}
.data-number small {
  width: 80px;
  margin-bottom: 4px;
  color: #4d6442;
  font-size: 11px;
  line-height: 1.15;
}
.data-bars {
  position: absolute;
  right: 7%;
  bottom: 18%;
  width: 48%;
  height: 66%;
  display: flex;
  align-items: flex-end;
  gap: 7%;
  border-bottom: 1px solid #90ac77;
}
.data-bars i {
  flex: 1;
  height: var(--h);
  background: #20291d;
  transform-origin: bottom;
  animation: bars-up 5.5s ease-in-out infinite;
}
.data-bars i:nth-child(2) {
  animation-delay: 0.12s;
}
.data-bars i:nth-child(3) {
  animation-delay: 0.24s;
}
.data-bars i:nth-child(4) {
  animation-delay: 0.36s;
}
.data-bars i:nth-child(5) {
  animation-delay: 0.48s;
  background: #2683e2;
}
.data-axis {
  position: absolute;
  right: 7%;
  bottom: 11%;
  width: 48%;
  display: flex;
  justify-content: space-around;
  color: #68815a;
  font:
    9px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.data-note {
  position: absolute;
  left: 7%;
  bottom: 8%;
  color: #4d6442;
  font-size: 10px;
}
.scorecard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scorecard article {
  min-height: 210px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.scorecard span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 38px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  font-size: 10px;
}
.scorecard h3 {
  font-size: 19px;
}
.scorecard p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.limits-grid article {
  padding: 24px;
  border-left: 3px solid #f0a65a;
  background: #fff5e9;
}
.limits-grid h3 {
  font-size: 18px;
}
.limits-grid p {
  margin: 0;
  color: #6a6055;
  font-size: 13px;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.source-links strong {
  flex-basis: 100%;
  margin-bottom: 5px;
  font-size: 13px;
}
.source-links a {
  padding: 7px 10px;
  border-radius: 8px;
  color: #55514b;
  background: #f2f0ec;
  font-size: 11px;
}
.source-links a:hover {
  color: var(--accent);
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}
@keyframes kinetic-in {
  0%,
  10% {
    opacity: 0;
    transform: translateY(28px);
  }
  22%,
  76% {
    opacity: 1;
    transform: translateY(0);
  }
  90%,
  100% {
    opacity: 0;
    transform: translateY(-15px);
  }
}
@keyframes rule-grow {
  0%,
  12% {
    transform: scaleY(0);
  }
  28%,
  78% {
    transform: scaleY(1);
  }
  94%,
  100% {
    transform: scaleY(0);
  }
}
@keyframes bars-up {
  0%,
  12% {
    transform: scaleY(0.05);
    opacity: 0.3;
  }
  27%,
  78% {
    transform: scaleY(1);
    opacity: 1;
  }
  94%,
  100% {
    transform: scaleY(0.05);
    opacity: 0.3;
  }
}

@media (max-width: 900px) {
  .verdict-grid,
  .model-context,
  .feedback-ledger,
  .sample-grid,
  .setup-box {
    grid-template-columns: 1fr;
  }
  .stack-flow,
  .scorecard,
  .limits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cost-example {
    grid-template-columns: 1fr 1fr;
  }
  .cost-example > div:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 620px) {
  .stack-flow,
  .scorecard,
  .limits-grid,
  .cost-example {
    grid-template-columns: 1fr;
  }
  .cost-example > div:first-child {
    grid-column: auto;
  }
  .feedback-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .related-workflow {
    gap: 13px;
    padding: 18px;
  }
  .related-workflow img {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .related-workflow p:last-child {
    font-size: 15px;
  }
  .price-table th,
  .price-table td {
    padding: 15px 13px;
    white-space: nowrap;
  }
  .price-table td {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-pulse,
  .kinetic-copy span,
  .kinetic-copy strong,
  .kinetic-copy em,
  .kinetic-copy b,
  .kinetic-rule,
  .data-bars i {
    animation: none;
  }
}
