.ai-hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 18px 0 8px;
  padding: 7px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
.ai-hero-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px;
  font: inherit;
  color: var(--ink);
}
.ai-hero-form button {
  border: 0;
  border-radius: 6px;
  background: #d5a84f;
  color: #071f36;
  padding: 0 21px;
  font-weight: 900;
  cursor: pointer;
}
.ai-hero-form button:hover { background: #f0ca76; }
.ai-hero-label {
  display: block;
  color: #dceefa;
  font-size: 10px;
  margin-bottom: 14px;
}
.messinia-story {
  margin: 0;
  padding: 30px max(6vw, 36px);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #f2ead9;
  border-block: 1px solid #dfd0b0;
}
.messinia-story > span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #886718;
  padding-top: 9px;
}
.messinia-story h2 {
  font-family: "Noto Serif";
  font-size: 29px;
  margin: 0 0 8px;
}
.messinia-story p {
  max-width: 1000px;
  margin: 0;
  color: #3e5265;
  line-height: 1.65;
  font-size: 14px;
}
.messinia-story strong { color: #0d4f8b; }
.quick-tools { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; padding: 0 max(6vw,36px); background: #d9e2ec; border-bottom: 1px solid #d9e2ec; }
.quick-tools a { min-width: 0; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 17px 15px; background: #fff; color: #102a43; text-decoration: none; transition: background .2s,color .2s; }
.quick-tools a:hover,.quick-tools a:focus { background: #edf6fb; color: #0d4f8b; }
.quick-tools span { grid-row: 1/3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #3f5b35; color: #fff; font-weight: 900; }
.quick-tools b { font-size: 11px; line-height: 1.2; }
.quick-tools small { margin-top: 3px; color: #627d98; font-size: 8px; }
.event-row h3 a,.side-list h3 a { color: inherit; text-decoration: none; }
.event-row h3 a:hover,.side-list h3 a:hover { color: #0d4f8b; text-decoration: underline; text-underline-offset: 3px; }
.ai-guide { position: relative; overflow: hidden; }
.ai-guide::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -150px;
  top: -220px;
  background: radial-gradient(circle, rgba(39,166,206,.24), transparent 67%);
  pointer-events: none;
}
.ai-tagline { color: #ffcf68 !important; font-weight: 900; font-size: 18px; margin: -4px 0 8px; }
.mascot-intro { position: relative; min-height: 188px; display: grid; grid-template-columns: 138px 1fr; align-items: center; gap: 14px; margin: 20px 0 4px; padding: 17px 17px 17px 0; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: linear-gradient(125deg,rgba(255,255,255,.12),rgba(255,255,255,.04)); overflow: hidden; }
.mascot-intro::after { content: ""; position: absolute; inset: auto -30px -70px auto; width: 150px; height: 150px; border-radius: 50%; background: rgba(213,168,79,.12); }
.mascot-intro img { align-self: end; width: 145px; max-height: 203px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 15px 18px rgba(0,0,0,.25)); }
.mascot-intro div { position: relative; z-index: 1; padding-right: 3px; }
.mascot-intro span { color: #ffcf68; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.mascot-intro h3 { margin: 5px 0 7px; font-family: "Noto Serif"; font-size: 20px; line-height: 1.2; }
.mascot-intro p { margin: 0; color: #d8eaf8; font-size: 11px; line-height: 1.55; }
.mascot-intro strong { color: #fff; }
.ai-modes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-top: 22px; }
.ai-modes span { display: grid; grid-template-columns: 31px 1fr; grid-template-rows: auto auto; column-gap: 9px; padding: 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.06); }
.ai-modes i { grid-row: 1 / 3; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #d5a84f; color: #071f36; font-style: normal; font-weight: 900; }
.ai-modes b { font-size: 12px; }
.ai-modes small { color: #bdd8ea; font-size: 9px; margin-top: 2px; }
.ai-console { position: relative; z-index: 1; }
.ai-console-head { position: relative; }
.ai-language { margin-left: auto; color: #0d4f8b; font-size: 9px; font-weight: 900; letter-spacing: .08em; border: 1px solid #bfd1df; padding: 5px 7px; border-radius: 999px; }
.ai-online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1cac63; margin-right: 3px; box-shadow: 0 0 0 4px rgba(28,172,99,.12); }
.answer-label { color: #0d4f8b; font-size: 9px; font-weight: 900; letter-spacing: .12em; margin-bottom: 7px; }
.ai-answer h3 { margin: 0 0 8px; font-family: "Noto Serif"; font-size: 20px; line-height: 1.25; color: #102a43; }
.ai-answer p { margin: 0; color: #334e68; line-height: 1.58; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.answer-actions a, .answer-actions button { border: 0; border-radius: 6px; padding: 9px 11px; background: #0d4f8b; color: #fff; text-decoration: none; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }
.answer-actions button { background: #fff; color: #0d4f8b; border: 1px solid #9fb3c8; }
.answer-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #cfe0eb; color: #627d98; font-size: 9px; font-weight: 700; }
.ai-capabilities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.ai-capabilities span { padding: 5px 8px; border-radius: 999px; color: #486581; background: #eef4f8; font-size: 9px; font-weight: 800; }
@media (max-width: 700px) {
  .ai-hero-form { grid-template-columns: 1fr; }
  .ai-hero-form button { padding: 13px; }
  .messinia-story { grid-template-columns: 1fr; padding: 26px 20px; gap: 8px; }
  .quick-tools { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
  .quick-tools a:last-child { grid-column: 1/-1; }
  .ai-modes { grid-template-columns: 1fr; }
  .mascot-intro { grid-template-columns: 110px 1fr; min-height: 175px; }
  .mascot-intro img { width: 120px; max-height: 185px; }
  .ai-answer h3 { font-size: 18px; }
  .answer-actions > * { flex: 1 1 auto; text-align: center; }
}

/* Compact identity mark: clear at favicon and mobile-app sizes. */
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(35, 59, 42, .22);
}
.brand-mark img { display: block; width: 100%; height: 100%; }
@media (max-width: 430px) {
  .mascot-intro { grid-template-columns: 88px 1fr; padding-right: 12px; }
  .mascot-intro img { width: 100px; max-height: 165px; }
  .mascot-intro h3 { font-size: 17px; }
  .mascot-intro p { font-size: 10px; }
}
