﻿:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --paper: #f7f9fc;
  --paper-2: #eef3fa;
  --white: #ffffff;
  --brand: #1b4fd8;
  --brand-2: #3182f6;
  --sage: #5b9dff;
  --accent: #fee500;
  --accent-ink: #191600;
  --line: rgba(17, 24, 39, 0.1);
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.16);
  --radius: 16px;
  --font-display: "Outfit", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Outfit", sans-serif;
  --max: 1080px;
  --brand-deep: #0d1f4a;
  --brand-dark: #102a5c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

img {
  max-width: 100%;
  display: block;
}

#root,
.page {
  min-height: 100vh;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes phone-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.reveal {
  animation: fade-up 0.65s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.2s;
}

.reveal-delay-3 {
  animation-delay: 0.3s;
}

@keyframes anim-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anim-soft {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anim {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.anim.is-in {
  opacity: 1;
  transform: translateY(0);
}

.anim-soft {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-soft.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anim-d1 {
  transition-delay: 0.08s;
}

.anim-d2 {
  transition-delay: 0.16s;
}

.anim-d3 {
  transition-delay: 0.24s;
}

.anim-d4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .anim-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page {
  overflow-x: hidden;
  padding-bottom: 4.5rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px rgba(254, 229, 0, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--line);
  padding: 0.85rem 1.2rem;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.3rem;
  font-size: 1rem;
}

.text-link {
  appearance: none;
  border: 0;
  background: none;
  color: var(--brand);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  margin-top: 0.9rem;
}

/* ===== SURVEY CHAT = 섹션 자체가 채팅방 (Toss blue) ===== */
.survey-chat {
  --toss-blue: #3182f6;
  --toss-blue-deep: #1b64da;
  --toss-blue-soft: #e8f3ff;
  --toss-ink: #191f28;
  --toss-muted: #8b95a1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 56px);
  margin-top: 56px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #eaf3ff 100%);
  color: var(--toss-ink);
}

.survey-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(49, 130, 246, 0.12);
}

.survey-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.survey-chat-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 6px 16px rgba(49, 130, 246, 0.28);
}

.survey-chat-kicker {
  margin: 0;
  font-size: 0.78rem;
  color: var(--toss-muted);
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.survey-chat-title {
  margin: 0.15rem 0 0;
  font-size: clamp(1.05rem, 3.8vw, 1.2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--toss-ink);
  word-break: keep-all;
}

.survey-chat-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--toss-muted);
  text-align: right;
  line-height: 1.4;
  max-width: 7.8rem;
  word-break: keep-all;
}

.survey-chat-messages {
  overflow-y: auto;
  padding: 1.15rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.survey-chat-messages .bubble {
  max-width: min(92%, 420px);
  padding: 0.85rem 1rem;
  border-radius: 18px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.survey-chat-messages .bubble p {
  margin: 0;
  font-size: clamp(0.95rem, 3.6vw, 1.02rem);
}

.survey-chat-messages .bubble p + p {
  margin-top: 0.35rem;
}

.survey-chat-messages .bubble-bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(49, 130, 246, 0.12);
  color: var(--toss-ink);
  box-shadow: 0 8px 24px rgba(49, 130, 246, 0.06);
}

.survey-chat-messages .bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #5b9dff, #3182f6);
  color: #fff;
  font-weight: 700;
  border: 0;
  box-shadow: 0 10px 22px rgba(49, 130, 246, 0.25);
}

.survey-chat-messages .typing {
  background: #fff;
  border: 1px solid rgba(49, 130, 246, 0.12);
}

.inline-choices {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 420px);
  margin: 0.15rem 0 0.35rem;
  align-self: flex-end;
  animation: bubble-in 0.25s ease both;
}

