/* Website 1, round 6: Headspace-style menu, tabs and filters that work without scripts, library and item pages,
   guide pages, support pages, and phone and tablet layouts. */

/* ---------- Explore menu: text columns, like Headspace ---------- */
.head-in { position: relative; }
.dd { position: static; }
.mega.mega2 { left: 24px; right: 24px; width: auto; max-width: 1152px; margin: 0 auto; top: calc(100% + 4px); grid-template-columns: repeat(4, 1fr) 230px; gap: 8px 28px; padding: 30px 32px; border-radius: 26px; }
.mega2 .mcol h3 { font: 700 13px/1.2 var(--body); color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.mega2 .mcol a { display: block; padding: 7px 0; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.mega2 .mcol a:hover, .mega2 .mcol a[aria-current="page"] { color: var(--primary-text, #2E64C8); text-decoration: underline; text-underline-offset: 4px; }
.mega2 .promo2 { position: relative; border-radius: 20px; overflow: hidden; min-height: 250px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; }
.mega2 .promo2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega2 .promo2::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 40, 0) 40%, rgba(20, 22, 40, .72)); }
.mega2 .promo2 > span { position: relative; z-index: 1; padding: 16px; }
.mega2 .promo2 b { display: block; font: 700 19px/1.2 var(--head); color: #fff; }
.mega2 .promo2 span span { display: block; font-size: 14px; color: #fff; opacity: .9; margin-top: 4px; }
.night-page .mega2 .mcol a { color: #F1EFFF; }
.night-page .mega2 .mcol h3 { color: #B9B6D8; }
.night-page .mega2 .mcol a:hover, .night-page .mega2 .mcol a[aria-current="page"] { color: #FFD564; }
@media (max-width: 1100px) { .mega.mega2 { grid-template-columns: repeat(4, 1fr); } .mega2 .promo2 { display: none; } }
@media (max-width: 1020px) {
  .mega.mega2 { grid-template-columns: 1fr 1fr; padding: 6px 0 12px; gap: 4px 18px; border-radius: 0; left: 0; right: 0; }
  .mega2 .mcol { padding: 10px 0; } .mega2 .mcol a { padding: 9px 0; font-size: 16px; }
}
@media (max-width: 560px) { .mega.mega2 { grid-template-columns: 1fr; } }

/* ---------- radios behind tabs and filters (work with or without scripts) ---------- */
input.r { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rtabs { position: relative; }
.rtabs .panel { display: none; }
.rtabs .tabs label.tab { cursor: pointer; user-select: none; }
.dots label { width: 10px; height: 10px; border-radius: 50%; background: #CFCFD8; cursor: pointer; transition: width .2s ease, background .2s ease; }
.filters label { height: 42px; padding: 0 18px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; user-select: none; }
.filters { margin-bottom: 22px; }

/* ---------- sliders: scroll by finger, trackpad or the scrollbar ---------- */
.car { scrollbar-width: thin; scrollbar-color: #CFCADB transparent; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.car::-webkit-scrollbar { display: block; height: 8px; }
.car::-webkit-scrollbar-thumb { background: #CFCADB; border-radius: 8px; }
html:not(.js) .arrows { display: none; }

/* ---------- library cards ---------- */
.lib-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lib-card .artbg { display: grid; place-items: center; }
.lib-card .artbg .shape { position: static; transform: none; }
.lib-card:hover .bg { transform: scale(1.05); transition: transform .7s ease; }
.lib-card > .bg { z-index: 0; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.lib-grid .lib-card { height: 330px; }
.lib-hero { position: relative; overflow: hidden; padding: 120px 0 90px; }
.lib-hero .bgv, .item-hero .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lib-hero .wrap, .item-hero.vid .wrap { position: relative; z-index: 1; }
.lib-hero .wrap { background: rgba(255, 255, 255, .9); border-radius: 30px; padding: 42px; max-width: 760px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lib-hero h1 { font-size: clamp(38px, 5vw, 66px); margin-top: 8px; }
.lib-hero .lead { font-size: 19px; margin-top: 14px; }

/* ---------- one library item ---------- */
.item-hero { padding: 70px 0 60px; background: linear-gradient(180deg, #F3F7FD, #FFFFFF); }
.item-hero .g { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.item-hero h1 { font-size: clamp(36px, 4.8vw, 62px); margin-top: 14px; }
.item-hero .lead { font-size: 19px; margin: 16px 0 26px; max-width: 560px; }
.item-hero .tag { display: inline-block; background: #FFF3D2; color: #1E2238; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.item-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .item-hero .crumbs a { color: var(--muted); }
.item-hero .fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-art { aspect-ratio: 1; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; display: grid; place-items: center; }
.item-art .shape { position: static; transform: none; }
.item-hero.vid { position: relative; overflow: hidden; padding: 150px 0 70px; background: #DDE6F5; }
.item-hero.vid .wrap { background: rgba(255, 255, 255, .92); border-radius: 30px; padding: 38px 40px; max-width: 720px; margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.item-hero.vid .crumbs { color: var(--muted); }
.item-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.item-body > div { grid-column: 1; }
.iside { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 100px; }
.gbox { display: flex; gap: 16px; align-items: center; border-radius: 24px; padding: 20px; }
.gbox img { width: 70px; height: 84px; object-fit: contain; }
.gbox small { font-weight: 700; color: #5A6075; } .gbox b { display: block; font: 700 21px var(--head); margin: 2px 0 6px; color: #1E2238; }
.gbox .link-arrow { font-size: 15px; }
.inotes { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.inotes li { background: var(--soft); border-radius: 16px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.excerpt { font-size: 21px; line-height: 1.75; max-width: 680px; }
.excerpt p { margin-top: 18px; }
.excerpt .fade { color: var(--muted); font-size: 28px; }
.layers { display: grid; gap: 12px; max-width: 620px; }
.layers > div { display: flex; justify-content: space-between; gap: 18px; background: var(--soft); border-radius: 18px; padding: 18px 22px; }
.layers b { font-size: 18px; } .layers span { color: var(--muted); }
.isteps ol { list-style: none; counter-reset: st; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; max-width: 680px; }
.isteps li { counter-increment: st; position: relative; padding: 18px 22px 18px 74px; border-radius: 20px; background: var(--soft); }
.isteps li::before { content: counter(st); position: absolute; left: 20px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: #FFD564; color: #1E2238; display: grid; place-items: center; font-weight: 800; }
.isteps b { display: block; font-size: 19px; } .isteps span { color: var(--muted); }
.item-body .eyebrow { display: block; margin-bottom: 4px; }

/* ---------- guide pages ---------- */
.disc-art { position: relative; width: min(440px, 100%); margin-bottom: 40px; }
.exs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ex { border-radius: 28px; padding: 26px; min-height: 250px; transform: rotate(var(--r)); transition: transform .25s ease; }
.ex:hover { transform: rotate(0) translateY(-6px); }
.ex h3 { font-size: 22px; margin-top: 16px; } .ex p { margin-top: 8px; opacity: .85; }
.qband { background: #FFE9C9; text-align: center; }
.qband .qs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 22px auto 18px; max-width: 980px; }
.qband .q { background: #fff; border-radius: 22px; padding: 18px 24px; font: 700 clamp(19px, 2.2vw, 26px)/1.3 var(--head); box-shadow: 0 10px 24px rgba(150, 100, 40, .1); }
.qband .q:nth-child(2) { transform: rotate(1.5deg); } .qband .q:nth-child(3) { transform: rotate(-1.5deg); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 24px; max-width: 420px; }
.week .day { background: #E8F6C9; border-radius: 16px; padding: 10px 0; text-align: center; font-weight: 800; }
.week .day small { display: block; font-size: 12px; opacity: .7; }
.week .day span { font-size: 20px; }
.week .day.rest { background: #EFE6FB; }
.agroup { border-radius: 28px; padding: 26px; }
.agroup h3 { margin-top: 14px; font-size: 22px; } .agroup p { margin-top: 6px; opacity: .85; }
.agroup ul { margin: 14px 0; padding-left: 18px; display: grid; gap: 4px; font-weight: 600; }
.agroup > span { font-weight: 800; font-size: 13px; opacity: .7; }
.ideas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; text-align: left; }
.idea { border-radius: 22px; padding: 20px; color: #1E2238; }
.idea small { font-weight: 800; font-size: 13px; opacity: .7; } .idea b { display: block; margin-top: 8px; font: 700 19px/1.3 var(--head); }
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.letter .paper { background: repeating-linear-gradient(#FFFDF6 0 33px, #E6E0F2 33px 34px); border-radius: 18px; padding: 34px 36px; font-size: 19px; line-height: 34px; box-shadow: 0 24px 50px rgba(60, 40, 90, .12); transform: rotate(1.5deg); }
.letter .paper p + p { margin-top: 0; }
a.tool, a.course, a.cover { text-decoration: none; }
a.tool .time { color: #1E2238; align-self: flex-start; }
.tool .shape { width: 120px; left: calc(50% - 60px); transform: none; }
.tool .time svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 2px; }

/* ---------- support pages ---------- */
.sup-hero { padding: 70px 0 80px; }
.sup-hero .g { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.sup-hero h1 { font-size: clamp(38px, 5.2vw, 70px); }
.sup-hero .lead { font-size: 19px; margin: 18px 0 28px; max-width: 560px; }
.sup-hero .crumbs, .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .crumbs a { color: var(--muted); }
.feel-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.feel-chips span { border: 2px solid var(--a); border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 17px; background: #fff; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card { background: #fff; border-radius: 28px; padding: 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, box-shadow .2s ease; }
.help-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(30, 30, 60, .08); }
.help-card .gv { width: 64px; height: 64px; border-radius: 20px; background: var(--soft); display: grid; place-items: end center; overflow: hidden; margin-bottom: 8px; }
.help-card .gv img { width: 80%; margin-bottom: -6%; }
.help-card small { font-weight: 800; color: var(--muted); } .help-card h3 { font-size: 22px; } .help-card p { color: var(--muted); flex: 1; }
.more-help { background: #F3F7FD; border-radius: 30px; padding: 38px 42px; }
.more-help h2 { font-size: clamp(26px, 3vw, 36px); } .more-help p { margin-top: 12px; font-size: 18px; max-width: 820px; }
.sup-links { display: flex; flex-wrap: wrap; gap: 12px; }
.sup-links a { border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; color: #1E2238; }
.art-cta { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding: 18px 22px; border-radius: 22px; background: var(--soft); text-decoration: none; color: var(--ink); }
.art-cta img { width: 52px; height: 62px; object-fit: contain; }
.art-cta > span { flex: 1; } .art-cta b { display: block; font-size: 18px; } .art-cta span span { color: var(--muted); font-size: 15px; }
.art-cta svg { width: 20px; height: 20px; }
.a-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- footer: six columns ---------- */
.foot-grid { grid-template-columns: 1.4fr repeat(5, 1fr); gap: 24px; }

/* ---------- tablets (iPad and Android tablets) ---------- */
@media (max-width: 1024px) {
  .exs, .ideas { grid-template-columns: repeat(2, 1fr); }
  .help-cards { grid-template-columns: 1fr 1fr; }
  .a-grid, .cards3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-grid .about { grid-column: 1 / -1; }
  .item-body { grid-template-columns: 1fr 300px; gap: 32px; }
}
/* ---------- phones (iPhone and Android) ---------- */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .sup-hero .g, .item-hero .g, .letter { grid-template-columns: 1fr; gap: 30px; }
  .item-body { grid-template-columns: 1fr; } .iside { grid-column: 1; grid-row: auto; position: static; }
  .help-cards, .a-grid, .cards3 { grid-template-columns: 1fr; }
  .exs, .ideas { grid-template-columns: 1fr; } .ex { transform: none; min-height: 0; }
  .lib-hero { padding: 70px 0 50px; } .lib-hero .wrap { margin: 0 14px; padding: 28px 22px; }
  .item-hero.vid { padding: 110px 0 40px; } .item-hero.vid .wrap { margin: 0 14px; padding: 26px 22px; }
  .excerpt { font-size: 19px; }
  .layers > div { flex-direction: column; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .filters label { flex: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; }
  .tabs label.tab { flex: none; }
  .lib-grid .lib-card { height: 300px; }
  .more-help { padding: 28px 22px; }
  .week { gap: 5px; }
  .btn, .filters label, .tabs label.tab { min-height: 44px; }
}
@media (hover: none) { .ex:hover, .help-card:hover { transform: none; } }
.lib-card > .bg { position: absolute; z-index: 0; }
.lib-card > .play { position: absolute; z-index: 2; }
.lib-card .tag { z-index: 2; }
@media (max-width: 520px) {
  .feel-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ft { min-height: 150px; padding: 14px; border-radius: 22px; }
  .ft b { font-size: 17px; max-width: 100%; }
  .ft .go { width: 32px; height: 32px; right: 10px; top: 10px; }
  .ft .shape { width: 70px; right: -10px; bottom: -14px; }
}

/* ---------- Get the app ---------- */
.get-hero { padding: 70px 0 70px; background: linear-gradient(180deg, #FFF6E2, #FFFFFF); }
.get-hero .g { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.get-hero h1 { font-size: clamp(38px, 5.2vw, 68px); margin-top: 10px; }
.get-hero .lead { font-size: 19px; margin-top: 16px; max-width: 540px; }
.getcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.getc { background: var(--soft); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.getc h3 { font-size: 24px; } .getc p { color: var(--muted); flex: 1; }
.getc .stores { margin-top: 6px; }
@media (max-width: 900px) { .get-hero .g { grid-template-columns: 1fr; } .getcs { grid-template-columns: 1fr; } }

/* ---------- more room between the footer buttons and the moving guide ---------- */
.f-sun .stores, .f-circle .stores, .f-night .stores { margin-bottom: 36px; position: relative; z-index: 3; }
.f .stores a, .home-hero .ctas a { position: relative; z-index: 3; }

/* ---------- home hero: the buttons stay in front, and the guides stand below them ---------- */
.home-hero .ctas { z-index: 5; }
.home-hero .shore { height: calc(min(1050px, 98vw) * .53 + 34px); margin-top: 24px; }

/* ---------- breathe: a bigger Numa, breathing rings and a moving sound wave ---------- */
.orb.big { width: min(600px, 92vw); }
.orb.big .r1 { background: rgba(150, 190, 255, .38); }
.orb.big .r2 { background: rgba(125, 170, 250, .42); }
.orb.big .r3 { inset: 12%; }
.orb.big .guide-v { width: 62%; margin-top: 4%; }
.bwave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 74px; margin: 26px auto 0; max-width: 520px; padding: 0 16px; }
.bwave i { display: block; width: 7px; height: var(--h); border-radius: 7px; background: linear-gradient(180deg, #7FA8F5, #2E64C8); opacity: .85; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bwave i { animation: bflow 1.6s ease-in-out infinite; }
  .bwave { animation: bswell 8s ease-in-out infinite; }
  @keyframes bflow { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
  @keyframes bswell { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1.05); } }
}
.bword { margin-top: 14px; text-align: center; font: 700 24px var(--head); color: #2E64C8; min-height: 32px; }
@media (prefers-reduced-motion: no-preference) { .bword::before { content: 'Breathe in'; animation: bw 8s steps(1) infinite; } }
@media (prefers-reduced-motion: reduce) { .bword::before { content: 'Breathe in, breathe out'; } }
@media (max-width: 600px) { .bwave { gap: 4px; height: 56px; } .bwave i { width: 5px; } }

/* ---------- meditation themes read as separate chips ---------- */
.mini { display: flex; gap: 10px; flex-wrap: wrap; }
.mini span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #DCE4F5; font-weight: 700; font-size: 15px; color: #2B3550; }
.scene .mini span { background: var(--soft); border: 0; }

/* ---------- closing circle: Numa sits fully inside the circle, nothing covers it ---------- */
.f-circle .ring { margin: 40px auto 56px; }
.f-circle .base { display: none; }

/* Quicksand served from our own site (no visitor data sent to Google). Open Font Licence: fonts/Quicksand-OFL.txt */
@font-face { font-family: 'Quicksand'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/quicksand-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(fonts/quicksand-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Cookie choice: Accept and Reject look the same, so neither is pushed */
.cookie-box { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 560px; margin: 0 auto; background: #fff; color: #1E2238; border: 1px solid #ECE9F1; border-radius: 22px; box-shadow: 0 18px 50px rgba(20, 20, 40, .18); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 15px; line-height: 1.45; }
.cookie-box p { margin: 0; flex: 1 1 280px; }
.cookie-box a { color: #2E64C8; font-weight: 700; }
.cookie-btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-box .btn.ghost { color: #1E2238; box-shadow: inset 0 0 0 2px #1E2238; min-width: 96px; }
.cookie-box .btn.ghost:hover { background: #1E2238; color: #fff; }
footer.site-foot a[data-cookie-settings] { cursor: pointer; }

/* Plans: both plans side by side, annual picked first (recording 14). Radios switch them with no script, so it works on the canvas too. */
.pick { max-width: 860px; margin: 0 auto; }
.pick > input { position: absolute; opacity: 0; pointer-events: none; }
.pick-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.pcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; border: 2px solid var(--line-strong); border-radius: var(--r-lg); padding: 30px 26px 24px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pcard:hover { transform: translateY(-2px); }
.pcard .pname { font: 700 22px var(--head); }
.pcard .pprice { font: 700 40px/1.1 var(--head); color: #1E2238; }
.pcard .pprice small { font-size: 17px; font-weight: 600; color: var(--muted); }
.pcard .pper { font-weight: 700; color: #2E64C8; }
.pcard .pnote { color: var(--muted); font-size: 15px; }
.pcard .pbadge { position: absolute; top: -15px; left: 24px; background: var(--accent); color: #1E2238; font-weight: 800; font-size: 14px; padding: 5px 14px; border-radius: 999px; }
.pcard .pdot { position: absolute; right: 22px; top: 26px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); }
#plan-year:checked ~ .pick-cards .yr, #plan-month:checked ~ .pick-cards .mo { border-color: #1E2238; box-shadow: 0 10px 30px rgba(30, 34, 56, .10); }
#plan-year:checked ~ .pick-cards .yr .pdot, #plan-month:checked ~ .pick-cards .mo .pdot { border: 7px solid #1E2238; }
#plan-year:focus-visible ~ .pick-cards .yr, #plan-month:focus-visible ~ .pick-cards .mo { outline: 3px solid #2E64C8; outline-offset: 3px; }
.pick .pbig { max-width: none; }
.pick .mo-btn, #plan-month:checked ~ .pbig .yr-btn { display: none; }
#plan-month:checked ~ .pbig .mo-btn { display: inline-flex; }
@media (max-width: 700px) { .pick-cards { grid-template-columns: 1fr; gap: 26px; } .pcard .pprice { font-size: 34px; } }

/* Plans: what one subscription brings */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { border-radius: var(--r-lg); padding: 26px 22px; color: #1E2238; }
.vcard img { height: 92px; width: auto; display: block; margin-bottom: 12px; }
.vcard h3 { font-size: 21px; } .vcard p { margin-top: 8px; color: #3D4257; }
.vtie { max-width: 720px; margin: 34px auto 0; display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 600; text-align: left; }
.vtie > :first-child { width: 76px; flex: 0 0 76px; }
@media (max-width: 960px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }

/* Help centre: every guide in a row with the logo in the middle (recording 14) */
.help-hero { text-align: center; padding: 40px 0 64px; background: #F3F7FD; }
.help-hero h1 { font-size: clamp(40px, 6vw, 68px); }
.help-hero .lead { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 19px; }
.crew-row { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin: 0 auto 26px; max-width: 1100px; padding: 0 16px; }
.crew-row .side { display: flex; align-items: flex-end; gap: 4px; flex: 1 1 0; justify-content: center; }
.crew-row .side img { height: 92px; width: auto; min-width: 0; object-fit: contain; }
.crew-row .logo { width: 112px; height: 112px; margin: 0 14px; flex: 0 0 auto; border-radius: 28px; box-shadow: 0 10px 26px rgba(30, 34, 56, .14); }
@media (max-width: 760px) { .crew-row .side img { height: 52px; } .crew-row .logo { width: 70px; height: 70px; border-radius: 18px; margin: 0 6px; } .crew-row .side img:nth-child(n+4) { display: none; } }
.htiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 70px; }
.htile { position: relative; border-radius: 26px; padding: 22px 20px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #1E2238; overflow: hidden; transition: transform .2s; }
.htile:hover { transform: translateY(-4px); }
.htile img { position: absolute; right: 10px; top: 10px; height: 78px; width: auto; }
.htile b { font: 700 21px var(--head); padding-right: 40px; }
.htile span { margin-top: 6px; font-size: 15px; color: #3D4257; }
@media (max-width: 900px) { .htiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .htiles { grid-template-columns: 1fr; } .htile { min-height: 140px; } }
.help-group .link-arrow { margin-top: 12px; }

/* Contact us: a big picture, a big heading and one clear button (recording 14) */
.contact-hero { padding: 60px 0 70px; }
.contact-hero .g { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.contact-hero .pic { background: #EFE6FB; border-radius: 40px; padding: 30px; }
.contact-hero .pic img { width: 100%; height: auto; display: block; }
.contact-hero h1 { font-size: clamp(48px, 7vw, 88px); }
.contact-hero .lead { font-size: 20px; color: var(--muted); margin: 16px 0 26px; max-width: 460px; }
@media (max-width: 860px) { .contact-hero .g { grid-template-columns: 1fr; gap: 28px; } .contact-hero { padding-top: 30px; } }
.ctopics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ctopics a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 22px; background: var(--soft); text-decoration: none; color: #1E2238; font-weight: 700; }
.ctopics img { height: 48px; width: auto; }
@media (max-width: 860px) { .ctopics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .ctopics { grid-template-columns: 1fr; } }

/* Sleep sound previews (recording 13) */
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn.play { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); color: #1E2238; }
.btn.play svg { width: 20px; height: 20px; }
.btn.play .i-pause, .btn.play[aria-pressed="true"] .i-play { display: none; }
.btn.play[aria-pressed="true"] .i-pause { display: inline; }
/* cookie preferences panel (Manage preferences) */
.cookie-box .cookie-btns { flex: 1 1 100%; flex-wrap: wrap; }
.cookie-box.open { display: block; max-width: 520px; }
.cookie-prefs .cp-title { display: block; font-size: 18px; margin-bottom: 10px; }
.cookie-prefs .cp-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #ECE9F1; cursor: default; }
.cookie-prefs label.cp-row { cursor: pointer; }
.cookie-prefs .cp-row div { flex: 1 1 auto; min-width: 0; }
.cookie-prefs .cp-row b { display: block; }
.cookie-prefs .cp-row span { display: block; color: #5B6075; font-size: 14px; }
.cookie-prefs .cp-always { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #2E7D4F; }
.cookie-prefs .cp-more { margin: 4px 0 12px; font-size: 14px; }
.cp-switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 48px; height: 28px; border-radius: 99px; background: #CFCBD9; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cp-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.cp-switch:checked { background: #1E2238; }
.cp-switch:checked::after { transform: translateX(20px); }
.cp-switch:focus-visible { outline: 3px solid #2E64C8; outline-offset: 2px; }
@media (max-width: 520px) { .cookie-box .cookie-btns .btn { flex: 1 1 auto; } }
/* cookie banner, laid out like the reference: title, text, then three equal buttons */
.cookie-box { display: block; max-width: 600px; background: #EEF3FB; border-color: #DCE5F4; padding: 22px 24px; border-radius: 26px; }
.cookie-box .cb-title { display: block; font: 700 21px/1.3 var(--head); margin-bottom: 8px; }
.cookie-box > p { margin: 0 0 16px; font-size: 15.5px; }
.cookie-box .cookie-btns.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cookie-box .cb-btn { font: 700 15px var(--body); border: 0; border-radius: 16px; padding: 12px; cursor: pointer; background: #fff; color: #1E2238; box-shadow: inset 0 0 0 2px #1E2238; transition: background .15s, color .15s; }
.cookie-box .cb-btn:hover, .cookie-box .cb-btn:active { background: #1E2238; color: #fff; }
.cookie-box .cb-btn:focus-visible { outline: 3px solid #2E64C8; outline-offset: 2px; }
.cookie-box.open .cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-prefs .cp-row { border-top-color: #DCE5F4; }
@media (max-width: 560px) { .cookie-box .cookie-btns.three { grid-template-columns: 1fr; } .cookie-box { padding: 20px; } }

/* Very narrow phones (folded Galaxy Fold, 280 to 359px): keep the menu button on screen.
   The logo shows its icon only, and the header button and menu button shrink a little. */
@media (max-width: 359px) {
  .site-head .logo { font-size: 0; gap: 0; }
  .site-head .logo img { width: 32px; height: 32px; }
  .head-in { gap: 8px; }
  .head-act { gap: 6px; }
  .head-act .btn { padding: 0 12px; font-size: 13px; height: 38px; }
  .burger { width: 40px; height: 40px; }
}

/* Mood calendar (feelings page): let the seven columns shrink on small phones. */
.mcal { min-width: 0; max-width: 100%; }
.mcal .days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mcal .days span { min-width: 0; }
@media (max-width: 420px) { .mcal { padding: 18px; border-radius: 24px; } .mcal .days { gap: 5px; } }

/* Get the app: QR code card for computer visitors (phones cannot scan their own screen, so it is hidden there). */
.getc-qr .qr { width: 168px; height: 168px; border-radius: 16px; background: #fff; padding: 10px; box-shadow: 0 8px 24px rgba(30, 34, 56, .08); }
@media (max-width: 900px), (pointer: coarse) { .getc-qr { display: none; } }
