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

body {
  background: #fff;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3f4f6;
}

.nav-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #3b55e6;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom right, #f0f4ff, #fff, #fff);
}

.hero-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  text-align: center;
}

.hero p {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 500;
  color: #3b55e6;
}

/* Apps */
.apps {
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.apps h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
}

.cards {
  display: flex;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  max-width: 24rem;
  width: 100%;
  transition: box-shadow 0.3s;
}

.card-image {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 1.5rem;
}

.card-image img {
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #3b55e6;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #2d43c7;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
}

.footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b55e6;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
  }
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* ── Legal pages (terms, privacy) ───────────────────────────── */

/* Header */
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
}

.doc-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Legal hero */
.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 60%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

/* Layout: single column */
.layout {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Main content */
.content {
  min-width: 0;
}

.intro-block {
  background: #eff2ff;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intro-block p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #374151;
}

/* Sections */
.section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  flex-shrink: 0;
}

.section p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 0.9rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul, .section ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.section li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #374151;
}

/* Legal all-caps blocks */
.legal-caps {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

/* Contact block */
.contact-block {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
}

.contact-block p {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.contact-block a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Legal footer */
footer p {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
  padding: 1.5rem;
}
