:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-strong: #eef4ff;
  --surface: #ffffff;
  --surface-soft: #f3f7ff;
  --text: #111827;
  --muted: #5f6f89;
  --muted-strong: #334155;
  --line: #dbe4f0;
  --line-strong: #c4d3e7;
  --brand: #0f6bff;
  --brand-dark: #084fc7;
  --mint: #15b894;
  --amber: #ffb020;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 107, 255, 0.13), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eef4ff 100%);
  color: var(--text);
}

button {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-shell {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(219, 228, 240, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 107, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a,
.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: rgba(15, 107, 255, 0.07);
  border-color: rgba(15, 107, 255, 0.16);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

.button svg {
  flex-shrink: 0;
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 107, 255, 0.24);
}

.button.primary:hover {
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 107, 255, 0.3);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 78px 0 58px;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -28px;
  z-index: -1;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: rgba(21, 184, 148, 0.14);
  filter: blur(3px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  color: #0b1220;
  font-size: 4.85rem;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 650;
}

.assistant-frame {
  position: relative;
  min-height: 565px;
  overflow: hidden;
  border: 1px solid rgba(196, 211, 231, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.98) 100%);
  box-shadow: var(--shadow-lg);
}

.assistant-frame::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.12);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
}

.topbar h2 {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted-strong);
}

.chat-preview {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px;
}

.message {
  display: flex;
}

.message.user {
  justify-content: flex-end;
}

.bubble {
  max-width: min(86%, 360px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.message.user .bubble {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #ffffff;
}

.bubble strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  opacity: 0.72;
}

.bubble p {
  color: inherit;
  line-height: 1.5;
}

.bubble p + .mock-table {
  margin-top: 8px;
}

.mock-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.mock-table-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.85rem;
}

.mock-table-row + .mock-table-row {
  border-top: 1px solid var(--line);
}

.mock-table-head {
  background: rgba(15, 107, 255, 0.07);
  color: var(--muted-strong);
  font-weight: 700;
}

.composer-preview {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin: 6px 18px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.composer-input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 11px 14px;
}

.send-preview {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--text);
  color: #ffffff;
  font-weight: 750;
}

.section {
  padding: 62px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-header h2,
.legal h1 {
  color: #0b1220;
  font-size: 3.15rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-header p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.section-header h2 + p {
  margin-top: 14px;
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.workflow-step,
.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 20px;
}

.feature-icon,
.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.09);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
}

.feature-card h3,
.workflow-step h3 {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 1.08rem;
}

.feature-card p,
.workflow-step p,
.app-card p {
  color: var(--muted);
  line-height: 1.62;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-step {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.footer-links a:hover {
  color: var(--text);
}

.legal {
  width: min(820px, 100%);
  margin: 50px auto 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.legal h1 {
  margin-bottom: 12px;
}

.legal h2 {
  margin: 34px 0 10px;
  color: var(--text);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--brand-dark);
}

.app-placeholder {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 64px 0 76px;
}

.app-card {
  position: relative;
  width: min(760px, 100%);
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(21, 184, 148, 0.18), transparent 17rem),
    linear-gradient(135deg, #ffffff, #f3f7ff);
}

.app-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(15, 107, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #eef4ff);
  box-shadow: 0 16px 30px rgba(15, 107, 255, 0.2);
}

.app-icon img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.app-card h1 {
  max-width: 590px;
  padding-right: 80px;
  font-size: 3.5rem;
}

.app-card p {
  max-width: 620px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 30px, 720px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 48px;
  }

  h1 {
    font-size: 3.85rem;
  }

  .section-header h2,
  .legal h1,
  .app-card h1 {
    font-size: 2.65rem;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 100%);
  }

  .site-header {
    position: static;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    gap: 6px;
  }

  .nav-links a {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 34px 0 42px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .assistant-frame {
    min-height: auto;
  }

  .topbar,
  .chat-preview {
    padding-left: 14px;
    padding-right: 14px;
  }

  .composer-preview {
    margin-left: 14px;
    margin-right: 14px;
  }

  .section {
    padding: 46px 0;
  }

  .section-header h2,
  .legal h1,
  .app-card h1 {
    font-size: 2.2rem;
  }

  .legal,
  .app-card {
    padding: 22px;
  }

  .app-icon {
    position: static;
    display: flex;
    margin-bottom: 18px;
  }

  .app-card h1 {
    padding-right: 0;
  }
}