/* snooz.club (v7.1): the landing page and the invitation page.
   One small stylesheet, no framework. Colours from the s'nooz boards:
   ink #1A1712, muted #4A443B / #6B6457, sun #F7C948, cream #FFF4CF,
   hairline #F1E2AE. Every text colour here passes WCAG AA on its ground. */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1A1712;
  background: #FFFFFF;
  line-height: 1.5;
}
a { color: #1A1712; }
a:hover { color: #4A443B; }
img, svg { display: block; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: #1A1712; color: #fff; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2B5F96; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .tile { width: 36px; height: 36px; border-radius: 9px; background: #F7C948; display: inline-flex; align-items: center; justify-content: center; }
.brand .wordmark { font-size: 24px; letter-spacing: -0.03em; color: #9A6F00; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: 12px;
  font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn svg { flex: none; }
.btn.dark { background: #1A1712; color: #FFFFFF; }
.btn.dark:hover { background: #3A342A; color: #FFFFFF; }
.btn.light { background: #FFFFFF; color: #1A1712; border-color: #E3C770; }
.btn.light:hover { background: #FFF9E6; }
.btn.sun { background: #F7C948; color: #1A1712; min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn.sun:hover { background: #EDBB2E; color: #1A1712; }

/* ---- Invitation page -------------------------------------------------- */
.invite-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #FFF4CF; padding: 24px; }
.invite-box { width: 100%; max-width: 440px; background: #FFFFFF; border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.invite-box h1 { margin: 8px 0 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.invite-box p { margin: 0; font-size: 16px; color: #4A443B; }
.invite-box .actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 8px; }
.invite-box .small { font-size: 14px; color: #5E5326; }

/* ---- Landing page ------------------------------------------------------ */
.short { display: none; }
.site-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.nav-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav-desktop > a:not(.btn), .menu nav > a:not(.btn) { text-decoration: none; padding: 10px 0; }
.nav-desktop > a:not(.btn):hover, .menu nav > a:not(.btn):hover { text-decoration: underline; }
.lang { font-size: 14px; color: #5C554B; }
.lang a { color: #5C554B; text-decoration: none; padding: 10px 2px; }
.lang a:hover { text-decoration: underline; }
.lang strong { color: #1A1712; font-weight: 600; }
.nav-mobile { display: none; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: #FFF4CF; }
.menu nav { position: absolute; right: 0; top: 52px; z-index: 5; min-width: 240px; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 16px; background: #FFFFFF; border: 1px solid #F1E2AE; border-radius: 14px; box-shadow: 0 12px 32px rgba(26, 23, 18, 0.12); }
.menu nav .btn { margin-top: 8px; }

.hero { background: #FFF4CF; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { margin: 0; font-size: 60px; line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.hero .lead { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: #4A443B; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .platforms { margin: 0; font-size: 14px; color: #5E5326; }
.hero-phone { flex: 1 1 360px; display: flex; justify-content: center; }
.phone { width: 300px; height: 600px; padding: 12px; border-radius: 44px; background: #1A1712; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #FFFFFF; display: flex; flex-direction: column; }
.screen-head { padding: 28px 16px 14px; background: #FFF4CF; }
.greet { font-size: 17px; font-weight: 600; }
.next { font-size: 12px; color: #5E5326; }
.screen-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mini-banner { height: 74px; border-radius: 12px; background: linear-gradient(120deg, #F7C948, #F5A962); position: relative; overflow: hidden; padding: 12px 14px; }
.mb-title { font-size: 13px; font-weight: 600; position: relative; }
.mb-body { font-size: 11px; line-height: 1.35; max-width: 170px; position: relative; }
.mini-banner svg { position: absolute; right: -24px; top: -8px; opacity: 0.55; }
.mini-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5C554B; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #F1E2AE; border-radius: 10px; }
.avatar { flex: none; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.avatar-rose { background: #FBEEF3; color: #A33A67; }
.avatar-green { background: #E9F6EE; color: #1A7A40; }
.avatar-sky { background: #EAF2FB; color: #2B5F96; }
.mr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-name { font-size: 13px; font-weight: 600; }
.mr-detail { font-size: 11px; color: #5C554B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-days { font-size: 12px; font-weight: 600; color: #2B5F96; white-space: nowrap; }

.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section h2, .faq h2 { margin: 0; font-size: 38px; font-weight: 600; letter-spacing: -0.02em; text-align: center; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature { padding: 28px; border: 1px solid #F1E2AE; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { margin: 0; font-size: 21px; font-weight: 600; }
.feature p { margin: 0; font-size: 16px; line-height: 1.55; color: #4A443B; }
.ficon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.icon-sun { background: #FFF4CF; }
.icon-sky { background: #EAF2FB; }
.icon-rose { background: #FBEEF3; }

.how { background: #EAF2FB; }
.how h2 { color: #1E4A78; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { padding: 24px; border-radius: 16px; background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.steps .num { width: 34px; height: 34px; border-radius: 999px; background: #F7C948; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.steps h3 { margin: 0; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; font-size: 15px; line-height: 1.5; color: #4A443B; }

.private-wrap { padding-top: 72px; padding-bottom: 72px; }
.private { padding: 36px; border-radius: 20px; background: #E9F6EE; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.picon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.private > div { flex: 1 1 420px; }
.private h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; color: #13572E; }
.private p { margin: 0; font-size: 16px; line-height: 1.55; color: #1F5D37; }

.faq { max-width: 860px; margin: 0 auto; padding: 24px 32px 88px; display: flex; flex-direction: column; gap: 14px; }
.faq h2 { margin-bottom: 12px; }
.faq details { padding: 20px 22px; border: 1px solid #F1E2AE; border-radius: 14px; }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: #4A443B; }

.site-footer { border-top: 1px solid #F1E2AE; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: #5C554B; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-row a, .footer-row button.linklike { color: #5C554B; padding: 10px 0; display: inline-block; }

/* Phone (board "snooz.club · landing on a phone"). */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .long { display: none; }
  .short { display: inline; }
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
  .site-header .header-row { padding-top: 12px; padding-bottom: 12px; }
  .brand .tile { width: 30px; height: 30px; }
  .brand .wordmark { font-size: 21px; }
  .hero-row { padding-top: 32px; padding-bottom: 28px; gap: 16px; }
  .hero-text { gap: 16px; }
  .hero h1 { font-size: 38px; line-height: 1.06; letter-spacing: -0.03em; }
  .hero .lead { font-size: 16px; line-height: 1.5; }
  .hero .cta { flex-direction: column; }
  .hero .cta .btn { width: 100%; font-size: 15px; }
  .hero .platforms { font-size: 13px; }
  .hero-phone { display: none; }
  .section { padding-top: 28px; padding-bottom: 48px; gap: 20px; }
  .section h2, .faq h2 { font-size: 28px; }
  .features { gap: 12px; }
  .feature { flex-direction: row; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 14px; color: #5C554B; }
  .ficon { width: 40px; height: 40px; border-radius: 10px; }
  .private-wrap { padding-top: 40px; padding-bottom: 40px; }
  .private { padding: 24px; }
  .faq { padding: 8px 20px 56px; }
}

/* ---- Analytics consent (v7.1, part 6): Accept and Refuse look alike. --- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 640px; margin: 0 auto; padding: 18px 20px; background: #FFFFFF; border: 1px solid #F1E2AE; border-radius: 14px; box-shadow: 0 12px 32px rgba(26, 23, 18, 0.16); display: flex; flex-direction: column; gap: 12px; }
.consent p { margin: 0; font-size: 15px; line-height: 1.5; color: #1A1712; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; min-height: 44px; font-size: 15px; border-color: #1A1712; font-family: inherit; cursor: pointer; }
button.linklike { background: none; border: none; font: inherit; color: #5C554B; text-decoration: underline; cursor: pointer; padding: 10px 0; }
