* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.75;
  font-size: 18px;
}

.page { max-width: 100%; }

.section { padding: 48px 24px; }
.section .inner { max-width: 680px; margin: 0 auto; }
.section-white { background: #fff; }
.section-blue { background: #d4e6f7; }

h1 {
  font-family: Georgia, serif;
  font-size: 2.4em;
  line-height: 1.2;
  color: #0b2545;
  text-align: center;
  margin-bottom: 12px;
}
.hero { padding: 64px 24px 32px; max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 2.8em; }
.tagline {
  font-family: Georgia, serif;
  font-size: 1.3em;
  line-height: 1.4;
  color: #13315c;
  font-style: italic;
  margin-bottom: 16px;
  text-align: center;
}
.section-head {
  font-family: Georgia, serif;
  font-size: 1.6em;
  color: #0b2545;
  margin-bottom: 20px;
  font-weight: bold;
}
p { margin-bottom: 18px; }

.cta-block { text-align: center; margin: 40px 0; }
.cta-btn {
  display: inline-block;
  background: #134074;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px 56px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  box-shadow: 0 6px 20px rgba(11,37,69,0.2);
}
.cta-btn:hover { background: #0b2545; }

.price-callout {
  text-align: center;
  font-size: 1.6em;
  font-weight: bold;
  color: #134074;
  margin: 24px 0;
}

footer {
  text-align: center;
  padding: 32px 24px;
  background: #0b2545;
  color: #8da9c4;
  font-size: 0.85em;
  line-height: 1.5;
}

/* ---- App (Q&A) interface ---- */
.app-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f5f7fb;
}
.app-header {
  background: #0b2545;
  color: #fff;
  padding: 20px 24px;
  text-align: center;
}
.app-header h1 {
  color: #fff;
  font-size: 1.4em;
  margin-bottom: 4px;
}
.app-header p {
  margin: 0;
  font-size: 0.9em;
  color: #8da9c4;
  font-style: italic;
}
.app-main {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#conversation {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg {
  padding: 14px 18px;
  border-radius: 14px;
  line-height: 1.6;
  max-width: 90%;
}
.msg-you {
  background: #134074;
  color: #fff;
  align-self: flex-end;
}
.msg-ai {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #c8d6e5;
  align-self: flex-start;
  white-space: pre-wrap;
}
.msg-text { font-size: 1em; }
.msg-citations {
  font-size: 0.85em;
  color: #13315c;
  border-top: 1px solid #c8d6e5;
  margin-top: 12px;
  padding-top: 10px;
}
.msg-citations ul { list-style: none; padding: 0; margin-top: 4px; }
.msg-citations li {
  padding: 2px 0;
  font-style: italic;
}

.ask-form {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid #c8d6e5;
  padding: 14px;
  position: sticky;
  bottom: 0;
  border-radius: 12px;
  box-shadow: 0 -4px 18px rgba(11,37,69,0.05);
}
#question {
  flex: 1;
  border: 1px solid #c8d6e5;
  padding: 12px;
  font-family: Georgia, serif;
  font-size: 1em;
  border-radius: 8px;
  resize: vertical;
  min-height: 60px;
}
#ask-btn {
  background: #134074;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1em;
  font-weight: bold;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
}
#ask-btn:hover { background: #0b2545; }
#ask-btn:disabled { opacity: 0.6; cursor: wait; }

.disclaimer {
  font-size: 0.8em;
  color: #13315c;
  text-align: center;
  font-style: italic;
  padding: 8px 16px;
  border-top: 1px solid #c8d6e5;
  margin-top: 12px;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.8em; }
  .hero h1 { font-size: 2em; }
  .cta-btn { padding: 16px 36px; font-size: 1em; }
}
