@font-face {
  font-family: Nunito;
  src: url('/assets/fonts/Nunito-Medium.woff2') format('woff2'), url('/assets/fonts/Nunito-Medium.ttf') format('truetype');
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/assets/fonts/Nunito-ExtraBold.woff2') format('woff2'), url('/assets/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('/assets/fonts/Nunito-Black.woff2') format('woff2'), url('/assets/fonts/Nunito-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}
/* A light palette follows the app and its existing illustrated identity. */
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #352a23;
  --brown: #94613f;
  --muted: #6c6258;
  --sage: #e2e8d8;
  --caramel: #f0e4d5;
  --line: #dedbd1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Nunito, system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.7vw, 76px); }
h2 { font-size: clamp(34px, 3.9vw, 54px); }
h3 { font-size: 27px; }
h1 span, h2 span { color: var(--brown); }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #726d3e; outline-offset: 6px; border-radius: 5px; }
.wrap { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--ink); color: white; padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .035em; margin-bottom: 22px; color: var(--brown); }
.lede { font-size: 19px; color: var(--muted); max-width: 430px; line-height: 1.6; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 17px 24px; border-radius: 13px; background: var(--ink); color: white; font-weight: 800; font-size: 15px; transition: background .2s, transform .2s; }
.button:hover { background: #574130; transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 22px; align-items: center; font-size: 16px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--brown); }
.header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 900; white-space: nowrap; letter-spacing: -.02em; }
.brand img { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.brand > span:not(.brand-wordmark) { color: var(--brown); margin-left: -9px; }
.wordmark-dot { color: var(--brown); }
.nav-description, .nav-arrow, .mobile-download-label { display: none; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 800; }
.main-nav > a { padding-block: 10px; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a[aria-current] { color: var(--brown); }
.main-nav > a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.main-nav .nav-download { background: var(--ink); color: white; padding: 10px 17px; border-radius: 10px; }
.main-nav > .nav-download:hover { background: #574130; color: white; }
.nav-download span { margin-left: 9px; }
.menu-toggle { background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; min-height: 44px; padding: 10px 16px; font-size: 13px; font-weight: 800; cursor: pointer; align-items: center; gap: 12px; }
.menu-icon { width: 17px; height: 16px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; }
.menu-icon > span { display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .18s ease; }
.menu-open .menu-icon > span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-icon > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu-toggle[hidden] { display: none; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 28px; padding-block: 32px 60px; }
.hero h1 { font-size: clamp(60px, 6.4vw, 86px); line-height: 1.045; letter-spacing: -.045em; }
.hero .lede { margin-top: 26px; margin-bottom: 28px; max-width: 390px; }
.hero-stage { height: 565px; position: relative; min-width: 0; isolation: isolate; }
.stage-disc { position: absolute; inset: 42px 0 18px 8px; background: var(--sage); border-radius: 45% 47% 42% 46%; transform: rotate(-7deg); z-index: -1; }
.phone { padding: 6px; background: #302923; border-radius: 31px; box-shadow: 0 24px 42px -18px #57453255, 0 0 0 1px #9f9288; overflow: hidden; }
.phone img { width: 100%; border-radius: 25px; }
.hero-phone { position: absolute; width: 243px; top: 0; right: 49px; transform: rotate(7deg); }
.hero-poopy { width: 310px; position: absolute; left: -12px; bottom: 0; animation: poopy-bob 6s ease-in-out infinite; }
@keyframes poopy-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(0); } }
.essentials { display: flex; justify-content: space-between; padding: 23px 0; border-block: 1px solid var(--line); font-size: 14px; font-weight: 800; color: var(--muted); }
.habit-section { padding-block: 94px 90px; }
.section-intro > p { color: var(--muted); margin-top: 20px; max-width: 560px; }
.habit-grid { display: grid; grid-template-columns: .92fr 1.1fr; gap: 65px; margin-top: 42px; align-items: center; }
.large-copy { font-size: 28px; line-height: 1.4; letter-spacing: -.02em; font-weight: 800; }
.habit-copy > p:not(.large-copy) { margin-top: 24px; color: var(--muted); max-width: 380px; }
.habit-copy > a { margin-top: 28px; }
.log-categories { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.home-screens { position: relative; height: 490px; background: #edece4; border-radius: 28px; overflow: hidden; }
.home-screens .phone { position: absolute; width: 220px; }
.calendar-preview { left: 35px; top: 60px; transform: rotate(-7deg); }
.insight-preview { right: 28px; top: 23px; transform: rotate(7deg); }
.sample-caption { color: var(--muted); font-size: 12px; line-height: 1.5; }
.home-screens .sample-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; padding: 25px 12px 16px; background: linear-gradient(transparent, #edece4 55%); }
.home-poopy { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 45px; background: var(--caramel); padding: 40px 64px; border-radius: 30px; }
.poopy-illustration img { max-height: 340px; width: 100%; object-fit: contain; }
.home-poopy-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); max-width: 450px; }
.home-poopy-copy .text-link { margin-top: 24px; }
.home-bottom { display: grid; grid-template-columns: 1.3fr .8fr; gap: 90px; padding-block: 95px; align-items: start; }
.privacy-preview h2 { font-size: 42px; }
.privacy-preview p { max-width: 520px; color: var(--muted); margin-top: 25px; }
.privacy-preview a { margin-top: 25px; }
.pro-preview { border-left: 1px solid var(--line); padding-left: 40px; }
.pro-preview h3 { font-size: 35px; }
.pro-preview > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 16px; }
.pro-preview a { margin-top: 25px; }
.download-panel { background: var(--sage); padding: 43px 48px; border-radius: 25px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.download-panel h2 { font-size: 37px; }
.download-panel p { margin-top: 12px; color: #55604d; font-size: 15px; }
.download-panel .button { flex-shrink: 0; }
.download-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.download-qr { display: none; margin: 0; text-align: center; }
.download-qr img { display: block; width: 112px; height: 112px; border-radius: 12px; background: #fff; padding: 6px; }
.download-qr figcaption { margin-top: 8px; max-width: 128px; font-size: 12px; line-height: 1.35; color: #55604d; }
/* The QR only helps someone on a computer: show it on wide screens with a mouse. */
@media (min-width: 1001px) and (hover: hover) and (pointer: fine) { .download-qr { display: block; } }
.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; padding-block: 65px 32px; }
.footer-brand > p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; align-content: start; justify-content: end; flex-wrap: wrap; gap: 16px 25px; font-weight: 800; font-size: 14px; }
.footer-nav a[aria-current], .footer-nav a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }
.footer .disclaimer { max-width: 580px; color: var(--muted); font-size: 12px; }
.footer small { font-size: 12px; color: var(--muted); text-align: right; align-self: end; }
.page-intro { text-align: center; padding-block: 72px 55px; }
.page-intro h1 { font-size: clamp(43px, 5vw, 66px); }
.page-intro > p:last-child { max-width: 610px; color: var(--muted); margin: 25px auto 0; font-size: 19px; }
.tour { display: grid; grid-template-columns: 1fr .95fr; background: #eeede5; border-radius: 30px; overflow: hidden; }
.tour-copy { display: flex; flex-direction: column; padding: 50px; }
.view-tabs { display: flex; gap: 30px; border-bottom: 1px solid #d6d4c9; }
.view-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 0 0 16px; font-weight: 800; font-size: 15px; color: var(--muted); cursor: pointer; }
.view-tabs button[aria-selected=true] { border-bottom-color: var(--brown); color: var(--ink); }
.tour-story { padding-block: 48px 30px; }
.tour-story h2 { font-size: 44px; max-width: 350px; }
.tour-story > p { margin-top: 24px; color: var(--muted); max-width: 360px; }
.tour-story .tour-detail { font-size: 14px; }
.tour-copy > .sample-caption { margin-top: auto; }
.tour-media { background: var(--sage); min-height: 650px; position: relative; display: flex; align-items: center; justify-content: center; padding: 45px 30px 70px; }
.tour-phone { width: 245px; }
.screen-caption { position: absolute; bottom: 24px; left: 15px; right: 15px; text-align: center; font-size: 13px; color: #526047; }
.app-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 95px 75px; }
.app-notes p { margin-top: 20px; color: var(--muted); max-width: 420px; }
.app-notes h3:not(:first-child) { margin-top: 38px; }
.app-notes a { margin-top: 26px; }
.privacy-note { padding: 28px 36px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 70px; display: grid; grid-template-columns: .7fr 1.8fr; gap: 32px; }
.privacy-note h3 { font-size: 24px; }
.privacy-note p { font-size: 15px; color: var(--muted); }
.privacy-note a, .fine-print a { text-decoration: underline; text-underline-offset: 4px; }
.poopy-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-block: 25px 50px; gap: 30px; }
.poopy-hero h1 { font-size: clamp(72px, 7.5vw, 105px); }
.poopy-hero .lede { margin-top: 26px; }
.poopy-aside { margin-top: 24px; color: var(--brown); font-size: 14px; }
.poopy-hero > img { width: 500px; animation: poopy-bob 6s ease-in-out infinite; }
.coach-feature { background: var(--sage); border-radius: 30px; display: grid; grid-template-columns: 1.1fr .8fr; align-items: center; padding: 50px 70px; gap: 65px; overflow: hidden; }
.coach-copy > p { margin-top: 25px; }
.coach-copy > a { margin-top: 28px; }
.coach-visual { height: 440px; position: relative; }
.coach-phone { width: 225px; transform: rotate(5deg); margin-inline: auto; }
.daily-tools { padding-block: 90px 70px; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 36px; }
.tool-feature { border-radius: 25px; overflow: hidden; padding: 35px 35px 0; }
.learn-feature { background: #efe5d8; }
.toolkit-feature { background: #e9eade; }
.tool-feature p { color: var(--muted); margin-top: 14px; max-width: 350px; }
.tool-screen { height: 300px; overflow: hidden; margin-top: 28px; }
.tool-screen .phone { width: 235px; margin: 0 auto; }
.daily-tools > .sample-caption { margin-top: 18px; }
.poopy-personality { display: grid; grid-template-columns: .6fr 1fr; gap: 60px; align-items: center; padding-bottom: 75px; }
.poopy-personality > img { max-height: 260px; object-fit: contain; justify-self: center; }
.poopy-personality p { margin-top: 25px; max-width: 560px; color: var(--muted); }
.poopy-personality a { margin-top: 25px; }
.pro-intro { padding-bottom: 50px; }
.table-scroll { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
thead { background: #eeede5; }
thead th { font-size: 23px; font-weight: 900; padding: 28px 25px; }
thead th span { display: block; font-size: 13px; font-weight: 500; margin-top: 8px; color: var(--muted); }
th:first-child { width: 46%; text-align: left; }
tbody th { font-weight: 500; }
tbody td, tbody th { padding: 18px 25px; border-bottom: 1px solid #dedbd180; }
tbody td { text-align: center; }
tbody tr:last-child > * { border-bottom: 0; }
tr > :last-child { background: #e2e8d880; }
.comparison-note { color: var(--muted); font-size: 14px; max-width: 720px; margin-top: 22px; }
.comparison > .button { margin-top: 26px; }
.pro-editorial { display: grid; grid-template-columns: 1.3fr 1fr; gap: 85px; padding-block: 88px; align-items: start; }
.pro-editorial p { color: var(--muted); margin-top: 22px; }
.pro-editorial-note { background: var(--caramel); padding: 35px; border-radius: 22px; }
.pro-editorial-note a { margin-top: 25px; }
.faq-section { padding-bottom: 40px; }
.faq-items { margin-top: 30px; max-width: 830px; }
details { border-top: 1px solid var(--line); padding-block: 23px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; cursor: pointer; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: 24px; color: var(--brown); font-weight: 500; flex-shrink: 0; }
details[open] summary > span { transform: rotate(45deg); }
details p { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 710px; }
details a { text-decoration: underline; text-underline-offset: 4px; }
.doc { max-width: 830px; padding-block: 70px 50px; }
.doc h1 { font-size: clamp(42px, 5vw, 65px); margin-bottom: 22px; }
.doc h2 { font-size: 28px; margin-top: 42px; margin-bottom: 15px; line-height: 1.25; }
.doc p { margin-top: 17px; }
.doc .effective { color: var(--muted); margin-bottom: 32px; font-size: 15px; }
.doc .callout { background: var(--sage); border-radius: 18px; padding: 25px 30px; margin-block: 30px; }
.doc a { color: #7e5034; text-decoration: underline; text-underline-offset: 4px; }
.doc a.button, .doc a.button:hover { color: #fff; text-decoration: none; }
.doc li { margin-block: 12px; }
.doc .faq-item { border-top: 1px solid var(--line); padding-bottom: 24px; }
.doc .faq-item h2 { margin-top: 30px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .header { gap: 15px; }
  .brand { font-size: 17px; }
  .main-nav { gap: 16px; font-size: 12px; }
  .main-nav .nav-download { padding-inline: 12px; }
  .hero h1 { font-size: 69px; }
  .hero-stage { height: 530px; }
  .hero-phone { width: 223px; right: 20px; }
  .hero-poopy { width: 265px; left: -13px; }
  .habit-grid { gap: 35px; }
  .home-screens .phone { width: 190px; }
  .calendar-preview { left: 20px; }
  .insight-preview { right: 20px; }
  .home-screens { height: 420px; }
  .home-poopy { padding: 40px; gap: 25px; }
  .home-bottom { gap: 45px; }
  .privacy-preview h2 { font-size: 36px; }
  .pro-preview { padding-left: 28px; }
  .download-panel { padding: 35px; }
  .download-panel h2 { font-size: 31px; }
  .download-panel .button { gap: 15px; padding-inline: 18px; }
  .tour-copy { padding: 35px; }
  .tour-story h2 { font-size: 39px; }
  .coach-feature { padding: 45px; gap: 35px; }
}
@media (max-width: 800px) {
  .header.wrap { width: calc(100% - 32px); flex-wrap: wrap; min-height: 60px; padding: 6px 10px; margin-top: 8px; margin-bottom: 10px; gap: 8px; background: #f8f7f2; border: 1px solid #dedbd1; border-radius: 16px; box-shadow: 0 6px 22px -13px #352a2355; }
  .header.menu-ready { position: sticky; top: 8px; flex-wrap: nowrap; }
  .header .brand { font-size: 16px; line-height: 1.08; gap: 8px; }
  .header .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .brand-wordmark { display: block; }
  .wordmark-break { display: block; margin-top: 2px; }
  .menu-toggle:not([hidden]) { display: inline-flex; margin-left: auto; flex-shrink: 0; }
  .header .menu-toggle { min-height: 44px; padding-inline: 12px; gap: 8px; }
  .header .main-nav { flex-basis: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; border: 1px solid #dedbd1; background: #f8f7f2; border-radius: 20px; }
  .header.menu-ready .main-nav { display: none; }
  .header.menu-ready .main-nav { position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 14px 28px -17px #352a2370; }
  .header.menu-open .main-nav { display: flex; animation: menu-arrive .18s ease both; }
  .header .main-nav > .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-radius: 12px; white-space: normal; }
  .header .nav-title { display: block; font-size: 21px; font-weight: 900; line-height: 1.2; letter-spacing: -.025em; }
  .header .nav-description { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
  .header .nav-arrow { display: block; font-size: 23px; color: var(--brown); }
  .header .main-nav > a[aria-current] { background: #e7eadf; color: var(--ink); text-decoration: none; }
  .header .main-nav > .nav-row:hover { background: #eeece4; }
  .header .main-nav > .nav-download { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 54px; padding: 14px 18px; margin-top: 8px; border-radius: 13px; font-size: 15px; }
  .desktop-download-label { display: none; }
  .mobile-download-label { display: block; }
  .header .main-nav .nav-download span { margin-left: 0; }
  .header .main-nav a:focus-visible { outline-offset: 2px; }
  @keyframes menu-arrive { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
  .hero { gap: 12px; }
  .hero h1 { font-size: 57px; }
  .hero-stage { height: 455px; }
  .hero-phone { width: 192px; top: 20px; right: 13px; }
  .hero-poopy { width: 235px; bottom: 0; }
  .hero .lede { font-size: 17px; }
  .home-bottom { grid-template-columns: 1fr; gap: 45px; padding-block: 70px; }
  .pro-preview { border-left: 0; border-top: 1px solid var(--line); padding: 35px 0 0; }
  .download-panel { align-items: start; flex-direction: column; gap: 25px; }
  .tour { grid-template-columns: 1fr 1fr; }
  .tour-copy { padding: 27px; }
  .view-tabs { gap: 18px; }
  .view-tabs button { font-size: 13px; }
  .tour-story h2 { font-size: 33px; }
  .tour-media { min-height: 570px; padding-inline: 15px; }
  .tour-phone { width: 210px; }
  .app-notes, .pro-editorial { gap: 40px; }
  .coach-feature { grid-template-columns: 1fr 1fr; padding: 35px; gap: 24px; }
  .coach-visual { height: 430px; }
  .coach-phone { width: 205px; }
  .poopy-hero h1 { font-size: 80px; }
  .tool-feature { padding-inline: 25px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .brand { font-size: 17px; gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .hero { grid-template-columns: 1fr; padding-block: 34px 35px; gap: 18px; }
  .hero h1 { font-size: clamp(56px, 14vw, 72px); }
  .hero h1 br:first-child { display: none; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .hero .lede { max-width: 370px; margin-block: 22px 25px; }
  .hero-stage { width: min(100%, 395px); justify-self: center; height: 490px; margin-top: 16px; }
  .stage-disc { inset-inline: 18px; }
  .hero-phone { width: 208px; right: 28px; top: 10px; }
  .hero-poopy { width: 267px; left: -11px; }
  .essentials { font-size: 12px; gap: 12px; flex-wrap: wrap; justify-content: start; padding-block: 20px; }
  .essentials p:last-child { flex-basis: 100%; }
  .habit-section { padding-block: 65px; }
  .habit-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .large-copy { font-size: 25px; }
  .habit-copy > p:not(.large-copy) { font-size: 16px; }
  .log-categories { margin-top: 25px; }
  .home-screens { height: 415px; }
  .home-screens .phone { width: 182px; }
  .calendar-preview { left: 19px; top: 55px; }
  .insight-preview { right: 17px; top: 25px; }
  .home-poopy { grid-template-columns: 1fr; gap: 5px; padding: 15px 28px 35px; }
  .poopy-illustration img { max-height: 220px; }
  .home-poopy-copy .eyebrow { font-size: 12px; margin-bottom: 17px; }
  .home-poopy-copy h2 { font-size: 34px; }
  .home-poopy-copy > p:not(.eyebrow) { font-size: 16px; }
  .home-bottom { padding-block: 65px; }
  .privacy-preview h2 { font-size: 34px; }
  .privacy-preview p { font-size: 16px; }
  .pro-preview h3 { font-size: 32px; }
  .download-panel { padding: 30px 26px; }
  .download-panel h2 { font-size: 31px; }
  .download-panel .button { width: 100%; font-size: 14px; }
  .footer { grid-template-columns: 1fr; gap: 25px; padding-block: 45px 25px; }
  .footer-nav { justify-content: start; gap: 12px 23px; }
  .footer small { text-align: left; }
  .page-intro { text-align: left; padding-block: 40px 35px; }
  .page-intro h1 { font-size: 41px; }
  .page-intro > p:last-child { font-size: 17px; margin-top: 22px; }
  .tour { grid-template-columns: 1fr; }
  .tour-copy { padding: 30px; }
  .view-tabs { gap: 30px; }
  .view-tabs button { font-size: 14px; }
  .tour-story { padding-top: 30px; min-height: 270px; }
  .tour-story h2 { font-size: 36px; }
  .tour-story > p { margin-top: 20px; font-size: 16px; }
  .tour-media { min-height: 570px; padding-block: 35px 65px; }
  .tour-phone { width: 215px; }
  .app-notes { grid-template-columns: 1fr; gap: 35px; padding-block: 65px 45px; }
  .app-notes p { font-size: 16px; }
  .privacy-note { grid-template-columns: 1fr; gap: 16px; padding: 26px; margin-bottom: 45px; }
  .poopy-hero { grid-template-columns: 1fr; gap: 0; padding-block: 38px 30px; }
  .poopy-hero h1 { font-size: 82px; }
  .poopy-hero .lede { font-size: 18px; }
  .poopy-hero > img { width: 350px; margin-inline: auto; }
  .coach-feature { grid-template-columns: 1fr; padding: 32px 28px 0; gap: 35px; }
  .coach-copy > p { font-size: 16px; }
  .coach-copy > .fine-print { font-size: 14px; }
  .coach-visual { height: 375px; }
  .coach-phone { width: 220px; }
  .daily-tools { padding-block: 60px 40px; }
  .tools-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .tool-feature { padding-top: 30px; }
  .tool-screen { height: 270px; }
  .poopy-personality { grid-template-columns: 1fr; gap: 20px; padding-bottom: 50px; }
  .poopy-personality > img { max-height: 200px; }
  .poopy-personality p { font-size: 16px; }
  table { font-size: 12px; }
  thead th { font-size: 17px; padding: 20px 10px; }
  thead th span { font-size: 11px; line-height: 1.5; }
  th:first-child { width: 43%; }
  tbody td, tbody th { padding: 16px 10px; line-height: 1.55; }
  .comparison > .button { width: 100%; }
  .pro-editorial { grid-template-columns: 1fr; gap: 28px; padding-block: 60px; }
  .pro-editorial-note { padding: 28px; }
  .faq-section h2 { font-size: 33px; }
  summary { font-size: 16px; }
  details p { font-size: 15px; }
  .doc { padding-block: 40px 25px; font-size: 16px; }
  .doc h1 { font-size: 43px; }
  .doc h2 { font-size: 25px; }
  .doc .callout { padding: 24px; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; gap: 7px; }
  .brand img { width: 38px; height: 38px; }
  .hero h1 { font-size: 48px; }
}
/* Richer homepage sections: names and overrides stay within the home surface. */
.home-daily { display: grid; grid-template-columns: .85fr 1.1fr; align-items: center; gap: 90px; padding-block: 95px; }
.home-daily .daily-visual { padding: 34px 25px 23px; background: #e9ecdf; border-radius: 28px; text-align: center; }
.home-daily .phone { width: 240px; margin-inline: auto; }
.home-daily .sample-caption { margin-top: 22px; }
.home-daily .daily-copy > p { margin-top: 23px; max-width: 450px; color: var(--muted); }
.home-daily .daily-details { margin: 30px 0; }
.home-daily .daily-details > div { margin-top: 23px; }
.home-daily dt { font-size: 18px; font-weight: 800; }
.home-daily dd { margin: 7px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 420px; }
.home-routine { background: var(--sage); color: var(--ink); padding: 48px 52px; border-radius: 28px; }
.home-routine h2 span { color: var(--brown); }
.home-routine .routine-heading { display: flex; align-items: start; flex-direction: column; gap: 22px; }
.home-routine .routine-heading > p { color: var(--muted); max-width: 450px; font-size: 17px; }
.home-routine .routine-details { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 38px; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.home-routine h3 { font-size: 23px; line-height: 1.2; }
.home-routine article p { color: var(--muted); font-size: 15px; margin-top: 16px; }
.home-main .habit-copy .home-context-note { font-size: 13px; color: var(--muted); }
.home-main .home-poopy-copy .home-poopy-note { font-size: 13px; color: #7a6554; }
.home-tools { padding-block: 95px 35px; }
.home-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 38px; }
.home-tool { display: grid; grid-template-columns: 1fr .85fr; gap: 20px; padding: 34px 30px 0; border-radius: 25px; overflow: hidden; align-items: center; min-height: 360px; }
.home-learn { background: #eee6dc; }
.home-toolkit { background: #e5e9db; }
.home-tool h3 { font-size: 29px; line-height: 1.15; }
.home-tool p { color: var(--muted); margin-top: 17px; font-size: 15px; }
.home-tool .text-link { font-size: 14px; margin-top: 23px; gap: 12px; }
.home-tool-copy { padding-bottom: 30px; }
.home-tool-shot { align-self: start; height: 340px; padding-top: 4px; }
.home-tool .phone { width: 190px; max-width: 100%; }
.home-tools > .sample-caption { margin-top: 17px; }
.home-personal { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; padding-block: 70px 95px; border-bottom: 1px solid var(--line); }
.home-personal h2 { font-size: 44px; }
.home-personal .personal-lede { font-size: 20px; color: var(--muted); margin-top: 25px; max-width: 490px; }
.home-personal .text-link { margin-top: 25px; }
.home-personal .personal-details { padding-top: 6px; }
.home-personal h3 { font-size: 25px; }
.home-personal .personal-details p { color: var(--muted); font-size: 15px; margin-top: 20px; }
.home-plans { padding-block: 95px 85px; }
.home-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 40px; }
.home-plan { padding: 32px 35px; }
.home-free { border-block: 1px solid var(--line); }
.home-pro { border-radius: 25px; background: var(--sage); }
.home-plan .plan-label { font-size: 13px; font-weight: 800; color: var(--brown); }
.home-plan h3 { font-size: 36px; margin-top: 18px; }
.home-plan > p:not(.plan-label) { color: var(--muted); margin-top: 17px; font-size: 15px; }
.home-plan ul { padding: 0; list-style: none; margin-block: 28px; }
.home-plan li { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: 15px; }
.home-plan li::before { content: '✓'; color: var(--brown); font-weight: 800; flex-shrink: 0; }
.home-plan > .home-plan-note { font-size: 13px !important; line-height: 1.7; max-width: 400px; }
.home-plan-link { margin-top: 30px; }
.home-faq { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 75px; padding-bottom: 95px; }
.home-faq-intro > p { color: var(--muted); max-width: 270px; margin-top: 25px; }
.home-faq-intro > a { margin-top: 25px; }
.home-faq-items details { padding-block: 21px; }
.home-faq-items summary { font-size: 16px; }
.home-faq-items details p { font-size: 15px; }

@media (max-width: 1050px) {
  .home-daily { gap: 45px; }
  .home-routine { padding: 40px; }
  .home-routine .routine-details { gap: 25px; }
  .home-tools-grid { gap: 20px; }
  .home-tool { padding-inline: 25px; gap: 15px; }
  .home-tool h3 { font-size: 25px; }
  .home-tool .phone { width: 165px; }
  .home-tool-shot { height: 340px; }
  .home-personal { gap: 45px; }
  .home-personal h2 { font-size: 38px; }
  .home-plan-grid { gap: 25px; }
  .home-plan { padding: 30px; }
  .home-faq { gap: 45px; }
}
@media (max-width: 800px) {
  .home-daily { grid-template-columns: .75fr 1fr; gap: 30px; padding-block: 70px; }
  .home-daily .daily-visual { padding-inline: 18px; }
  .home-daily .phone { width: 215px; }
  .home-daily h2 { font-size: 38px; }
  .home-daily dt { font-size: 16px; }
  .home-daily dd { font-size: 14px; }
  .home-routine .routine-heading { align-items: start; flex-direction: column; gap: 22px; }
  .home-routine .routine-heading > p { max-width: 450px; }
  .home-routine .routine-details { gap: 24px; }
  .home-routine h3 { font-size: 20px; }
  .home-routine article p { font-size: 14px; }
  .home-tools { padding-top: 70px; }
  .home-tools-grid { grid-template-columns: 1fr; }
  .home-tool { padding: 34px 38px 0; grid-template-columns: 1.1fr .8fr; min-height: 330px; gap: 40px; }
  .home-tool h3 { font-size: 31px; }
  .home-tool .phone { width: 205px; margin-inline: auto; }
  .home-tool-shot { height: 300px; }
  .home-personal { grid-template-columns: 1fr; gap: 35px; padding-block: 50px 70px; }
  .home-personal .personal-details { max-width: 610px; }
  .home-plans { padding-block: 70px; }
  .home-plan-grid { gap: 18px; }
  .home-plan { padding: 27px; }
  .home-plan h3 { font-size: 30px; }
  .home-plan li { font-size: 14px; gap: 10px; }
  .home-faq { grid-template-columns: 1fr; gap: 28px; padding-bottom: 70px; }
  .home-faq-intro > p { max-width: 470px; }
}
@media (max-width: 600px) {
  .home-daily { grid-template-columns: 1fr; gap: 35px; padding-block: 65px; }
  .home-daily .daily-copy { grid-row: 1; }
  .home-daily h2 { font-size: 36px; }
  .home-daily .daily-copy > p { font-size: 16px; }
  .home-daily .daily-details { margin-block: 26px; }
  .home-daily dt { font-size: 17px; }
  .home-daily dd { font-size: 15px; }
  .home-daily .daily-visual { padding: 28px 25px 20px; }
  .home-daily .phone { width: 230px; }
  .home-routine { padding: 32px 28px; }
  .home-routine .routine-details { grid-template-columns: 1fr; gap: 25px; margin-top: 26px; padding-top: 25px; }
  .home-routine h2 { font-size: 35px; }
  .home-routine h3 { font-size: 22px; }
  .home-routine article p { font-size: 15px; margin-top: 10px; }
  .home-main .habit-copy .home-context-note { font-size: 13px; }
  .home-main .home-poopy-copy .home-poopy-note { font-size: 13px; }
  .home-tools { padding-block: 65px 25px; }
  .home-tools-grid { gap: 22px; margin-top: 30px; }
  .home-tool { grid-template-columns: 1fr; padding: 29px 28px 0; gap: 15px; }
  .home-tool h3 { font-size: 29px; }
  .home-tool-copy { padding-bottom: 0; }
  .home-tool-shot { height: 275px; margin-top: 10px; }
  .home-tool .phone { width: 215px; }
  .home-personal { padding-block: 40px 60px; gap: 30px; }
  .home-personal h2 { font-size: 34px; }
  .home-personal .personal-lede { font-size: 18px; }
  .home-plans { padding-block: 60px; }
  .home-plan-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .home-plan { padding: 28px; }
  .home-plan h3 { font-size: 32px; }
  .home-plan li { font-size: 15px; }
  .home-plan-link { font-size: 14px; gap: 14px; }
  .home-faq { padding-bottom: 60px; }
  .home-faq h2 { font-size: 35px; }
  .home-faq-intro > p { font-size: 16px; margin-top: 20px; }
}

/* Mobile opening: the same download anchor follows the artwork visually.
   Desktop retains the approved nested copy/action and phone composition. */
@media (max-width: 800px) {
  .home-main .hero-phone { display: none; }
  .home-main .hero-stage { height: 360px; display: flex; align-items: center; justify-content: center; }
  .home-main .hero-poopy { position: static; width: 100%; height: 100%; max-width: 350px; object-fit: contain; animation: none; }
  .home-main .hero-stage .stage-disc { inset: 20px 15px; }
}
@media (max-width: 600px) {
  .home-main .hero { grid-template-columns: 1fr; grid-template-areas: 'eyebrow' 'headline' 'lede' 'art' 'action'; gap: 12px; padding-block: 10px 20px; text-align: center; }
  .home-main .hero-copy { display: contents; }
  .home-main .hero-copy > .eyebrow { grid-area: eyebrow; margin: 0; font-size: 12px; }
  .home-main .hero h1 { grid-area: headline; font-size: clamp(40px, 11.8vw, 46px); line-height: 1.03; margin: 0; }
  .home-main .hero .lede { grid-area: lede; max-width: 340px; justify-self: center; margin: 0; font-size: 16px; line-height: 1.5; }
  .home-main .hero-stage { grid-area: art; height: clamp(210px, 32svh, 270px); width: 100%; margin: 0; }
  .home-main .hero-poopy { max-width: 285px; }
  .home-main .hero-stage .stage-disc { inset: 15px max(20px, calc((100% - 270px) / 2)); border-radius: 50%; transform: none; }
  .home-main .hero-copy > .button { grid-area: action; justify-self: stretch; width: 100%; min-height: 52px; padding: 14px 24px; margin: 0; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .home-main .hero { grid-template-areas: 'headline' 'lede' 'art' 'action'; gap: 8px; padding-block: 6px 16px; }
  .home-main .hero-copy > .eyebrow, .home-main .hero-lede-extra { display: none; }
  .home-main .hero h1 { font-size: clamp(36px, 10.6vw, 42px); }
  .home-main .hero .lede { font-size: 15px; max-width: 305px; }
  .home-main .hero-stage { height: clamp(190px, 34svh, 230px); }
  .home-main .hero-poopy { max-width: 240px; }
  .home-main .hero-stage .stage-disc { inset: 12px max(20px, calc((100% - 230px) / 2)); }
  .home-main .hero-copy > .button { min-height: 48px; padding-block: 12px; }
}

.photo-update { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px 64px; padding-block: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.photo-story > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.photo-story .photo-lede { font-size: 23px; font-weight: 800; color: var(--ink); }
.photo-story .text-link { margin-top: 24px; }
.photo-demo { min-width: 0; text-align: center; }
.photo-scene { position: relative; min-height: 405px; padding: 22px 20px 70px; background: var(--sage); border-radius: 47% 45% 34% 38%; }
.photo-camera { position: relative; width: 240px; height: 306px; margin: 0 auto; border: 6px solid var(--ink); border-radius: 32px; background: #f0eee4; overflow: hidden; }
.photo-camera-label { display: block; padding-top: 15px; font-size: 11px; font-weight: 800; }
.toilet-guide { position: absolute; width: 174px; height: 209px; top: 51px; left: 27px; border: 2px dashed #8d957d; border-radius: 30% 30% 46% 46%; }
.toilet-guide::before { content: ''; position: absolute; width: 82px; height: 30px; left: 44px; top: -19px; border: 2px dashed #8d957d; border-radius: 8px; background: #f0eee4; }
.photo-poopy { position: absolute; width: 211px; height: 211px; object-fit: contain; left: 9px; top: 57px; }
.photo-shutter { position: absolute; width: 30px; height: 30px; bottom: 9px; left: 99px; border: 3px solid var(--ink); border-radius: 50%; }
.photo-sticker { position: absolute; z-index: 1; top: 50px; left: 0; font-size: 13px; font-weight: 900; padding: 7px 12px; background: var(--caramel); border-radius: 8px; transform: rotate(-9deg); }
.photo-snap { position: absolute; right: 9px; top: 51px; font-size: 11px; font-weight: 800; background: var(--paper); padding: 5px 9px; border-radius: 12px; }
.photo-result { position: absolute; display: flex; align-items: center; gap: 12px; bottom: 25px; left: 50%; transform: translateX(-50%); width: min(290px, calc(100% - 24px)); text-align: left; padding: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 22px #352a2312; }
.photo-result strong { display: block; font-size: 17px; }
.photo-result span:not(.photo-check) { display: block; font-size: 11px; color: var(--muted); }
.photo-check { color: #526448; background: var(--sage); width: 30px; height: 30px; text-align: center; border-radius: 50%; flex-shrink: 0; }
.photo-demo figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.photo-replay { border: 0; border-bottom: 1px solid var(--brown); color: var(--brown); background: none; min-height: 44px; font-size: 14px; font-weight: 800; cursor: pointer; }
.photo-replay[hidden] { display: none; }
.update-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 20px; margin: 0; }
.update-details dt { font-weight: 900; font-size: 19px; line-height: 1.3; }
.update-details dd { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.photo-disclosure { grid-column: 1 / -1; font-size: 13px; color: var(--muted); max-width: 780px; }
.photo-disclosure a, .upcoming-note .fine-print a { text-decoration: underline; text-underline-offset: 3px; }
.upcoming-note { padding-block: 44px 64px; border-top: 1px solid var(--line); }
.upcoming-note > p:not(.eyebrow) { margin-top: 20px; max-width: 750px; color: var(--muted); }
.upcoming-note h3 { margin-top: 32px; }
.is-playing .photo-poopy { animation: photo-pose 4.2s ease both; }
.is-playing .photo-result { animation: photo-save 4.2s ease both; }
.is-playing .photo-snap { animation: photo-caption 4.2s ease both; }
@keyframes photo-pose { 0%, 22% { transform: rotate(-5deg) scale(.94); } 38%, 55% { transform: rotate(6deg) scale(1.03); } 72%, 100% { transform: none; } }
@keyframes photo-save { 0%, 55% { opacity: 0; transform: translate(-50%, 12px); } 78%, 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes photo-caption { 0%, 20% { opacity: 0; transform: translateY(5px); } 30%, 100% { opacity: 1; transform: none; } }
@media (max-width: 800px) { .photo-update { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; } .photo-demo { width: min(440px, 100%); justify-self: center; } .update-details { grid-template-columns: 1fr; gap: 23px; } }
@media (max-width: 400px) { .photo-scene { padding-inline: 8px; } .photo-sticker { top: 8px; left: 3px; font-size: 11px; } .photo-story h2 { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}

/* Learn hub and articles */
.learn-hub .page-intro { padding-bottom: 40px; }
.learn-cards { list-style: none; padding: 0; margin: 0 0 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.learn-cards a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px; border-radius: 22px; background: #eeede5; text-decoration: none; color: var(--ink); }
.learn-cards a:hover { background: var(--sage); }
.learn-card-cat { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brown); }
.learn-card-title { font-size: 22px; font-weight: 900; line-height: 1.2; }
.learn-card-dek { font-size: 15px; color: var(--muted); }
.learn-article .breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.learn-article .breadcrumb a { color: var(--muted); }
.learn-dek { font-size: 20px; color: var(--muted); }
.learn-top-cta { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 15px; }
.learn-top-cta img { border-radius: 8px; flex-shrink: 0; }
.learn-top-cta span { flex: 1; }
.learn-top-cta a { flex-shrink: 0; background: var(--ink); color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 999px; }
@media (max-width: 640px) { .learn-dek { font-size: 18px; } }
.learn-note { background: #f1eadf; border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.learn-toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; margin-top: 26px; }
.learn-toc p { margin: 0 0 6px; font-weight: 800; font-size: 14px; }
.learn-toc ol { margin: 0; padding-left: 20px; font-size: 15px; }
.learn-toc li { margin-block: 4px; }
.learn-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.learn-table caption { text-align: left; font-weight: 800; margin-bottom: 8px; }
.learn-table th, .learn-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.learn-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bristol-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.bristol-dot.firm { background: #8a5a3c; } .bristol-dot.ok { background: #6f8f5e; } .bristol-dot.loose { background: #c99a3d; }
.learn-cta { display: flex; gap: 22px; align-items: flex-start; background: var(--sage); border-radius: 22px; padding: 26px 28px; margin-block: 34px; }
.learn-cta img { flex-shrink: 0; width: 88px; height: 88px; }
.learn-cta h2 { margin-top: 0 !important; font-size: 24px !important; }
.learn-cta .learn-cta-note { font-size: 14px; color: #55604d; margin-bottom: 16px; }
.learn-flags { background: #f6e7e1; }
.learn-flags h2 { margin-top: 0; }
.learn-sources { font-size: 15px; }
.learn-download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px !important; }
.learn-download span { font-size: 14px; color: var(--muted); }
.learn-made { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }
@media (max-width: 640px) { .learn-cta { flex-direction: column; } .learn-cta img { width: 64px; height: 64px; } .learn-table { font-size: 14px; } }

/* Learn v2: reading layout, takeaways, FAQ, hub groups */
.learn-article { max-width: 760px; }
.learn-article > p, .learn-article li { font-size: 18px; line-height: 1.7; }
.learn-article h2 { font-size: 30px; margin-top: 52px; scroll-margin-top: 90px; }
.learn-article h1 { text-wrap: balance; }
.learn-takeaways { background: var(--sage); border-radius: 20px; padding: 22px 26px; margin-top: 22px; }
.learn-takeaways h2 { margin: 0 0 6px !important; font-size: 20px !important; }
.learn-takeaways ul { list-style: none; padding: 0; margin: 0; }
.learn-takeaways li { position: relative; padding-left: 28px; margin-block: 10px; font-size: 17px !important; line-height: 1.5 !important; }
.learn-takeaways li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid #4f7a3f; border-bottom: 3px solid #4f7a3f; transform: rotate(-45deg); }
.learn-intro-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 26px; align-items: start; margin-top: 26px; }
.learn-intro-row .learn-toc { margin-top: 0; order: 0; }
.learn-figure { margin: 0; order: 1; }
.learn-figure img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 18px 40px -26px #352a2366; background: #fff; }
.learn-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.learn-faq { margin-top: 52px; }
.learn-faq-item { border-top: 1px solid var(--line); padding-block: 18px 6px; }
.learn-faq-item h3 { font-size: 20px; font-weight: 900; margin: 0; line-height: 1.3; }
.learn-faq-item p { margin-top: 8px; font-size: 17px; line-height: 1.65; }
.learn-hub-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px 40px; }
.learn-hub-intro h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; margin-top: 8px; }
.learn-hub-intro p { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 520px; }
.learn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.learn-chips a { padding: 8px 14px; border-radius: 999px; background: #eeede5; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; }
.learn-chips a:hover { background: var(--sage); }
.learn-featured { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; border-radius: 26px; background: var(--sage); color: var(--ink); text-decoration: none; }
.learn-featured img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 14px 30px -22px #352a2388; }
.learn-featured > span { display: flex; flex-direction: column; gap: 8px; }
.learn-group { margin-bottom: 44px; }
.learn-group h2 { font-size: 26px; margin-bottom: 16px; scroll-margin-top: 90px; }
.learn-group .learn-cards { margin-bottom: 0; }
.learn-card-more { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 14px; color: var(--brown); }
@media (max-width: 760px) {
  .learn-intro-row { grid-template-columns: minmax(0, 1fr); }
  .learn-figure { order: 2; max-width: 160px; margin-inline: auto; }
  .learn-article > p, .learn-article li { font-size: 17px; }
  .learn-article h2 { font-size: 26px; }
  .learn-hub-intro { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 26px; }
  .learn-featured { grid-template-columns: 96px minmax(0, 1fr); padding: 16px; gap: 16px; }
}

/* Learn v3: hero art, motion, interactive Bristol scale */
.learn-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--brown); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
.learn-hero { margin: 26px 0 0; }
.learn-hero img { display: block; width: 100%; height: auto; border-radius: 28px; background: #f3efe6; animation: learn-hero-in .7s cubic-bezier(.2,.7,.2,1) both; }
.learn-hero figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes learn-hero-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.rv { opacity: 0; transform: translateY(16px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .55s ease var(--rv-delay, 0ms), transform .55s cubic-bezier(.2,.7,.2,1) var(--rv-delay, 0ms); }
.learn-card-img { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 14px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px 22px 0 0; background: #f3efe6; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.learn-cards a { overflow: hidden; transition: background .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.learn-cards a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px #352a2380; }
.learn-cards a:hover .learn-card-img { transform: scale(1.03); }
.bristol-widget { margin-top: 24px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bw-hint { margin: 0 0 12px !important; font-size: 14px !important; color: var(--muted); font-weight: 700; }
.bw-scale { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); border-radius: 14px; overflow: hidden; background: linear-gradient(90deg, #8a5a3c 0 28.57%, #6f8f5e 28.57% 57.14%, #c99a3d 57.14% 100%); }
.bw-marker { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% / 7); border-radius: 12px; background: #ffffff33; box-shadow: inset 0 0 0 3px #fff; transition: transform .45s cubic-bezier(.3,.8,.2,1); pointer-events: none; }
.bw-tab { position: relative; appearance: none; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 900; font-size: 18px; min-height: 52px; cursor: pointer; }
.bw-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; border-radius: 10px; }
.bw-ends { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.bw-panel { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #f6f4ee; border-left: 6px solid #6f8f5e; }
.bw-panel[data-group="firm"] { border-left-color: #8a5a3c; } .bw-panel[data-group="loose"] { border-left-color: #c99a3d; }
.bw-panel p { margin: 0 !important; }
.bw-type { font-weight: 900; font-size: 20px !important; }
.bw-look { margin-top: 4px !important; font-weight: 700; }
.bw-means { margin-top: 4px !important; color: var(--muted); }
.bw-group { margin-top: 10px !important; font-size: 13px !important; font-weight: 800; color: var(--brown); text-transform: uppercase; letter-spacing: .04em; }
.bw-swap > * { animation: bw-swap .35s cubic-bezier(.2,.7,.2,1) both; }
.bw-swap > :nth-child(2) { animation-delay: 40ms; } .bw-swap > :nth-child(3) { animation-delay: 80ms; } .bw-swap > :nth-child(4) { animation-delay: 120ms; }
@keyframes bw-swap { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.learn-takeaways li::before { animation: tick-in .5s cubic-bezier(.2,.7,.2,1) both; }
.learn-takeaways li:nth-child(2)::before { animation-delay: .08s; } .learn-takeaways li:nth-child(3)::before { animation-delay: .16s; } .learn-takeaways li:nth-child(4)::before { animation-delay: .24s; } .learn-takeaways li:nth-child(5)::before { animation-delay: .32s; }
@keyframes tick-in { from { opacity: 0; transform: rotate(-45deg) scale(.4); } to { opacity: 1; transform: rotate(-45deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .learn-hero img, .learn-takeaways li::before, .bw-swap > * { animation: none; }
  .bw-marker, .learn-cards a, .learn-card-img { transition: none; }
  .learn-cards a:hover, .learn-cards a:hover .learn-card-img { transform: none; }
}
@media (max-width: 760px) { .learn-hero img { border-radius: 20px; } .bw-tab { font-size: 16px; min-height: 46px; } }

/* Learn v5: infographics and the Bristol loop */
.learn-infographic { margin: 30px auto 0; max-width: 680px; }
.learn-infographic img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px -30px #352a2380; }
.learn-infographic figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.doc .learn-pin { font-weight: 800; color: var(--brown); }
.learn-loop { margin: 26px auto 0; max-width: 360px; }
.learn-loop video { display: block; width: 100%; height: auto; border-radius: 22px; background: #f3efe6; border: 1px solid var(--line); }
.learn-hub-loop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 48px; padding: 22px; border-radius: 26px; background: #eeede5; }
.learn-hub-loop .learn-loop { margin: 0; }
.learn-hub-loop h2 { font-size: 28px; }
.learn-hub-loop p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.learn-hub-loop a { color: var(--brown); font-weight: 800; }
@media (max-width: 760px) { .learn-hub-loop { grid-template-columns: minmax(0, 1fr); } .learn-hub-loop .learn-loop { max-width: 240px; } }

/* Languages: footer switcher and the optional suggestion banner */
.lang-switch { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--line); }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang-banner { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -20px #352a2399; font-size: 15px; }
.lang-banner p { flex: 1 1 200px; margin: 0; font-weight: 700; }
.lang-banner a { background: #fff; color: var(--ink); font-weight: 800; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.lang-banner button { background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
[dir="rtl"] .learn-takeaways li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .learn-takeaways li::before { left: auto; right: 4px; }
[dir="rtl"] .breadcrumb, [dir="rtl"] .learn-toc ol { direction: rtl; }
.doc .legal-note { background: #f1eadf; border-radius: 14px; padding: 12px 16px; font-size: 15px; }
[dir="rtl"] .brand, [dir="rtl"] .brand-wordmark { direction: ltr; unicode-bidi: isolate; }
