/* Aristotle — aristotlehq.com
   Hand-written stylesheet. Palette and type taken from the April 2024 design. */

@font-face {
  font-family: "Diogenes";
  src: url("../fonts/diogenes.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #111827;
  --ink-deep: #0a0e11;
  --ink-why: #060915;
  --black: #000000;
  --muted: #757d9a;
  --sand: #cdc3b7;
  --sand-deep: #988583;
  --surface: #f9f9fb;
  --line: #e5e7eb;
  --container: 1140px;
  --radius-pill: 100px;
}

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

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  border: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-outline {
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--ink); }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: relative;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
.nav-brand img { width: 136px; height: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.nav-links a { text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: var(--white);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 32px 0 230px;
  overflow: hidden;
}
.hero-mark { width: 200px; height: 150px; object-fit: cover; margin: 0 auto 8px; }
.hero h1 { font-size: 45px; line-height: 1.25; }
.hero-lede {
  font-size: 23px;
  line-height: 1.5;
  color: var(--sand);
  max-width: 900px;
  margin: 16px auto 24px;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 150px;
  display: block;
}

/* ---------- backed by ---------- */
.backed { padding: 8px 0 32px; }
.backed-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 56px;
}
.backed-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.backed-row img { height: 36px; width: auto; opacity: 0.85; }

/* ---------- product overview ---------- */
.overview { padding: 0 0 50px; }
.overview img { margin: 0 auto; }
.overview .mobile-only { display: none; }

/* ---------- generic section blocks ---------- */
.section { padding: 64px 0; }
.section-dark { color: var(--white); }
.section-why { background: var(--ink-why); padding: 40px 0 64px; }
.section-black { background: var(--black); }
.section-deep { background: var(--ink-deep); }
.section-ink { background: var(--ink); }

.eyebrow {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split img { border-radius: 12px; width: 100%; }
.bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.section-whatif h2 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}
.section-whatif h2 + h2 { margin-top: 24px; }

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  text-align: center;
}
.feature img { border-radius: 12px; margin: 0 auto 20px; }
.feature h3 {
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.feature p { color: #374151; }

/* ---------- how ---------- */
.section-how { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step {
  padding: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.step h3 { font-size: 22px; font-weight: 500; }
.step hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 16px 0;
}
.step p { margin: 0; color: rgba(255, 255, 255, 0.9); }

/* ---------- testimonies ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.testimonial video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ink);
}
.testimonial figcaption { margin-top: 16px; text-align: center; }
.testimonial figcaption strong { display: block; font-size: 18px; }
.testimonial figcaption span { display: block; color: #4b5563; }
.testimonials-art { margin: 48px auto 0; border-radius: 12px; }

/* ---------- demo ---------- */
.section-demo { padding: 30px 0 64px; }
.demo-frame {
  padding: 24px 24px 0;
  border-radius: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.demo-frame video { width: 100%; border-radius: 10px; background: var(--black); }
.tagline {
  font-family: "Diogenes", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  margin-top: 32px;
}

/* ---------- who ---------- */
.section-who { padding: 80px 0; }
.section-who .section-title { margin-bottom: 8px; }
.who-intro { text-align: center; color: #4b5563; margin-bottom: 48px; font-size: 18px; }
.founders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.founder { text-align: center; }
.founder img {
  width: 200px; height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 16px;
}
.founder h3 { font-size: 26px; font-weight: 500; }
.founder .role { color: #4b5563; margin: 4px 0 8px; }
.founder .social { display: inline-flex; margin-bottom: 12px; }
.founder .social svg { width: 22px; height: 22px; }
.founder hr { border: 0; border-top: 1px solid var(--line); margin: 24px auto; width: 80px; }
.founder p:last-child { margin: 0; }

/* ---------- closing cta ---------- */
.section-cta { padding: 64px 0; }
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-heading { font-size: 21px; font-weight: 700; }
.cta-heading .rotator { color: var(--sand); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--muted);
  padding: 40px 0 32px;
  font-size: 12px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { width: 56px; height: 56px; }
.footer-links { display: flex; gap: 24px; letter-spacing: 0.08em; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social svg { width: 24px; height: 24px; }
.footer-social svg path { fill: var(--muted); transition: fill 0.2s ease; }
.footer-social a:hover svg path { fill: var(--white); }
.site-footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 24px 0 16px;
}
.site-footer .copyright { margin: 0; letter-spacing: 0.08em; }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-style: italic; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #1f2937; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--ink); }
.legal .clause { padding-left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--black);
    padding: 8px 24px 24px;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 20px; }
  .features, .steps, .testimonials { grid-template-columns: minmax(0, 1fr); }
  .testimonial video { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 767px) {
  .hero { padding: 16px 0 120px; }
  .hero h1 { font-size: 41px; }
  .hero-lede { font-size: 17px; padding: 0 8px; }
  .hero-wave { height: 80px; }
  .backed-row { gap: 20px 32px; }
  .backed-row img { height: 22px; }
  .overview .desktop-only { display: none; }
  .overview .mobile-only { display: block; }
  .section { padding: 40px 0; }
  .section-how, .section-who { padding: 40px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-reverse > :first-child { order: 2; }
  .bullets li { font-size: 17px; }
  .section-whatif h2 { font-size: 22px; }
  .section-title { font-size: 26px; }
  .founders { grid-template-columns: minmax(0, 1fr); }
  .cta-row { flex-direction: column; text-align: center; }
  .cta-heading { font-size: 16px; }
  .footer-row { justify-content: center; text-align: center; }
  .legal h1 { font-size: 28px; }
}
