:root {
  color-scheme: light;
  --page: #f7f8fa;
  --surface: #ffffff;
  --surface-muted: #f1f4f3;
  --ink: #111827;
  --body: #5b6472;
  --muted: #7b8491;
  --line: #dfe4ea;
  --line-strong: #c8d0d8;
  --accent: #176b52;
  --accent-soft: #e6f2ee;
  --accent-strong: #0f4938;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  letter-spacing: 0;
}

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

.site-header,
.hero,
.section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid rgba(223, 228, 234, 0.78);
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(16px);
}

.wordmark {
  font-size: 1.02rem;
  font-weight: 760;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--body);
  font-size: 0.91rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

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

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 680;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 76px 0 92px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 5.4vw, 5rem);
  line-height: 0.98;
  font-weight: 780;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.06;
  font-weight: 760;
}

h3 {
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 720;
}

.subheadline,
.section-copy p {
  color: var(--body);
  font-size: 1.06rem;
  line-height: 1.68;
}

.subheadline {
  max-width: 610px;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid var(--accent-strong);
  background: var(--accent-strong);
  color: white;
}

.product-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

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

.panel-kicker,
.chat-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.panel-title,
.chat-title {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 760;
}

.pill,
.panel-footer span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 760;
}

.pill {
  min-height: 28px;
  padding: 0 10px;
}

.panel-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 380px;
  background: #fbfcfd;
}

.panel-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding: 18px;
  background: #f5f7f9;
}

.panel-sidebar span {
  height: 38px;
  border-radius: 8px;
  background: #e7ecef;
}

.panel-sidebar span:first-child {
  background: var(--accent-soft);
}

.panel-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.session-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--surface);
}

.status-dot,
.device-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.message-stack {
  display: grid;
  gap: 12px;
}

.bubble {
  width: 72%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--surface);
}

.bubble.outgoing {
  justify-self: end;
  background: var(--accent-soft);
}

.bubble-name {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 760;
}

.bubble-line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.17);
}

.bubble-line + .bubble-line {
  margin-top: 8px;
}

.bubble-line.long {
  width: 88%;
}

.bubble-line.medium {
  width: 72%;
}

.bubble-line.short {
  width: 44%;
}

.device-note {
  display: inline-flex;
  justify-self: center;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.panel-footer {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.panel-footer span {
  min-height: 28px;
  padding: 0 10px;
  background: var(--surface-muted);
  color: var(--body);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 760px;
}

.section-copy.centered {
  margin-inline: auto;
  text-align: center;
}

.section-copy h2 {
  margin-bottom: 20px;
}

.section-copy p {
  margin-bottom: 0;
}

.privacy,
.not-section,
.status {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.simple-points {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.simple-points div,
.status-grid div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.simple-points div + div,
.status-grid div + div {
  border-top: 1px solid var(--line);
}

.simple-points span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.simple-points p {
  margin: 0;
  color: var(--ink);
  font-weight: 680;
}

.sessions {
  display: grid;
  gap: 28px;
}

.sessions .section-copy {
  max-width: 920px;
}

.session-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.session-flow article {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 22px;
}

.session-flow article + article {
  border-left: 1px solid var(--line);
}

.session-flow span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 780;
}

.session-flow p,
.session-concepts p,
.session-details p,
.session-uses li,
.use-list p {
  color: var(--body);
  line-height: 1.62;
}

.session-flow p,
.session-concepts p,
.session-details p,
.use-list p {
  margin-bottom: 0;
}

.session-concepts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.session-concepts div,
.session-details article,
.use-list article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.session-concepts div {
  padding: 16px;
}

.session-concepts h3 {
  margin-bottom: 5px;
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.session-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 12px;
}

.session-details article {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.session-details .security-note {
  grid-row: span 2;
  background: #f9faf8;
}

.session-details .eyebrow,
.session-uses .eyebrow {
  margin-bottom: 0;
}

.session-uses {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  background: var(--surface-muted);
}

.session-uses h3 {
  margin: 8px 0 0;
  font-size: clamp(1.24rem, 2.2vw, 1.8rem);
}

.use-cases {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--surface);
}

.use-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 36px auto 0;
}

.use-list article {
  padding: 22px;
  background: #fbfcfd;
}

.plain-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  border-bottom: 1px solid var(--line);
  padding: 0 0 13px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 680;
}

.plain-list li + li {
  padding-top: 13px;
}

.plain-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  background: var(--surface);
}

.status-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
}

.status-grid div {
  min-height: 62px;
  color: var(--accent-strong);
  font-weight: 720;
}

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

.site-footer p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero,
  .privacy,
  .session-details,
  .session-uses,
  .not-section,
  .status {
    grid-template-columns: 1fr;
  }

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

  .session-flow,
  .use-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .session-flow article + article {
    border-left: 0;
  }

  .session-flow article:nth-child(even),
  .use-list article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .session-flow article:nth-child(n + 3),
  .use-list article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .session-concepts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero {
    padding: 40px 0 64px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

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

  .product-panel {
    border-radius: 10px;
  }

  .panel-body {
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    display: none;
  }

  .panel-top,
  .panel-footer,
  .panel-main {
    padding: 14px;
  }

  .bubble {
    width: 86%;
  }

  .section {
    padding: 58px 0;
  }

  .use-cases {
    width: 100%;
    padding-inline: 14px;
  }

  .session-flow,
  .session-concepts,
  .use-list {
    grid-template-columns: 1fr;
  }

  .session-flow article,
  .use-list article {
    min-height: auto;
    border-left: 0 !important;
  }

  .session-flow article + article,
  .use-list article + article {
    border-top: 1px solid var(--line);
  }

  .session-details article,
  .session-uses,
  .status {
    padding: 20px;
    border-radius: 10px;
  }

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