/* YourStudyHack premium storefront system · v18 */
:root{
  --v18-navy:#081a33;
  --v18-navy-2:#102a4c;
  --v18-blue:#166fe5;
  --v18-blue-soft:#eaf3ff;
  --v18-orange:#eb650b;
  --v18-teal:#087f7a;
  --v18-ink:#10213a;
  --v18-muted:#5c6d83;
  --v18-line:#dfe6ef;
  --v18-surface:#f4f7fb;
  --v18-card:#ffffff;
  --v18-shadow:0 24px 70px rgba(8,26,51,.12);
}

html{font-size:16px}
.minimal-storefront{
  color:var(--v18-ink);
  font-size:16px;
}
.minimal-storefront p{line-height:1.72}
.minimal-storefront .container{width:min(1240px,calc(100% - 64px))}
.minimal-storefront .nav-wrap{height:80px}
.minimal-storefront .main-nav{font-size:14px}
.minimal-storefront .main-nav>a:not(.nav-whatsapp){padding-top:29px;padding-bottom:25px}
.minimal-storefront .button{min-height:52px;font-size:15px}
.minimal-storefront .brand{
  min-width:218px;
  display:flex;
  align-items:center;
}
.minimal-storefront .brand-logo{
  width:218px;
  height:auto;
  display:block;
}
.minimal-storefront .minimal-footer .brand-logo{width:188px}

