:root{
  --cream:#ffffff;
  --cream-2:#ffffff;
  --sage:#4f6e5a;
  --sage-dark:#4a6a56;
  --sage-soft:#e4ede6;
  --ink:#3b4a41;
  --muted:#566259;
  --gold:#efe6d2;
  --line:#e3ddd0;
  --serif:"Cormorant Garamond","Georgia",serif;
  --sans:"Source Sans 3","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--cream);line-height:1.7;font-size:1.05rem;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--sage-dark)}
.wrap{width:min(1100px,100% - 48px);margin-inline:auto}
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--sage-dark);line-height:1.15}
h1{font-size:clamp(2.3rem,5vw,3.6rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.7rem)}
section{padding:clamp(56px,9vw,104px) 0}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{font-family:var(--serif);font-size:1.5rem;color:var(--sage-dark);text-decoration:none;font-weight:600}
.site-header nav{display:flex;gap:24px;align-items:center}
.site-header nav a{text-decoration:none;color:var(--ink);font-size:.98rem}
.site-header nav a:hover{color:var(--sage-dark)}
@media(max-width:640px){.site-header .wrap{flex-wrap:wrap;gap:6px 12px}.site-header nav{width:100%;justify-content:space-between;gap:10px;flex-wrap:wrap}.site-header nav a{font-size:.92rem}}

