/* Kolabin Playground — extends kolabin.css */

.pg-main {
  padding: clamp(108px, 14vh, 140px) 0 clamp(56px, 8vw, 96px);
  position: relative;
}
.pg-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(21, 24, 29, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 24, 29, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  pointer-events: none;
}

.pg-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 920px) {
  .pg-grid { grid-template-columns: 1fr; }
}

.pg-copy { display: grid; gap: 24px; justify-items: start; }
.pg-copy h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  letter-spacing: -0.026em;
  max-width: 16ch;
}
.pg-copy h1 em { font-style: normal; color: var(--accent); }
.pg-sub {
  color: var(--ink-2);
  font-size: clamp(16px, 1.7vw, 18px);
  max-width: 48ch;
  text-wrap: pretty;
}

.pg-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  text-align: left;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
              border-color 200ms ease, color 200ms ease;
}
.chip:hover:not(:disabled) {
  border-color: var(--accent-line);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.chip:active:not(:disabled) { transform: scale(0.98); }
.chip:disabled { opacity: 0.45; cursor: default; }

.pg-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.pg-input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pg-input::placeholder { color: var(--ink-3); }
.pg-input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }

.pg-send {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), opacity 160ms ease;
}
.pg-send:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.pg-send:active:not(:disabled) { transform: scale(0.96); }
.pg-send:disabled { opacity: 0.45; cursor: default; }

.pg-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  max-width: 50ch;
  line-height: 1.7;
}

/* phone column */
.pg-visual {
  display: grid;
  gap: 14px;
  justify-items: center;
  position: sticky;
  top: 92px;
}
@media (max-width: 920px) {
  .pg-visual { position: static; }
}

/* scrolling conversation overrides */
.pg-visual .chat-body {
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-width: thin;
}
.pg-visual .bubble { flex: none; }

.pg-hint {
  margin: auto;
  text-align: center;
  color: var(--ink-3);
  font-size: 13.5px;
  max-width: 22ch;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.pg-hint svg { opacity: 0.6; }

.pg-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease;
}
.pg-reset:hover { color: var(--ink); background: var(--line-soft); }
