/* Shared card proportions, taken from the “Au quotidien” reference. */
:root {
  --card-radius: 30px;
  --card-padding: 25px;
  --card-gap: 21px;
  --card-icon: 48px;
  --card-title: 20px;
  --card-text: 13px;
}

.home-benefits .benefit-strip,
.demo-tabs,
.ritual-grid,
.faq-list { gap: var(--card-gap); }

.home-benefits .benefit-strip > div,
.demo-tabs button,
.demo-explanation,
.family-message,
.parents-copy .check-list,
.ritual-grid article,
.ritual-grid article:last-child,
.faq-list details,
.faq-list details:first-child,
.app-banner {
  border-radius: var(--card-radius);
}
.home-benefits .benefit-strip > div,
.demo-tabs button,
.demo-explanation,
.family-message,
.parents-copy .check-list,
.ritual-grid article,
.ritual-grid article:last-child { padding: var(--card-padding); }

.home-benefits .benefit-strip > div {
  min-height: 130px;
  gap: var(--card-gap);
  align-items: flex-start;
  box-shadow: 0 5px 0 #a8dcd7;
}
.home-benefits .benefit-strip > div:nth-child(2) { box-shadow: 0 5px 0 #cebbe9; }
.home-benefits .benefit-strip > div:nth-child(3) { box-shadow: 0 5px 0 #e9d697; }
.home-benefits .benefit-icon,
.tab-icon {
  width: var(--card-icon);
  height: var(--card-icon);
  border-radius: 17px;
  background: #ffffffa1;
  box-shadow: none;
}
.home-benefits .benefit-icon svg,
.tab-icon svg { width: 24px; height: 24px; }
.home-benefits .benefit-strip p strong,
.demo-tabs strong,
.ritual-grid h3 { font-size: var(--card-title); line-height: 1.15; }
.home-benefits .benefit-strip p strong { margin-bottom: 10px; }
.home-benefits .benefit-strip p span {
  display: block;
  font-size: var(--card-text);
  line-height: 1.8;
  color: #506078;
}

.demo-tabs button { min-height: 108px; gap: var(--card-gap); align-items: center; box-shadow: 0 5px 0 var(--tile-edge); }
.demo-tabs button[aria-selected=true] { box-shadow: 0 5px 0 var(--tile-edge), 0 0 0 3px #fff; }
.demo-tabs small { font-size: var(--card-text); line-height: 1.8; margin-top: 8px; }
.demo-explanation { margin-top: var(--card-gap); box-shadow: 0 5px 0 #edccdf; }
#demo-quote { font-size: 18px; line-height: 1.3; }
#demo-description { font-size: var(--card-text); line-height: 1.8; margin-top: 10px; }
.demo-window { border-radius: var(--card-radius); box-shadow: 0 5px 0 #dfd2f1; }
.capture-thumbnails { overflow: visible; }
.capture-thumbnails button { flex-shrink: 1; min-height: 0; }

.family-message { width: 100%; max-width: none; min-height: 130px; margin-left: 0; transform: none; }
.family-message p, .child-message p { font-size: var(--card-title); line-height: 1.35; }
.parent-message { box-shadow: 0 5px 0 #ddc1e5; }
.child-message { gap: var(--card-gap); box-shadow: 0 5px 0 #abd9d3; }
.child-message img { width: var(--card-icon); height: var(--card-icon); border-radius: 17px; }
.connection-line { height: var(--card-gap); padding: 0; font-size: 18px; line-height: var(--card-gap); }
.parents-copy .check-list { line-height: 2.1; box-shadow: 0 5px 0 #eed8e5; }

.ritual-grid article { box-shadow: 0 5px 0 #e9d89b; }
.ritual-grid article:nth-child(2) { box-shadow: 0 5px 0 #cbb8e9; }
.ritual-grid article:nth-child(3) { box-shadow: 0 5px 0 #aacce9; }
.ritual-time { margin-bottom: 15px; }
.ritual-grid p { min-height: 0; margin-top: 10px; font-size: var(--card-text); line-height: 1.8; }
.ritual-footer { margin-top: 15px; }
.app-banner { padding: 40px; box-shadow: 0 5px 0 #cfc0e7; }

.faq-list details, .faq-list details:first-child { padding: 0 var(--card-padding); box-shadow: 0 5px 0 #dcd0eb; }
.faq-list details:nth-child(2n) { box-shadow: 0 5px 0 #cee3ee; }
.faq-list details:nth-child(3n) { box-shadow: 0 5px 0 #efd5e2; }
.faq-list summary { min-height: 92px; padding: var(--card-padding) 0; font-size: 16px; line-height: 1.4; }
.faq-list details p { padding: 0 0 25px; font-size: var(--card-text); line-height: 1.8; }

/* Keep the same proportions when space is reduced. */
@media(max-width:1100px) {
  :root { --card-padding: 22px 20px; --card-gap: 17px; --card-title: 18px; }
  .home-benefits .benefit-strip > div { gap: 14px; }
  .home-benefits .benefit-icon { width: 40px; height: 40px; }
  .faq-list details, .faq-list details:first-child { padding: 0 20px; }
  .faq-list summary { padding: 22px 0; }
  .faq-list details p { padding-bottom: 22px; }
}
@media(max-height:900px) and (min-width:601px) {
  .demo-tabs { gap: 14px; }
  .demo-tabs button { min-height: 80px; padding: 15px 20px; gap: 17px; }
  .demo-tabs strong { font-size: 18px; }
  .demo-tabs small { margin-top: 5px; font-size: 12px; }
  .demo-explanation { margin-top: 17px; padding: 18px 20px; }
  #demo-quote { font-size: 16px; }
  #demo-description { font-size: 12px; line-height: 1.6; margin-top: 8px; }
}
@media(max-height:740px) and (min-width:601px) {
  .home-benefits .benefit-strip > div { min-height: 105px; padding: 18px; gap: 14px; }
  .home-benefits .benefit-strip p strong { font-size: 17px; margin-bottom: 6px; }
  .home-benefits .benefit-strip p span { font-size: 12px; line-height: 1.5; }
  .demo-tabs { gap: 12px; }
  .demo-tabs button { padding: 12px 18px; min-height: 68px; }
  .demo-tabs strong { font-size: 17px; }
  .demo-tabs small { display: none; }
  .tab-icon { width: 42px; height: 42px; }
  .demo-explanation { margin-top: 15px; padding: 16px 18px; }
  #demo-quote { font-size: 15px; }
  #demo-description { font-size: 11px; line-height: 1.5; }
}
@media(max-width:800px) and (min-width:601px) {
  .home-benefits .benefit-strip > div { flex-direction: column; gap: 10px; }
  .home-benefits .benefit-strip p strong { font-size: 16px; }
  .home-benefits .benefit-strip p span { display: none; }
  .demo-tabs button { gap: 12px; padding-inline: 15px; }
  .demo-tabs strong { font-size: 16px; }
}
@media(max-width:600px) {
  :root { --card-padding: 25px 22px; --card-gap: 20px; --card-title: 18px; }
  .home-benefits .benefit-strip { grid-template-columns: 1fr; gap: 10px; }
  .home-benefits .benefit-strip > div { flex-direction: row; text-align: left; align-items: center; min-height: 67px; padding: 10px 18px; gap: 15px; }
  .home-benefits .benefit-icon { width: 38px; height: 38px; border-radius: 14px; }
  .home-benefits .benefit-strip p strong { font-size: 15px; margin-bottom: 3px; }
  .home-benefits .benefit-strip p span { font-size: 11px; line-height: 1.4; }
  .demo-tabs { gap: 10px; }
  .demo-tabs button { min-height: 60px; padding: 10px 12px; gap: 10px; border-radius: 24px; }
  .demo-tabs strong { font-size: 12px; line-height: 1.25; }
  .demo-tabs small { display: none; }
  .tab-icon { width: 28px; height: 32px; border-radius: 12px; }
  .tab-icon svg { width: 20px; height: 20px; }
  .family-message { min-height: 130px; }
  .ritual-grid article, .ritual-grid article:last-child { padding: var(--card-padding); }
  .faq-list details, .faq-list details:first-child { padding: 0 22px; }
  .faq-list summary { font-size: 15px; padding: 25px 0; min-height: 92px; }
  .app-banner { padding: 25px 22px; }
}
@media(max-width:600px) and (max-height:680px) {
  .home-benefits .benefit-strip { gap: 8px; }
  .home-benefits .benefit-strip > div { min-height: 48px; padding: 7px 16px; }
  .home-benefits .benefit-icon { display: grid; width: 30px; height: 30px; border-radius: 11px; }
  .home-benefits .benefit-icon svg { width: 20px; height: 20px; }
  .home-benefits .benefit-strip p strong { margin: 0; font-size: 14px; }
  .home-benefits .benefit-strip p span { display: none; }
  .demo-tabs button { min-height: 49px; padding: 7px 8px; gap: 8px; border-radius: 20px; }
  .demo-tabs strong { font-size: 11px; }
}
@media(max-height:480px) and (min-width:601px) {
  .home-benefits .benefit-strip > div { min-height: 65px; padding: 12px 15px; flex-direction: row; align-items: center; }
  .home-benefits .benefit-icon { width: 32px; height: 32px; }
  .home-benefits .benefit-strip p strong { font-size: 13px; margin: 0; }
  .home-benefits .benefit-strip p span { display: none; }
  .demo-tabs button { min-height: 60px; padding: 10px 12px; gap: 10px; border-radius: 24px; }
  .demo-tabs strong { font-size: 12px; }
  .tab-icon { width: 30px; height: 34px; border-radius: 12px; }
}

/* Real navigation links use distinct pastel buttons, with a visible current state. */
.site-header nav { gap: 10px; }
.site-header nav > a,
.site-header nav .nav-cta {
  --nav-fill: #e4d7fa;
  --nav-edge: #ccb9e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 17px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--nav-fill);
  color: #23395d;
  box-shadow: 0 3px 0 var(--nav-edge);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.site-header nav > a:nth-child(2) { --nav-fill: #c9eeea; --nav-edge: #acd7d2; }
.site-header nav > a:nth-child(3) { --nav-fill: #fff0bc; --nav-edge: #e5d69f; }
.site-header nav > a:nth-child(4) { --nav-fill: #f8dfec; --nav-edge: #e7c6d8; }
.site-header nav > a:nth-child(5) { --nav-fill: #dcecfb; --nav-edge: #c0d7eb; }
.site-header nav > a:hover,
.site-header nav .nav-cta:hover { background: var(--nav-fill); color: #23395d; border-color: #23395d55; transform: translateY(-2px); }
.site-header nav > a[aria-current="location"] { border-color: #605080; box-shadow: 0 3px 0 var(--nav-edge), inset 0 0 0 1px #fff9; }
.site-header nav > a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--nav-edge); }

/* One useful piece of information replaces the three repeated home cards. */
.schedule-intro.container {
  width: min(1080px, calc(100% - 64px));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 105px;
  padding: 21px 28px;
  border: 1px solid #d6e8e5;
  border-radius: 28px;
  background: #edf8f5;
}
.schedule-intro-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 17px; background: #fff9; color: #317a80; }
.schedule-intro-icon svg { width: 26px; height: 26px; }
.schedule-intro h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.schedule-intro p { font-size: 13px; line-height: 1.6; color: #506078; margin-top: 8px; }
.schedule-intro strong { color: #246d76; }

@media(min-width:901px) and (max-width:1100px) {
  .site-header nav { gap: 7px; }
  .site-header nav > a, .site-header nav .nav-cta { padding: 9px 12px; font-size: 11px; }
}
@media(max-width:900px) {
  .site-header nav.is-open { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 12px; padding: 15px 20px 20px; max-height: calc(100svh - var(--header-height)); overflow-y: auto; }
  .site-header nav > a, .site-header nav .nav-cta { min-height: 48px; margin: 0; padding: 12px; font-size: 13px; }
}
@media(max-width:600px) {
  .schedule-intro.container { width: calc(100% - 28px); min-height: 0; padding: 16px 18px; gap: 13px; border-radius: 24px; }
  .schedule-intro-icon { width: 36px; height: 40px; border-radius: 13px; }
  .schedule-intro-icon svg { width: 24px; height: 24px; }
  .schedule-intro h2 { font-size: 16px; }
  .schedule-intro p { font-size: 12px; line-height: 1.5; margin-top: 5px; }
}
@media(max-width:600px) and (max-height:680px) {
  .schedule-intro.container { padding: 12px 15px; gap: 11px; }
  .schedule-intro h2 { font-size: 14px; }
  .schedule-intro p { font-size: 11px; }
}
@media(max-height:480px) and (min-width:601px) {
  .site-header nav > a, .site-header nav .nav-cta { min-height: 36px; padding-block: 6px; border-radius: 15px; }
  .schedule-intro.container { min-height: 64px; padding: 12px 20px; gap: 16px; }
  .schedule-intro h2 { font-size: 16px; }
  .schedule-intro p { font-size: 12px; margin-top: 4px; }
  .schedule-intro-icon { width: 36px; height: 36px; }
}
