/* The Anxious Mind, explained — Wellcoast */
@font-face{font-family:'Nyght Serif';src:url('../fonts/NyghtSerif-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nyght Serif';src:url('../fonts/NyghtSerif-RegularItalic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}

:root{
  --ground:#F3F6F5;
  --mist:#E4ECEA;
  --ink:#1D2427;
  --body:#3E4A4F;
  --muted:#5B6A70;
  --num:#7F9398;
  --line:#CDD8D6;
  --tint:#D6E4EA;
  --accent:#2C4654;
  --accent-hover:#1B2F3A;
  --deep:#1F3440;
  --white:#FFFFFF;
  --serif:'Nyght Serif',Georgia,'Times New Roman',serif;
  --sans:'Helvetica Neue',Helvetica,Arial,sans-serif;
  --gutter:clamp(20px,6vw,120px);
  --max:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-weight:300;line-height:1.6;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--accent)}
a:hover{color:var(--accent-hover)}
h1,h2,h3{font-family:var(--serif);font-weight:400;margin:0}
p{margin:0}
em{font-style:italic}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}

.wrap{width:100%;max-width:calc(var(--max) + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.eyebrow{font-size:clamp(12px,1vw,14px);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:400}
.lead{font-size:clamp(16px,1.3vw,18px);color:var(--body)}
.h2{font-size:clamp(36px,4.4vw,64px);line-height:1.03}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 36px;border-radius:999px;background:var(--accent);color:var(--white);font-size:17px;font-weight:500;text-decoration:none;transition:background .2s}
.btn:hover{background:var(--accent-hover);color:var(--white)}
.btn-sm{min-height:44px;padding:0 22px;font-size:15px;white-space:nowrap}
.link{font-size:16px;color:var(--accent);text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px;font-weight:400}
.skip{position:absolute;left:-999px;top:8px;background:var(--white);padding:8px 14px;z-index:10}
.skip:focus{left:8px}

/* Header */
.site-header{border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:clamp(64px,7vw,96px);gap:16px}
.brand{font-family:var(--serif);font-size:clamp(16px,1.7vw,24px);letter-spacing:.02em;color:var(--ink);text-decoration:none;white-space:nowrap}
.nav{display:flex;align-items:center;gap:40px;font-size:15px;font-weight:400}
.nav a:not(.btn){color:var(--body);text-decoration:none}
.nav a:not(.btn):hover{color:var(--ink)}

/* Hero */
.hero-top{background:var(--mist)}
.hero{background:linear-gradient(180deg,var(--mist) 0%,var(--ground) 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center;padding-top:clamp(40px,6vw,96px);padding-bottom:clamp(56px,7vw,112px)}
.hero-copy{display:flex;flex-direction:column;gap:28px}
.hero-text{display:flex;flex-direction:column;gap:28px}
.hero-actions{display:flex;flex-direction:column;gap:20px}
.hero h1{font-size:clamp(40px,6.4vw,92px);line-height:.98;letter-spacing:-.015em;max-width:12ch}
.hero .lead{font-size:clamp(17px,1.5vw,21px);max-width:560px}
.hero-cta{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:8px}
.hero-note{font-size:15px;color:var(--muted);font-weight:400}
.cover{position:relative;aspect-ratio:480/640;width:100%;max-width:480px;justify-self:center;display:flex;align-items:center;justify-content:center}
.cover::before,.cover::after{content:"";position:absolute;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.cover::before{width:98%;aspect-ratio:1;border:1px solid #9FB2B4}
.cover::after{width:117%;aspect-ratio:1;border:1px solid #C3D0D0}
.cover img{position:relative;z-index:1;width:83%;border-radius:4px;box-shadow:0 40px 80px rgba(29,44,52,.28),0 8px 20px rgba(29,44,52,.14)}

/* Stats */
.stats{padding:clamp(8px,2vw,40px) 0}
.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:36px 0;list-style:none;margin:0}
.stat b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(40px,3.6vw,52px);line-height:1}
.stat span{display:block;font-size:15px;color:var(--muted);margin-top:6px;font-weight:400}

/* Pain */
.pain{padding:clamp(56px,7vw,100px) 0}
.pain-grid{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:clamp(32px,7vw,96px)}
.pain-intro{display:flex;flex-direction:column;gap:24px}
.pain-list{list-style:none;margin:0;padding:0}
.pain-list li{display:flex;gap:clamp(16px,2vw,28px);padding:clamp(20px,2vw,28px) 0;border-top:1px solid var(--line);font-family:var(--serif);font-size:clamp(20px,2vw,28px);line-height:1.22}
.pain-list li:last-child{border-bottom:1px solid var(--line)}
.num{font-family:var(--serif);color:var(--num);font-size:clamp(18px,1.6vw,22px);width:36px;flex-shrink:0;line-height:1.5}

/* Reframe */
.reframe{position:relative;min-height:clamp(420px,32vw,460px);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--white);text-align:center}
.reframe img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reframe::after{content:"";position:absolute;inset:0;background:rgba(18,30,38,.44)}
.reframe p{position:relative;z-index:1;font-family:var(--serif);font-size:clamp(28px,3.9vw,56px);line-height:1.13;max-width:980px;padding:0 var(--gutter)}

/* Chapters */
.chapters{padding:clamp(64px,8vw,120px) 0 clamp(56px,7vw,100px)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:clamp(24px,5vw,64px);margin-bottom:clamp(32px,4.5vw,64px)}
.section-head .titles{display:flex;flex-direction:column;gap:20px;max-width:700px}
.section-head .lead{max-width:440px}
.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.chapter{background:var(--white);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:16px;min-height:250px}
.chapter:nth-child(even){background:var(--tint)}
.chapter .num{font-size:26px;width:auto}
.chapter h3{font-size:clamp(25px,2.1vw,30px);line-height:1.1}
.chapter p{font-size:clamp(15px,1.1vw,16px);line-height:1.5;color:#4A575C;text-wrap:pretty}
.divider{height:1px;background:var(--line)}

/* Look inside */
.inside{padding:clamp(64px,7.5vw,110px) 0 clamp(64px,7vw,100px)}
.pages{display:grid;grid-template-columns:repeat(3,minmax(0,330px));justify-content:center;gap:56px;list-style:none;margin:0;padding:0}
.page img{width:100%;aspect-ratio:330/467;object-fit:cover;border-radius:4px;box-shadow:0 24px 60px rgba(29,44,52,.16),0 4px 12px rgba(29,44,52,.08);user-select:none;-webkit-user-drag:none;pointer-events:none}
.page figcaption{margin-top:22px;display:flex;flex-direction:column;gap:6px}
.page .kind{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:400}
.page .cap{font-family:var(--serif);font-size:clamp(20px,1.7vw,24px);line-height:1.15;color:var(--ink)}
.carousel-foot{display:none}

/* Journey */
.journey{background:var(--deep);color:var(--white);padding:clamp(72px,8vw,120px) 0}
.journey .eyebrow{color:#A9BEC4}
.journey h2{font-size:clamp(44px,5vw,72px);line-height:1;margin:20px 0 clamp(44px,6.5vw,96px)}
.steps{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.steps::before{content:"";position:absolute;left:0;right:0;top:40px;height:1px;background:#45606C}
.step{position:relative;display:flex;flex-direction:column;gap:24px}
.dot-wrap{height:80px;display:flex;align-items:center}
.dot{flex-shrink:0;border-radius:50%;background:var(--deep);border:1px solid #8FA7AF}
.step:last-child .dot{background:var(--tint);border-color:var(--tint)}
.step .n{font-size:13px;letter-spacing:.14em;color:#8FA7AF;font-weight:400}
.step h3{font-style:italic;font-size:clamp(26px,2.1vw,30px);line-height:1.1;margin:8px 0}
.step:last-child h3{color:var(--tint)}
.step p{font-size:15px;line-height:1.5;color:#BFD0D5}

/* Pricing */
.buy{padding:clamp(56px,7vw,100px) 0}
.price-card{max-width:1100px;margin:0 auto;background:var(--white);border-radius:32px;box-shadow:0 30px 80px rgba(29,44,52,.10);display:grid;grid-template-columns:400px minmax(0,1fr);overflow:hidden}
.price-media{background:linear-gradient(180deg,#DDE7E6 0%,#EEF3F2 100%);display:flex;align-items:center;justify-content:center;padding:48px}
.price-media img{width:100%;max-width:300px;border-radius:4px;box-shadow:0 30px 60px rgba(29,44,52,.26)}
.price-body{padding:clamp(28px,4.5vw,56px) clamp(22px,4.5vw,64px);display:flex;flex-direction:column;justify-content:center;gap:22px}
.price-body h2{font-size:clamp(30px,3vw,40px);line-height:1.02}
.included{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:clamp(15px,1.2vw,17px);font-weight:300;line-height:1.5}
.included li{display:flex;gap:14px;align-items:flex-start}
.included svg{flex-shrink:0;margin-top:3px}
.included b{font-weight:500}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:8px;padding-top:28px;border-top:1px solid #DCE4E3}
.price{font-family:var(--serif);font-size:56px;line-height:1}
.price-note{font-size:14px;color:var(--muted);margin-top:8px;font-weight:400}
.delivery{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:var(--ground);border-radius:14px;font-size:14px;line-height:1.55;color:var(--body);font-weight:400}
.delivery svg{flex-shrink:0;margin-top:1px}

/* FAQ */
.faq{padding:clamp(24px,3vw,40px) 0 clamp(64px,6vw,80px)}
.faq-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:clamp(24px,7vw,96px)}
.faq h2{font-size:clamp(44px,4.4vw,64px);line-height:1}
.faq-list{margin:0}
.faq-item{padding:26px 0;border-top:1px solid var(--line)}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item dt{font-family:var(--serif);font-size:clamp(22px,2vw,28px);line-height:1.2}
.faq-item dd{margin:10px 0 0;font-size:clamp(15px,1.2vw,17px);color:var(--body)}

/* Footer */
.site-footer{background:var(--mist);padding:clamp(36px,4.5vw,64px) 0 clamp(36px,3.5vw,48px);font-size:14px;line-height:1.6;color:#4F5D62;font-weight:400}
.footer-top{display:flex;justify-content:space-between;gap:24px 48px;flex-wrap:wrap;border-top:1px solid #C6D3D1;padding-top:28px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 24px;list-style:none;margin:0;padding:0}
.footer-links a{color:var(--accent);text-underline-offset:3px;display:inline-flex;min-height:32px;align-items:center}
.footer-note{margin-top:24px;font-size:13px;color:var(--muted)}

/* Legal pages */
.legal-nav .back{font-size:15px;color:var(--body);text-decoration:none;font-weight:400;white-space:nowrap}
.legal{padding:clamp(48px,6vw,88px) 0 clamp(64px,7vw,96px)}
.legal h1{font-size:clamp(44px,5vw,72px);line-height:1}
.legal .updated{font-size:15px;color:var(--muted);margin:16px 0 40px;font-weight:400}
.legal-body{display:flex;flex-direction:column;gap:36px;max-width:980px}
.legal-body section{display:flex;flex-direction:column;gap:12px}
.legal-body h2{font-size:clamp(24px,2.2vw,30px);line-height:1.15}
.legal-body p,.legal-body ul{font-size:clamp(16px,1.2vw,17px);line-height:1.65;color:var(--body);margin:0}
.legal-body ul{padding-left:22px;display:flex;flex-direction:column;gap:4px}
.legal-body b{font-weight:500}

/* ---------- Laptop ---------- */
@media (max-width:1200px){
  .stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
  .chapter{padding:26px}
  .pages{gap:32px}
  .price-card{grid-template-columns:340px minmax(0,1fr)}
}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .nav .nav-link{display:none}
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .hero-copy{max-width:680px}
  .hero h1{max-width:14ch}
  .cover{max-width:380px}
  .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}
  .pain-grid{grid-template-columns:1fr}
  .pain-intro{max-width:620px}
  .section-head{flex-direction:column;align-items:flex-start}
  .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .chapter{min-height:0}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:48px}
  .steps::before{display:none}
  .price-card{grid-template-columns:1fr}
  .price-media{padding:40px}
  .price-media img{max-width:220px}
  .faq-grid{grid-template-columns:1fr}
}

/* ---------- Phone ---------- */
@media (max-width:640px){
  .btn-sm{padding:0 16px;font-size:14px}
  .hero-grid{padding-top:36px;gap:36px}
  .legal-nav .back-label{display:none}
  .hero-text{gap:20px}
  .hero-copy{gap:20px}
  .hero-cta{flex-direction:column;align-items:stretch;gap:16px}
  .hero-cta .btn{width:100%}
  .hero-cta .link{align-self:center}
  .hero-note{text-align:center;font-size:13px}
  .hero-copy{display:contents}
  .hero-actions{display:flex;flex-direction:column;gap:16px}
  .hero-text{order:1}
  .cover{order:2}
  .hero-actions{order:3}
  .cover{max-width:340px;width:100%}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:0 20px}
  .stat{padding:18px 0;border-top:1px solid var(--line)}
  .stat:nth-child(-n+2){border-top:0}
  .pain-list li{font-size:clamp(18px,5vw,22px)}
  .chapter-grid{grid-template-columns:1fr;gap:12px}
  .chapter{flex-direction:row;padding:22px 20px;border-radius:18px;gap:16px}
  .chapter .num{font-size:20px;width:26px;flex-shrink:0;padding-top:3px}
  .chapter-text{display:flex;flex-direction:column;gap:8px}
  /* carousel */
  .inside .wrap.carousel-wrap{padding:0}
  .pages{display:flex;justify-content:flex-start;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter);padding:8px var(--gutter) 20px;scrollbar-width:none}
  .pages::-webkit-scrollbar{display:none}
  .page{flex:0 0 min(236px,64vw);scroll-snap-align:start}
  .page figcaption{margin-top:16px}
  .carousel-foot{display:flex;align-items:center;justify-content:space-between;padding:0 var(--gutter)}
  .dots{display:flex;gap:8px;align-items:center}
  .dots span{width:8px;height:8px;border-radius:999px;background:#B9C8C8;transition:width .25s,background .25s}
  .dots span.on{width:22px;background:var(--accent)}
  .swipe{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px;font-weight:400}
  /* journey vertical */
  .steps{display:flex;flex-direction:column;gap:26px}
  .steps::before{display:block;left:22px;right:auto;top:22px;bottom:40px;width:1px;height:auto}
  .step{flex-direction:row;gap:20px;align-items:flex-start}
  .dot-wrap{width:44px;height:44px;flex-shrink:0;justify-content:center}
  .dot{transform:scale(.55)}
  .step h3{font-size:26px;margin:4px 0}
  .step p{font-size:14px}
  .price-card{border-radius:26px}
  .price-media{padding:32px}
  .price-media img{max-width:170px}
  .price-row .btn,.price-body > .btn{width:100%}
  .price{font-size:52px}
  .faq-item{padding:22px 0}
  .footer-top{flex-direction:column}
  .footer-links{flex-direction:column;gap:0}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.legal-body section > div{display:flex;flex-direction:column;gap:12px}

/* === WELLCOAST MOBILE MENU START === */

.menu-toggle,
.menu-close {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #1D2427;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #1D2427;
  border-radius: 999px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 36, 39, 0.28);
}

.mobile-menu__panel {
  position: relative;
  z-index: 1;

  width: 100%;
  box-sizing: border-box;

  padding: 0 20px 24px;

  background: #E4ECEA;

  box-shadow:
    0 18px 40px
    rgba(29, 44, 52, 0.16);

  transform: translateY(-8px);
  transition: transform 180ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
}

.mobile-menu__head {
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #CDD8D6;
}

.mobile-menu__head .brand {
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.menu-close {
  width: 44px;
  height: 44px;

  margin-right: -10px;

  flex: 0 0 44px;

  position: relative;
}

.menu-close span {
  position: absolute;

  left: 12px;
  top: 21px;

  width: 20px;
  height: 1.5px;

  background: #1D2427;
  border-radius: 999px;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;

  padding-top: 8px;
}

.mobile-menu__link {
  min-height: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #CDD8D6;

  font-family:
    "Nyght Serif",
    Georgia,
    serif;

  font-size: 26px;
  line-height: 1.1;

  color: #1D2427;

  text-decoration: none;
}

.mobile-menu__link svg {
  flex: 0 0 auto;
  color: #7F9398;
}

.mobile-menu__cta {
  width: 100%;
  min-height: 56px;

  box-sizing: border-box;

  margin-top: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.mobile-menu__note {
  margin:
    12px
    0
    0;

  text-align: center;

  font-size: 13px;
  line-height: 1.5;

  color: #5B6A70;
}

body.menu-open {
  overflow: hidden;
}


/* Mobile */
@media (max-width: 900px) {

  .nav-desktop {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

}


/* Desktop */
@media (min-width: 901px) {

  .mobile-menu {
    display: none !important;
  }

}

/* === WELLCOAST MOBILE MENU END === */
