/* AISlide marketing site — plain CSS, no dependencies. */

:root {
  --ink: #0b1220;
  --ink-soft: #1f2937;
  --muted: #64748b;
  --muted-dark: #9ca3af;
  --line: #e5e7eb;
  --blue: #1a73e8;
  --black: #000;
  --card-dark: #0b0b0b;
  --card-dark-line: #262626;
  --radius: 16px;
  --container: 1152px;
  --font:
    -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 61px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand .mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.brand .ai {
  color: var(--blue);
}

.brand .slide {
  color: var(--ink);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.btn-pill:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------ hero */

.hero {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  padding: 56px 0 88px;
  overflow: hidden;
}

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

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 .line-2 {
  color: var(--ink-soft);
}

.hero .lede {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.55;
  color: var(--muted);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.checks svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* store buttons */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 236px;
  padding: 17px 30px;
  border-radius: 14px;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.14);
}

.store-btn.light {
  background: #fff;
  color: var(--ink);
}

.store-btn svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.store-btn .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn .store-top {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.store-btn .store-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* stats */

.stats {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.stats div {
  padding: 18px 30px 0 0;
}

.stats div:last-child {
  padding-right: 0;
}

.stats div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 0;
}

.stats strong {
  display: block;
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stats span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------- phone mockup */

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-wrap {
  position: relative;
  width: 268px;
  max-width: 100%;
}

.phone {
  position: relative;
  aspect-ratio: 268 / 556;
  padding: 10px;
  border-radius: 48px;
  background: #050505;
  box-shadow: 0 26px 60px rgba(11, 18, 32, 0.28);
}

.phone-screen {
  height: 100%;
  padding: 13px 13px 0;
  border-radius: 39px;
  background: #fff;
  overflow: hidden;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.status-bar svg {
  width: 15px;
  height: 12px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.chat-header p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.chat-header p + p {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  max-width: 84%;
  margin: 0;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.42;
}

.bubble.in {
  align-self: flex-start;
  background: #f1f3f5;
  color: var(--ink);
}

.bubble.out {
  align-self: flex-end;
  background: #0d0d0d;
  color: #fff;
}

.typing {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa3ad;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.ready-badge {
  position: absolute;
  top: -12px;
  right: -26px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11, 18, 32, 0.14);
  font-size: 12.5px;
  font-weight: 600;
}

.ready-badge svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------- dark features */

.features {
  background: var(--black);
  color: #fff;
  padding: 92px 0 96px;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted-dark);
}

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

.card {
  padding: 24px 24px 28px;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-line);
  border-radius: var(--radius);
}

.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  border-radius: 12px;
  background: #fff;
}

.card .icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin: 0 0 11px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-dark);
}

/* -------------------------------------------------------------------- cta */

.cta {
  background: linear-gradient(180deg, #fafbfd 0%, #f2f5f8 100%);
  padding: 92px 0 96px;
  text-align: center;
}

.cta h2 {
  margin: 0 auto 18px;
  max-width: 700px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.cta p {
  margin: 0 0 36px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--muted);
}

.cta .store-row {
  justify-content: center;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--black);
  color: #fff;
  padding: 26px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand .badge {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--muted-dark);
}

.footer-meta a {
  text-decoration: none;
}

.footer-meta a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ----------------------------------------------------------- legal pages */

.legal {
  padding: 64px 0 88px;
  background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal .updated {
  margin: 0 0 40px;
  font-size: 13.5px;
  color: var(--muted);
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal .toc {
  margin: 0 0 8px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.legal .toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal .toc li {
  margin-bottom: 4px;
  font-size: 15px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.legal .back:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero {
    padding: 44px 0 72px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero .lede,
  .stats {
    max-width: none;
  }

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

  .features,
  .cta {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .stats div {
    padding-right: 15px;
  }

  .stats div + div {
    padding-left: 15px;
  }

  .stats strong {
    font-size: 16.5px;
  }

  .stats span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .store-btn {
    flex: 1 1 100%;
  }

  .ready-badge {
    right: -8px;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
