@import url("https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Manrope:wght@400;500;700&display=swap");

:root {
  --sea: #0f766e;
  --teal: #14b8a6;
  --ink: #0f172a;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #cbd5e1;
  --muted: #64748b;
  --ink-soft: #0b7285;
  --accent: #f97316;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, #dbeafe 0%, transparent 45%),
    radial-gradient(circle at 90% 0%, #ccfbf1 0%, transparent 40%),
    linear-gradient(140deg, #e2e8f0, #f8fafc);
  min-height: 100vh;
  position: relative;
}

.background-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(0px);
  z-index: -1;
  opacity: 0.35;
}

.background-orb--one {
  width: 320px;
  height: 320px;
  background: linear-gradient(130deg, #f0f9ff, #67e8f9);
  top: -60px;
  left: -70px;
}

.background-orb--two {
  width: 360px;
  height: 360px;
  background: linear-gradient(130deg, #fef3c7, #fca5a5);
  right: -100px;
  bottom: 20%;
}

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 3;
  background: color-mix(in srgb, var(--paper), transparent 10%);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 70%);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem;
}

.hero {
  padding: 3.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.hero-copy {
  background: linear-gradient(160deg, #ecfeff, #eff6ff);
  border: 1px solid #bae6fd;
  border-radius: 20px;
  padding: 2rem;
}

.eyebrow {
  color: var(--sea);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  line-height: 1.1;
}

.hero-copy p,
.section-text,
.hero-actions {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1rem;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.68rem 1rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--sea);
  color: #fff;
}

.btn-ghost {
  background: #e2e8f0;
  color: var(--ink);
}

.disclaimer-inline {
  color: #374151;
  background: #fef3c7;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid #fde68a;
  font-size: 0.91rem;
}

.hero-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
  align-self: start;
  opacity: 0.98;
}

.hero-panel h2 {
  margin: 0;
}

ul {
  margin-top: 0.8rem;
}

.section {
  padding: 2.6rem 0;
}

.section-kicker {
  margin: 0;
  color: var(--sea);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.service-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.3);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease;
}

.card li {
  color: var(--muted);
}

.card p,
.assistant-card,
.contact-form {
  color: var(--muted);
}

.assistant-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 1rem;
  opacity: 0;
}

.assistant-messages {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  min-height: 150px;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.7rem;
}

.chat-user,
.chat-assistant {
  margin: 0.65rem 0;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  max-width: 85%;
  line-height: 1.35;
}

.chat-user {
  background: #ecfeff;
  border: 1px solid #99f6e4;
  margin-left: auto;
}

.chat-assistant {
  background: #f1f5f9;
  border: 1px solid #bfdbfe;
}

.chat-form,
.quick-pills {
  margin-top: 0.8rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.chat-form input {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 0 0.75rem;
  font: inherit;
}

.chat-form button,
.contact-form button {
  border: 0;
  border-radius: 10px;
  padding: 0 1rem;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.quick-pills {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.quick-pills button {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ecfeff;
  padding: 0.5rem;
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: 0.83rem;
}

.disclaimer-banner,
.disclaimer-inline {
  border-radius: 10px;
}

.disclaimer-banner {
  margin: 0.9rem 0 0;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.stats-grid .stat {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 0.85rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  font: inherit;
}

.contact-form button {
  width: fit-content;
}

.contact-form button:disabled {
  background: #d1d5db;
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-panel,
.contact {
  animation: rise 900ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 920px) {
  .hero-grid,
  .service-grid,
  .stats-grid,
  .quick-pills {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    overflow: auto;
    padding-bottom: 0.45rem;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}
