:root {
  --bg: #f8f6f1;
  --ink: #14213d;
  --muted: #5f6570;
  --card: #ffffff;
  --line: #dde1e8;
  --brand: #0f5fa8;
  --brand-2: #f4a261;
  --good: #1f9d55;
  --warn: #d97706;
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, 0.14);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fff4da 0, transparent 35%),
    radial-gradient(circle at 88% 20%, #d8ecff 0, transparent 30%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 246, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand img {
  width: 128px;
  height: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-top {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: #fff;
  font-size: 0.92rem;
}

.menu-btn {
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(86vw, 320px);
  height: 100dvh;
  z-index: 60;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: right 0.28s ease;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-panel.open {
  right: 0;
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.menu-link {
  padding: 0.9rem;
  border-radius: 12px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
}

.menu-link:hover {
  background: #f4f7fb;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 27, 0.45);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.backdrop.show {
  opacity: 1;
  visibility: visible;
}

.hero {
  padding: 3.5rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.3rem;
  align-items: stretch;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 3rem);
  line-height: 1.15;
}

.hero-copy p {
  margin: 1rem 0 1.2rem;
  color: var(--muted);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #3183cc 100%);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
}

.quick-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.quick-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}

.quick-stats strong {
  display: block;
  font-size: 1.03rem;
}

.quick-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #12284b 0%, #1f4d76 100%);
  color: #f8fbff;
  padding: 1.4rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.22;
}

.hero-panel::before {
  width: 220px;
  height: 220px;
  background: #ffd08e;
  right: -40px;
  top: -80px;
}

.hero-panel::after {
  width: 180px;
  height: 180px;
  background: #88b4ff;
  left: -60px;
  bottom: -70px;
}

.hero-panel h3 {
  margin-top: 0;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.hero-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.72rem 0.75rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.section-sub {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.notice-bot-wrap {
  padding-bottom: 4rem;
}

.notice-bot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.bot-head {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.bot-head small {
  color: var(--muted);
  display: block;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.badge {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  background: #edf6ff;
  color: var(--brand);
  font-weight: 700;
}

.bot-feed {
  padding: 1rem;
  min-height: 390px;
  max-height: 58vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.msg {
  max-width: 90%;
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  line-height: 1.45;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  white-space: pre-wrap;
}

.msg.bot {
  align-self: flex-start;
  background: #eef6ff;
  border: 1px solid #d8e9ff;
}

.msg.user {
  align-self: flex-end;
  background: #153a68;
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1rem 0.8rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}

.bot-input {
  border-top: 1px solid var(--line);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.55rem;
}

.bot-input input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 0.88rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.bot-input button {
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.send-btn {
  background: var(--brand);
  color: #fff;
}

.restart-btn {
  background: #f0f2f7;
  color: #364056;
}

.legal-disclaimer {
  margin-top: 1rem;
  color: #6a727f;
  font-size: 0.84rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

@media (max-width: 930px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 250px;
  }
}

@media (max-width: 700px) {
  .cta-top {
    display: none;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .bot-input {
    grid-template-columns: 1fr;
  }

  .bot-feed {
    min-height: 320px;
    max-height: 52vh;
  }
}
