:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.55;
  background: #f5f8fc;
  color: #10243c;
}
* {
  box-sizing: border-box;
}
body,
figure {
  margin: 0;
}
a {
  color: #17568d;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid #4ca9ee;
  outline-offset: 4px;
}
body > header,
footer {
  background: #0b1d32;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem max(5vw, calc((100vw - 72rem) / 2));
}
header nav,
.links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
header a,
footer a {
  color: inherit;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  text-decoration: none;
}
.brand img {
  filter: brightness(0) invert(1);
}
.brand span {
  font-weight: 450;
}
.skip {
  position: absolute;
  left: -1000px;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
  background: white;
  padding: 0.75rem;
  z-index: 2;
}
main {
  width: min(90%, 72rem);
  margin: auto;
  padding: clamp(1.4rem, 4vw, 3.75rem) 0;
  min-height: 78vh;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  background: #102b48;
  color: white;
  border-radius: 1rem;
  overflow: hidden;
}
.hero > div {
  padding: clamp(1.3rem, 3.2vw, 3rem);
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero figure {
  align-self: stretch;
  background: #071725;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero figcaption {
  padding: 0.8rem 1.25rem;
}
.hero figcaption a {
  color: #c3e3f9;
}
.hero p {
  color: #d9e7f3;
}
.primary {
  display: inline-block;
  background: #c1e5ff;
  color: #0b2038;
  text-decoration: none;
  font-weight: 720;
  padding: 0.7rem 1.2rem;
  border-radius: 0.45rem;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  margin: 0;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  margin-bottom: 0.5rem;
}
#templates {
  margin-top: 3rem;
}
.templates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.1rem;
}
.templates article {
  border: 1px solid #c9d8e6;
  background: white;
  border-radius: 0.8rem;
  overflow: hidden;
}
.templates article header {
  padding: 1.25rem;
  background: #17344e;
  color: #fff;
  border-bottom: 4px solid #8db9d8;
}
.templates article[data-look="gallery"] header {
  background: #254138;
  border-color: #b9d5be;
}
.templates article[data-look="atelier"] header {
  background: #363841;
  border-color: #d3b786;
}
.templates article header p {
  margin: 0;
  font-size: 0.93rem;
}
.templates h3 {
  margin: 0.5rem 0;
  font-size: 1.7rem;
}
.body {
  padding: 1.2rem;
}
.body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.body a,
.demo a {
  font-weight: 650;
}
.demo {
  margin-top: 2.5rem;
  padding: 1.4rem;
  border-block: 1px solid #c5d5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}
.demo h2 {
  margin-top: 0;
}
.demo p {
  margin-bottom: 0;
}
.links {
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.4rem;
}
@media (max-width: 43rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .demo {
    align-items: start;
    flex-direction: column;
  }
  body > header {
    flex-wrap: wrap;
  }
  .brand img {
    width: 34px;
  }
}

.desk-board {
  max-width: 48rem;
  margin: 2rem 0;
  background: #fff;
  border: 1px solid #bdcbda;
  border-radius: 0.85rem;
  overflow: hidden;
}
.desk-board header {
  display: grid;
  gap: 0.15rem;
  padding: 1.3rem 1.5rem;
  background: #122e49;
  color: #fff;
  border-bottom: 3px solid #bc9c5d;
}
.desk-board header strong {
  font-size: 1.3rem;
}
.desk-board details {
  padding: 0.9rem 1.5rem;
}
.desk-board details + details {
  border-top: 1px solid #dbe4ec;
}
.desk-board summary {
  cursor: pointer;
  font-weight: 650;
}
.desk-board summary:focus-visible {
  outline: 3px solid #377db9;
  outline-offset: 4px;
}
.desk-board p {
  margin: 0.7rem 0 0.25rem;
}

.event-desk {
  margin-top: 3rem;
}
.event-desk > p {
  max-width: 47rem;
}
.desk-board figure {
  margin-block: 1rem;
}
.desk-board figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cdd8e2;
}
.desk-board figcaption {
  margin-top: 0.4rem;
  color: #476078;
  font-size: 0.92rem;
}
