@font-face{font-family:"DM Serif Display";src:url(/fonts/dm-serif-display-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/fonts/dm-sans-var.woff2) format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url(/fonts/caveat-var.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
body{margin:0;background:#F5E6D6}
a{color:#B4532F}a:hover{color:#8E3B1F}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:focus-visible {
  outline: 3px solid #3A2419;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .75rem 1rem;
  background: #fffaf3;
  color: #3a2419;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
#survey-link { overflow-wrap: anywhere; }
@media (max-width: 540px) {
  header nav[aria-label="Sections"] { order: 1; width: 100%; }
}

/* Buttons: hover and press feedback (inline styles set the base look) */
.btn-primary,.btn-outline,.btn-soft{transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.btn-primary:hover{background:#8E3B1F!important;color:#FFFFFF!important}
.btn-outline:hover{background:#3A2419!important;color:#FFFAF3!important}
.btn-soft:hover{border-color:#B4532F!important;color:#8E3B1F!important}
.btn-primary:active,.btn-outline:active,.btn-soft:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){.btn-primary,.btn-outline,.btn-soft{transition:none}}

/* Phones */
@media (max-width: 540px) {
  .site-header > div { gap: 4px 12px !important; padding-top: 10px !important; padding-bottom: 4px !important; }
  .site-header .brand { font-size: 19px !important; gap: 8px !important; }
  .site-header .brand svg { width: 28px; height: 18px; }
  /* The hero's survey button sits right below, so the header keeps just the logo and links */
  .site-header .header-cta { display: none !important; }
  header nav[aria-label="Sections"] { gap: 0 20px !important; }
  header nav[aria-label="Sections"] a { padding: 6px 0 8px !important; font-size: 15px; }
  .note-rainbow { width: 120px !important; margin-top: 16px !important; }
  .idea-card { border-radius: 28px !important; padding: 26px 22px 24px !important; }
  .idea-card > div:first-child { width: 60px !important; height: 60px !important; margin-bottom: 12px !important; }
}
