@font-face {
  font-family: Lora;
  src: url(/assets/Lora-Variable.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--housio-brand-navy);
  font: 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background: white;
}

main {
  flex: 1;
}

h1,h2,h3,p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--housio-brand-link-blue);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.wrap {
  width: min(1160px,calc(100% - 96px));
  margin: auto;
}

.bar {
  border-bottom: 1px solid #e5e8eb;
}

.top,.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top {
  min-height: 74px;
}

.top nav,.foot nav,.brand,.support,.footer-brand,.search-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top nav,.foot nav {
  gap: 26px;
}

.brand:hover {
  text-decoration: none;
}

.brand strong {
  font-size: 27px;
  letter-spacing: -1.3px;
}

.brand span {
  font-size: 15px;
  border-left: 1px solid #b6bfc4;
  padding-left: 14px;
  margin-left: 4px;
}

.support {
  border: 1px solid #c5cdd2;
  border-radius: 30px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 600;
}

.support:hover,.cta:hover {
  background: var(--housio-brand-light-blue);
  text-decoration: none;
}

.search-link {
  font-weight: 550;
  font-size: 14px;
}

.glass {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: none;
}

.glass:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg);
  background: currentColor;
}

.hero {
  background: linear-gradient(90deg,rgba(11,24,36,.88),rgba(15,26,38,.64) 40%,rgba(20,29,34,.09) 80%),url(/assets/home-hero.webp) center 59%/cover;
  color: white;
}

.hero-inner {
  min-height: 370px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 34px;
}

.hero h1,h1 {
  font-family: Lora,Georgia,serif;
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(48px,5.5vw,80px);
  margin: 0 0 28px;
}

.search {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cbd0d4;
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  background: white;
  color: var(--housio-brand-navy);
  width: min(640px,100%);
  box-shadow: 0 4px 18px #00000012;
}

.search input {
  flex: 1;
  border: 0;
  min-width: 0;
  font: inherit;
  color: inherit;
  background: none;
  height: 48px;
}

.search input::placeholder {
  color: #616974;
}

.search input:focus {
  outline: none;
}

.search:focus-within {
  outline: 3px solid #84cde9;
  outline-offset: 3px;
}

.search button,.cta {
  border: none;
  background: var(--housio-brand-button-blue);
  color: var(--housio-brand-navy);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  border-radius: 11px;
  cursor: pointer;
  padding: 14px 22px;
}

.search button:hover {
  background: var(--housio-brand-button-pressed);
}

.suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
}

.suggest span {
  opacity: .83;
}

.suggest a {
  border: 1px solid #ffffff66;
  border-radius: 25px;
  background: #15212e77;
  padding: 4px 11px;
}

.suggest a:hover {
  background: #15212ecd;
}

.browse {
  padding-top: 45px;
  padding-bottom: 66px;
}

.browse section+section {
  margin-top: 47px;
}

h2 {
  font-size: clamp(23px,2.2vw,30px);
  letter-spacing: -.045em;
  line-height: 1.25;
}

.topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 23px;
}

.topic {
  border: 1px solid #d8dfe2;
  border-radius: 18px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;
  transition: background .16s,border-color .16s;
}

.topic:hover {
  text-decoration: none;
  border-color: #9ab8cb;
  background: #f8fcfe;
}

.topic h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.topic p {
  color: #59636c;
  font-size: 14px;
  margin-top: 5px;
  max-width: 40ch;
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.buying {
  background: var(--housio-brand-light-blue);
}

.selling {
  background: var(--housio-brand-light-yellow);
}

.account {
  background: #eef3eb;
}

.safety {
  background: #f4edf7;
}

.arrow {
  font-size: 21px;
  line-height: 1.3;
}

.quick {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 32px;
}

.quick a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 5px;
  border-bottom: 1px solid #dce1e4;
  padding: 18px 30px 18px 0;
}

.quick small {
  color: #59636c;
}

.quick strong {
  line-height: 1.35;
  font-weight: 600;
}

.quick span {
  position: absolute;
  right: 3px;
  top: 50%;
}

.foot {
  min-height: 78px;
  font-size: 14px;
}

.footer-brand {
  font-weight: 650;
}

footer {
  background: #f6f8f8;
  border-top: 1px solid #e0e4e5;
}

h1 {
  font-size: clamp(36px,4.5vw,62px);
}

.inner {
  padding-top: 28px;
  padding-bottom: 72px;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #596873;
  font-size: 14px;
  margin: 0 0 34px;
}