.choice-btn {
  appearance: none;
  width: 100%;
  border: 1.5px solid rgba(49, 130, 246, 0.22);
  background: #fff;
  color: var(--toss-blue-deep);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-size: clamp(0.95rem, 3.7vw, 1.02rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-shadow: 0 6px 18px rgba(49, 130, 246, 0.08);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.choice-btn span {
  display: inline-block;
  line-height: 1.35;
}

.choice-btn:hover,
.choice-btn:focus-visible {
  background: var(--toss-blue-soft);
  border-color: var(--toss-blue);
  outline: none;
}

.choice-btn:active {
  transform: scale(0.985);
  background: linear-gradient(135deg, #5b9dff, #3182f6);
  color: #fff;
  border-color: transparent;
}

.survey-chat-composer {
  padding: 0.85rem 1.15rem calc(4.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(49, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.composer-hint {
  margin: 0;
  text-align: center;
  color: var(--toss-muted);
  font-size: 0.86rem;
  font-weight: 600;
  word-break: keep-all;
  line-height: 1.45;
}

.survey-chat .btn-send {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b9dff, #3182f6);
  color: #fff;
  font-weight: 800;
  padding: 0.75rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(49, 130, 246, 0.28);
}

.survey-chat .btn-send-block {
  width: 100%;
}

.survey-chat .chat-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.survey-chat .chat-form.stacked {
  flex-direction: column;
}

.survey-chat .chat-form input,
.survey-chat .chat-form textarea {
  width: 100%;
  border: 1.5px solid rgba(49, 130, 246, 0.18);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--toss-ink);
  outline: none;
  font-size: 1rem;
}

.survey-chat .chat-form input:focus,
.survey-chat .chat-form textarea:focus {
  border-color: var(--toss-blue);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.15);
}

.survey-chat .chat-form-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.survey-chat .chat-done {
  text-align: center;
}

.survey-chat .chat-done p {
  margin: 0 0 0.75rem;
  color: var(--toss-ink);
  font-weight: 600;
  word-break: keep-all;
  line-height: 1.5;
}

.survey-chat .btn-ghost {
  border-radius: 12px;
  border: 1.5px solid rgba(49, 130, 246, 0.2);
  color: var(--toss-blue-deep);
  background: #fff;
}

/* Mobile: 질문 왼쪽 · 답변/선택지 오른쪽 (실제 채팅형) */
@media (max-width: 899px) {
  .survey-chat-header {
    padding: 0.9rem 1rem 0.8rem;
  }

  .survey-chat-meta {
    max-width: 6.5rem;
    font-size: 0.7rem;
  }

  .survey-chat-messages {
    align-items: stretch;
    padding: 1rem 0.85rem 1.25rem;
    gap: 0.65rem;
  }

  .survey-chat-messages .bubble {
    max-width: min(82%, 320px);
    text-align: left;
  }

  .survey-chat-messages .bubble-bot {
    align-self: flex-start;
    border-radius: 4px 18px 18px 18px;
  }

  .survey-chat-messages .bubble-user {
    align-self: flex-end;
    border-radius: 18px 4px 18px 18px;
  }

  .survey-chat-messages .typing {
    align-self: flex-start;
  }

  .inline-choices {
    align-self: flex-end;
    width: min(82%, 280px);
  }

  .choice-btn {
    min-height: 3rem;
    padding: 0.85rem 0.95rem;
    text-align: right;
    border-radius: 16px 16px 6px 16px;
  }

  .survey-chat-composer {
    text-align: left;
  }

  .survey-chat .chat-form {
    flex-direction: column;
  }

  .survey-chat .btn-send {
    width: 100%;
    min-height: 3rem;
  }
}

@media (min-width: 900px) {
  .survey-chat {
    min-height: calc(100svh - 60px);
    margin-top: 60px;
  }

  .survey-chat-header,
  .survey-chat-messages,
  .survey-chat-composer {
    padding-left: max(1.5rem, calc((100% - 720px) / 2));
    padding-right: max(1.5rem, calc((100% - 720px) / 2));
  }

  .inline-choices {
    align-self: flex-end;
    grid-template-columns: 1fr;
    width: min(100%, 360px);
  }

  .choice-btn {
    text-align: right;
    padding-right: 1.15rem;
  }
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(49, 130, 246, 0.22);
}

.brand-mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, var(--accent), #8ec5ff);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
  color: var(--brand);
}

.topbar-actions {
  display: flex;
  gap: 0.4rem;
}

.nav-btn-kakao,
.nav-btn-tel {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn-kakao {
  background: linear-gradient(135deg, #5b9dff, #3182f6);
  color: #fff;
}

.nav-btn-tel {
  background: #1b64da;
  color: #fff;
}

/* ===== HERO = clean148 ===== */
.hero {
  padding: 68px 16px 36px;
  background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 60%);
  color: var(--ink);
}

.hero-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-top {
  order: 1;
}

.hero-bottom {
  order: 2;
}

.hero-img {
  order: 3;
  margin: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 6px;
  border: 1px solid #86efac;
}

.hero-h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 10vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.hero-h1 em {
  color: #16a34a;
  font-style: normal;
  font-weight: 900;
}

.hero-sub-badge {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.hero-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.hero-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 8px 6px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.hero-chip i {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 999px;
  padding: 2px 7px;
}

.hero-btns {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}

.btn-kakao,
.btn-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-kakao {
  background: #fee500;
  color: #111;
  box-shadow: 0 4px 20px rgba(254, 229, 0, 0.5);
}

.btn-calc {
  background: #1a6cf6;
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 108, 246, 0.35);
}

.hero-scroll-nudge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #6b7280;
}

.hero-scroll-nudge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-scroll-nudge svg {
  color: #16a34a;
  animation: nudge-bounce 1.6s ease-in-out infinite;
}

@keyframes nudge-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.hero-info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 8px auto 0;
  padding: 12px 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
  max-width: 1100px;
}

.hib-dot {
  color: #d1d5db;
}

.ktalk-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 8px 0 4px;
}

.ktalk-phone-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  position: relative;
}

