/* demo-pro-1028 — professional polish for /demo/ only.
   Linked only from demo/index.html. Does not touch shared header/nav. */

/* ----- Hero: Apple/Linear breathing room ----- */
.page-hero.demo-hero{
  padding:clamp(1.75rem,4vw,2.75rem) 0 clamp(1.25rem,3vw,1.85rem) !important;
  background:linear-gradient(180deg,#FFFCF7 0%,#FAF6EE 100%);
}
.page-hero.demo-hero .wrap{
  max-width:52rem;
}
.page-hero.demo-hero .eyebrow{
  display:inline-block;
  margin:0 0 .85rem;
  padding-bottom:.55rem;
  border-bottom:1px solid #C9A55A;
  letter-spacing:.18em;
  font-size:.72rem;
  font-weight:700;
  color:#7E5F1F;
}
.page-hero.demo-hero .lede{
  max-width:38rem;
  margin:.85rem 0 0;
  font-size:clamp(1rem,1.6vw,1.12rem);
  line-height:1.6;
  color:#4A4338;
  letter-spacing:.005em;
}

/* ----- Stage card: Stripe/Ramp elevation ----- */
.demo-walk{
  padding:0 0 clamp(3rem,6vw,4.25rem);
  background:linear-gradient(180deg,#FAF6EE 0%,#F5EFE2 100%);
}
.demo-walk .wrap{max-width:1080px}
.dw{
  max-width:1040px;
  margin:0 auto;
  background:#FFFFFF;
  border:1px solid #E6D7B4;
  border-radius:22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.85) inset,
    0 2px 4px rgba(60,45,15,.04),
    0 18px 40px -20px rgba(60,45,15,.28),
    0 48px 80px -40px rgba(60,45,15,.22);
  overflow:hidden;
}

/* Soft gold hairline under stage */
.dw-stage{
  position:relative;
  outline:none;
}
.dw-stage::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#E8D9B8 15%,#E8D9B8 85%,transparent);
  pointer-events:none;
  z-index:2;
}

/* ----- Image: soft depth, no hard crop feel ----- */
.dw-fig{
  margin:0;
  background:#F0E6D2;
  aspect-ratio:3/2;
  overflow:hidden;
  position:relative;
}
@media (min-width:860px){
  .dw-slide{grid-template-columns:1.2fr .8fr;min-height:460px}
  .dw-fig{aspect-ratio:auto;min-height:100%}
}
.dw-fig img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
}
.dw-fig::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(31,27,20,.04) 0%,transparent 28%),
    linear-gradient(180deg,transparent 55%,rgba(31,27,20,.18) 100%);
  pointer-events:none;
}
@media (min-width:860px){
  .dw-fig::after{
    background:
      linear-gradient(90deg,transparent 40%,rgba(255,252,247,.08) 78%,rgba(255,252,247,.55) 100%),
      linear-gradient(180deg,transparent 70%,rgba(31,27,20,.08) 100%);
  }
}

