/* ChemiHack Memory Hack launch */

.hero-new-release{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  margin:0 0 18px;
  color:#8a3b05;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}
.hero-new-release span{
  padding:5px 8px;
  border-radius:999px;
  background:#ffdfb8;
  color:#783000;
  font-size:9px;
  letter-spacing:.12em;
}
.hero-new-release b{font-size:15px}
.hero-new-release:hover{color:#c34e02}

.hero-real-books-three{
  width:min(100%,520px);
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  align-items:end;
}
.hero-real-books-three .hero-real-book{
  width:185px;
  max-width:none;
  min-width:0;
}
.hero-real-books-three .hero-real-book img{
  width:100%;
  height:auto;
  aspect-ratio:9/13;
  object-fit:cover;
}
.hero-real-books-three .hero-memory-cover{
  z-index:1;
  transform:rotate(-4deg) translate(18px,14px);
}
.hero-real-books-three .hero-answering-cover{
  z-index:3;
  transform:translateY(-13px) scale(1.04);
}
.hero-real-books-three .hero-biohack-cover{
  z-index:2;
  transform:rotate(4deg) translate(-18px,17px);
}
.hero-memory-cover>span{
  position:absolute;
  top:-10px;
  left:12px;
  z-index:2;
  padding:6px 9px;
  border-radius:999px;
  background:#e96608;
  color:#fff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.12em;
  box-shadow:0 8px 18px rgba(130,50,0,.24);
}

.minimal-storefront .product-catalog{
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:1180px;
}
.minimal-storefront .product-card-visual{
  min-height:285px;
}
.minimal-storefront .product-card-orange .product-card-visual,
.minimal-storefront .product-card-visual.product-card-orange{
  background:linear-gradient(145deg,#fff9f2,#ffead8);
}
.minimal-storefront .product-card-orange .button{
  background:#c95005;
  border-color:#c95005;
}
.minimal-storefront .product-card-orange .button:hover{
  background:#a94003;
  border-color:#a94003;
}

.memory-launch-page{
  --memory-orange:#d95805;
  --memory-orange-dark:#a83d00;
  --memory-cream:#fff7ed;
  --memory-soft:#ffead7;
}
.memory-launch-page .memory-orange-button{
  background:var(--memory-orange);
  border-color:var(--memory-orange);
}
.memory-launch-page .memory-orange-button:hover{
  background:var(--memory-orange-dark);
  border-color:var(--memory-orange-dark);
}

.memory-launch-hero{
  overflow:hidden;
  padding:clamp(58px,7vw,96px) 0 clamp(70px,8vw,116px);
  background:
    radial-gradient(circle at 84% 22%,rgba(255,181,112,.26),transparent 28%),
    linear-gradient(180deg,#fffaf5,#fff);
}
.memory-launch-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.72fr);
  gap:clamp(52px,8vw,118px);
  align-items:center;
}
.memory-launch-copy{max-width:690px}
.memory-launch-labels{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
}
.memory-launch-labels span{
  padding:7px 10px;
  border-radius:999px;
  background:var(--memory-orange);
  color:#fff;
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
}
.memory-launch-labels b{
  color:#7c4a2d;
  font-size:11px;
  letter-spacing:.13em;
}
.memory-launch-copy h1{
  max-width:760px;
  margin:0;
  color:var(--ysh-navy,#0b1f3a);
  font-size:clamp(45px,5.6vw,76px);
  font-weight:800;
  line-height:1.02;
  letter-spacing:-.055em;
}
.memory-launch-copy h1 span{color:var(--memory-orange)}
.memory-launch-lead{
  max-width:650px;
  margin:25px 0 0;
  color:var(--ysh-muted,#607087);
  font-size:clamp(17px,1.6vw,20px);
  line-height:1.68;
}
.memory-launch-points{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:28px 0 0;
  padding:0;
  list-style:none;
}
.memory-launch-points li{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border:1px solid #f0d8c3;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 22px rgba(68,31,6,.05);
}
.memory-launch-points strong{
  color:var(--memory-orange);
  font-size:17px;
}
.memory-launch-points span{
  color:#4f5e72;
  font-size:12px;
  font-weight:750;
}
.memory-launch-price{
  display:flex;
  gap:11px;
  align-items:baseline;
  margin-top:30px;
}
.memory-launch-price strong{
  color:var(--ysh-navy,#0b1f3a);
  font-size:38px;
  line-height:1;
}
.memory-launch-price span{
  color:var(--ysh-muted,#607087);
  font-size:12px;
}
.memory-launch-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}
.memory-launch-actions .button{min-width:190px}
.memory-launch-delivery{
  margin:13px 0 0;
  color:#6f7d90;
  font-size:12px;
}

.memory-launch-cover-wrap{
  position:relative;
  width:min(100%,430px);
  margin-inline:auto;
  padding:26px 34px 34px;
}
.memory-launch-cover-wrap::before{
  content:'';
  position:absolute;
  inset:10% 2% 2%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(233,102,8,.21),rgba(233,102,8,0) 68%);
  filter:blur(8px);
}
.memory-launch-cover{
  position:relative;
  z-index:1;
  overflow:hidden;
  border:1px solid rgba(70,32,4,.18);
  border-radius:8px;
  background:#fff;
  box-shadow:0 34px 72px rgba(69,31,5,.24),0 8px 22px rgba(69,31,5,.12);
  transform:rotate(1.2deg);
}
.memory-launch-cover img{
  display:block;
  width:100%;
  height:auto;
}
.memory-cover-chip{
  position:absolute;
  z-index:2;
  padding:9px 12px;
  border:1px solid rgba(11,31,58,.1);
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:var(--ysh-navy,#0b1f3a);
  font-size:11px;
  font-weight:800;
  box-shadow:0 11px 24px rgba(11,31,58,.13);
}
.memory-cover-chip.chip-pdf{top:15%;left:-5%}
.memory-cover-chip.chip-video{right:-5%;bottom:29%}
.memory-cover-chip.chip-hacks{left:-2%;bottom:10%;background:var(--memory-orange);color:#fff;border-color:var(--memory-orange)}

.memory-value-section,
.memory-method-section,
.memory-video-section,
.memory-preview-section,
.memory-fit-section,
.memory-faq-section{
  padding:clamp(70px,8vw,116px) 0;
}
.memory-section-heading{
  max-width:760px;
  margin:0 auto clamp(34px,5vw,56px);
  text-align:center;
}
.memory-section-heading.compact{
  max-width:620px;
  margin-inline:0;
  text-align:left;
}
.memory-section-heading>span{
  display:block;
  margin-bottom:12px;
  color:var(--memory-orange);
  font-size:11px;
  font-weight:850;
  letter-spacing:.15em;
}
.memory-section-heading h2{
  margin:0;
  color:var(--ysh-navy,#0b1f3a);
  font-size:clamp(34px,4.4vw,56px);
  line-height:1.07;
  letter-spacing:-.045em;
}
.memory-section-heading p{
  max-width:650px;
  margin:17px auto 0;
  color:var(--ysh-muted,#607087);
  font-size:16px;
  line-height:1.7;
}
.memory-section-heading.compact p{margin-inline:0}

.memory-value-section{background:#fff}
.memory-value-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.memory-value-grid article{
  position:relative;
  min-height:300px;
  padding:30px;
  border:1px solid #e3e9f0;
  border-radius:21px;
  background:#fff;
  box-shadow:0 14px 40px rgba(11,31,58,.07);
}
.memory-value-grid article>span{
  position:absolute;
  top:25px;
  right:27px;
  color:#a7b3c2;
  font-size:11px;
  font-weight:800;
}
.memory-value-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin-bottom:28px;
  border-radius:15px;
  background:var(--memory-soft);
  color:var(--memory-orange-dark);
  font-size:13px;
  font-weight:850;
}
.memory-value-grid h3{
  margin:0 0 12px;
  color:var(--ysh-navy,#0b1f3a);
  font-size:22px;
  line-height:1.25;
}
.memory-value-grid p{
  margin:0;
  color:var(--ysh-muted,#607087);
  font-size:14px;
  line-height:1.7;
}

.memory-method-section{
  background:linear-gradient(180deg,#fff8f0,#fffdf9);
}
.memory-method-flow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.memory-method-flow article{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:24px;
  border:1px solid #f0d8c3;
  border-radius:18px;
  background:rgba(255,255,255,.88);
}
.memory-method-flow article>b{
  flex:0 0 39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--memory-orange);
  color:#fff;
}
.memory-method-flow h3{
  margin:1px 0 7px;
  color:var(--ysh-navy,#0b1f3a);
  font-size:19px;
}
.memory-method-flow p{
  margin:0;
  color:var(--ysh-muted,#607087);
  font-size:13px;
  line-height:1.6;
}

.memory-video-section{background:#0b1f3a}
.memory-video-layout{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:clamp(42px,7vw,94px);
  align-items:start;
}
.memory-video-section .memory-section-heading{
  position:sticky;
  top:110px;
  margin:0;
  text-align:left;
}
.memory-video-section .memory-section-heading>span{color:#ffad69}
.memory-video-section .memory-section-heading h2{color:#fff}
.memory-video-section .memory-section-heading p{margin-inline:0;color:#b9c8d9}
.memory-chapter-list{
  display:grid;
  gap:10px;
}
.memory-intro-row,
.memory-chapter-list article{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:15px;
  align-items:center;
  padding:17px 18px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.06);
  color:#fff;
}
.memory-intro-row{background:rgba(233,102,8,.2);border-color:rgba(255,173,105,.35)}
.memory-intro-row>span,
.memory-chapter-list article>span{
  min-width:46px;
  color:#ffb87d;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
}
.memory-intro-row strong,
.memory-chapter-list article strong{
  display:block;
  font-size:14px;
  line-height:1.45;
}
.memory-chapter-list article small{
  display:block;
  margin-top:4px;
  color:#9fb1c5;
  font-size:11px;
}
.memory-intro-row>b,
.memory-chapter-list article>b{
  color:#dbe7f3;
  font-size:11px;
  white-space:nowrap;
}

.memory-preview-section{background:#f5f8fc}
.memory-preview-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
}
.memory-preview-grid a{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #dbe4ee;
  border-radius:17px;
  background:#fff;
  color:var(--ysh-navy,#0b1f3a);
  text-decoration:none;
  box-shadow:0 12px 34px rgba(11,31,58,.08);
  transition:transform .18s ease,box-shadow .18s ease;
}
.memory-preview-grid a:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(11,31,58,.14);
}
.memory-preview-grid img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:top;
  background:#eef3f8;
}
.memory-preview-grid span{
  padding:14px 16px;
  font-size:12px;
  font-weight:800;
}

.memory-fit-section{background:#fff}
.memory-fit-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:clamp(38px,7vw,94px);
  align-items:center;
}
.memory-fit-grid .memory-section-heading{margin:0}
.memory-fit-grid ul{
  display:grid;
  gap:13px;
  margin:0;
  padding:0;
  list-style:none;
}
.memory-fit-grid li{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:19px 20px;
  border:1px solid #dfe7ef;
  border-radius:15px;
  color:#42536b;
  line-height:1.55;
}
.memory-fit-grid li b{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf8f3;
  color:#168759;
}

.memory-faq-section{background:#fff9f2}
.memory-faq-layout{
  display:grid;
  grid-template-columns:minmax(230px,.55fr) minmax(0,1.45fr);
  gap:clamp(38px,7vw,94px);
  align-items:start;
}
.memory-faq-layout .memory-section-heading{margin:0}
.memory-faq-list{
  border-top:1px solid #ead6c3;
}
.memory-faq-list details{
  border-bottom:1px solid #ead6c3;
}
.memory-faq-list summary{
  position:relative;
  padding:20px 42px 20px 0;
  color:var(--ysh-navy,#0b1f3a);
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
.memory-faq-list summary::-webkit-details-marker{display:none}
.memory-faq-list summary::after{
  content:'+';
  position:absolute;
  top:16px;
  right:4px;
  font-size:24px;
  font-weight:500;
}
.memory-faq-list details[open] summary::after{content:'−'}
.memory-faq-list p{
  margin:0;
  padding:0 42px 20px 0;
  color:var(--ysh-muted,#607087);
  font-size:14px;
  line-height:1.7;
}

.memory-final-cta{
  padding:clamp(58px,7vw,86px) 0;
  background:linear-gradient(135deg,#8e3200,#d95805);
  color:#fff;
}
.memory-final-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
}
.memory-final-inner>div:first-child{max-width:720px}
.memory-final-inner span{
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
}
.memory-final-inner h2{
  margin:10px 0 9px;
  color:#fff;
  font-size:clamp(32px,4vw,52px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.memory-final-inner p{
  margin:0;
  color:#ffe0c6;
  font-size:14px;
}
.memory-final-inner>div:last-child{
  display:flex;
  flex-direction:column;
  gap:15px;
  align-items:flex-end;
}
.memory-final-inner>div:last-child>strong{
  font-size:35px;
}

@media (max-width:1040px){
  .hero-real-books-three .hero-real-book{width:160px}
  .memory-launch-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.68fr);gap:46px}
  .memory-value-grid{gap:13px}
  .memory-value-grid article{padding:25px}
}

@media (max-width:900px){
  .minimal-storefront .product-catalog{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:900px;
  }
  .minimal-storefront .product-card:last-child{
    grid-column:1/-1;
    width:min(100%,441px);
    justify-self:center;
  }
  .memory-launch-grid,
  .memory-video-layout,
  .memory-fit-grid,
  .memory-faq-layout{
    grid-template-columns:1fr;
  }
  .memory-launch-copy{max-width:760px}
  .memory-launch-cover-wrap{width:min(78vw,420px)}
  .memory-video-section .memory-section-heading{position:static}
  .memory-value-grid,
  .memory-method-flow{grid-template-columns:1fr}
  .memory-value-grid article{min-height:0}
  .memory-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:720px){
  .hero-new-release{font-size:11px}
  .hero-real-books-three{width:min(100%,410px)}
  .hero-real-books-three .hero-real-book{width:142px}
  .hero-real-books-three .hero-memory-cover{transform:rotate(-4deg) translate(12px,10px)}
  .hero-real-books-three .hero-biohack-cover{transform:rotate(4deg) translate(-12px,12px)}
  .minimal-storefront .product-catalog{grid-template-columns:1fr}
  .minimal-storefront .product-card:last-child{grid-column:auto;width:auto}
  .memory-launch-hero{padding-top:44px}
  .memory-launch-copy h1{font-size:44px}
  .memory-launch-actions{display:grid}
  .memory-launch-actions .button{width:100%}
  .memory-launch-cover-wrap{width:min(88vw,400px);padding-inline:27px}
  .memory-cover-chip.chip-pdf{left:0}
  .memory-cover-chip.chip-video{right:0}
  .memory-section-heading h2{font-size:36px}
  .memory-intro-row,
  .memory-chapter-list article{
    grid-template-columns:auto minmax(0,1fr);
  }
  .memory-intro-row>b,
  .memory-chapter-list article>b{
    grid-column:2;
  }
  .memory-final-inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .memory-final-inner>div:last-child{width:100%;align-items:flex-start}
  .memory-final-inner .button{width:100%}
}

@media (max-width:480px){
  .hero-real-books-three .hero-real-book{width:119px}
  .hero-memory-cover>span{top:-8px;left:7px;padding:5px 7px}
  .memory-launch-copy h1{font-size:39px}
  .memory-launch-lead{font-size:16px}
  .memory-launch-points{display:grid;grid-template-columns:1fr}
  .memory-launch-points li{justify-content:flex-start}
  .memory-launch-cover-wrap{padding-inline:23px}
  .memory-cover-chip{font-size:10px;padding:8px 10px}
  .memory-preview-grid{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  .memory-preview-grid a{transition:none}
}

/* Legal and payment status pages */
.legal-hero{
  padding:72px 0 48px;
  background:linear-gradient(180deg,#f5f8fc,#fff);
  border-bottom:1px solid #e2e8f0;
}
.legal-hero span,
.status-kicker{
  color:#1769ff;
  font-size:11px;
  font-weight:850;
  letter-spacing:.15em;
}
.legal-hero h1{
  margin:9px 0 6px;
  color:#0b1f3a;
  font-size:clamp(42px,6vw,68px);
  line-height:1;
  letter-spacing:-.045em;
}
.legal-hero p{margin:0;color:#607087;font-size:13px}
.legal-content{padding:58px 0 90px}
.legal-content h2{
  margin:34px 0 8px;
  color:#0b1f3a;
  font-size:21px;
  letter-spacing:-.02em;
}
.legal-content h2:first-child{margin-top:0}
.legal-content p{margin:0;color:#536277;line-height:1.8}
.legal-content a{color:#1769ff;text-decoration:underline}

.status-main{
  min-height:calc(100vh - 87px);
  display:grid;
  place-items:center;
  padding:42px 22px;
  background:linear-gradient(180deg,#f4f8fd,#fff);
}
.status-card{
  width:min(100%,680px);
  padding:clamp(34px,6vw,62px);
  border:1px solid #dce5f0;
  border-radius:24px;
  background:#fff;
  text-align:center;
  box-shadow:0 24px 70px rgba(11,31,58,.12);
}
.status-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  margin:0 auto 22px;
  border-radius:50%;
  background:#e5f7ee;
  color:#168759;
  font-size:27px;
  font-weight:900;
}
.status-card[data-status="pending"] .status-icon{background:#fff3d6;color:#a66700}
.status-card[data-status="failed"] .status-icon{background:#feecec;color:#c0392b}
.status-card h1{
  margin:9px 0 13px;
  color:#0b1f3a;
  font-size:clamp(33px,5vw,50px);
  line-height:1.08;
  letter-spacing:-.045em;
}
.status-card>p:not(.status-kicker){margin:0 auto;color:#607087;max-width:520px}
.status-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin:28px 0 22px;
}
.status-card>small{display:block;color:#758398;line-height:1.6}

@media (max-width:640px){
  .legal-hero{padding:48px 0 34px}
  .legal-content{padding:40px 0 70px}
  .status-actions .button{width:100%}
}
