:root {
  color-scheme: only light;
  --paper: #f6f1e9;
  --ink: #2b2b2b;
  --muted: #6a6258;
  --accent: #1f6feb;
  --accent-soft: rgba(31, 111, 235, 0.12);
  --card: #ffffff;
  --shadow: rgba(34, 34, 34, 0.12);
}

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

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #fffaf3 0%, var(--paper) 55%, #f0e8dc 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.paper-texture {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 0),
    radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 0),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.035) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 8px);
  background-size: 16px 16px, 22px 22px, 100% 6px, 8px 100%;
  background-position: 0 0, 6px 8px, 0 0, 0 0;
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 6px 18px rgba(43, 43, 43, 0.06);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.8;
}

.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin: 16px 0 20px;
  font-weight: 600;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.primary-button,
.ghost-button {
  border-radius: 999px;
  padding: 12px 22px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.22);
}

.ghost-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(43, 43, 43, 0.2);
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 60px var(--shadow);
  border: 1px solid rgba(43, 43, 43, 0.08);
}

.card-header,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ad29f;
  box-shadow: 0 0 8px rgba(58, 210, 159, 0.6);
}

.card-body {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.message {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  max-width: 80%;
}

.message.bot {
  background: var(--accent-soft);
  align-self: flex-start;
}

.message.user {
  background: #f1ebe2;
  align-self: flex-end;
}

.card-footer input {
  flex: 1;
  border: 1px solid rgba(43, 43, 43, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
  margin-right: 12px;
  background: #fffaf3;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 18px;
  font-weight: 600;
}

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

.feature {
  background: var(--card);
  padding: 22px;
  border-radius: 20px;
  border: 1px dashed rgba(43, 43, 43, 0.15);
}

.feature h3 {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature p,
.section p {
  color: var(--muted);
}

.muted {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(43, 43, 43, 0.08);
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.step span {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  color: var(--accent);
  font-weight: 600;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer {
  padding: 30px 0 40px;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(43, 43, 43, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .cta {
    align-items: flex-start;
  }
}
