:root {
  --blue: #0755b8;
  --blue-dark: #071f55;
  --green: #57a865;
  --cream: #fff8e8;
  --bg: #f4f8f5;
  --text: #09204d;
  --muted: #44536d;
  --border: #e4d8c7;
  --soft-blue: #eef7ff;
  --soft-green: #f3fbf2;
  --warning: #fff7e2;
  --shadow: 0 16px 38px rgba(20, 35, 60, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 235, 190, 0.7), transparent 32%),
    linear-gradient(180deg, #fff8e8 0%, #f6f9f4 42%, #edf6f1 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
textarea,
input {
  font: inherit;
}

/* HERO */

.hero {
  width: min(1560px, calc(100% - 42px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
}

.hero-logo-area,
.hero-text-area,
.hero-right,
.top-actions,
.sidebar-box,
.help-box,
.qa-panel,
.image-cards article,
.info-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-logo-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.hero-logo {
  display: block;
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 12px 22px rgba(20, 35, 60, 0.16));
}

.hero-text-area {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text-area h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.3vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  color: var(--blue-dark);
}

.hero-text-area p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.hero-button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: var(--blue);
}

.green {
  background: var(--green);
}

.hero-right {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.trust-card {
  padding: 18px;
  border-radius: 18px;
  background: #f8fcff;
  border: 1px solid #c7ddf4;
}

.trust-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.18rem;
}

.trust-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

/* MOBILE HEADER */

.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.mobile-logo {
  height: 48px;
  width: auto;
}

.mobile-header button {
  border: 0;
  background: var(--blue);
  color: white;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 900;
}

/* TOP ACTION BAR */

.top-actions {
  width: min(1560px, calc(100% - 42px));
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.top-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-links a {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  background: var(--blue);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-links .green-link {
  background: var(--green);
}

/* PAGE LAYOUT */

.page-layout {
  width: min(1560px, calc(100% - 42px));
  margin: 22px auto 50px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-box {
  padding: 20px;
}

.sidebar-box h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: var(--blue-dark);
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px;
  border-radius: 14px;
  color: var(--text);
}

.nav-item:hover {
  background: var(--soft-blue);
}

.nav-item.active {
  background: linear-gradient(135deg, #0a63c8, #064fa8);
  color: white;
}

.nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(7, 85, 184, 0.08);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.25rem;
}

.nav-item.active .nav-icon {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.nav-item strong {
  display: block;
  line-height: 1.15;
}

.nav-item small {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
}

.help-box {
  margin-top: 16px;
  padding: 20px;
}

.heart {
  width: 58px;
  height: 58px;
  border: 2px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
}

.help-box h3 {
  margin: 14px 0 8px;
  color: var(--blue-dark);
}

.help-box p {
  margin: 0 0 14px;
  color: var(--muted);
}

.contact-button,
.contact-panel a {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 12px;
  background: #ecf8ec;
  color: #12602b;
  border: 1px solid #badcba;
  text-decoration: none;
  font-weight: 900;
}

/* MAIN */

.main-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.qa-panel {
  padding: clamp(22px, 3vw, 44px);
}

.qa-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.qa-header h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.privacy-badge {
  flex: 0 0 260px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--soft-green);
  border: 1px solid #cde6cb;
  border-radius: 14px;
  padding: 12px 14px;
}

.privacy-badge span {
  width: 42px;
  height: 42px;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.memory-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--soft-blue);
  border: 2px solid var(--blue);
}

.question-form {
  margin-top: 28px;
}

.question-form label,
.answer-section h2 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--blue-dark);
  font-weight: 900;
}

.question-box {
  position: relative;
}

#messageInput {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 2px solid var(--blue);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: var(--text);
  padding: 24px 126px 24px 24px;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  outline: none;
}

#messageInput:focus {
  box-shadow: 0 0 0 5px rgba(7, 85, 184, 0.14);
}

