/* YourStudyHack site-wide polish — v15 */

.polished-page{
  color:var(--v14-ink);
  background:#fff;
}

.polished-page main{
  overflow:hidden;
}

.polished-kicker{
  display:block;
  margin-bottom:14px;
  color:var(--v14-blue);
  font-size:10px;
  font-weight:850;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.polished-section{
  padding:88px 0;
  background:#fff;
}

.polished-heading{
  max-width:760px;
  margin:0 0 38px;
}

.polished-heading>span{
  display:block;
  margin-bottom:10px;
  color:var(--v14-blue);
  font-size:10px;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.polished-heading h2{
  margin:0;
  font-size:clamp(34px,4.5vw,52px);
  line-height:1.06;
}

/* Product pages */
.product-clean-hero{
  padding:68px 0 58px;
  background:#f7f9fc;
}

.product-blue .product-clean-hero{background:#f4f7ff}
.product-teal .product-clean-hero{background:#f0f8f7}
.product-orange .product-clean-hero{background:#fff6f0}

.product-clean-grid{
  min-height:570px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  align-items:center;
  gap:70px;
}

.product-clean-copy h1{
  max-width:650px;
  margin:0;
  font-size:clamp(48px,6vw,76px);
  line-height:1;
}

.product-clean-copy h1 span{
  color:var(--v14-blue);
}

.product-teal .product-clean-copy h1 span{color:var(--v14-teal)}
.product-orange .product-clean-copy h1 span{color:var(--v14-orange)}

.product-clean-copy>p:not(.coming-soon-note){
  max-width:570px;
  margin:22px 0 27px;
  color:var(--v14-muted);
  font-size:17px;
}

.clean-price{
  margin:0 0 26px;
  display:flex;
  align-items:baseline;
  gap:13px;
}

.clean-price strong{
  font-size:32px;
  letter-spacing:-.04em;
}

.clean-price span{
  color:var(--v14-muted);
  font-size:11px;
  font-weight:650;
}

.clean-actions{
  display:flex;
  align-items:center;
  gap:22px;
}

.clean-assurance{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:9px 20px;
}

.clean-assurance span{
  color:#536074;
  font-size:11px;
  font-weight:750;
}

.product-cover-stage{
  position:relative;
  min-height:520px;
  display:grid;
  place-items:center;
  isolation:isolate;
}

.product-cover-stage:before{
  content:"";
  position:absolute;
  width:455px;
  height:455px;
  z-index:-2;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(13,27,47,.06);
  border-radius:50%;
}

.product-real-cover{
  width:auto;
  height:500px;
  max-width:100%;
  object-fit:contain;
  filter:drop-shadow(0 27px 23px rgba(13,27,47,.16));
  animation:single-cover-float 5.8s ease-in-out infinite;
}

.memory-cover-image{
  height:470px;
  border-radius:5px;
}

.cover-status{
  position:absolute;
  right:18px;
  bottom:42px;
  padding:9px 12px;
  color:var(--v14-ink);
  background:rgba(255,255,255,.94);
  border:1px solid var(--v14-line);
  border-radius:9px;
  box-shadow:0 10px 28px rgba(13,27,47,.09);
  font-size:10px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}

@keyframes single-cover-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}

.coming-soon-label{
  width:max-content;
  margin-bottom:15px;
  padding:6px 9px;
  display:block;
  color:#8a3b14;
  background:#ffe1cf;
  border-radius:7px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.coming-soon-note{
  margin:22px 0 0;
  color:#8b6857;
  font-size:11px;
  font-weight:650;
}

.included-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.included-grid.two-column{
  grid-template-columns:repeat(2,1fr);
}

.included-grid article,
.principle-grid article,
.technique-grid article{
  min-height:220px;
  padding:28px;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:16px;
}

.included-grid article>span,
.principle-grid article>b{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  color:var(--v14-blue);
  background:#edf4ff;
  border-radius:50%;
  font-size:10px;
  font-weight:900;
}

.included-grid h3,
.principle-grid h3,
.technique-grid h3{
  margin:22px 0 8px;
  font-size:23px;
  letter-spacing:-.035em;
}

.included-grid p,
.principle-grid p,
.technique-grid p{
  margin:0;
  color:var(--v14-muted);
  font-size:13px;
}

.included-grid article>b{
  display:inline-block;
  margin-top:22px;
  padding:5px 8px;
  color:#35506f;
  background:#f1f4f8;
  border-radius:6px;
  font-size:9px;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.principle-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.product-teal .principle-grid article>b{
  color:var(--v14-teal);
  background:#e8f6f4;
}

.product-orange .principle-grid article>b{
  color:var(--v14-orange);
  background:#fff0e7;
}

.technique-section{
  background:#f6f7f9;
}

.technique-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.technique-grid article{
  min-height:190px;
}

.wrong-mark,
.right-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:20px;
  font-weight:900;
}

.wrong-mark{color:#bc3030;background:#ffeded}
.right-mark{color:#16764f;background:#e8f7ef}

.benefit-polished-section{
  background:#f6f7f9;
}

.benefit-polished-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:70px;
}

.benefit-polished-grid h2{
  margin:0;
  font-size:clamp(36px,4.5vw,52px);
  line-height:1.06;
}

.benefit-polished-grid ul{
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
  list-style:none;
}

.benefit-polished-grid li{
  padding:17px 18px 17px 48px;
  position:relative;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:11px;
  color:#4c596b;
  font-size:13px;
  font-weight:700;
}

.benefit-polished-grid li:before{
  content:"✓";
  position:absolute;
  left:18px;
  color:var(--v14-teal);
  font-weight:900;
}

.product-bundle-strip{
  padding:58px 0;
  color:#fff;
  background:var(--v14-ink);
}

.product-bundle-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

.product-bundle-inner span{
  display:block;
  margin-bottom:7px;
  color:#9ebbe5;
  font-size:9px;
  font-weight:850;
  letter-spacing:.15em;
}

.product-bundle-inner h2{
  margin:0;
  color:#fff;
  font-size:36px;
}

.product-bundle-inner p{
  margin:7px 0 0;
  color:#aab8cb;
  font-size:12px;
}

.product-bundle-inner .button,
.polished-final-inner .button{
  flex:0 0 auto;
}

.product-bundle-inner .button{
  color:var(--v14-ink);
  background:#fff;
  border-color:#fff;
}

.polished-final-cta{
  padding:70px 0;
  background:#fff;
}

.polished-final-inner{
  padding:38px 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:#f3f6fa;
  border:1px solid var(--v14-line);
  border-radius:18px;
}

.polished-final-inner h2{
  margin:0;
  font-size:32px;
}

.polished-final-inner p{
  margin:6px 0 0;
  color:var(--v14-muted);
  font-size:13px;
}

/* Real pages */
.real-pages-section{
  background:#f6f7f9;
}

.real-page-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.real-page-grid a{
  padding:10px 10px 13px;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:12px;
  transition:transform .2s ease,box-shadow .2s ease;
}

.real-page-grid a:hover{
  transform:translateY(-4px);
  box-shadow:var(--v14-shadow);
}

.real-page-grid img{
  width:100%;
  aspect-ratio:869/1228;
  object-fit:cover;
  object-position:top;
  border:1px solid #edf0f4;
  border-radius:6px;
}

.real-page-grid span{
  display:block;
  padding:10px 3px 0;
  color:#46546a;
  font-size:10px;
  font-weight:800;
  text-align:center;
}

.real-pages-note{
  margin:18px 0 0;
  color:var(--v14-muted);
  font-size:11px;
  text-align:center;
}

/* About */
.polished-hero{
  padding:80px 0;
  background:#f6f8fb;
}

.polished-hero-grid{
  min-height:470px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:70px;
}

.polished-hero-copy h1{
  margin:0;
  font-size:clamp(50px,6vw,76px);
  line-height:1;
}

.polished-hero-copy p{
  max-width:600px;
  margin:23px 0 28px;
  color:var(--v14-muted);
  font-size:17px;
}

.about-identity-card{
  min-height:350px;
  padding:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:22px;
  text-align:center;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:22px;
  box-shadow:var(--v14-shadow);
}

.about-monogram{
  width:150px;
  height:150px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--v14-ink);
  border-radius:50%;
  font-size:38px;
  font-weight:850;
  letter-spacing:-.05em;
}

.about-identity-card strong{
  display:block;
  font-size:25px;
}

.about-identity-card small{
  display:block;
  margin-top:5px;
  color:var(--v14-muted);
  font-size:11px;
}

.about-books-section{
  background:#f6f7f9;
}

.about-books-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:center;
  gap:70px;
}

.about-books-grid img{
  width:100%;
  filter:drop-shadow(0 24px 24px rgba(13,27,47,.12));
}

.about-books-grid h2{
  margin:0;
  font-size:clamp(36px,4.5vw,52px);
  line-height:1.06;
}

.about-books-grid p{
  margin:19px 0 24px;
  color:var(--v14-muted);
  font-size:14px;
}

/* FAQ */
.faq-hero{
  padding:88px 0 58px;
  text-align:center;
  background:#f6f8fb;
}

.faq-hero h1{
  margin:0;
  font-size:clamp(48px,6vw,72px);
  line-height:1;
}

.faq-hero p{
  margin:17px 0 0;
  color:var(--v14-muted);
  font-size:15px;
}

.faq-section{
  padding-top:58px;
}

.faq-list{
  display:grid;
  gap:10px;
}

.faq-list details{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:12px;
}

.faq-list summary{
  position:relative;
  padding:20px 54px 20px 22px;
  cursor:pointer;
  list-style:none;
  color:var(--v14-ink);
  font-size:14px;
  font-weight:800;
}

.faq-list summary::-webkit-details-marker{display:none}

.faq-list summary:after{
  content:"+";
  position:absolute;
  right:20px;
  top:50%;
  translate:0 -50%;
  color:var(--v14-blue);
  font-size:22px;
  font-weight:600;
}

.faq-list details[open] summary:after{content:"−"}

.faq-list details[open] summary{
  border-bottom:1px solid var(--v14-line);
}

.faq-list details p{
  margin:0;
  padding:18px 22px 22px;
  color:var(--v14-muted);
  font-size:13px;
  line-height:1.7;
}

/* Checkout */
.checkout-polished .checkout-main{
  padding:58px 0 72px;
  background:#f5f7fa;
}

.checkout-polished .checkout-header .nav-wrap{
  height:72px;
}

.checkout-polished .checkout-help{
  color:#5a6677;
  font-size:11px;
}

.checkout-polished .checkout-help strong{
  color:var(--v14-blue);
}

.checkout-polished .checkout-shell{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  align-items:start;
  gap:24px;
}

.checkout-polished .checkout-summary,
.checkout-polished .checkout-panel{
  padding:32px;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:18px;
  box-shadow:none;
}

.checkout-polished .checkout-summary h1{
  margin:0;
  font-size:43px;
  line-height:1.04;
}

.checkout-polished .checkout-summary>p{
  margin:12px 0 20px;
  color:var(--v14-muted);
  font-size:13px;
}

.checkout-polished .checkout-back{
  display:inline-block;
  margin-bottom:24px;
  color:#697587;
  font-size:11px;
  font-weight:750;
}

.checkout-polished .checkout-deal-intro{
  margin:0 0 18px;
  padding:11px 13px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#33445c;
  background:#edf4ff;
  border:1px solid #d8e6ff;
  border-radius:10px;
  font-size:11px;
}

.checkout-polished .checkout-deal-intro span{
  padding:4px 6px;
  color:#fff;
  background:var(--v14-blue);
  border-radius:5px;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.checkout-polished .checkout-deal-intro strong{
  font-size:12px;
}

.checkout-polished .checkout-deal-intro b{
  margin-left:auto;
  color:#146845;
  font-size:10px;
}

.checkout-polished .cart-product-options{
  display:grid;
  gap:10px;
}

.checkout-polished .cart-product-option{
  position:relative;
  min-height:112px;
  padding:13px 14px;
  display:grid;
  grid-template-columns:auto 66px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  cursor:pointer;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:12px;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}

.checkout-polished .cart-product-option:hover{
  transform:translateY(-2px);
  border-color:#cbd4df;
}

.checkout-polished .cart-product-option:has(input:checked){
  background:#f5f9ff;
  border-color:var(--v14-blue);
}

.checkout-polished .cart-product-option>input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.checkout-polished .cart-product-check{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  color:transparent;
  background:#fff;
  border:1.5px solid #bdc6d2;
  border-radius:50%;
  font-size:11px;
  font-weight:900;
}

.checkout-polished .cart-product-option>input:checked+.cart-product-check{
  color:#fff;
  background:var(--v14-blue);
  border-color:var(--v14-blue);
}

.cart-book-thumb{
  width:62px;
  height:84px;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.cart-book-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 7px 6px rgba(13,27,47,.13));
}

.checkout-polished .cart-product-copy{
  min-width:0;
}

.checkout-polished .cart-product-copy strong{
  display:block;
  font-size:13px;
  line-height:1.3;
}

.checkout-polished .cart-product-copy small{
  display:block;
  margin-top:4px;
  color:var(--v14-muted);
  font-size:9px;
}

.checkout-polished .cart-product-price{
  font-size:15px;
  white-space:nowrap;
}

.checkout-polished .cart-bundle-saving{
  margin-top:12px;
  padding:11px 13px;
  color:#135f40;
  background:#eaf8f1;
  border:1px solid #ccecdc;
  border-radius:9px;
}

.checkout-polished .checkout-total{
  margin-top:20px;
  padding:18px 0 0;
  border-top:1px solid var(--v14-line);
}

.checkout-polished .checkout-assurance-row{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.checkout-polished .checkout-assurance-row span{
  padding:6px 8px;
  color:#586678;
  background:#f3f5f8;
  border-radius:7px;
  font-size:9px;
  font-weight:750;
}

.checkout-polished .checkout-panel{
  position:sticky;
  top:96px;
}

.checkout-polished .checkout-secure{
  margin-bottom:23px;
  padding:12px;
  background:#eff8f4;
  border:1px solid #d4ece1;
  border-radius:10px;
}

.checkout-polished .checkout-panel h2{
  margin:0;
  font-size:29px;
}

.checkout-polished .checkout-intro{
  margin:8px 0 20px;
  color:var(--v14-muted);
  font-size:12px;
}

.checkout-polished .checkout-field{
  margin-bottom:14px;
}

.checkout-polished .checkout-field>span{
  margin-bottom:6px;
  display:block;
  color:#344258;
  font-size:10px;
  font-weight:800;
}

.checkout-polished .checkout-field input{
  width:100%;
  min-height:48px;
  padding:0 13px;
  color:var(--v14-ink);
  background:#fff;
  border:1px solid #ccd4df;
  border-radius:9px;
  outline:none;
  font-size:13px;
}

.checkout-polished .checkout-field input:focus{
  border-color:var(--v14-blue);
  box-shadow:0 0 0 3px rgba(23,105,232,.1);
}

.checkout-polished .checkout-consent{
  margin:18px 0;
  align-items:flex-start;
}

.checkout-polished .checkout-consent span{
  color:#5e6a7b;
  font-size:10px;
  line-height:1.5;
}

.checkout-polished .checkout-submit{
  width:100%;
}

.checkout-polished .payment-trust{
  margin-top:20px;
}

.checkout-polished .checkout-support{
  margin:18px 0 0;
  color:var(--v14-muted);
  font-size:10px;
  text-align:center;
}

.checkout-polished .checkout-footer{
  padding:24px 0;
  color:#aeb9c8;
  background:var(--v14-ink);
  font-size:10px;
}

.checkout-polished .checkout-footer>.container{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.checkout-polished .payment-result-main{
  min-height:calc(100vh - 134px);
  padding:70px 20px;
  display:grid;
  place-items:center;
  background:#f5f7fa;
}

.checkout-polished .payment-result-card{
  width:min(620px,100%);
  padding:46px;
  text-align:center;
  background:#fff;
  border:1px solid var(--v14-line);
  border-radius:20px;
  box-shadow:var(--v14-shadow);
}

.checkout-polished .payment-result-card h1{
  margin:0;
  font-size:38px;
  line-height:1.08;
}

.checkout-polished .payment-result-card>p{
  margin:14px auto 0;
  color:var(--v14-muted);
  font-size:13px;
}

.checkout-polished .payment-result-card dl{
  margin:25px 0 0;
  padding:16px;
  display:grid;
  gap:10px;
  background:#f5f7fa;
  border-radius:11px;
}

.checkout-polished .payment-result-card dl>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.checkout-polished .payment-result-card dt{
  color:var(--v14-muted);
  font-size:11px;
}

.checkout-polished .payment-result-card dd{
  margin:0;
  font-size:11px;
  font-weight:800;
}

.checkout-polished .payment-result-actions{
  margin-top:25px;
  align-items:center;
  justify-content:center;
  gap:20px;
}

@media(max-width:980px){
  .product-clean-grid,
  .polished-hero-grid{
    grid-template-columns:1fr 1fr;
    gap:35px;
  }

  .product-cover-stage:before{
    width:370px;
    height:370px;
  }

  .product-real-cover{
    height:420px;
  }

  .about-books-grid{
    gap:35px;
  }

  .real-page-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .checkout-polished .checkout-shell{
    grid-template-columns:1fr;
  }

  .checkout-polished .checkout-panel{
    position:static;
  }
}

@media(max-width:720px){
  .polished-section{
    padding:66px 0;
  }

  .polished-heading{
    margin-bottom:28px;
  }

  .polished-heading h2{
    font-size:37px;
  }

  .product-clean-hero{
    padding:48px 0 38px;
  }

  .product-clean-grid,
  .polished-hero-grid,
  .about-books-grid,
  .benefit-polished-grid{
    min-height:0;
    grid-template-columns:1fr;
    gap:34px;
    text-align:center;
  }

  .product-clean-copy h1,
  .polished-hero-copy h1{
    margin-inline:auto;
    font-size:46px;
  }

  .product-clean-copy>p:not(.coming-soon-note),
  .polished-hero-copy p{
    margin-inline:auto;
    font-size:15px;
  }

  .clean-price,
  .clean-actions,
  .clean-assurance{
    justify-content:center;
  }

  .product-cover-stage{
    min-height:400px;
  }

  .product-cover-stage:before{
    width:330px;
    height:330px;
  }

  .product-real-cover,
  .memory-cover-image{
    height:370px;
  }

  .cover-status{
    right:8px;
    bottom:25px;
  }

  .coming-soon-label{
    margin-inline:auto;
  }

  .principle-grid,
  .included-grid,
  .included-grid.two-column,
  .technique-grid{
    grid-template-columns:1fr;
  }

  .included-grid article,
  .principle-grid article,
  .technique-grid article{
    min-height:0;
    padding:24px;
    text-align:left;
  }

  .product-bundle-inner,
  .polished-final-inner{
    display:block;
    text-align:center;
  }

  .product-bundle-inner .button,
  .polished-final-inner .button{
    width:100%;
    margin-top:22px;
  }

  .polished-final-cta{
    padding:52px 0;
  }

  .polished-final-inner{
    padding:30px 22px;
  }

  .about-identity-card{
    min-height:300px;
  }

  .about-books-grid img{
    max-width:560px;
    margin:auto;
  }

  .benefit-polished-grid ul{
    text-align:left;
  }

  .faq-hero{
    padding:65px 0 45px;
  }

  .faq-hero h1{
    font-size:48px;
  }

  .checkout-polished .checkout-main{
    padding:30px 0 50px;
  }

  .checkout-polished .checkout-summary,
  .checkout-polished .checkout-panel{
    padding:23px 18px;
  }

  .checkout-polished .checkout-summary h1{
    font-size:36px;
  }

  .checkout-polished .cart-product-option{
    grid-template-columns:auto 56px minmax(0,1fr);
  }

  .cart-book-thumb{
    width:54px;
    height:72px;
  }

  .checkout-polished .cart-product-price{
    grid-column:3;
    margin-top:-6px;
    font-size:13px;
  }
}

@media(max-width:430px){
  .product-clean-copy h1,
  .polished-hero-copy h1{
    font-size:40px;
  }

  .clean-actions,
  .clean-price{
    align-items:stretch;
    flex-direction:column;
    gap:10px;
  }

  .clean-actions .button,
  .clean-actions .quiet-link{
    width:100%;
    justify-content:center;
  }

  .product-cover-stage{
    min-height:340px;
  }

  .product-cover-stage:before{
    width:285px;
    height:285px;
  }

  .product-real-cover,
  .memory-cover-image{
    height:315px;
  }

  .real-page-grid{
    grid-template-columns:1fr;
  }

  .about-monogram{
    width:120px;
    height:120px;
  }

  .checkout-polished .checkout-help{
    font-size:0;
  }

  .checkout-polished .checkout-help strong{
    font-size:10px;
  }

  .checkout-polished .checkout-deal-intro{
    flex-wrap:wrap;
  }

  .checkout-polished .checkout-deal-intro b{
    width:100%;
    margin-left:0;
  }

  .checkout-polished .checkout-footer>.container{
    align-items:center;
    flex-direction:column;
    text-align:center;
  }
}

@media(prefers-reduced-motion:reduce){
  .product-real-cover{
    animation:none!important;
  }
}
