:root {
  color-scheme: light;
  --bg: #f4efe6;
  --bg-strong: #efe3d2;
  --ink: #1b1b1b;
  --muted: #5b5b5b;
  --accent: #ff6b4a;
  --accent-strong: #e85033;
  --accent-cool: #1f6a70;
  --card: #ffffff;
  --line: #e2d6c7;
  --shadow: 0 24px 70px rgba(31, 20, 9, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
}

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

body {
  min-height: 100vh;
  font-family: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #f9f4ed 0%, #f1e5d7 60%, #ead7c7 100%);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(27, 27, 27, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 27, 27, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.45;
  animation: float 16s ease-in-out infinite;
}

.orb-one {
  width: 320px;
  height: 320px;
  background: linear-gradient(130deg, #ffb4a0, #ffc98a);
  top: -120px;
  right: 12%;
}

.orb-two {
  width: 260px;
  height: 260px;
  background: linear-gradient(160deg, #9ed0c7, #c4e6df);
  bottom: -80px;
  left: 10%;
  animation-delay: -4s;
}

.orb-three {
  width: 180px;
  height: 180px;
  background: linear-gradient(150deg, #ffd0b4, #f0a57b);
  top: 45%;
  right: -40px;
  animation-delay: -7s;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 6vw, 120px);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(244, 239, 230, 0.8);
  border-bottom: 1px solid rgba(226, 214, 199, 0.6);
  z-index: 2;
}

.logo {
  font-family: "Syne", "Sora", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

main {
  padding: 60px clamp(24px, 7vw, 140px) 100px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Syne", "Sora", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent-cool);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.pill {
  padding: 6px 12px;
  background: rgba(31, 106, 112, 0.12);
  color: var(--accent-cool);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 214, 199, 0.7);
}

.card-header {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--accent-cool);
}

.card-list {
  display: grid;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
}

.card-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.15);
}

.card-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: rgba(255, 255, 255, 0.85);
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 214, 199, 0.6);
  box-shadow: 0 20px 40px rgba(36, 22, 10, 0.08);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 214, 199, 0.6);
}

.step-number {
  font-family: "Syne", "Sora", sans-serif;
  font-size: 22px;
  color: var(--accent-strong);
}

.step h4 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.chat-section {
  display: flex;
  justify-content: center;
}

.chat-shell {
  width: min(860px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 214, 199, 0.7);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  font-family: "Syne", "Sora", sans-serif;
  font-size: 18px;
}

.chat-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.chat-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cool);
  padding: 6px 12px;
  background: rgba(31, 106, 112, 0.12);
  border-radius: 999px;
}

.chat-messages {
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 8px;
}

.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 14px;
  background: #f9f3ea;
  border: 1px solid rgba(226, 214, 199, 0.7);
}

.message.user {
  align-self: flex-end;
  background: #1f6a70;
  color: #fffaf4;
  border: none;
}

.message.assistant {
  align-self: flex-start;
  background: #fff7ee;
}

.message.thinking {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1s infinite;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-form {
  display: flex;
  gap: 12px;
}

.chat-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(226, 214, 199, 0.9);
  font-size: 14px;
}

.chat-form input:focus {
  outline: 2px solid rgba(255, 107, 74, 0.4);
  border-color: rgba(255, 107, 74, 0.7);
}

.chat-footnote {
  font-size: 12px;
  color: var(--muted);
}

.btn {
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 107, 74, 0.2);
}

.btn.small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(226, 214, 199, 0.9);
  color: var(--ink);
}

.btn.primary {
  background: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 30px clamp(24px, 7vw, 140px) 50px;
  font-size: 13px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

body.loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

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

  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .chat-form {
    flex-direction: column;
  }

  .chat-form button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