.crumbs a:hover {
  color: var(--housio-brand-link-blue);
}

.band {
  color: white;
  background:
    linear-gradient(90deg, rgba(14, 30, 43, .95), rgba(16, 33, 46, .85) 47%, rgba(16, 33, 46, .32)),
    url(/assets/home-hero.webp) center 56% / cover;
  padding: 26px 0 40px;
}

.band .crumbs,
.band .crumbs a:hover {
  color: white;
}

.band .icon {
  margin-bottom: 13px;
}

.band h1+p {
  margin-top: 13px;
  max-width: 70ch;
}

.groups {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 38px 40px;
  padding-top: 42px;
  padding-bottom: 64px;
}

.group {
  border-top: 2px solid #d6e1e6;
  padding-top: 17px;
}

.group h2,aside h2,#directory h2 {
  font-size: 21px;
}

.entries {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.entries li {
  border-bottom: 1px solid #e4e8ea;
}

.entries a {
  display: block;
  padding: 10px 0;
  color: #235b83;
  line-height: 1.45;
}

.all {
  display: inline-block;
  color: #275d80;
  font-weight: 620;
  font-size: 14px;
  margin-top: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,2.15fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(45px,7vw,105px);
}

article h1 {
  font-size: clamp(34px,4vw,54px);
}

.prose {
  margin-top: 26px;
  max-width: 68ch;
  color: #354451;
  font-size: 18px;
  line-height: 1.7;
}

.prose p+p {
  margin-top: 18px;
}

.article-foot {
  border-top: 1px solid #d9dfe1;
  padding-top: 15px;
  margin-top: 36px;
}

.cta {
  display: inline-block;
}

.article-layout aside {
  background: #f5f8f8;
  border-radius: 18px;
  padding: 22px 24px;
}

.reading,.compact,#directory,#search-results {
  max-width: 820px;
}

.reading {
  margin-top: 24px;
  font-size: 18px;
}

.compact {
  margin: 26px 0 30px;
}

.result {
  padding: 17px 0;
  border-bottom: 1px solid #dce2e6;
}

.result small,.result p {
  color: #586574;
}

.result h2 {
  font-size: 20px;
  margin: 4px 0;
}

.result h2 a {
  color: #245d85;
}

.result p {
  margin-top: 5px;
}

.result-count {
  font-weight: 550;
  margin-top: 12px;
}

#directory {
  margin-top: 25px;
}

details {
  border-bottom: 1px solid #dde3e6;
  padding: 14px 0;
}

summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.foot a:hover,.topic:focus-visible h3 {
  text-decoration: underline;
}

@media(max-width:880px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .groups,.quick {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout {
    gap: 30px;
  }
  .topic {
    padding: 18px;
    gap: 12px;
  }
  .hero {
    background-position: 58% 59%;
  }
}

@media(max-width:620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top {
    min-height: 60px;
    gap: 8px;
  }
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand span {
    font-size: 12px;
    margin-left: 1px;
    padding-left: 7px;
  }
  .support {
    font-size: 12px;
    padding: 7px 10px;
  }
  .top nav {
    gap: 12px;
  }
  .search-link {
    font-size: 0;
    gap: 0;
    padding: 7px;
  }
  .hero-inner {
    min-height: 302px;
  }
  .hero {
    background-image: linear-gradient(90deg,#101e2bdd,#182b3d66),url(/assets/home-hero.webp);
  }
  .hero h1 {
    font-size: clamp(37px,10vw,52px);
  }
  .search {
    padding-left: 13px;
    gap: 12px;
  }
  .search input {
    height: 42px;
    font-size: 16px;
  }
  .search button {
    padding: 12px 15px;
  }
  .topics,.groups,.article-layout {
    grid-template-columns: 1fr;
  }
  .topics {
    gap: 10px;
  }
  .browse {
    padding-top: 30px;
  }
  .topic h3 {
    font-size: 18px;
  }
  .topic .icon {
    width: 40px;
    height: 40px;
  }
  .quick {
    grid-template-columns: 1fr;
  }
  .quick a {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .groups {
    gap: 27px;
  }
  .article-layout {
    gap: 30px;
  }
  .inner {
    padding-top: 20px;
  }
  .crumbs {
    margin-bottom: 23px;
  }
  .prose {
    font-size: 17px;
  }
  .foot {
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 12px;
  }
  .foot nav {
    gap: 14px;
  }
  .band {
    padding-bottom: 28px;
  }
}

