:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #eef1f6;
  --text: #18202c;
  --muted: #667085;
  --border: #dfe4ec;
  --accent: #356ae6;
  --accent-dark: #2454c7;
  --dark: #111827;
  --dark-soft: #1c2535;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

code {
  padding: 0.15em 0.35em;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.9em;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 228, 236, 0.9);
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #475467;
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

.nav-button {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

/* General typography */

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--accent);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

/* Hero */

.hero {
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  max-width: 650px;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 30px 0 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--border);
  background: white;
  color: var(--text);
}

.button.secondary:hover {
  border-color: #c4cbd6;
}

.microcopy {
  margin: 0;
  font-size: 0.82rem;
  color: #7a8494;
}

/* App mockup */

.app-preview {
  overflow: hidden;
  border: 1px solid #cfd6e2;
  border-radius: 16px;
  background: #e7ebf1;
  box-shadow: 0 25px 70px rgba(16, 24, 40, 0.16);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid #d2d8e1;
  background: #f7f8fa;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5ccd7;
}

.window-bar strong {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.76rem;
  color: #657083;
}

.mock-app {
  display: grid;
  grid-template-columns: 42% 58%;
  background: white;
}

/* Left-hand conversation list */
.mock-app aside {
  display: grid;
  grid-template-rows: 55px repeat(4, 67px);
  padding: 10px 13px 13px;
  border-right: 1px solid #e0e4ea;
  background: #f5f7fa;
}

.mock-search {
  height: 35px;
  display: flex;
  align-items: center;
  align-self: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #dce1e8;
  border-radius: 7px;
  background: white;
  color: #9aa3b1;
  font-size: 0.72rem;
}

.mock-row {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 10px;
  margin: 0 0 4px;
  border-radius: 8px;
}

.mock-row.active {
  background: #e7efff;
}

.mock-row b {
  display: block;
  overflow: hidden;
  color: #344054;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-row small {
  display: block;
  margin-top: 3px;
  color: #8a94a4;
  font-size: 0.64rem;
  line-height: 1.25;
}

/* Right-hand conversation */
.mock-app article {
  display: grid;
  grid-template-rows: 55px repeat(4, 67px);
  padding: 10px 23px 13px;
  min-width: 0;
}

.mock-title {
  min-width: 0;
  display: flex;
  align-items: center;
  margin: 0;
  color: #202938;
  font-size: 1rem;
  font-weight: 750;
}

.mock-meta {
  display: none;
}

/*
 * Each message occupies the same grid row as the
 * corresponding conversation item on the left.
 */
.mock-bubble {
  min-width: 0;
  max-width: 90%;
  align-self: start;
  margin: 10px 0 4px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.73rem;
  line-height: 1.45;
}

.mock-bubble.user {
  justify-self: end;
  background: #e9f0ff;
  color: #35445f;
}

.mock-bubble.ai {
  justify-self: start;
  background: #f1f3f6;
  color: #4e596a;
}

/* Trust strip */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.trust-items {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6b7483;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Sections */

.section {
  padding: 105px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  max-width: 680px;
  font-size: 1.05rem;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Feature cards */

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 10px;
  background: #e9efff;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 1.15rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* Source section */

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

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0;
}

.source-list span {
  padding: 7px 12px;
  border: 1px solid #d6dce5;
  border-radius: 999px;
  background: white;
  color: #465164;
  font-size: 0.83rem;
  font-weight: 650;
}

.note {
  font-size: 0.82rem;
}

.callout {
  padding: 36px;
  border: 1px solid #d8deea;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.callout-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.callout h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

/* Use cases */

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.use-grid > div {
  min-height: 160px;
  padding: 24px;
  border-top: 3px solid var(--accent);
  background: white;
}

.use-grid strong,
.use-grid span {
  display: block;
}

.use-grid strong {
  margin-bottom: 9px;
  font-size: 1rem;
}

.use-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Downloads */

.downloads-section {
  background: #f1f4f8;
}

.release-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid #d6dce5;
  border-radius: 12px;
  background: white;
}

.release-banner > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-label {
  color: #667085;
  font-size: 0.8rem;
  font-weight: 700;
}

.release-banner strong {
  font-size: 1.05rem;
}

.release-note {
  color: #7a8494;
  font-size: 0.78rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.download-card.featured {
  border-color: #9bb5f4;
  box-shadow: 0 15px 40px rgba(53, 106, 230, 0.12);
}

.platform {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
}

.download-card p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.download-card .full {
  width: 100%;
  margin-top: auto;
}

.download-card small {
  display: block;
  margin-top: 9px;
  color: #8a94a4;
  font-size: 0.72rem;
  text-align: center;
}

.download-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  color: #707a89;
  font-size: 0.82rem;
}

.download-foot a {
  color: var(--accent);
  font-weight: 700;
}

/* Dark privacy section */

.section-dark {
  background: var(--dark);
}

.section-dark h2,
.section-dark .eyebrow {
  color: white;
}

.section-dark .eyebrow {
  color: #8eafff;
}

.section-dark p {
  color: #b7c0cf;
}

.privacy {
  grid-template-columns: 1fr 1fr;
}

.privacy > div:last-child {
  padding-left: 30px;
  border-left: 1px solid #303b4e;
}

/* Final CTA */

.final-cta {
  padding-bottom: 115px;
}

.final-cta h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

/* Footer */

footer {
  padding: 35px 0;
  border-top: 1px solid var(--border);
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
}

.footer-grid > div:first-child strong,
.footer-grid > div:first-child span {
  display: block;
}

.footer-grid > div:first-child strong {
  margin-bottom: 2px;
}

.footer-grid > div:first-child span {
  color: #7a8494;
  font-size: 0.78rem;
}

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

.footer-links a {
  color: #687385;
  font-size: 0.78rem;
}

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

footer small {
  color: #8a94a4;
}

/* Responsive */

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

  .hero {
    padding-top: 75px;
  }

  .app-preview {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 64px;
  }

  nav {
    display: none;
  }

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

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

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

  .mock-app {
    min-height: 330px;
    grid-template-columns: 45% 55%;
  }

  .mock-app article {
    padding: 16px;
  }

  .section {
    padding: 75px 0;
  }

  .feature-grid,
  .download-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .privacy {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .privacy > div:last-child {
    padding-top: 25px;
    padding-left: 0;
    border-top: 1px solid #303b4e;
    border-left: 0;
  }

  .release-banner,
  .download-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .trust-items {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (max-width: 500px) {
  .mock-app aside {
    display: none;
  }

  .mock-app {
    grid-template-columns: 1fr;
  }

  .app-preview {
    transform: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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