/* Homepage reassurance and footer. Keep the collection's layout independent. */
body.home-page main {
  padding-bottom: 40px;
}

.home-reassurance {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0b1e2e;
}

.reassurance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  padding: 24px;
}

.reassurance-item + .reassurance-item {
  border-left: 1px solid var(--line);
}

.reassurance-icon {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reassurance-copy {
  min-width: 0;
}

.reassurance-copy h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.reassurance-copy p {
  margin: 0;
  color: #afc3d1;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* Adventure hub. All footer rules stay scoped to the homepage footer. */
#site-footer.site-footer {
  display:block; max-width:1240px; margin:0 auto; padding:32px 24px 24px;
  border-top:1px solid #324759; color:#b7cada; font-size:14px;
  background:radial-gradient(ellipse at 8% 12%,#38306c28,transparent 55%);
  scroll-margin-top:24px; scroll-margin-bottom:80px;
}
#site-footer .footer-main { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:64px; padding-bottom:24px; }
#site-footer :is(.footer-brand,.footer-discover) { min-width:0; }
#site-footer .brand.mini { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin:0; padding:0; border-radius:6px; color:#eff8ff; }
#site-footer .brand.mini img { width:36px; height:36px; flex:0 0 36px; }
#site-footer .brand.mini strong { font-size:21px; line-height:1.25; letter-spacing:-.025em; }
#site-footer .brand.mini small { display:block; margin-top:3px; color:#abc4d8; font-size:10px; line-height:1.5; letter-spacing:.1em; }
#site-footer .footer-adventure { position:relative; min-height:152px; padding-top:24px; }
#site-footer .footer-adventure h2 { position:relative; max-width:calc(100% - 128px); margin:0; color:#f0f5ff; font-size:clamp(26px,3vw,34px); line-height:1.12; letter-spacing:-.04em; text-wrap:balance; }
#site-footer .footer-world { position:absolute; right:-8px; top:0; width:156px; height:140px; pointer-events:none; }
#site-footer .footer-mission { position:relative; max-width:36ch; margin:14px 0 18px; color:#b7cada; font-size:14px; line-height:1.5; }
#site-footer .footer-surprise { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; max-width:380px; min-height:48px; padding:12px 18px; border:1px solid #8cf5ed; border-radius:14px; background:#71e6dc; color:#092a33; font:inherit; font-size:16px; font-weight:800; cursor:pointer; box-shadow:0 4px 0 #28686e; transition:background .15s,transform .15s; }
#site-footer .footer-surprise svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
#site-footer .footer-surprise svg path { stroke-width:3.5; }
#site-footer .footer-surprise > span:last-child { margin-left:auto; font-size:22px; line-height:1; }
#site-footer .footer-surprise > span:first-of-type { margin-right:auto; }
#site-footer .footer-surprise:hover:not(:disabled) { background:#9bf4eb; }
#site-footer .footer-surprise:active:not(:disabled) { transform:translateY(2px); box-shadow:0 2px 0 #28686e; }
#site-footer .footer-surprise:disabled { opacity:.55; cursor:default; box-shadow:none; }
#site-footer .footer-picker-note { margin:10px 0 0; color:#a3bacb; font-size:12px; line-height:1.5; }
#site-footer .footer-activities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#site-footer .footer-activity { display:flex; flex-direction:column; align-items:flex-start; min-width:0; min-height:126px; padding:16px; border:1px solid #655994; border-radius:16px; background:linear-gradient(135deg,#29294e,#171f35); transition:border-color .15s,transform .15s; }
#site-footer .footer-activity svg { width:32px; height:32px; margin-bottom:12px; fill:none; stroke:#cfbfff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#site-footer .footer-activity strong { color:#f4eeff; font-size:15px; line-height:1.4; }
#site-footer .footer-activity > span { display:flex; gap:6px; justify-content:space-between; width:100%; margin-top:4px; color:#c2bddd; font-size:12px; line-height:1.5; }
#site-footer .footer-activity b { color:#d0befd; font-size:16px; }
#site-footer .footer-makers { border-color:#3e6261; background:linear-gradient(135deg,#203e3b,#142b35); }
#site-footer .footer-makers :is(svg,b) { color:#c6f49b; stroke:#c6f49b; }
#site-footer .footer-makers > span { color:#b8d1ca; }
#site-footer .footer-activity:hover { border-color:#b6a1f0; transform:translateY(-2px); }
#site-footer .footer-makers:hover { border-color:#b5df92; }
#site-footer .footer-install-strip { display:flex; align-items:center; gap:12px; margin-top:14px; padding:14px 0; }
#site-footer .footer-install-strip > svg { flex:0 0 25px; width:25px; height:30px; fill:none; stroke:#87bcdd; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
#site-footer .footer-install-strip > div { flex:1; min-width:0; }
#site-footer .footer-install-strip strong { color:#e6f1fa; font-size:13px; line-height:1.5; }
#site-footer .footer-install-strip p { margin:3px 0 0; color:#abc1d2; font-size:12px; line-height:1.5; }
#site-footer .footer-install { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; max-width:100%; padding:8px 12px; border:1px solid #48697d; border-radius:12px; background:#142c40; color:#e2f3fc; font:inherit; font-size:13px; font-weight:700; line-height:1.4; cursor:pointer; }
#site-footer .footer-install:hover { border-color:#7adad2; background:#1c3b50; }
#site-footer .footer-install > span:last-child { color:#7ee6d5; }
#site-footer .footer-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:4px; }
#site-footer .footer-link-group { min-width:0; border-top:1px solid #30495d; }
#site-footer .footer-link-group summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:8px 2px; border-radius:4px; color:#d8e6f1; font-size:13px; font-weight:650; line-height:1.5; list-style:none; cursor:pointer; }
#site-footer .footer-link-group summary::-webkit-details-marker { display:none; }
#site-footer .footer-link-group summary::after { content:'+'; flex-shrink:0; color:#9ab4c8; font-size:21px; font-weight:400; }
#site-footer .footer-link-group[open] summary::after { content:'−'; }
#site-footer .footer-link-group ul { display:grid; margin:0 0 10px; padding:0; list-style:none; }
#site-footer .footer-link-group a { display:flex; align-items:center; min-height:44px; padding:8px 2px; color:#b7cada; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
#site-footer .footer-policy-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 20px; padding:8px 0; border-top:1px solid #30495d; }
#site-footer .footer-trust-links { display:flex; flex-wrap:wrap; align-items:center; gap:0 22px; min-width:0; margin:0; }
#site-footer .footer-trust-links a { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; border-radius:4px; color:#c4d9e7; font-size:13px; line-height:1.5; }
#site-footer :is(.footer-link-group a,.footer-trust-links a):hover { color:#85eadb; text-decoration:underline; text-underline-offset:4px; }
#site-footer .footer-top.back-to-top { position:static; display:inline-flex; align-items:center; justify-content:center; gap:9px; flex:0 0 auto; min-height:44px; margin:0; padding:8px 0; border:0; border-radius:6px; background:transparent; color:#85eadb; font:inherit; font-size:13px; font-weight:650; line-height:1.5; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; cursor:pointer; }
#site-footer .footer-top.back-to-top[hidden] { display:none; }
#site-footer .footer-top > span:first-child { font-size:inherit; line-height:inherit; }
#site-footer .footer-top > span:last-child { display:grid; place-items:center; width:26px; height:26px; border:1px solid #48697d; border-radius:50%; font-size:18px; line-height:1; }
#site-footer .footer-top:hover > span:last-child { border-color:#85eadb; background:#112c40; }
#site-footer .footer-bottom { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 24px; padding:0; color:#a3bacb; font-size:12px; line-height:1.7; }
#site-footer :is(.footer-legal,.footer-founder) { min-width:0; margin:0; font-size:inherit; color:inherit; overflow-wrap:anywhere; }
#site-footer .footer-founder { margin-top:0!important; }
#site-footer .footer-founder strong { color:#b9cddb; font-weight:600; }
#site-footer :is(a,button,summary):focus-visible { outline:3px solid #a9f1e3; outline-offset:3px; }
@media (max-width:960px) {
  .reassurance-item { gap:11px; padding:20px 18px; }
  #site-footer .footer-main { gap:28px; }
  #site-footer .footer-world { width:125px; height:120px; top:10px; }
}
@media (max-width:700px) {
  body.home-page:has(> .bottom-nav) { padding-bottom:calc(65px + env(safe-area-inset-bottom,0px)); }
  body.home-page main { padding-bottom:28px; }
  .home-reassurance { margin-top:36px; border-radius:16px; }
  .reassurance-list { grid-template-columns:minmax(0,1fr); }
  .reassurance-item { gap:13px; padding:20px; }
  .reassurance-item + .reassurance-item { border-left:0; border-top:1px solid var(--line); }
  .reassurance-copy h3 { margin-bottom:6px; font-size:17px; }
  #site-footer.site-footer { padding:24px 16px 20px; }
  #site-footer .footer-main { grid-template-columns:minmax(0,1fr); gap:20px; padding-bottom:12px; }
  #site-footer .footer-brand { position:relative; }
  #site-footer .footer-adventure { position:static; min-height:0; padding-top:22px; }
  #site-footer .footer-adventure h2 { max-width:none; font-size:clamp(25px,6.8vw,32px); }
  #site-footer .footer-world { top:-12px; right:-6px; width:96px; height:86px; }
  #site-footer .footer-mission { max-width:none; margin:16px 0; }
  #site-footer .footer-surprise { max-width:none; }
  #site-footer .footer-activity { padding:12px; min-height:120px; }
  #site-footer .footer-activity svg { width:28px; height:28px; margin-bottom:8px; }
  #site-footer .footer-activity strong { font-size:14px; }
  #site-footer .footer-install-strip { gap:8px; margin-top:6px; padding-block:10px; }
  #site-footer .footer-install-strip > svg { flex-basis:22px; width:22px; }
  #site-footer .footer-install { padding-inline:10px; font-size:12px; }
  #site-footer .footer-trust-links { gap:0 16px; }
  #site-footer .footer-bottom { flex-direction:column; gap:2px; padding-top:4px; }
}
/* The homepage bar has five equal destinations; its height is reserved once. */
@media (max-width:700px), (min-width:701px) and (max-width:950px) and (max-height:500px) {
  body.home-page:has(> .bottom-nav) { padding-bottom:calc(65px + env(safe-area-inset-bottom,0px)); }
  .home-page > .bottom-nav { padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px)); box-shadow:0 -3px 16px #0003; }
  .home-page > .bottom-nav :is(a,button) { position:relative; min-height:56px; gap:4px; padding:4px 2px; font-size:11px; border-radius:10px; }
  .home-page > .bottom-nav svg { width:21px; height:21px; }
  .home-page > .bottom-nav .bn-create .bn-fab { width:26px; height:26px; margin:0; border-radius:8px; box-shadow:none; background:#71e6dc; }
  .home-page > .bottom-nav .bn-create .bn-fab svg { width:18px; height:18px; }
  .home-page > .bottom-nav :is(a,button):is([aria-current="page"],[aria-current="location"])::before { content:''; position:absolute; top:0; width:18px; height:3px; border-radius:4px; background:currentColor; }
  .home-page > .bottom-nav :is(a,button):focus-visible { outline:2px solid #a9f1e3; outline-offset:-2px; }
}
@media (prefers-reduced-motion:reduce) {
  #site-footer :is(a,button),.home-page > .bottom-nav :is(a,button) { transition:none; }
  #site-footer .footer-activity:hover,.home-page > .bottom-nav :is(a,button):active { transform:none; }
}
@media (forced-colors:active) {
  #site-footer :is(.footer-activity,.footer-surprise,.footer-install,.footer-link-group),#site-footer.site-footer,#site-footer .footer-policy-row { border-color:CanvasText; }
  #site-footer :is(a,button,summary) { color:LinkText; }
  #site-footer .footer-world { display:none; }
  #site-footer :is(a,button,summary):focus-visible { outline-color:Highlight; }
  .home-page > .bottom-nav :is(a,button)[aria-current]::before { background:Highlight; }
}
@media print {
  #site-footer .footer-world,#site-footer .footer-surprise,#site-footer .footer-picker-note,#site-footer .footer-install-strip,#site-footer .footer-top.back-to-top { display:none; }
  #site-footer.site-footer { padding-bottom:20px; }
}