/* ----- Copy panel: Linear-like type rhythm ----- */
.dw-copy{
  padding:clamp(1.6rem,3.2vw,2.45rem) clamp(1.5rem,3vw,2.35rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#FFFCF7;
  gap:0;
}
.dw-step{
  display:inline-flex;
  align-self:flex-start;
  align-items:center;
  font-size:.82rem !important;
  font-weight:700 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase;
  color:#7A5A1E !important;
  background:#F7EDD8 !important;
  border:1px solid #C9A55A !important;
  border-radius:999px;
  padding:.35rem .95rem !important;
  margin:0 0 .85rem !important;
}
.dw-h{
  margin:0 0 .7rem !important;
  font-family:var(--serif,"Cormorant Garamond",Georgia,serif);
  font-weight:500;
  font-size:clamp(1.55rem,2.8vw,2.15rem) !important;
  color:#1F1B14;
  letter-spacing:-.015em;
  line-height:1.18;
}
.dw-p{
  margin:0 0 .85rem;
  color:#3A3226;
  font-size:clamp(1.02rem,1.4vw,1.1rem);
  line-height:1.62;
  max-width:36ch;
}
.dw-p:last-child{margin-bottom:0}
.dw-p strong{color:#1F1B14;font-weight:650}

/* ----- Progress track (Stripe-style thin bar) ----- */
.dw-progress{
  height:3px;
  background:#F0E6D2;
  width:100%;
  overflow:hidden;
}
.dw-progress-fill{
  display:block;
  height:100%;
  width:9.09%;
  background:linear-gradient(90deg,#C9A55A,#9C7A3C);
  border-radius:0 2px 2px 0;
  transition:width .35s cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion:reduce){
  .dw-progress-fill{transition:none}
}

/* ----- Controls: clearer primary Next ----- */
.dw-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.85rem;
  padding:1rem 1.15rem 1.15rem;
  border-top:none;
  background:linear-gradient(180deg,#FFFCF7 0%,#FAF6EE 100%);
  position:relative;
  z-index:46;
}
.dw-dots{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:.45rem;
  flex:1;
}
/* Apple-style elongated active pill */
.dw-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:1px solid #B08A3E;
  background:transparent;
  padding:0;
  cursor:pointer;
  transition:width .25s ease, background .2s ease, border-color .2s ease;
}
.dw-dot[aria-selected="true"]{
  width:26px;
  background:#C9A45C;
  border-color:#7E5F1F;
}
.dw-dot:focus-visible{
  outline:2px solid #7E5F1F;
  outline-offset:3px;
}
.dw-prev,.dw-next{
  min-width:7.75rem;
  min-height:2.75rem;
  font-weight:600;
  letter-spacing:.02em;
  border-radius:999px;
}
.dw-next.btn-gold,
.dw-next{
  box-shadow:0 8px 18px -10px rgba(126,95,31,.55);
}
.dw-prev.btn-ghost,
.dw-prev{
  border-color:#D4C4A0;
  color:#4A4338;
  background:transparent;
}
.dw-hint{
  padding:.15rem 1.25rem .35rem;
  margin:0;
  text-align:center;
  font-size:.82rem;
  letter-spacing:.02em;
}
.dw-disclaimer{
  padding:.15rem 1.25rem 1.35rem;
  margin:0;
  text-align:center;
  max-width:52rem;
  margin-left:auto;
  margin-right:auto;
  font-size:.8rem;
  line-height:1.5;
  color:#6A6358;
}
@media (max-width:520px){
  .dw-controls{flex-wrap:wrap;padding:.9rem .9rem 1rem}
  .dw-prev,.dw-next{flex:1 1 42%}
  .dw-dots{order:3;flex:1 1 100%;padding-top:.4rem}
}
@media (max-width:768px){
  .demo-walk{padding-bottom:calc(3.5rem + 64px + env(safe-area-inset-bottom,0px))}
  .dw-controls{scroll-margin-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
}

/* ----- End CTA: Ramp/Stripe hierarchy ----- */
.demo-cta-band{
  padding:clamp(2.75rem,6vw,4.25rem) 0;
  background:linear-gradient(180deg,#FFFCF7 0%,#F8F2E6 60%,#F3EBDA 100%);
  border-top:1px solid #E3D3AE;
  border-bottom:1px solid #E3D3AE;
}
.demo-cta-band .wrap{max-width:1080px}
.demo-cta-band h2{
  font-family:var(--serif,"Cormorant Garamond",Georgia,serif);
  font-weight:500;
  font-size:clamp(1.6rem,3.4vw,2.35rem);
  color:#1F1B14;
  letter-spacing:-.015em;
  margin:0 0 1.75rem;
  max-width:22ch;
  line-height:1.18;
}
.demo-cta-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.35rem;
}
@media (max-width:860px){
  .demo-cta-actions{grid-template-columns:1fr;gap:1rem}
}
.demo-cta-card{
  background:#FFFFFF;
  border:1px solid #E8D9B8;
  border-radius:16px;
  padding:1.45rem 1.45rem 1.55rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 16px 32px -24px rgba(60,45,15,.4);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.7rem;
  transition:transform .2s ease, box-shadow .2s ease;
}
.demo-cta-card:first-child{
  border-top:3px solid #C9A55A;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 40px -22px rgba(126,95,31,.45);
}
@media (hover:hover){
  .demo-cta-card:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 40px -22px rgba(60,45,15,.45);
  }
}
@media (prefers-reduced-motion:reduce){
  .demo-cta-card{transition:none}
  .demo-cta-card:hover{transform:none}
}
.demo-cta-card .eyebrow{
  margin:0;
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#7E5F1F;
  font-weight:700;
}
.demo-cta-card .btn{
  width:100%;
  justify-content:center;
  text-align:center;
  min-height:2.75rem;
  border-radius:999px;
  font-weight:650;
}
.demo-cta-card .free-file-note{
  margin:.1rem 0 0;
  font-size:.88rem;
  line-height:1.5;
  color:#4F4A40;
}
.demo-cta-more{
  margin:1.5rem 0 0;
  font-size:.95rem;
  color:#4F4A40;
}
.demo-cta-more a{
  color:#7E5F1F;
  font-weight:600;
  text-decoration:underline;
  text-decoration-color:#C9A45C;
  text-underline-offset:.18em;
}