/* Premium homepage hero */
.minimal-storefront .minimal-hero{
  padding:clamp(62px,6.5vw,94px) 0 clamp(72px,7vw,104px);
  background:
    radial-gradient(circle at 82% 20%,rgba(65,139,232,.14),transparent 31%),
    radial-gradient(circle at 67% 79%,rgba(235,101,11,.09),transparent 28%),
    linear-gradient(135deg,#fff 0%,#f8fbff 55%,#eef5ff 100%);
}
.minimal-storefront .minimal-hero-grid{
  min-height:590px;
  grid-template-columns:minmax(430px,.86fr) minmax(590px,1.14fr);
  gap:clamp(38px,5vw,78px);
}
.minimal-storefront .minimal-hero-copy h1{
  max-width:650px;
  font-size:clamp(58px,5.8vw,82px);
  line-height:.98;
}
.minimal-storefront .minimal-hero-copy>p{
  max-width:585px;
  margin-top:27px;
  color:var(--v18-muted);
  font-size:18px;
  line-height:1.7;
}
.premium-hero-showcase{
  position:relative;
  min-height:575px;
  display:grid;
  place-items:center;
  perspective:1500px;
  isolation:isolate;
}
.premium-hero-showcase::before{
  content:"";
  position:absolute;
  width:560px;
  height:560px;
  z-index:-2;
  border:1px solid rgba(22,111,229,.11);
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 48%,rgba(255,255,255,.98) 0 43%,rgba(221,235,253,.7) 64%,rgba(221,235,253,0) 71%);
}
.premium-tablet{
  position:relative;
  width:min(100%,600px);
  aspect-ratio:1.31/1;
  padding:14px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:34px;
  background:linear-gradient(145deg,#25364d 0%,#071324 42%,#162a45 100%);
  box-shadow:
    0 55px 90px rgba(8,26,51,.24),
    0 16px 32px rgba(8,26,51,.18),
    inset 0 1px 1px rgba(255,255,255,.28);
  transform:rotateY(-4deg) rotateX(2.2deg) rotateZ(-.5deg);
  transform-style:preserve-3d;
}
.premium-tablet::after{
  content:"";
  position:absolute;
  left:9%;
  right:9%;
  bottom:-30px;
  height:38px;
  z-index:-1;
  border-radius:50%;
  background:rgba(8,26,51,.3);
  filter:blur(20px);
}
.premium-tablet-camera{
  position:absolute;
  top:7px;
  left:50%;
  width:5px;
  height:5px;
  z-index:2;
  border-radius:50%;
  background:#52627a;
  box-shadow:0 0 0 2px #071324;
}
.premium-tablet-screen{
  position:relative;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  background:
    radial-gradient(circle at 76% 18%,rgba(47,140,255,.26),transparent 32%),
    radial-gradient(circle at 16% 83%,rgba(255,133,52,.19),transparent 32%),
    linear-gradient(145deg,#fdfefe 0%,#f1f6fc 55%,#e6effa 100%);
  box-shadow:inset 0 0 0 1px rgba(8,26,51,.06);
}
.premium-screen-kicker{
  position:absolute;
  top:24px;
  left:28px;
  color:#40536d;
  font-size:9px;
  font-weight:850;
  letter-spacing:.18em;
}
.premium-screen-books{
  position:absolute;
  inset:60px 24px 58px;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:1100px;
}
.premium-device-book{
  position:relative;
  width:31%;
  max-width:160px;
  aspect-ratio:9/13;
  display:block;
  transform-style:preserve-3d;
  transition:transform .32s ease,filter .32s ease;
  filter:drop-shadow(0 18px 13px rgba(8,26,51,.18));
}
.premium-device-book img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:2px 5px 5px 2px;
}
.premium-device-book::after{
  content:"";
  position:absolute;
  left:7px;
  right:-5px;
  bottom:-7px;
  height:8px;
  z-index:0;
  border-radius:0 0 4px 2px;
  background:repeating-linear-gradient(0deg,#f7f3ec 0 1px,#d8d4cc 1px 2px);
  transform:skewX(-42deg);
  transform-origin:left top;
}
.premium-book-spine{
  position:absolute;
  top:3px;
  bottom:3px;
  left:-8px;
  width:10px;
  z-index:1;
  border-radius:3px 0 0 3px;
  background:linear-gradient(90deg,#56677c 0%,#d4dde7 40%,#64778e 100%);
  transform:skewY(-35deg);
  transform-origin:right center;
}
.premium-device-memory{
  z-index:1;
  transform:translateX(14px) rotateY(12deg) rotateZ(-4deg) translateY(15px);
}
.premium-device-answering{
  z-index:3;
  transform:translateY(-10px) scale(1.07);
}
.premium-device-biohack{
  z-index:2;
  transform:translateX(-14px) rotateY(-12deg) rotateZ(4deg) translateY(15px);
}
.premium-device-book:hover{
  z-index:5;
  transform:translateY(-18px) scale(1.09);
  filter:drop-shadow(0 25px 18px rgba(8,26,51,.25));
}
.premium-tablet-screen>p{
  position:absolute;
  left:28px;
  right:28px;
  bottom:16px;
  margin:0;
  color:#607087;
  font-size:11px;
  font-weight:750;
  text-align:center;
}
.premium-floating-card{
  position:absolute;
  z-index:6;
  padding:13px 16px;
  display:grid;
  gap:3px;
  border:1px solid rgba(214,224,237,.95);
  border-radius:14px;
  background:rgba(255,255,255,.93);
  box-shadow:0 18px 42px rgba(8,26,51,.15);
  backdrop-filter:blur(14px);
}
.premium-floating-card b{color:var(--v18-ink);font-size:12px}
.premium-floating-card span{color:var(--v18-muted);font-size:10px}
.premium-card-files{left:-4px;top:91px}
.premium-card-delivery{right:-7px;bottom:65px}

/* Premium, standardised product cards */
.minimal-storefront .minimal-products{
  padding:clamp(82px,8vw,118px) 0;
  background:
    linear-gradient(rgba(8,26,51,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(8,26,51,.025) 1px,transparent 1px),
    #f5f8fc;
  background-size:46px 46px;
}
.minimal-storefront .minimal-heading{margin-bottom:46px}
.minimal-storefront .minimal-heading h2{max-width:720px;font-size:clamp(40px,4.5vw,58px)}
.minimal-storefront .minimal-heading>p{max-width:390px;font-size:16px;line-height:1.65}
.minimal-storefront .product-catalog{
  max-width:none;
  gap:24px;
}
.minimal-storefront .product-card{
  min-height:730px;
  border:1px solid rgba(196,208,223,.86);
  border-radius:24px;
  box-shadow:0 10px 30px rgba(8,26,51,.055);
}
.minimal-storefront .product-card:hover{
  transform:translateY(-7px);
  border-color:#bdcce0;
  box-shadow:var(--v18-shadow);
}
.minimal-storefront .product-card-visual{
  min-height:360px;
  padding:48px 28px 30px;
  background:
    radial-gradient(circle at 50% 44%,rgba(255,255,255,.98) 0 29%,rgba(255,255,255,.2) 58%,transparent 70%),
    linear-gradient(145deg,#fbfdff,#edf3fa);
}
.minimal-storefront .product-card-orange .product-card-visual{
  background:radial-gradient(circle at 50% 43%,#fff 0 30%,rgba(255,255,255,.25) 60%,transparent 70%),linear-gradient(145deg,#fffaf4,#f7e8d8);
}
.minimal-storefront .product-card-blue .product-card-visual{
  background:radial-gradient(circle at 50% 43%,#fff 0 30%,rgba(255,255,255,.2) 60%,transparent 70%),linear-gradient(145deg,#f8fbff,#dfeafb);
}
.minimal-storefront .product-card-teal .product-card-visual{
  background:radial-gradient(circle at 50% 43%,#fff 0 30%,rgba(255,255,255,.14) 60%,transparent 70%),linear-gradient(145deg,#f5fbfb,#dceeed);
}
.catalog-book-3d{
  position:relative;
  display:block;
  transform-style:preserve-3d;
}
.catalog-book-3d.catalog-cover-card{
  width:190px;
  aspect-ratio:9/13;
  filter:drop-shadow(0 22px 18px rgba(8,26,51,.2));
  transition:transform .35s ease,filter .35s ease;
}
.catalog-book-3d.catalog-cover-card::after{
  content:"";
  position:absolute;
  left:8px;
  right:-7px;
  bottom:-8px;
  height:9px;
  z-index:0;
  border-radius:0 0 5px 2px;
  background:repeating-linear-gradient(0deg,#fbf8f2 0 1px,#d8d4cc 1px 2px);
  transform:skewX(-42deg);
  transform-origin:left top;
}
.catalog-book-spine{
  position:absolute;
  top:3px;
  bottom:3px;
  left:-10px;
  width:12px;
  z-index:1;
  border-radius:3px 0 0 3px;
  background:linear-gradient(90deg,#53677f,#d9e1ea 42%,#60748c);
  transform:skewY(-35deg);
  transform-origin:right center;
}
.catalog-book-3d .catalog-cover-image{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:2px 5px 5px 2px;
  box-shadow:inset 0 0 0 1px rgba(8,26,51,.08);
}
.minimal-storefront .product-card:hover .catalog-book-3d.catalog-cover-card{
  transform:translateY(-9px) rotateY(-4deg) rotateX(1deg) scale(1.025);
  filter:drop-shadow(0 29px 21px rgba(8,26,51,.24));
}
.minimal-storefront .product-card:hover .catalog-cover-image{transform:none;filter:none}
.minimal-storefront .look-inside{
  bottom:17px;
  padding:8px 13px;
  color:#203550;
  border-color:rgba(189,204,224,.95);
  border-radius:999px;
  font-size:11px;
  box-shadow:0 8px 22px rgba(8,26,51,.08);
}
.minimal-storefront .product-card-copy{
  padding:28px;
  display:grid;
  grid-template-rows:auto auto 1fr auto auto;
}
.minimal-storefront .product-card-copy h3{
  min-height:64px;
  font-size:25px;
  line-height:1.18;
}
.minimal-storefront .product-card-copy>p{
  min-height:76px;
  margin:13px 0 19px;
  display:block;
  color:var(--v18-muted);
  font-size:15px;
  line-height:1.65;
  -webkit-line-clamp:unset;
}
.product-card-receive{
  min-height:128px;
  padding:16px 17px;
  border:1px solid #e1e8f1;
  border-radius:14px;
  background:#f8fafd;
}
.product-card-receive>strong{
  display:block;
  margin-bottom:9px;
  color:#253a55;
  font-size:11px;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.product-card-receive ul{
  margin:0;
  padding:0;
  display:grid;
  gap:7px;
  list-style:none;
}
.product-card-receive li{
  position:relative;
  padding-left:18px;
  color:#4b5e77;
  font-size:13px;
  font-weight:650;
  line-height:1.45;
}
.product-card-receive li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--v18-blue);
  font-weight:900;
}
.product-card-orange .product-card-receive li::before{color:var(--v18-orange)}
.product-card-teal .product-card-receive li::before{color:var(--v18-teal)}
.minimal-storefront .product-price{margin-top:21px;padding-top:18px}
.minimal-storefront .product-price strong{font-size:26px}
.minimal-storefront .product-card-actions{grid-template-columns:1fr}
.minimal-storefront .product-card-actions .button{width:100%}

/* Bundle clarity wherever bundle panels are used */
.minimal-storefront .bundle-books .catalog-book-3d.bundle-cover{
  width:185px;
  height:267px;
  max-width:55%;
  filter:drop-shadow(0 20px 16px rgba(0,0,0,.25));
}
.minimal-storefront .bundle-books .catalog-book-3d.bundle-cover:first-child{transform:translateX(18px) rotate(-3deg)}
.minimal-storefront .bundle-books .catalog-book-3d.bundle-cover:last-child{transform:translateX(-18px) rotate(3deg)}
.minimal-storefront .bundle-books .catalog-cover-image{width:100%;height:100%;object-fit:cover}
.bundle-receive{
  margin-top:22px;
  padding:17px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(255,255,255,.08);
}
.bundle-receive>strong{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.bundle-receive ul{margin:0;padding:0;display:grid;gap:9px;list-style:none}
.bundle-receive li{display:grid;gap:2px}
.bundle-receive li b{color:#fff;font-size:13px}
.bundle-receive li span{color:#b9c7da;font-size:11px;line-height:1.4}

/* About page: real identity and current covers */
.about-polished .about-hero{padding:clamp(68px,7vw,102px) 0}
.about-polished .polished-hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(390px,.72fr)}
.about-polished .polished-hero-copy h1{font-size:clamp(56px,5.8vw,80px);line-height:1.02}
.about-polished .polished-hero-copy>p{max-width:700px;font-size:18px;line-height:1.72}
.about-portrait-card{
  min-height:430px;
  padding:0!important;
  display:grid!important;
  grid-template-rows:1fr auto;
  overflow:hidden;
  border:1px solid #dbe4ef;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 50% 38%,#fff 0 42%,#eef4fb 74%);
  box-shadow:0 30px 70px rgba(8,26,51,.13)!important;
}
.about-portrait-card>img{
  width:100%;
  height:330px;
  display:block;
  object-fit:cover;
  object-position:center 34%;
}
.about-portrait-card>div{
  position:relative;
  z-index:2;
  padding:20px 24px 23px;
  display:grid;
  gap:3px;
  text-align:left;
  background:rgba(255,255,255,.94);
  border-top:1px solid #e4eaf2;
}
.about-portrait-card>div strong{font-size:23px!important}
.about-portrait-card>div small{color:#53657c!important;font-size:13px!important}
.about-portrait-card>div span{margin-top:4px;color:var(--v18-blue);font-size:11px;font-weight:800}
.about-polished .principle-grid article{min-height:220px;padding:30px}
.about-polished .principle-grid h3{font-size:25px}
.about-polished .principle-grid p{font-size:15px}
.about-polished .about-books-section{
  overflow:hidden;
  background:
    radial-gradient(circle at 19% 45%,rgba(45,121,219,.13),transparent 29%),
    linear-gradient(135deg,#f8fbff,#eef4fc);
}
.about-polished .about-books-grid{
  grid-template-columns:minmax(500px,1.08fr) minmax(390px,.92fr);
  gap:clamp(60px,8vw,112px);
}
.about-premium-books{
  position:relative;
  min-height:490px;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:1200px;
}
.about-premium-books::after{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  bottom:35px;
  height:34px;
  border-radius:50%;
  background:rgba(8,26,51,.17);
  filter:blur(20px);
}
.about-book{
  position:relative;
  width:205px;
  aspect-ratio:9/13;
  display:block;
  transform-style:preserve-3d;
  filter:drop-shadow(0 24px 18px rgba(8,26,51,.18));
  transition:transform .34s ease,filter .34s ease;
}
.about-book img{
  position:relative;
  z-index:2;
  width:100%!important;
  height:100%;
  display:block;
  object-fit:cover;
  border:0!important;
  border-radius:2px 6px 6px 2px;
  box-shadow:none!important;
}
.about-book>span{
  position:absolute;
  top:3px;
  bottom:3px;
  left:-12px;
  width:14px;
  z-index:1;
  border-radius:4px 0 0 4px;
  background:linear-gradient(90deg,#4f6177,#d8e0e9 40%,#5d718a);
  transform:skewY(-34deg);
  transform-origin:right center;
}
.about-book::after{
  content:"";
  position:absolute;
  left:8px;
  right:-8px;
  bottom:-9px;
  height:10px;
  background:repeating-linear-gradient(0deg,#faf7f1 0 1px,#d8d4cd 1px 2px);
  transform:skewX(-42deg);
  transform-origin:left top;
}
.about-book-memory{z-index:1;transform:translateX(38px) translateY(24px) rotateY(12deg) rotateZ(-5deg)}
.about-book-answering{z-index:3;transform:translateY(-18px) scale(1.06)}
.about-book-biohack{z-index:2;transform:translateX(-38px) translateY(24px) rotateY(-12deg) rotateZ(5deg)}
.about-book:hover{z-index:5;transform:translateY(-28px) scale(1.08);filter:drop-shadow(0 31px 23px rgba(8,26,51,.25))}
.about-product-summary h2{margin:0 0 24px;font-size:clamp(38px,4vw,52px);line-height:1.08}
.about-product-summary ul{margin:0 0 27px;padding:0;display:grid;gap:11px;list-style:none}
.about-product-summary li{
  padding:15px 16px;
  display:grid;
  gap:4px;
  border:1px solid #dbe5f1;
  border-radius:13px;
  background:rgba(255,255,255,.82);
}
.about-product-summary li b{font-size:14px}
.about-product-summary li span{color:var(--v18-muted);font-size:13px;line-height:1.45}

/* Comfortable type on supporting pages */
.polished-page .polished-heading h2{font-size:clamp(39px,4.2vw,54px)}
.polished-page .polished-heading+p,
.polished-page .faq-list p{font-size:16px}
.faq-polished .faq-hero p{font-size:18px}
.faq-polished .faq-list summary{font-size:17px}
.faq-polished .faq-list p{line-height:1.75}

@media(max-width:1120px){
  .minimal-storefront .minimal-hero-grid{
    grid-template-columns:minmax(370px,.82fr) minmax(500px,1.18fr);
    gap:28px;
  }
  .premium-hero-showcase{min-height:520px}
  .premium-tablet{width:520px}
  .premium-card-files{left:8px}
  .premium-card-delivery{right:8px}
  .minimal-storefront .product-card-copy{padding:24px}
  .about-polished .about-books-grid{grid-template-columns:1fr 1fr;gap:42px}
  .about-book{width:175px}
}

@media(max-width:980px){
  .minimal-storefront .container{width:min(100% - 40px,1240px)}
  .minimal-storefront .minimal-hero-grid{grid-template-columns:1fr;gap:32px;text-align:center}
  .minimal-storefront .minimal-hero-copy{max-width:760px;margin-inline:auto}
  .minimal-storefront .minimal-hero-copy h1{margin-inline:auto}
  .minimal-storefront .minimal-hero-copy>p{margin-left:auto;margin-right:auto}
  .minimal-storefront .minimal-hero-actions{justify-content:center}
  .hero-new-release{margin-inline:auto}
  .premium-hero-showcase{width:min(100%,700px);min-height:545px;margin-inline:auto}
  .premium-tablet{width:min(100%,600px)}
  .minimal-storefront .product-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
  .minimal-storefront .product-card:last-child{width:calc(50% - 12px)}
  .about-polished .polished-hero-grid{grid-template-columns:1fr 390px;gap:35px}
  .about-polished .about-books-grid{grid-template-columns:1fr}
  .about-premium-books{min-height:430px}
  .about-product-summary{max-width:680px;margin-inline:auto;text-align:center}
  .about-product-summary li{text-align:left}
}

@media(max-width:720px){
  html{font-size:15px}
  .minimal-storefront .container{width:min(100% - 28px,1240px)}
  .minimal-storefront .nav-wrap{height:68px}
  .minimal-storefront .minimal-hero{padding:48px 0 58px}
  .minimal-storefront .minimal-hero-copy h1{font-size:46px}
  .minimal-storefront .minimal-hero-copy>p{font-size:16px}
  .premium-hero-showcase{min-height:400px;margin-top:10px}
  .premium-hero-showcase::before{width:390px;height:390px}
  .premium-tablet{width:min(96%,510px);padding:9px;border-radius:24px;transform:rotateY(-2deg) rotateX(1deg)}
  .premium-tablet-screen{border-radius:17px}
  .premium-screen-kicker{top:16px;left:18px;font-size:7px}
  .premium-screen-books{inset:43px 17px 42px}
  .premium-tablet-screen>p{left:14px;right:14px;bottom:10px;font-size:8px}
  .premium-floating-card{padding:9px 11px;border-radius:10px}
  .premium-floating-card b{font-size:9px}
  .premium-floating-card span{font-size:8px}
  .premium-card-files{left:0;top:34px}
  .premium-card-delivery{right:0;bottom:29px}
  .minimal-storefront .minimal-heading h2{font-size:39px}
  .minimal-storefront .minimal-heading>p{font-size:15px}
  .minimal-storefront .product-catalog{grid-template-columns:1fr}
  .minimal-storefront .product-card,
  .minimal-storefront .product-card:last-child{width:100%;min-height:0}
  .minimal-storefront .product-card-copy h3{min-height:0}
  .minimal-storefront .product-card-copy>p{min-height:0}
  .product-card-receive{min-height:0}
  .about-polished .polished-hero-grid{grid-template-columns:1fr}
  .about-polished .polished-hero-copy{text-align:center}
  .about-polished .polished-hero-copy h1{font-size:48px}
  .about-polished .polished-hero-copy .button{width:100%}
  .about-portrait-card{width:min(100%,390px);min-height:0;margin-inline:auto}
  .about-premium-books{min-height:355px}
  .about-book{width:138px}
  .about-book-memory{transform:translateX(25px) translateY(18px) rotateY(9deg) rotateZ(-5deg)}
  .about-book-biohack{transform:translateX(-25px) translateY(18px) rotateY(-9deg) rotateZ(5deg)}
  .about-product-summary h2{font-size:38px}
}

@media(max-width:430px){
  .minimal-storefront .brand{min-width:0}
  .minimal-storefront .brand-logo{width:178px}
  .minimal-storefront .minimal-footer .brand-logo{width:170px}
  .minimal-storefront .minimal-hero-copy h1{font-size:41px}
  .premium-hero-showcase{min-height:320px}
  .premium-hero-showcase::before{width:300px;height:300px}
  .premium-tablet{width:100%}
  .premium-card-files{left:-3px;top:13px}
  .premium-card-delivery{right:-3px;bottom:9px}
  .minimal-storefront .product-card-visual{min-height:325px}
  .catalog-book-3d.catalog-cover-card{width:172px}
  .about-premium-books{min-height:295px}
  .about-book{width:112px}
  .about-product-summary h2{font-size:34px}
}

@media(prefers-reduced-motion:reduce){
  .premium-device-book,
  .catalog-book-3d,
  .about-book{transition:none!important}
}
