/* Лендінг Wardrobe Keep: bento-мозаїка на токенах бренду */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/cormorant-garamond-600-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/cormorant-garamond-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/manrope-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/manrope-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/manrope-500-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/manrope-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-500-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--greige);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}
h1, h2 { font-family: var(--font-display); font-weight: 600; margin: 0; }
h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.l-hero {
  max-width: 760px; margin: 0 auto; padding: 11dvh 20px 56px; text-align: center;
}
.l-brand {
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: 18px;
}
.l-hero h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.05; }
.l-sub { color: var(--ink-60); max-width: 540px; margin: 18px auto 30px; font-size: 17px; }
.l-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 32px;
  background: var(--ink); color: var(--linen);
  border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 17px;
}
.l-cta:hover { opacity: .88; }

.l-section { max-width: 1020px; margin: 0 auto; padding: 36px 20px; }
.l-section h2 { font-size: clamp(26px, 4.5vw, 34px); margin-bottom: 24px; }

/* Bento-мозаїка */
.l-bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .l-bento { grid-template-columns: repeat(4, 1fr); } }
.l-tile {
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(28, 27, 25, .04), 0 10px 28px rgba(28, 27, 25, .07);
}
.l-tile p { color: var(--ink-60); font-size: 15px; }
.l-w2 { grid-column: span 2; }
@media (min-width: 760px) { .l-h2 { grid-row: span 2; } }
.l-tile-sub { font-size: 13px; }
.l-tile-note { margin-top: 16px; font-size: 13px; }

/* Плитка Полі: діалог */
.l-tile-poli { background: var(--ink); border-color: var(--ink); }
.l-tile-poli h3, .l-tile-poli .l-num { color: var(--greige); }
.l-tile-poli p { color: rgba(247, 245, 241, .75); }
.l-poli-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.l-poli-avatar {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--sage); color: var(--linen); border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
}
.l-chat { display: grid; gap: 10px; }
.l-msg {
  padding: 12px 16px; border-radius: 18px;
  font-size: 15px; max-width: 92%;
}
.l-msg-user {
  background: var(--sage); color: var(--linen) !important;
  justify-self: end; border-bottom-right-radius: 6px;
}
.l-msg-poli {
  background: var(--greige); color: var(--ink) !important;
  justify-self: start; border-bottom-left-radius: 6px;
}

/* Числова плитка: єдине місце --clay */
.l-tile-num { display: grid; align-content: center; gap: 4px; }
.l-num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(28px, 4vw, 38px); color: var(--sage);
}

.l-eco { text-align: center; }
.l-eco-sub { color: var(--ink-60); margin-top: -14px; margin-bottom: 22px; }
.l-eco-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.l-eco-card {
  flex: 1 1 200px; max-width: 260px;
  background: var(--linen); border: 1px solid var(--line);
  border-radius: 24px; padding: 20px; text-decoration: none;
  box-shadow: 0 1px 2px rgba(28, 27, 25, .04), 0 10px 28px rgba(28, 27, 25, .07);
}
.l-eco-card p { color: var(--ink-60); font-size: 14px; }
.l-eco-card:hover { background: var(--linen); }
.l-eco-current { background: var(--ink); }
.l-eco-current h3, .l-eco-current p { color: var(--greige); }

.l-final { text-align: center; padding-bottom: 72px; }
.l-final h2 { margin-bottom: 26px; }

.l-footer {
  border-top: 1px solid var(--line);
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px));
  text-align: center; color: var(--ink-60); font-size: 14px;
}
