/* Dala marketing site. Page styles from the approved Claude Design export
   (layout/typography live inline in index.html, exactly as designed; this file
   holds the base rules, responsive switches, and hover/focus states). */

html{scroll-behavior:smooth}
body{margin:0;background:#FBF8F4;color:#1B1711;font-family:Inter,ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#0F766E;text-decoration:none}
a:hover{color:#0F766E}

/* The HTML `hidden` attribute must win over inline display values. */
[hidden]{display:none!important}

/* ---- Responsive switch: nav goes compact below 1100px (the design's "xwide" threshold) ---- */
.nav-full{display:none}
.mobile-nav{display:none}
.mobile-nav.open{display:flex}
.menu-btn{display:flex}
@media (min-width:1100px){
  .nav-full{display:flex}
  .nav-compact{display:none}
  .menu-btn{display:none}
  .mobile-nav.open{display:none}
}

/* ---- Small-phone fit (the only deliberate deviation from the design, besides reduced motion) ----
   In the export, the header row (logo + EN/FR pills + "Talk to us" + menu button)
   needs ~383px (English) / ~397px (French) of width, so phones scroll sideways
   at 360px (and French even at 390px). Below those widths we tighten the gaps
   and button padding by a few pixels so the row fits. Nothing else changes. */
@media (max-width:382px){
  .hdr-row{gap:8px!important}
  .hdr-actions{gap:8px!important}
  .hdr-actions>a{padding:10px 12px!important}
  .hdr-actions>div>button{padding:6px 8px!important}
}
@media (max-width:412px){
  html[lang="fr"] .hdr-row{gap:8px!important}
  html[lang="fr"] .hdr-actions{gap:8px!important}
  html[lang="fr"] .hdr-actions>a{padding:10px 12px!important}
  html[lang="fr"] .hdr-actions>div>button{padding:6px 8px!important}
}
/* Very narrow phones (<=340px): the hero directly below carries the same call to action. */
@media (max-width:340px){
  .hdr-actions>a{display:none}
}

/* ---- Hover / focus / active states (same values and !important as the design runtime) ---- */
.hv-navlink:hover{background:#F5F0E8!important;color:#1B1711!important}
.hv-cta:hover{background:#0F766E!important;color:#FFFFFF!important}
.hv-mobilelink:hover{background:#F5F0E8!important}
.hv-menubtn:hover{background:#EBE3D5!important}
.hv-light:hover{color:#5EEAD4!important}
.hv-prev:hover{background:#FFFFFF!important}
.hv-teal:hover{background:#0F766E!important}
.fc-field:focus{border-color:#0D9488!important;box-shadow:0 0 0 3px rgba(13,148,136,0.25)!important}
.ac-press:active{transform:scale(0.98)!important}

/* ---- Member-card QR mock (21 x 21 cells, 5px each) ---- */
.qr-grid>span.on{background:#1B1711}

/* Sections that state facts not yet true (placeholder stats, association
   names, testimonials) stay hidden until real ones replace them. */
[data-prelaunch]{display:none!important}
.hv-store:hover{background:#F5F0E8!important;border-color:#BFB3A0!important}
.hv-store-dark:hover{border-color:#5EEAD4!important;color:#FFFFFF!important}

/* The film: on phones only a round play button, so it doesn't cover the poster's line. */
#filmPlay[hidden] { display: none !important; }
#filmPlay:hover .film-pill { background: #0D6B63; }
@media (max-width: 640px) {
  #filmPlay { justify-content: flex-end !important; }
  #filmPlay .film-pill { margin: 12px !important; padding: 8px !important; }
  #filmPlay .film-label { display: none; }
}
