/* Page-level styles for expiri.ai. Colors, type, components and the layout helpers (ex-cards,
   ex-split) come from tokens.css and components.css, the Expiri design system. This file only
   sets what is particular to these pages. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The page ground is navy, so a short page runs into the footer. */
body { margin: 0; background: var(--navy); }

.ex-header .ex-logo { font-size: 24px; }
.ex-footer .ex-logo { font-size: 22px; }

/* About Expiri */
.site-about-copy .ex-h2 { margin-bottom: var(--space-28); }
.site-about-copy p { margin: 0 0 22px; font-size: 18.5px; line-height: 1.65; color: var(--text-muted); }
.site-about-copy p:last-child { margin-bottom: 0; }

/* The Future of AI */
.site-future-copy p { margin: 0; font-size: 18.5px; line-height: 1.65; color: var(--on-blue-muted); }
.site-future-copy p:first-child { margin-bottom: 24px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--on-navy); }

/* Let's Work Together */
.site-contact-intro .ex-h2 { margin-bottom: 20px; }
.site-contact-intro .ex-sub { max-width: 440px; }

/* Column widths, while the columns sit side by side (the design system stacks them below 768px). */
@media (min-width: 768px) {
  .site-about-copy { flex: 1.3 1 480px; }
  .site-about-list { flex: 1 1 380px; }
  .site-future > .ex-h2 { flex: 1 1 300px; }
  .site-future-copy { flex: 1.7 1 480px; }
  .site-contact-intro { flex: 1 1 360px; }
  .site-contact-form { flex: 1.2 1 440px; }
}

/* Phones */
@media (max-width: 599px) {
  .site-about-copy .ex-h2 { margin-bottom: 20px; }
  .site-about-copy p, .site-future-copy p { font-size: 17px; }
  .site-future-copy p:first-child { font-size: 19px; }
  .site-contact-intro .ex-h2 { margin-bottom: 14px; }
}

/* The message under the form after sending */
.site-form-status { display: none; padding: 12px 16px; border-radius: var(--radius-field); font-size: 15px; }
.site-form-status.success { display: block; background: #dcfce7; color: #166534; }
.site-form-status.error { display: block; background: #fee2e2; color: #991b1b; }
