/* Pricing & account-access refinement — Crestwell, October 2026.
   Loaded after previous styles, scoped to pricing and sign-in only. */

/* A confident editorial introduction; pricing lives in the real plan cards. */
.cw-page[data-page="pricing"]{background:#f8f4f1;color:#3b1724}
.cw-page[data-page="pricing"] .cw-hero--pricing{
  position:relative;isolation:isolate;overflow:hidden;
  background:#eee4db!important;
  padding:clamp(78px,8vw,116px) 0 clamp(128px,11vw,174px)!important;
  color:#421629!important;
}
.cw-page[data-page="pricing"] .cw-hero--pricing:before{
  content:"";position:absolute;inset:16px;border:1px solid rgba(249,229,232,.12);
  pointer-events:none;z-index:0
}
.cw-page[data-page="pricing"] .cw-hero--pricing .wrap{
  position:relative;z-index:2;max-width:1180px;
}
.cw-page[data-page="pricing"] .cw-hero--pricing .heritage-watermark{
  width:min(49vw,630px);height:min(49vw,630px);right:-100px;top:-140px;
  opacity:.13;pointer-events:none;color:#e3bac5;
}
.cw-page[data-page="pricing"] .cw-hero--pricing .cw-eyebrow{
  color:#693449!important;font-size:.74rem;letter-spacing:.23em;
  font-weight:750;margin:0 0 26px
}
.cw-page[data-page="pricing"] .cw-hero--pricing .cw-display{
  color:#421629!important;max-width:960px;
  font-size:clamp(3.05rem,6.3vw,6.45rem)!important;
  line-height:1.045!important;letter-spacing:-.04em;
  text-wrap:balance;
}
.cw-page[data-page="pricing"] .cw-hero--pricing .cw-display em{
  color:#86435a!important;font-style:italic!important;font-weight:400
}
.cw-page[data-page="pricing"] .cw-hero--pricing .cw-lead{
  color:#624552!important;font-size:clamp(1.05rem,1.5vw,1.25rem);
  line-height:1.68;max-width:690px;margin:30px 0 0!important;
}
.cw-page[data-page="pricing"] .cw-pricing-band{display:none!important}

/* One deliberate overlap makes the offer choice the focal point. */
.cw-page[data-page="pricing"] > .cw-section--cream{
  background:linear-gradient(180deg,#f7f1ef,#f9f6f3 70%);
  padding:0 0 clamp(76px,8vw,118px)!important;
}
.cw-page[data-page="pricing"] > .cw-section--cream > .wrap{position:relative;z-index:3;max-width:1180px}
.cw-page[data-page="pricing"] .cw-offer-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;align-items:stretch;margin-top:-76px;
}
.cw-page[data-page="pricing"] .cw-offer-grid .cw-offer{
  position:relative;min-width:0;min-height:510px!important;
  border-radius:13px!important;
  padding:clamp(32px,3.8vw,51px)!important;
  box-shadow:0 18px 55px rgba(43,12,23,.09);
  display:flex;flex-direction:column;
}
.cw-page[data-page="pricing"] .cw-offer--clean{
  background:#fffefa!important;color:#371928!important;
  border:1px solid #e7d5d4!important;
}
.cw-page[data-page="pricing"] .cw-offer--prem{
  background:linear-gradient(155deg,#5b1c36,#3c1126 70%)!important;
  color:#fff!important;border:1px solid #57243c!important;
}
.cw-page[data-page="pricing"] .cw-offer .cw-kicker{
  font-family:Arial,Helvetica,sans-serif;
  font-size:.72rem;letter-spacing:.18em;line-height:1.45;
  font-weight:750;color:#8d415a!important;
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-kicker{color:#f0c8d4!important}
.cw-page[data-page="pricing"] .cw-offer .cw-h2{
  font-size:clamp(2.5rem,4.1vw,4.05rem);
  line-height:1.07;letter-spacing:-.03em;
  margin:22px 0 6px!important;color:#421629!important
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-h2{color:#fff!important}
.cw-page[data-page="pricing"] .cw-offer .cw-price{
  font-size:clamp(2.65rem,3.6vw,3.65rem)!important;
  letter-spacing:-.03em;line-height:1.1;margin:20px 0 0!important;
  color:#441628!important
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-price{color:#fff!important}
.cw-page[data-page="pricing"] .cw-offer .cw-price small{
  font:500 .9rem/1.6 Arial,Helvetica,sans-serif;
  letter-spacing:0;color:#816974
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-price small{color:#edcbd7}
.cw-page[data-page="pricing"] .cw-offer>p.cw-muted{
  font-size:1rem;line-height:1.55;margin-top:14px;color:#6c4c56!important;
}
.cw-page[data-page="pricing"] .cw-offer--prem>p.cw-muted{color:#f3dce4!important}
.cw-page[data-page="pricing"] .cw-benefits{
  margin-top:24px;padding-top:12px;border-top:1px solid rgba(68,22,40,.16);
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-benefits{border-top-color:rgba(255,255,255,.24)}
.cw-page[data-page="pricing"] .cw-benefits li{
  font-size:.96rem;line-height:1.55;padding:10px 6px 10px 25px;
  color:#4d3440
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-benefits li{color:#f6e5ec!important}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-benefits li:before{color:#f1c0d2}
.cw-page[data-page="pricing"] .cw-offer-foot{margin-top:auto;padding-top:32px}
.cw-page[data-page="pricing"] .cw-offer-foot .cw-btn{
  border-radius:7px;min-height:53px;
  font-weight:700;font-size:.92rem;padding:15px 26px;
  text-align:center
}
.cw-page[data-page="pricing"] .cw-offer--clean .cw-offer-foot .cw-btn{
  background:#541a32;border-color:#541a32;color:#fff
}
.cw-page[data-page="pricing"] .cw-offer--clean .cw-offer-foot .cw-btn:hover{background:#74314c}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-offer-foot .cw-btn{
  background:#fff7f5;border-color:#fff7f5;color:#43182c
}
.cw-page[data-page="pricing"] .cw-offer--prem .cw-offer-foot .cw-btn:hover{background:#f1dce2}
.cw-page[data-page="pricing"] .cw-section-head{margin-top:clamp(55px,7vw,96px)!important;max-width:900px}
.cw-page[data-page="pricing"] .cw-section-head .cw-eyebrow{color:#904c61}
.cw-page[data-page="pricing"] .cw-section-head .cw-h2{color:#421629}
.cw-page[data-page="pricing"] .cw-compare{
  background:#fff;border:1px solid #e9dade;border-collapse:separate;border-spacing:0;
  border-radius:10px;overflow:hidden;
}
.cw-page[data-page="pricing"] .cw-compare th{background:#eee0e2;color:#4f2133}
.cw-page[data-page="pricing"] .cw-compare tr:last-child td{border-bottom:0}
.cw-page[data-page="pricing"] .cw-callout{
  border-left:3px solid #853b57;background:#f1e5e6;border-radius:0 9px 9px 0;
}
.cw-page[data-page="pricing"] > .cw-section:not(.cw-section--cream){background:#fffcfa}

/* Account form: eliminate narrow fields and cramped password input wrappers. */
.cw-page[data-page="workspace"] .cw13-access-panel{min-width:0}
.cw-page[data-page="workspace"] .cw13-form-inner{
  box-sizing:border-box;width:100%;max-width:630px;margin-inline:auto;
}
.cw-page[data-page="workspace"] .cw13-form{
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:21px;width:100%;min-width:0;
}
.cw-page[data-page="workspace"] .cw13-form label:not(.cw8-check){
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:9px;width:100%;min-width:0;margin:0;
  font-size:.86rem;line-height:1.45;color:#4b2837;
}
.cw-page[data-page="workspace"] .cw13-form :is(input:not([type="checkbox"]),select){
  box-sizing:border-box!important;display:block!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:auto!important;min-height:56px!important;
  padding:14px 16px!important;font:400 1rem/1.45 Arial,Helvetica,sans-serif!important;
  color:#321523!important;background:#fff!important;
  border:1px solid #cdb9be!important;border-radius:8px!important;
  appearance:auto;
}
.cw-page[data-page="workspace"] .cw13-form :is(input,select):focus-visible{
  outline:3px solid rgba(146,67,94,.27)!important;outline-offset:2px!important;
  border-color:#8c405d!important;
}
.cw-page[data-page="workspace"] .cw13-form .cw13-password-wrap{
  box-sizing:border-box!important;display:block!important;
  width:100%!important;min-width:0!important;position:relative!important;
}
.cw-page[data-page="workspace"] .cw13-form .cw13-password-wrap>input{
  width:100%!important;padding-right:86px!important;
}
.cw-page[data-page="workspace"] .cw13-form .cw13-reveal{
  position:absolute!important;right:9px!important;top:50%!important;
  transform:translateY(-50%);min-height:38px;
  padding:0 10px;white-space:nowrap;z-index:1;
}
.cw-page[data-page="workspace"] .cw13-form .cw13-guardian{width:100%;min-width:0;box-sizing:border-box}
.cw-page[data-page="workspace"] .cw13-form label.cw8-check{
  display:flex!important;flex-direction:row;align-items:flex-start;gap:12px;
  width:100%;font-size:.87rem;line-height:1.55;
}
.cw-page[data-page="workspace"] .cw13-form label.cw8-check>input[type="checkbox"]{
  width:19px!important;min-width:19px!important;min-height:19px!important;
  height:19px!important;flex:0 0 19px;
}
.cw-page[data-page="workspace"] .cw13-submit{
  width:100%;min-height:56px;border-radius:8px;
  margin-top:4px;font-size:.94rem;
}
.cw-page[data-page="workspace"] .cw13-account-switch button{
  min-height:48px;font-size:.85rem;
}
.cw-page[data-page="workspace"] .cw13-form input::placeholder{color:#897780;opacity:1}

/* The separate family portal login must also be comfortably sized. */
.portal-login .login-form,.portal-login .login-form .field{width:100%;min-width:0}
.portal-login .login-form .input{
  display:block;box-sizing:border-box;width:100%!important;max-width:none!important;
  min-height:54px;font-size:1rem;
}
@media(max-width:960px){
  .cw-page[data-page="pricing"] .cw-hero--pricing{
    padding:clamp(70px,9vw,95px) 0 113px!important;
  }
  .cw-page[data-page="pricing"] .cw-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:-57px}
  .cw-page[data-page="pricing"] .cw-offer-grid .cw-offer{padding:29px!important}
  .cw-page[data-page="pricing"] .cw-offer .cw-h2{font-size:clamp(2.2rem,4.4vw,3.4rem)}
}
@media(max-width:700px){
  .cw-page[data-page="pricing"] .cw-hero--pricing{padding:67px 0 90px!important}
  .cw-page[data-page="pricing"] .cw-hero--pricing .cw-display{font-size:clamp(2.85rem,10vw,4.2rem)!important}
  .cw-page[data-page="pricing"] .cw-hero--pricing .cw-lead{font-size:1.02rem;line-height:1.6;margin-top:25px!important}
  .cw-page[data-page="pricing"] .cw-hero--pricing .heritage-watermark{opacity:.06}
  .cw-page[data-page="pricing"] .cw-offer-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:-42px}
  .cw-page[data-page="pricing"] .cw-offer-grid .cw-offer{min-height:0!important;padding:30px!important}
  .cw-page[data-page="pricing"] .cw-offer-foot .cw-btn{width:100%}
  .cw-page[data-page="pricing"] .cw-section-head{margin-top:56px!important}
  .cw-page[data-page="workspace"] .cw13-form-inner{padding-inline:24px}
}
@media(max-width:380px){
  .cw-page[data-page="workspace"] .cw13-form-inner{padding-inline:18px}
  .cw-page[data-page="workspace"] .cw13-account-switch{gap:3px}
  .cw-page[data-page="workspace"] .cw13-account-switch button{font-size:.76rem}
  .cw-page[data-page="pricing"] .cw-offer-grid .cw-offer{padding:25px!important}
}
@media(prefers-reduced-motion:reduce){
  .cw-page[data-page="pricing"] .cw-offer-foot .cw-btn{transition:none}
}