.ask-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 100px;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b61c3, #064fa8);
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.answer-section {
  margin-top: 28px;
}

.answer-box {
  min-height: 360px;
  max-height: none;
  overflow-y: visible;
  padding: 22px;
  border-radius: 16px;
  border: 2px solid #72b56c;
  background: linear-gradient(180deg, #ffffff, #f8fff7);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.message {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(7, 85, 184, 0.06);
  border: 1px solid rgba(7, 85, 184, 0.12);
}

.message.user {
  background: #edf6ff;
  border-color: #c7ddf4;
}

.message.assistant {
  background: #f7fff6;
  border-color: #d7ebd5;
}

.message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

.message p {
  margin: 0;
}

.disclaimer {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  background: var(--warning);
  border: 1px solid #efd595;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.disclaimer-icon {
  width: 46px;
  height: 46px;
  border: 3px solid var(--blue-dark);
  color: var(--blue-dark);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.disclaimer h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.disclaimer p {
  margin: 0;
  color: #202944;
  font-size: 1rem;
}

/* IMAGE CARDS */

.image-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-cards article {
  padding: 16px;
  text-align: center;
  overflow: hidden;
}

.image-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f6f8;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.25s ease;
}

.image-cards article:hover img {
  transform: scale(1.035);
}

.image-cards h2 {
  margin: 18px 10px 6px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.image-cards p {
  max-width: 320px;
  margin: 0 auto 8px;
  color: var(--muted);
}

/* INFO CARDS */

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 22px;
  min-width: 0;
}

.info-card h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 1.25rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-panel {
  padding: 26px;
  text-align: center;
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.contact-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .image-cards {
    grid-template-columns: 1fr;
  }

  .image-wrap {
    height: 340px;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qa-header {
    flex-direction: column;
  }

  .privacy-badge {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  html {
    font-size: 17px;
  }

  .mobile-header {
    display: flex;
  }

  .hero,
  .top-actions,
  .page-layout {
    width: min(100% - 24px, 1560px);
  }

  .hero {
    margin-top: 14px;
  }

  .hero-logo {
    width: min(100%, 360px);
  }

  .hero-right {
    grid-template-columns: 1fr;
  }

  .top-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .top-links a {
    flex: 1;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
    position: static;
  }

  .sidebar.open {
    display: block;
  }

  .qa-panel {
    padding: 20px 16px;
  }

  #messageInput {
    padding-right: 24px;
    min-height: 220px;
  }

  .ask-button {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .top-actions,
  .page-layout {
    width: min(100% - 18px, 1560px);
  }

  .hero-logo-area,
  .hero-text-area,
  .qa-panel {
    border-radius: 18px;
  }

  .hero-text-area h1 {
    font-size: 2.2rem;
  }

  .hero-text-area p {
    font-size: 1.05rem;
  }

  .image-wrap {
    height: 260px;
  }

  .disclaimer {
    grid-template-columns: 1fr;
  }
}
.hero-single {
  grid-template-columns: 0.9fr 1.1fr !important;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 54px);
}

.hero-logo-side,
.hero-content-side {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hero-logo-large {
  width: min(100%, 620px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 34px rgba(20, 35, 60, 0.18));
}

.hero-content-side h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--blue-dark);
}

.hero-content-side p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.hero-info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.hero-info-box {
  background: #f8fcff;
  border: 1px solid #c7ddf4;
  border-radius: 16px;
  padding: 16px;
}

.hero-info-box strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.hero-info-box span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.hero-content-side .hero-buttons {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .hero-single {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .hero-logo-large {
    width: min(100%, 430px);
  }

  .hero-content-side .hero-buttons {
    justify-content: center;
  }

  .hero-info-row {
    grid-template-columns: 1fr;
  }
}
.answer-box .message:last-child {
  border: 3px solid #0755b8;
  background: #eef7ff;
  box-shadow: 0 10px 24px rgba(7, 85, 184, 0.12);
}