.ktalk-phone {
  width: 278px;
  background: #b2c7d9;
  border-radius: 46px;
  box-shadow:
    0 0 0 2px #8a8a8e,
    0 0 0 4px #636366,
    0 0 0 10px #3a3a3c,
    0 0 0 12px #2c2c2e,
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  border: 1.5px solid #4a4a4e;
}

.kt-dynisland {
  background: #0a0a0a;
  padding: 10px 0 0;
}

.kt-dynisland-inner {
  width: 110px;
  height: 30px;
  background: #0a0a0a;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kt-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1.5px solid #2a2a2a;
}

.kt-bar {
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: #1a1a1a;
}

.kt-status {
  background: #0d2e1a;
  padding: 4px 16px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.kt-channel {
  background: #0d2e1a;
  padding: 6px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.kt-channel-left {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.kt-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fee500;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
}

.kt-channel strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.kt-channel small {
  display: block;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
}

.kt-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.kt-dots span {
  display: block;
  height: 3px;
  width: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.kt-dots span.is-on {
  width: 20px;
  background: #fee500;
}

.ktalk-body {
  background: #b2c7d9;
  padding: 8px 9px 6px;
  height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: none;
  text-align: left;
}

.ktalk-body::-webkit-scrollbar {
  display: none;
}

.kt-date {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 2px 10px;
  margin: 0 auto;
  width: fit-content;
}

.kt-msg {
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.45;
  animation: bubble-in 0.28s ease both;
  white-space: pre-line;
}

.kt-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: #111;
  border-bottom-left-radius: 4px;
}

.kt-msg.user {
  align-self: flex-end;
  background: #fee500;
  color: #111;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.kt-composer {
  background: #dae4ed;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.kt-inputhint {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 8px 13px;
  font-size: 11px;
  color: #aaa;
  text-align: left;
}

.kt-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fee500;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.kt-home {
  background: #dae4ed;
  padding: 8px 0 16px;
  display: flex;
  justify-content: center;
}

.kt-home::after {
  content: "";
  width: 120px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.kt-tap-hint {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.ktalk-phone-link:hover .kt-tap-hint,
.ktalk-phone-link:focus .kt-tap-hint {
  opacity: 1;
}

.kt-mini-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.kt-mini-pills span {
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 1.5px solid #e4e7ed;
  color: #2a2d35;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ticker {
  overflow: hidden;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.85rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 1.6rem;
  animation: ticker 32s linear infinite;
  font-size: 0.9rem;
  font-weight: 600;
}

.ticker-track span::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--accent);
}
.section {
  padding: 3.8rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--sage);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
  font-weight: 800;
}

.section-lead {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.stats {
  background: var(--white);
  text-align: center;
}

.stats-kicker {
  margin: 0;
  color: var(--sage);
  font-weight: 700;
}

.stats h2 {
  margin-top: 0.45rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.stats-row article {
  padding: 1rem 0.5rem;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.stats-row strong {
  display: block;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--brand);
  letter-spacing: -0.03em;
}

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

.strength-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.strength-bar span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(49, 130, 246, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.subsidy {
  background:
    radial-gradient(circle at 0% 0%, rgba(254, 229, 0, 0.14), transparent 35%),
    linear-gradient(180deg, #e8f3ff, var(--paper));
}

.subsidy-summary {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.subsidy-summary li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.subsidy-summary li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
}

.subsidy-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.subsidy-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.subsidy-max {
  margin: 0;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.subsidy-card h3 {
  margin: 0.75rem 0 0.2rem;
  font-size: 1.05rem;
}

.subsidy-range {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.subsidy-card ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  color: var(--ink-soft);
}

.services {
  background: var(--white);
}

.service-list {
  margin-top: 1.4rem;
}

.service-row {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-label {
  margin: 0 0 0.3rem;
  color: var(--sage);
  font-weight: 800;
  font-size: 0.86rem;
}

.service-row h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.service-row p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.point-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.point-list li {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.gallery {
  background: var(--brand-deep);
  color: var(--white);
  overflow: hidden;
}

.gallery .eyebrow {
  color: var(--accent);
}

.gallery .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.ba-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  margin: 1.35rem 0 0.4rem;
}

.ba-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0 1.1rem;
  scrollbar-width: none;
}

.ba-rail::-webkit-scrollbar {
  display: none;
}

.ba-fade {
  position: absolute;
  top: 0;
  bottom: 1.1rem;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.ba-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--brand-deep) 0%, rgba(13, 31, 74, 0) 100%);
}

.ba-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--brand-deep) 0%, rgba(13, 31, 74, 0) 100%);
}

.ba-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0 1.1rem 0.25rem;
}