/* buttons */
.btn{display:inline-block;background:var(--sage);color:#fff;text-decoration:none;padding:13px 28px;border-radius:999px;font-weight:600;font-size:1rem;transition:background .2s,transform .2s;border:1px solid var(--sage)}
.btn:hover{background:var(--sage-dark);transform:translateY(-1px)}
.btn.ghost{background:var(--gold);color:#3f5a49;border-color:#e3d7b8}
.btn.ghost:hover{background:#e8dcc0}
.btn.small{padding:12px 20px;font-size:.92rem}
.stores{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.store{display:inline-flex;align-items:center;gap:10px;background:#111;color:#fff;text-decoration:none;border-radius:9px;padding:8px 16px;line-height:1.1}
.store small{display:block;font-size:.74rem;letter-spacing:.04em;opacity:.85}
.store strong{font-size:1.05rem;font-weight:600}
.store svg{width:22px;height:22px;fill:#fff;flex:none}
.avail{font-size:.92rem;color:var(--muted);margin-top:10px}

/* hero */
.hero{padding-top:clamp(40px,6vw,72px)}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center}
.hero p.lead{margin:22px 0;font-size:1.2rem;color:var(--muted);max-width:34em}
.hero .tag{font-family:var(--serif);font-size:1.3rem;font-style:italic;color:var(--muted);margin-bottom:22px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.hero img{border-radius:22px;box-shadow:0 24px 60px -24px rgba(60,80,65,.35)}
@media(max-width:820px){.hero .wrap{grid-template-columns:1fr}}

/* tree */
.tree{background:linear-gradient(180deg,var(--cream),var(--cream-2))}
.tree .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
.tree img{mix-blend-mode:multiply;max-width:520px;margin-inline:auto;
  -webkit-mask-image:radial-gradient(ellipse 62% 58% at 46% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 62% 58% at 46% 50%,#000 62%,transparent 100%)}
.tree ul{list-style:none;margin:28px 0}
.tree li{display:flex;gap:16px;align-items:flex-start;padding:14px 0;font-size:1.15rem;border-bottom:1px solid var(--line)}
.tree li svg{flex:none;width:30px;height:30px;stroke:var(--sage);fill:none;stroke-width:1.5;margin-top:2px}
.tree .closing{font-family:var(--serif);font-size:1.5rem;line-height:1.4;color:var(--sage-dark)}
@media(max-width:820px){.tree .wrap{grid-template-columns:1fr}}

/* how it works */
.how .wrap{display:grid;grid-template-columns:1.1fr .8fr;gap:56px;align-items:center}
.how h2{margin-bottom:34px;font-size:2rem;color:var(--muted)}
.steps{list-style:none;display:grid;gap:26px;margin-bottom:34px}
.steps li{display:grid;grid-template-columns:56px 1fr;gap:18px;align-items:center}
.steps img{width:56px}
.steps h3{font-size:1.6rem;color:var(--sage-dark)}
.steps p{color:var(--muted);font-size:.98rem}
.how .photo img{border-radius:20px;box-shadow:0 24px 60px -24px rgba(60,80,65,.35);margin-inline:auto;max-width:360px}
@media(max-width:820px){.how .wrap{grid-template-columns:1fr}}

/* why we built */
.why{background:var(--cream-2)}
.why .wrap{display:grid;grid-template-columns:1.3fr .8fr;gap:48px;align-items:center}
.why h2{font-size:clamp(1.7rem,3vw,2.2rem);margin-bottom:14px}
.why h3{font-family:var(--sans);font-size:1rem;font-weight:700;color:var(--ink);margin:24px 0 6px;letter-spacing:.01em}
.why p{color:var(--muted)}
.why .visual{position:relative}
.why .visual .a{max-width:300px;margin-inline:auto}
.why .visual .b{position:absolute;width:62%;right:-6%;bottom:-6%;filter:drop-shadow(0 18px 24px rgba(0,0,0,.18))}
@media(max-width:820px){.why .wrap{grid-template-columns:1fr}.why .visual{margin-top:30px;padding-bottom:40px}}

/* whole person */
.whole{text-align:center}
.whole .intro{max-width:780px;margin:0 auto 40px;text-align:left}
.whole .intro p{margin-bottom:16px;color:var(--muted)}
.whole h2.center{text-align:center;margin-bottom:26px;font-size:clamp(1.9rem,3.6vw,2.6rem)}
.whole h2.rule{display:flex;align-items:center;gap:20px;font-size:1.5rem;margin:48px 0 28px}
.whole h2.rule::before,.whole h2.rule::after{content:"";flex:1;border-top:2px dashed var(--line)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px 24px;box-shadow:0 14px 36px -24px rgba(60,80,65,.3)}
.card img{width:64px;margin:0 auto 12px}
.card h3{font-size:1.5rem;margin-bottom:8px}
.card p{color:var(--muted);font-size:.98rem}
@media(max-width:760px){.cards{grid-template-columns:1fr}}

/* gift */
.gift{background:linear-gradient(180deg,var(--cream-2),var(--cream))}
.gift .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.gift .price{margin:18px 0 4px;color:var(--muted)}
.gift .price strong{display:block;font-family:var(--serif);font-size:2.2rem;color:var(--sage-dark)}
.gift ul{list-style:none;margin:22px 0 30px}
.gift li{padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.gift li::before{content:"/";color:var(--sage);margin-right:10px;font-weight:700}
@media(max-width:820px){.gift .wrap{grid-template-columns:1fr}}

/* footer */
footer{background:var(--cream-2);border-top:1px solid var(--line);padding:36px 0;text-align:center;font-size:.92rem;color:var(--muted)}
footer .disclaimer{color:var(--ink);margin-bottom:8px}
footer nav{display:flex;gap:22px;justify-content:center;margin-bottom:12px}
footer nav a{color:var(--ink);padding:10px 6px;display:inline-block}
footer .social{display:flex;gap:14px;justify-content:center;margin-top:14px}
footer .social svg{width:22px;height:22px;fill:#b8c4bb}

/* privacy */
.doc{padding:56px 0 80px}
.doc .wrap{max-width:820px}
.doc h1{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:6px}
.doc .updated{color:var(--muted);margin-bottom:34px}
.doc h2{font-size:1.9rem;margin:44px 0 12px;padding-top:12px;border-top:1px solid var(--line)}
.doc h3{font-family:var(--sans);font-size:1.02rem;font-weight:700;color:var(--ink);margin:22px 0 4px}
.doc p{margin-bottom:12px;color:#4d5b52}
.doc ul{margin:6px 0 14px 22px;color:#4d5b52}
.doc li{margin-bottom:4px}
.doc .callout{background:var(--sage-soft);border-radius:16px;padding:16px 22px;margin:16px 0;color:var(--sage-dark);font-weight:600}
.doc .thanks{text-align:center;font-family:var(--serif);font-size:1.5rem;color:var(--sage-dark);margin:36px 0}
.toc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 26px;margin-bottom:10px;columns:2;column-gap:32px;font-size:.95rem}
.toc a{display:block;text-decoration:none;padding:7px 0}
@media(max-width:600px){.toc{columns:1}}

.store.soon{cursor:default;background:#2f3a33}
.store.soon small{color:#e9d9a8;opacity:1;font-weight:600}

/* all-white page: soft hairlines separate the sections */
body{background:#fff}
.tree,.why,.gift{background:#fff}
.tree,.why,.whole,.gift,.how{border-top:1px solid var(--line)}
.hero{border-top:0}
.card{box-shadow:0 14px 36px -24px rgba(60,80,65,.22)}

/* small screens: keep the header on one line */
.brand,.btn.small{white-space:nowrap}
@media(max-width:480px){.brand{font-size:1.2rem}.btn.small{padding:8px 14px;font-size:.82rem}.site-header .wrap{gap:10px}}

/* accessibility */
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:var(--sage-dark);padding:10px 16px;border:2px solid var(--sage);border-radius:8px;z-index:50;font-weight:600}
.skip:focus{left:12px}
a:focus-visible,.btn:focus-visible{outline:3px solid #2f4f3c;outline-offset:3px;border-radius:6px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.btn:hover{transform:none}}

/* v1.1 sections */
.wrap.narrow{max-width:760px}
.who{text-align:center}
.who h2{margin-bottom:20px}
.who p{font-size:1.15rem;color:var(--muted);margin-bottom:14px}
.steps+.fineprint,.fineprint{color:var(--muted);font-size:.95rem;margin:-10px 0 26px;font-style:italic}
.how h2{color:var(--sage-dark)}
.trust{text-align:center}
.trust h2{margin-bottom:24px}
.promises{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left;margin-bottom:22px}
.promises li{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;color:var(--muted)}
.promises strong{display:block;color:var(--sage-dark);font-family:var(--serif);font-size:1.3rem;font-weight:600}
@media(max-width:620px){.promises{grid-template-columns:1fr}}
.gift .sub{color:var(--muted);margin-top:12px}
.gift ul+.sub{margin:-8px 0 24px}
.avail a{color:var(--sage-dark)}
.site-header nav a.btn{color:#fff}

/* let grid columns shrink on phones (prevents sideways overflow) */
.wrap>*{min-width:0}
.how .photo img,.why .visual .a{max-width:min(360px,100%)}
.tree img{max-width:min(520px,100%)}

/* About page (same structure as the other Within Learning Group sites) */
.about{padding:56px 0 80px}
.about .wrap{max-width:980px}
.about h1{font-size:clamp(2.2rem,4.5vw,3.2rem);text-transform:uppercase;letter-spacing:.02em;margin-bottom:18px}
.about h2{font-size:clamp(1.6rem,3vw,2.1rem);margin:44px 0 20px}
.about-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}
.about-intro .lead{font-size:1.15rem;color:var(--ink)}
.about-logo{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.about-logo img{width:min(300px,70vw);height:auto}
.wlg{display:grid;grid-template-columns:minmax(150px,260px) 1fr;gap:32px;align-items:center}
.wlg-brand img{max-width:220px;margin:0 auto}
.wlg-text{border-left:3px solid #d5c3ae;padding-left:24px}
.wlg-text p{margin:0 0 14px}
.wlg-tag{font-family:var(--serif);font-size:1.45rem;font-weight:600;line-height:1.3;color:var(--ink)}
.wlg-desc{font-style:italic;color:var(--muted)}
.wlg-copy{font-size:.92rem;color:var(--muted)}
.about-text{max-width:70ch;margin-bottom:14px;color:var(--ink)}
.about-text.note{color:var(--muted);font-size:.95rem}
.about-cta{margin-top:32px}
@media(max-width:760px){.about-intro,.wlg{grid-template-columns:1fr}.wlg-text{border-left:0;border-top:3px solid #d5c3ae;padding:20px 0 0}}

.brand{display:inline-flex;align-items:center;gap:10px}
.brand img{height:34px;width:auto}
@media(max-width:480px){.brand img{height:28px}}
@media(max-width:480px){.site-header nav a.btn{display:none}}

/* inside the app */
.inside{text-align:center}
.inside .intro{color:var(--muted);font-size:1.15rem;margin:10px auto 36px;max-width:560px}
.apps{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;align-items:start}
.apps figure{margin:0}
.apps img{width:100%;max-width:300px;margin:0 auto;border-radius:26px;border:1px solid var(--line);box-shadow:0 24px 50px -26px rgba(60,80,65,.4)}
.apps figcaption{max-width:300px;margin:18px auto 0}
.apps figcaption h3{font-size:1.55rem;margin-bottom:6px}
.apps figcaption p{color:var(--muted);font-size:.98rem}
@media(max-width:820px){.apps{grid-template-columns:1fr;gap:44px}}
.steps .num{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sage-soft);color:var(--sage-dark);font-weight:700;font-size:1.05rem;flex:none}
.prices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 4px}
.prices .price{margin:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;color:var(--ink);font-weight:600}
.prices .price strong{display:block;font-family:var(--serif);font-size:1.9rem;color:var(--sage-dark)}
.prices .price span{display:block;font-weight:400;font-size:.9rem;color:var(--muted)}
@media(max-width:520px){.prices{grid-template-columns:1fr}}
.apps img{aspect-ratio:300/520;object-fit:cover;object-position:top;height:auto}

/* ===== v1.2 fluid / responsive layer =====
   Sizes scale with the screen (clamp / vw / vh); two columns only on wide screens;
   everything is centred and fits inside the visible screen on phones and tablets. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:clamp(1rem,.95rem + .25vw,1.12rem);overflow-x:clip}
.wrap{width:min(1100px,100% - clamp(32px,7vw,72px))}
section{padding:clamp(44px,8vw,104px) 0}
h1{font-size:clamp(2rem,6.2vw,3.6rem)}
h2{font-size:clamp(1.65rem,4.6vw,2.7rem)}
.hero .lead,.hero p.lead{font-size:clamp(1.05rem,2.6vw,1.2rem)}

/* images never taller than the visible screen, never wider than their column */
.hero img,.how .photo img,.gift img,.why .visual .a{max-height:min(78vh,640px);width:auto;max-width:100%;margin-inline:auto;object-fit:contain}
.tree img{width:auto;height:auto;max-width:min(520px,100%);max-height:min(72vh,620px);margin-inline:auto;object-fit:contain}
.how .photo img{max-width:min(340px,100%)}
.why .visual .a{max-width:min(300px,78%)}
.apps img{max-height:none}

/* tablets and phones (including phones turned sideways): one centred column */
@media(max-width:899px){
  .hero .wrap,.tree .wrap,.how .wrap,.why .wrap,.gift .wrap,.about-intro,.wlg{grid-template-columns:1fr;gap:clamp(24px,5vw,40px)}
  .hero .wrap>div,.tree .wrap>div,.why .wrap>div:first-child,.gift .wrap>div{text-align:center}
  .hero .lead,.hero p.lead{margin-inline:auto}
  .cta,.stores{justify-content:center}
  .tree ul{max-width:34rem;margin-inline:auto;text-align:left}
  .tree .closing{max-width:34rem;margin-inline:auto}
  .how h2{text-align:center}
  .steps{max-width:34rem;margin-inline:auto}
  .how .wrap>div:first-child{text-align:center}
  .how .wrap>div:first-child .steps{text-align:left}
  .gift ul{max-width:30rem;margin-inline:auto;text-align:left}
  .prices{max-width:34rem;margin-inline:auto}
  .gift .sub{margin-inline:auto;max-width:34rem}
  .why .visual{max-width:340px;margin-inline:auto}
  .why p{margin-inline:auto;max-width:36rem}
  .about-intro{text-align:center}
  .about-intro .lead{margin-inline:auto}
  .wlg-brand img{margin-inline:auto}
  .wlg-text{border-left:0;border-top:3px solid #d5c3ae;padding:20px 0 0;text-align:center}
}
@media(min-width:900px){
  .tree .wrap{grid-template-columns:1fr 1.1fr}
}

/* app screens: flexible row that wraps and stays centred */
.apps{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(28px,4vw,44px)}
.apps figure{flex:1 1 240px;max-width:300px}

/* small cards and grids */
@media(max-width:760px){.cards{max-width:440px;margin-inline:auto}}
.promises{max-width:760px;margin-inline:auto}

/* header and buttons on very small screens */
@media(max-width:380px){
  .site-header nav{gap:6px}
  .site-header nav a{font-size:.85rem}
  .btn{padding:12px 22px}
}
@media(max-width:640px){.site-header nav{justify-content:center;gap:6px 18px}}

/* sideways phones: keep pictures short so the text is still reachable */
@media(max-height:480px) and (orientation:landscape){
  .hero img,.how .photo img,.gift img,.why .visual .a,.tree img{max-height:62vh}
  section{padding-block:36px}
}

/* v1.2: smaller, calmer pictures on phones and tablets */
@media(max-width:899px){
  .tree img{max-width:min(300px,80%);max-height:min(50vh,470px)}
  .how .photo img{max-width:min(280px,76%);max-height:min(54vh,480px)}
  .why .visual .a{max-width:min(240px,66%)}
  .why .visual .b{width:48%}
  .hero img{max-width:min(460px,100%)}
}
@media(max-width:899px){.about h2{text-align:center}.about-text{margin-inline:auto;text-align:center}.about-cta{text-align:center}}

/* official trademark logo: shown only as supplied (never stretched, recoloured or re-typeset) */
.brand{display:inline-flex;align-items:center}
.brand img{height:clamp(46px,7vw,60px);width:auto;max-width:none;aspect-ratio:420/296}
.site-header .wrap{padding-block:8px}
@media(max-width:480px){.brand img{height:46px}}
.about-logo img{width:min(300px,70vw);height:auto;aspect-ratio:1200/846}
.brand img{height:clamp(48px,7vw,68px)}
@media(max-width:640px){.site-header .wrap{justify-content:center}}
@media(max-width:480px){.brand img{height:48px}}

.trademark{font-size:.85rem;color:var(--muted);margin-bottom:6px}
.trademark-note{font-size:.82rem;color:var(--muted);margin-top:8px}
.prices .price strong{font-size:1.3rem;line-height:1.2;margin-bottom:2px}
@media(max-width:640px){.site-header{position:static}}
