/* Blind Box Closet — public site. Palette taken from the app logo. */
:root {
  --cream: #f7f3ec;
  --wall: #f4e8d8;
  --card: #ffffff;
  --ink: #3a2a1f;
  --muted: #7a6a5c;
  --line: rgba(58, 42, 31, 0.1);
  --oak: #e7c8a5;
  --sage: #b5be9f;
  --sage-deep: #5f6b45;
  --sage-wash: #eef1e4;
  --blush: #f4d4ca;
  --butter: #f3dca9;
  --sky: #b5ccde;
  --lavender: #d7c5d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "Nunito", "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--sage-deep);
  font-weight: 700;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}

header.top {
  padding: 22px 0;
}

header.top .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

header.top img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

header.top .name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.2px;
  color: var(--ink);
  text-decoration: none;
  flex: 1;
}

header.top nav a {
  margin-left: 16px;
  font-size: 15px;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 44px 0 30px;
}

.hero img {
  width: 148px;
  height: 148px;
  border-radius: 33px;
  box-shadow: 0 18px 40px rgba(58, 42, 31, 0.14);
}

h1 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  font-weight: 800;
  margin: 26px 0 10px;
}

.page h1 {
  margin-top: 18px;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 34px 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 20px 0 4px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 6px;
}

.swatches span {
  width: 34px;
  height: 38px;
  /* six-sided, like the boxes on the shelf */
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 26px 0;
  text-align: left;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 20px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.lang {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 6px 26px 22px;
  margin: 22px 0;
}

.lang > h2:first-child {
  margin-top: 22px;
}

.tag {
  display: inline-block;
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 20px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding: 24px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  font-weight: 600;
}

@media (max-width: 520px) {
  h1 {
    font-size: 32px;
  }
  header.top nav a {
    margin-left: 10px;
  }
}
