/* Pricing-page experiment: inputs become a scoped project plan. */
.pricing-intro { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: var(--ax-space-16); }
.pricing-intro-copy > p { max-width: 480px; margin-top: var(--ax-space-6); color: var(--ax-muted); }
.pricing-intro-copy > .button { margin-top: var(--ax-space-8); }
.estimate-figure { min-width: 0; margin: 0; }
.estimate-scene { position: relative; aspect-ratio: 1.65; overflow: hidden; border: 1px solid var(--ax-line); border-radius: var(--ax-radius-md); background-color: var(--ax-stone); background-image: linear-gradient(color-mix(in srgb, var(--ax-ink) 4%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ax-ink) 4%, transparent) 1px, transparent 1px); background-size: 24px 24px; }
.estimate-input { position: absolute; left: 6%; width: 32%; height: 12%; display: flex; align-items: center; gap: var(--ax-space-2); padding-inline: var(--ax-space-3); border: 1px solid var(--ax-line); border-radius: var(--ax-radius-sm); background: var(--ax-paper); font-size: 14px; font-weight: 500; }
.estimate-input::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; background: var(--ax-orange); }
.estimate-input:nth-of-type(1) { top: 20%; --estimate-delay: 0s; }
.estimate-input:nth-of-type(2) { top: 44%; --estimate-delay: .5s; }
.estimate-input:nth-of-type(3) { top: 68%; --estimate-delay: 1s; }
.estimate-wires { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ax-control-border); stroke-width: 1; }
.estimate-wires path { vector-effect: non-scaling-stroke; }
.estimate-signal { stroke: var(--ax-orange); stroke-width: 2; opacity: 0; }
.estimate-plan { position: absolute; top: 14%; left: 54%; width: 40%; height: 72%; display: flex; flex-direction: column; justify-content: center; padding: var(--ax-space-6); background: var(--ax-paper); border: 1px solid var(--ax-control-border); border-radius: var(--ax-radius-sm); }
.estimate-plan-title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.estimate-plan-title::before { content: ''; display: block; width: 20px; height: 4px; margin-bottom: var(--ax-space-4); background: var(--ax-orange); }
.estimate-plan-rows { display: grid; gap: var(--ax-space-3); margin-top: var(--ax-space-6); }
.estimate-plan-row { display: flex; gap: var(--ax-space-2); align-items: center; font-size: 14px; line-height: 1.4; }
.estimate-plan-row svg { width: 16px; height: 16px; color: var(--ax-action); }
.estimate-caption { margin-top: var(--ax-space-3); font-size: 12px; line-height: 1.6; color: var(--ax-muted); }
.is-running .estimate-input { animation: estimate-input .5s cubic-bezier(.22, 1, .36, 1) var(--estimate-delay) both; }
.is-running .estimate-signal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: estimate-connect 1.2s ease .4s both; }
.is-running .estimate-signal:nth-child(2) { animation-delay: .9s; }
.is-running .estimate-signal:nth-child(3) { animation-delay: 1.4s; }
.is-running .estimate-plan { animation: estimate-document .6s ease 1.8s both, estimate-settle .8s ease 3.6s; }
.is-running .estimate-plan-row { animation: estimate-input .5s ease 2.3s both; }
.is-running .estimate-plan-row:nth-child(2) { animation-delay: 2.7s; }
.is-running .estimate-plan-row:nth-child(3) { animation-delay: 3.1s; }
@keyframes estimate-input { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes estimate-connect { 0% { opacity: 0; stroke-dashoffset: 1; } 20% { opacity: 1; } 75% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes estimate-document { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes estimate-settle { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ax-orange) 18%, transparent); } }
@media (max-width: 1050px) {
  .pricing-intro { gap: var(--ax-space-8); }
  .estimate-plan { padding: var(--ax-space-4); }
  .estimate-plan-title { font-size: 18px; }
  .estimate-plan-rows { gap: var(--ax-space-2); margin-top: var(--ax-space-4); }
  .estimate-input, .estimate-plan-row { font-size: 12px; }
}
@media (max-width: 850px) {
  .pricing-intro { grid-template-columns: 1fr; }
  .pricing-intro-copy > p { max-width: 610px; }
  .estimate-figure { width: min(100%, 580px); }
  .estimate-input, .estimate-plan-row { font-size: 14px; }
  .estimate-plan { padding: var(--ax-space-6); }
  .estimate-plan-title { font-size: 20px; }
}
@media (max-width: 450px) {
  .estimate-input { font-size: 12px; padding-inline: var(--ax-space-2); gap: var(--ax-space-1); }
  .estimate-plan { padding: var(--ax-space-3); }
  .estimate-plan-title { font-size: 16px; }
  .estimate-plan-title::before { margin-bottom: var(--ax-space-2); }
  .estimate-plan-row { font-size: 12px; gap: var(--ax-space-1); }
  .estimate-plan-rows { gap: var(--ax-space-2); margin-top: var(--ax-space-3); }
  .estimate-plan-row svg { width: 12px; height: 12px; }
}
@media (max-width: 360px) {
  .estimate-scene { aspect-ratio: 1.4; }
  .estimate-input { width: 35%; padding-inline: var(--ax-space-1); font-size: 12px; }
  .estimate-plan { padding: var(--ax-space-2); }
  .estimate-plan-title { font-size: 14px; }
  .estimate-plan-rows { margin-top: var(--ax-space-2); }
}
@media (prefers-reduced-motion: reduce) {
  .estimate-figure * { animation: none !important; }
}
