/* Product demonstrations and pricing */
.hero { grid-template-columns: .9fr 1.16fr; gap: clamp(33px, 6vw, 88px); padding-block: 60px 44px; }
.hero h1 { font-size: clamp(57px, 7.2vw, 103px); line-height: .95; }
.hero .hero-price { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; }
.hero-price strong { color: var(--ink); }
.hero-price > span { width: 3px; height: 3px; border-radius: 50%; background: #7a8d81; }
.catalog { padding-block: 83px 91px; }
.catalog .section-heading { align-items: end; }
.catalog .section-heading p { max-width: 320px; }
.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 23px; }
.theme-research { --panel: #edf3eb; --panel-line: #d4e3d3; --accent: #275943; --stage-back: #142f28; --stage-glow: #335b47; --deck-line: #cdddcf; --deck-fill: #f2f8ef; --back-card: #7faa8d; --far-card: #5c846c; }
.theme-valuation { --panel: #edf0f6; --panel-line: #d9e0ef; --accent: #3c527c; --stage-back: #212d48; --stage-glow: #495b86; --deck-line: #ced9ec; --deck-fill: #f3f6fb; --back-card: #8e9fc7; --far-card: #6678a0; }
.theme-funds { --panel: #f2f1e5; --panel-line: #e4e1ce; --accent: #535e36; --stage-back: #313b25; --stage-glow: #626b42; --deck-line: #dddfc8; --deck-fill: #f7f7ee; --back-card: #a7ac78; --far-card: #777e55; }
.skill-stack {
  display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(20px, 4vw, 57px); align-items: center;
  padding: clamp(18px,3.2vw,40px); border: 1px solid var(--panel-line); border-radius: 25px; background: var(--panel); scroll-margin-top: 23px;
}
.stack-intro { min-width: 0; }
.stack-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 740; }
.stack-icon { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; border: 1px solid var(--panel-line); border-radius: 9px; color: var(--accent); background: #ffffffb0; }
.stack-icon svg { width: 19px; height: 19px; }
.stack-meta .card-level { margin-left: 2px; color: var(--accent); background: #ffffffbc; border: 1px solid var(--panel-line); }
.stack-intro h3 { max-width: 520px; margin-block: 14px 10px; color: var(--ink); font-size: clamp(27px,4.05vw,57px); line-height: 1; font-weight: 730; letter-spacing: -.066em; }
.stack-intro > p { max-width: 475px; color: var(--muted); line-height: 1.56; }
.stack-use-cases { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 15px 0; list-style: none; color: var(--accent); font-size: 12px; font-weight: 650; }
.stack-use-cases li { display: flex; align-items: center; gap: 5px; }
.stack-use-cases svg { width: 15px; height: 15px; }
.stack-offer { margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--panel-line); }
.stack-offer strong { font-size: 12px; }
.stack-offer p { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.stack-demo {
  position: relative; isolation: isolate; min-width: 0; align-self: stretch; display: grid; grid-template-rows: auto 1fr;
  padding: clamp(13px, 2vw, 25px) clamp(13px, 2.6vw, 34px) 34px; border-radius: 20px; color: #edf4ef;
  background: radial-gradient(ellipse at 78% 2%, var(--stage-glow), var(--stage-back) 73%); overflow: hidden;
}
.stack-demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center,#eff5ee4c 1px,transparent 1.2px); background-size: 19px 19px; mask-image: radial-gradient(ellipse at 80% 80%,#000,transparent 72%); }
.stack-controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 18px; }
.stack-tabs { display: flex; gap: 4px; align-items: center; min-width: 0; }
.stack-tabs button, .stack-next { min-height: 36px; padding: 5px 10px; background: #ffffff0c; color: #f0f5f0; border: 1px solid #ffffff31; border-radius: 7px; font-size: 11px; font-weight: 690; }
.stack-tabs button:hover, .stack-next:hover { background: #ffffff27; }
.stack-tabs button[aria-pressed="true"] { color: #182d25; background: #f1f6ec; border-color: #f1f6ec; }
.stack-next { display: grid; place-items: center; width: 36px; padding: 0; flex: 0 0 auto; }
.stack-next svg { width: 16px; height: 16px; }
.stack-controls :focus-visible { outline-color: #e6f2db; }
.deck { --tilt-x: 0deg; --tilt-y: 0deg; align-self: center; display: grid; margin-inline: 4px 9px; transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .19s ease-out; }
.deck-card {
  position: relative; grid-area: 1/1; min-width: 0; min-height: 260px; padding: clamp(14px,2vw,25px); border: 1px solid var(--deck-line);
  border-radius: 14px; color: #1e3126; background: var(--deck-fill); box-shadow: 0 12px 27px #051a1b4c;
  transition: transform .37s cubic-bezier(.2,.68,.3,1), background .25s;
}
.deck-card[data-depth="0"] { z-index: 3; }
.deck-card[data-depth="1"] { z-index: 2; transform: translate(5px, 8px) rotate(3deg) scale(.987); background: var(--back-card); pointer-events: none; }
.deck-card[data-depth="2"] { z-index: 1; transform: translate(10px, 15px) rotate(5.5deg) scale(.97); background: var(--far-card); pointer-events: none; }
.deck-card[aria-hidden="true"] .deck-card-content { visibility: hidden; }
.deck-label { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--accent); font-size: 9px; line-height: 1.2; font-weight: 760; letter-spacing: .105em; text-transform: uppercase; }
.deck-label > span + span { color: #465b50; font-size: 8px; text-align: right; }
.deck-card h4 { margin: 0 0 8px; font-size: clamp(21px,2.42vw,32px); font-weight: 725; line-height: 1.05; letter-spacing: -.053em; }
.deck-card p { margin: 0; color: #41564a; font-size: 13px; line-height: 1.5; }
.stack-steps { padding: 0; margin: 12px 0 0; list-style: none; counter-reset: workflow; }
.stack-steps li { display: flex; align-items: start; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--deck-line); color: #364d41; font-size: 13px; line-height: 1.4; counter-increment: workflow; }
.stack-steps li::before { content: counter(workflow); display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; border: 1px solid var(--deck-line); border-radius: 50%; color: var(--accent); font-size: 10px; font-weight: 750; }
.evidence { padding-top: 7px; margin-top: 8px; border-top: 1px solid var(--deck-line); color: var(--accent); font-size: 10px; font-weight: 660; line-height: 1.35; }
.sample-bars { display: grid; gap: 5px; margin: 10px 0; }
.sample-bars > span { position: relative; display: grid; grid-template-columns: 37px 1fr 54px; align-items: center; gap: 8px; color: #355346; font-size: 10px; }
.sample-bars i { width: var(--bar); height: 7px; border-radius: 999px; background: #72a785; }
.sample-bars span + span i { background: #345b48; }
.sample-bars b { text-align: right; }
.overlap { margin: 11px 0 9px; }
.overlap-bar { height: 9px; border-radius: 999px; overflow: hidden; background: #d9dfc4; }
.overlap-bar span { display: block; width: 48%; height: 100%; background: #768857; }
.overlap-labels { display: flex; justify-content: space-between; gap: 5px; margin-top: 3px; color: #4b593b; font-size: 10px; }
.scenario { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0; }
.scenario-buttons { display: flex; align-items: center; gap: 3px; }
.scenario-buttons button { min-height: 32px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--deck-line); background: #fff; color: #364d73; font-size: 10px; font-weight: 700; }
.scenario-buttons button[aria-pressed="true"] { background: #354d76; color: white; border-color: #354d76; }
.scenario-result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; color: #395278; }
.scenario-result strong { font-size: 17px; font-weight: 760; }
.scenario-result span { font-size: 10px; }

.pricing { padding-block: 76px 83px; border-block: 1px solid #dce7db; background: #edf3e9; }
.pricing .section-heading p { max-width: 300px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.price-card { display: flex; flex-direction: column; padding: clamp(15px,2.5vw,27px); border: 1px solid var(--panel-line); border-radius: 16px; background: #fff; }
.price-card h3 { font-size: 18px; line-height: 1.1; letter-spacing: -.035em; }
.price-card p { margin: 13px 0 18px; color: var(--muted); font-size: 14px; }
.price-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; margin-top: auto; padding-block: 10px; border-top: 1px solid #e5ebe3; }
.price-value strong { font-size: 34px; line-height: 1.15; letter-spacing: -.058em; }
.price-value span { color: var(--muted); font-size: 11px; }
.price-card .button { margin-top: 4px; }
.checkout-state { padding: 8px 11px; border: 1px solid #dce7dc; border-radius: 8px; color: #3b5848; background: #edf4eb; font-size: 13px; font-weight: 700; }

.how { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,5vw,72px); padding-block: 87px; }
.how .workbench { height: clamp(310px,31vw,410px); }
.how-steps { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: how; }
.how-steps li { display: flex; align-items: start; gap: 10px; counter-increment: how; }
.how-steps li::before { content: counter(how); display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border: 1px solid #d8e5d9; border-radius: 7px; color: var(--green); background: #eaf2e7; font-size: 11px; font-weight: 730; }
.how-steps h3 { font-size: 15px; }
.how-steps p { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.final-section { padding-bottom: 74px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px,4vw,49px); border: 1px solid #d5e5d4; border-radius: 21px; background: radial-gradient(ellipse at 80% 0%,#e9f1e2,#e0ecde); }
.final-cta h2 { font-size: clamp(27px,4.15vw,54px); line-height: 1.03; letter-spacing: -.065em; }
.final-cta p { margin-top: 8px; color: var(--muted); }
.final-cta .button { flex: 0 0 auto; }

@media (max-width: 1000px) {
  .hero { gap: 25px; padding-top: 48px; }
  .hero h1 { font-size: clamp(49px,7.45vw,76px); }
  .nav { gap: 20px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 23px; padding-block: 34px 24px; }
  .hero h1 { font-size: clamp(55px,10.4vw,76px); }
  .catalog { padding-block: 54px 56px; }
  .catalog .section-heading { align-items: start; }
  .catalog .section-heading h2 br { display: none; }
  .catalog-grid { gap: 15px; }
  .skill-stack { grid-template-columns: 1fr; gap: 17px; padding: 15px; border-radius: 18px; }
  .stack-intro h3 { font-size: clamp(32px,6.2vw,45px); }
  .stack-intro > p { font-size: 14px; }
  .stack-offer { margin-block: 13px; padding-top: 10px; }
  .stack-demo { border-radius: 14px; }
  .stack-controls { margin-bottom: 13px; }
  .deck-card { min-height: 224px; }
  .pricing { padding-block: 51px 57px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 10px; }
  .price-card { padding: 15px; }
  .price-card p { margin-block: 9px 12px; }
  .how { grid-template-columns: 1fr; padding-block: 54px; }
  .how .workbench { height: clamp(265px,60vw,395px); }
  .final-section { padding-bottom: 55px; }
  .final-cta { align-items: start; flex-direction: column; }
}
@media (max-width: 400px) {
  .stack-tabs button { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck { transform: none; }
}
