/* Poziom 511 skin. Palette measured off poziom511.pl: deep olive #31352C,
   paper #F5F2EE, stone #BCBBB3, near-black #1A1B1A. Their site sets Sora
   (headings) and DM Sans (body) from Google Fonts, so the demo loads the same
   two; inside the makieta iframe they come from the browser cache.

   Wide screens get the photo column; the iframe in the makieta dock is ~24rem
   wide, so there the page is the bare chat without any extra rule. */
:root {
  --bg: #F5F2EE;
  --primary: #31352C;
  --signal: #8C8A7C;
  --ink: #1A1B1A;
  --text: #1A1B1A;
  --rule: #D2D0C8;
  --muted: #5a5c53;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: stretch;
}

.hero { display: none; }

@media (min-width: 960px) {
  body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, 1fr); }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px;
    color: #F5F2EE;
    background:
      linear-gradient(180deg, rgba(26, 27, 26, .55) 0%, rgba(26, 27, 26, .25) 40%, rgba(26, 27, 26, .85) 100%),
      url("img/basen.jpg") center / cover no-repeat, #31352C;
  }
  .panel { max-width: none; justify-self: stretch; padding: 24px 32px; }
}

.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-logo { width: 220px; height: auto; }
.badge {
  font: 500 .75rem/1 "Sora", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 242, 238, .6);
  padding: 7px 12px;
}
.hero-copy { max-width: 34rem; }
.kicker { font: 400 .8rem/1 "Sora", sans-serif; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.hero-copy h2 {
  font: 300 2.4rem/1.15 "Sora", sans-serif;
  letter-spacing: -.01em;
  margin: 14px 0 22px;
}
.hero-copy ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.hero-copy li { padding-left: 22px; position: relative; line-height: 1.45; opacity: .95; }
.hero-copy li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: #F5F2EE; }
.hero-link {
  display: inline-block;
  color: #1A1B1A;
  background: #F5F2EE;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 18px;
}
.hero-link:hover { background: #BCBBB3; }
.hero-foot { font-size: .8rem; opacity: .7; }

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--rule);
}
header .mark { height: 26px; width: auto; }
header h1 {
  font: 400 .8rem/1 "Sora", sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--rule);
}

.chat { padding: 14px 2px 4px; gap: 10px; }

.msg { border-radius: 14px; font-size: .98rem; }
.msg.assistant { background: #fff; border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.msg.user { background: #31352C; color: #F5F2EE; border: 0; border-bottom-right-radius: 4px; }
.msg a { color: #31352C; text-decoration-thickness: 1px; }
.msg code { background: #ECE8E1; }

.suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
.suggestion {
  font: inherit;
  font-size: .9rem;
  color: #31352C;
  background: transparent;
  border: 1px solid #BCBBB3;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  text-align: left;
}
.suggestion:hover { background: #31352C; color: #F5F2EE; border-color: #31352C; }
.suggestion:focus-visible { outline: 2px solid #31352C; outline-offset: 2px; }

.composer textarea { background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.composer textarea:focus { border-color: #31352C; }
.composer button { background: #31352C; border-color: #31352C; color: #F5F2EE; border-radius: 10px; }
.composer button:hover:not(:disabled) { background: #1A1B1A; color: #F5F2EE; }

.caption { font-size: .78rem; }

/* Mobile has no photo column, so the makieta link moves into the header. */
.to-mock { display: none; margin-left: auto; font-size: .82rem; color: #31352C; }
.standalone .to-mock { display: inline; }
@media (min-width: 960px) { .standalone .to-mock { display: none; } }
