* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 28px;
  font-family: system-ui, Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1f2b, #0f1115 60%);
  color: #e6e6e6;
  text-align: center;
}

/* ===== HEADER ===== */

header.top {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 18px;
  height: 230px;
}

/* Side photos sit on top, but the CENTER text will no longer extend under them */
.side-photo {
  position: absolute;
  top: 10px;
  height: 200px;
  max-width: 240px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 45px rgba(0,0,0,0.65);
  z-index: 2;
}

.side-photo.left {
  left: 0;
}

.side-photo.right {
  right: 0;
}

/* TRUE CENTER + NO OVERLAP */
.center-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* KEY FIX: do not allow this block to reach into photo zones */
  width: min(700px, calc(100% - 520px));
  padding: 0 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.logo {
  height: 78px;
  margin-bottom: 6px;
}

h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: 0.5px;
}

/* ===== INTRO + EXAMPLES ===== */

.intro {
  font-size: 14px;
  color: #cbd5e1;
  margin: 6px 0 10px;
}

.examples p {
  margin: 2px 0;
  font-size: 14px;
  color: #e6e6e6;
}

.examples p:first-child {
  margin-top: 6px;
  color: #9aa4b2;
}

.languages {
  margin-top: 8px;
  font-size: 13px;
  color: #9aa4b2;
}

/* ===== NOTE ===== */

.note {
  font-size: 12px;
  color: #ff9800;
  margin-bottom: 14px;
}

/* ===== CHAT ===== */

.chat {
  max-width: 760px;
  margin: 0 auto 24px;
}

.messages {
  height: 180px;
  border-radius: 16px;
  padding: 14px;
  overflow-y: auto;
  text-align: left;
  background: #171a21;
  border: 1px solid #2a2e39;
  font-size: 14px;
}

.messages div {
  margin-bottom: 8px;
}

.input-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid #2a2e39;
  background: #0f1115;
  color: #fff;
  font-size: 14px;
}

button {
  padding: 11px 22px;
  border-radius: 14px;
  border: none;
  background: #3b82f6;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background: #2563eb;
}

/* ===== TABLE (UNCHANGED LOOK) ===== */

h2 {
  margin: 32px 0 12px;
  font-size: 20px;
}

.table-wrapper {
  max-width: 100%;
  margin: 0 auto;
  max-height: 360px;
  overflow-y: auto;
  border-radius: 16px;
  border: 1px solid #2a2e39;
  background: #171a21;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 9px;
  font-size: 12px;
  border-bottom: 1px solid #2a2e39;
}

thead {
  position: sticky;
  top: 0;
  background: #1f2430;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  header.top {
    height: auto;
    margin-bottom: 28px; /* KEY: gives breathing room so next section never sits under images */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .side-photo {
    position: static;
    height: 140px;
    max-width: 90%;
  }

  .center-brand {
    position: static;
    transform: none;
    width: 100%;
    max-width: 700px;
    padding: 0 10px;
  }

  .messages {
    height: 160px;
  }
}