.ba-arrow {
  appearance: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.ba-arrow:hover {
  background: rgba(254, 229, 0, 0.18);
  transform: translateY(-1px);
}

.ba-card {
  width: min(88vw, 540px);
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 1.05rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
}

.ba-before,
.ba-after {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  background: #1a1a1a;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ba-before span,
.ba-after span {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.58rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
}

.ba-after span {
  background: rgba(49, 130, 246, 0.88);
}

.ba-kind {
  margin: 0.85rem 1.05rem 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.ba-card h3 {
  margin: 0.25rem 1.05rem 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.ba-cta-wrap {
  margin-top: 0.35rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 699px) {
  .ba-slider {
    grid-template-columns: 1fr;
  }

  .ba-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
  }

  .ba-arrow-prev {
    left: 0.35rem;
  }

  .ba-arrow-next {
    right: 0.35rem;
  }

  .ba-fade {
    width: 40px;
  }

  .ba-track {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .ba-card {
    width: min(92vw, 440px);
  }

  .ba-before img,
  .ba-after img {
    min-height: 200px;
  }
}

@media (min-width: 900px) {
  .ba-card {
    width: min(72vw, 560px);
  }

  .ba-before img,
  .ba-after img {
    min-height: 260px;
  }
}

.cost {
  background: var(--paper);
}

.cost-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.cost-cards article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.cost-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cost-cards strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.cost-cards span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cost-cards .is-main {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.cost-cards .is-main p,
.cost-cards .is-main span {
  color: rgba(255, 255, 255, 0.72);
}

.cost-cards .is-main strong {
  color: var(--accent);
}

.calc-wrap {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.calc-wrap h3 {
  margin: 0;
  font-size: 1.2rem;
}

.calc-step {
  margin-top: 1.15rem;
}

.calc-step-title {
  margin: 0 0 0.55rem;
  font-weight: 800;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
}

.calc-step-title span {
  color: var(--sage);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.calc-opt {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
  text-align: left;
  cursor: pointer;
}

.calc-opt strong {
  display: block;
  font-size: 0.9rem;
}

.calc-opt span {
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-opt.is-on {
  border-color: var(--brand);
  background: rgba(49, 130, 246, 0.1);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.calc-result {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--brand-dark);
  color: var(--white);
  text-align: center;
}

.calc-result-label {
  margin: 0;
  opacity: 0.7;
  font-size: 0.85rem;
}

.calc-result-value {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.calc-result-value span {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
}

.calc-result-empty {
  margin: 0.45rem 0 0.9rem;
  opacity: 0.7;
}

.calc-note {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.process {
  background: var(--white);
}

.process-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.process-list strong {
  display: block;
}

.process-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.compare {
  background: var(--paper-2);
}

.table-wrap {
  margin-top: 1.3rem;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
}

td.ok {
  color: var(--sage);
  font-weight: 800;
}

.warn {
  background: #fff7f5;
}

.warn .eyebrow {
  color: var(--danger);
}

.warn-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.warn-grid article {
  padding: 1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(180, 35, 24, 0.15);
}

.warn-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.warn-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reviews {
  background: #f7f9fc;
  overflow: hidden;
}

.reviews .section-inner {
  margin-bottom: 1rem;
}

.review-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

.review-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0 1.2rem;
  scrollbar-width: none;
}

.review-rail.is-marquee {
  overflow: hidden;
  scroll-snap-type: none;
}

.review-rail::-webkit-scrollbar {
  display: none;
}

.review-fade {
  position: absolute;
  top: 0;
  bottom: 1.2rem;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.review-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.review-fade-right {
  right: 0;
  background: linear-gradient(270deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.review-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding: 0 1.1rem 0.35rem;
}

.review-track.is-marquee {
  gap: 0;
  padding: 0;
  will-change: transform;
  animation: review-marquee var(--review-marquee-duration, 42s) linear infinite;
}

.review-track.is-marquee.is-paused {
  animation-play-state: paused;
}

.review-track.is-marquee.is-reverse {
  animation-direction: reverse;
}

.review-track.is-marquee.is-faster {
  animation-duration: calc(var(--review-marquee-duration, 42s) / 2.4);
}

.review-set {
  display: flex;
  gap: 0.85rem;
  flex: 0 0 auto;
  padding-right: 0.85rem;
}

@keyframes review-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review-arrow {
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #fff;
  color: #3182f6;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(25, 31, 40, 0.08);
  display: grid;
  place-items: center;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.review-arrow:hover {
  background: #e8f3ff;
  transform: translateY(-1px);
}

.review-card {
  width: min(78vw, 320px);
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 1rem 1.05rem 0.95rem;
  box-shadow: 0 10px 28px rgba(25, 31, 40, 0.06);
}

.review-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.review-avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #dbe7f8;
  background: #e8f3ff;
}

.review-who {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.review-who strong {
  font-size: 0.92rem;
  color: #191f28;
}

.review-who span,
.review-card-top time {
  font-size: 0.75rem;
  color: #8b95a1;
}

.review-stars {
  margin: 0.65rem 0 0.35rem;
  color: #f5a524;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.review-text {
  margin: 0;
  color: #333d4b;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid #eef2f7;
}

.review-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1b64da;
  background: #e8f3ff;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.review-helpful {
  font-size: 0.72rem;
  color: #8b95a1;
  font-weight: 600;
}

@media (max-width: 699px) {
  .review-slider {
    grid-template-columns: 1fr;
  }

  .review-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
  }

  .review-arrow-prev {
    left: 0.35rem;
  }

  .review-arrow-next {
    right: 0.35rem;
  }

  .review-fade {
    width: 36px;
  }

  .review-track {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (min-width: 900px) {
  .review-track {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .review-card {
    width: 340px;
  }

  .review-fade {
    width: 64px;
  }
}

.faq {
  background: var(--paper);
}

.faq-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-item em {
  font-style: normal;
  color: var(--sage);
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.final-cta {
  padding-bottom: 2rem;
}

.final-box {
  padding: 2.2rem 1.3rem;
  border-radius: 22px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(254, 229, 0, 0.18), transparent 40%),
    linear-gradient(160deg, #0d1f4a, #1b4fd8 55%, #3182f6);
}

.final-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.final-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.final-box h2 {
  margin: 0.45rem 0 0;
}

.final-box > p {
  margin: 0.7rem auto 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.75);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.final-note {
  margin: 0.9rem 0 0 !important;
  font-size: 0.82rem !important;
}

.footer {
  padding: 1.8rem 0 1rem;
  border-top: 1px solid var(--line);
  background: #eef3fa;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.footer-brand,
.footer strong {
  font-family: var(--font-display);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-meta {
  margin-top: 0.75rem !important;
  font-size: 0.8rem !important;
}

.bottom-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(15, 36, 28, 0.96);
  backdrop-filter: blur(10px);
}

.bottom-bar a,
.bottom-bar button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.bottom-bar a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.bottom-bar button {
  background: linear-gradient(135deg, #5b9dff, #3182f6);
  color: #fff;
}

.bottom-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Chat panel overrides */
.chat-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0.75rem;
}

.chat-shell[hidden] {
  display: none !important;
}

.chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, 0.5);
  backdrop-filter: blur(3px);
}

.chat-panel {
  position: relative;
  width: min(100%, 420px);
  height: min(78svh, 680px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #f3f6f4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: #3c1e1e;
  color: var(--white);
}

.chat-kicker {
  margin: 0;
  opacity: 0.75;
  font-size: 0.78rem;
}

.chat-header h2 {
  margin: 0.15rem 0 0;
  font-size: 1.1rem;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
}

.chat-messages {
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #c5d4bc;
}

.bubble {
  max-width: 86%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  animation: bubble-in 0.25s ease both;
}

.bubble p {
  margin: 0;
}

.bubble p + p {
  margin-top: 0.2rem;
}

.bubble-bot {
  align-self: flex-start;
  background: var(--white);
}

.bubble-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.typing {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  min-height: 2.2rem;
}

.typing span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-dot 1s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-composer {
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--brand);
  background: #eef5f0;
}

.chat-form {
  display: flex;
  gap: 0.4rem;
}

.chat-form.stacked {
  flex-direction: column;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: var(--white);
  outline: none;
}

.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(63, 122, 95, 0.18);
}

.chat-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
}

.chat-done {
  text-align: center;
}

.chat-done p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
}

.chat-waiting {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 5vw 52px;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
  }

  .hero-top {
    grid-column: 1;
    grid-row: 1;
    order: unset;
  }

  .hero-bottom {
    grid-column: 1;
    grid-row: 2;
    order: unset;
  }

  .hero-img {
    grid-column: 2;
    grid-row: 1 / 3;
    order: unset;
    align-self: center;
  }

  .hero-kicker {
    margin-bottom: 18px;
    letter-spacing: 1.2px;
  }

  .hero-h1 {
    font-size: clamp(52px, 5.5vw, 76px);
    margin-bottom: 16px;
  }

  .hero-sub-badge {
    width: auto;
    display: inline-flex;
    font-size: 13px;
    padding: 8px 16px;
    margin-bottom: 18px;
  }

  .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
  }

  .hero-chip {
    flex-direction: row;
    text-align: left;
    padding: 7px 14px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 20px;
  }

  .hero-btns {
    width: auto;
    margin-bottom: 28px;
  }

  .btn-kakao,
  .btn-calc {
    flex: 0 0 auto;
    font-size: 16px;
    padding: 17px 24px;
  }

  .hero-scroll-nudge {
    display: none;
  }

  .hero-info-bar {
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 700;
  }

  .subsidy-grid,
  .cost-cards,
  .warn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subsidy-grid,
  .cost-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-options {
    grid-template-columns: repeat(4, 1fr);
  }

  .chat-shell {
    align-items: center;
    justify-items: end;
    padding: 1.5rem;
  }
}

/* Mobile: 히어로 아래 섹션 텍스트 중앙 정렬 */
@media (max-width: 899px) {
  .section .section-inner,
  .section .eyebrow,
  .section h2,
  .section-lead,
  .section p,
  .section h3,
  .ba-cta-wrap {
    text-align: center;
  }

  .section-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .subsidy-summary {
    display: grid;
    justify-items: center;
  }

  .subsidy-summary li {
    padding-left: 0;
    text-align: center;
  }

  .subsidy-summary li::before {
    position: static;
    margin-right: 0.35rem;
  }

  .subsidy-card,
  .cost-cards article,
  .warn-grid article,
  .ba-card,
  .calc-wrap {
    text-align: center;
  }

  .subsidy-card ul {
    justify-items: center;
  }

  .service-row,
  .service-row > div {
    text-align: center;
    justify-items: center;
  }

  .point-list {
    justify-content: center;
  }

  .service-row .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .process-list li {
    padding: 1rem;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
  }

  .process-list li::before {
    position: static;
    left: auto;
    top: auto;
    margin: 0 0 0.15rem;
  }

  .calc-step-title {
    justify-content: center;
  }

  .calc-opt {
    text-align: center;
  }

  .compare th,
  .compare td {
    text-align: center;
  }

  .faq-item button {
    justify-content: center;
    text-align: center;
  }

  .faq-item p {
    text-align: center;
  }

  .footer {
    text-align: center;
  }

  .footer-inner {
    text-align: center;
  }
}
