/* Azalio, Inc. — static site styles.
   Brand pulled from app.azal.io: purple #7b68ee, Plus Jakarta Sans,
   black pill buttons, light UI. */

:root {
  --purple: #7b68ee;
  --purple-deep: #6350e0;
  --purple-bg: #f4f2fe;
  --ink: #16181d;
  --body: #545b68;
  --muted: #8b93a1;
  --border: #e8eaf0;
  --border-soft: #f1f2f6;
  --bg: #ffffff;
  --bg-soft: #fafafc;
  --radius: 14px;
  --maxw: 700px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--purple-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--purple);
}

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

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

.site-header {
  border-bottom: 1px solid var(--border-soft);
}

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

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 26px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
}

.site-nav a {
  color: var(--body);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--purple-deep);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------- home ---------- */

.home {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}

.home .mark {
  width: 92px;
  height: auto;
  margin: 0 auto 28px;
  display: block;
}

.home h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.home .lede {
  font-size: 17px;
  color: var(--body);
  margin: 0 auto 36px;
  max-width: 460px;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 40px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #000;
  color: #fff;
}

.home .links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: center;
  gap: 12px 26px;
  flex-wrap: wrap;
  font-size: 14.5px;
}

.home .links a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
}

.home .links a:hover {
  color: var(--purple-deep);
}

/* ---------- legal documents ---------- */

.legal {
  padding: 64px 0 88px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}

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

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

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

.legal p,
.legal li {
  color: var(--body);
}

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

.legal strong {
  color: var(--ink);
  font-weight: 700;
}

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

.legal .intro {
  font-size: 17px;
}

/* ---------- simple centered pages (404, redirect stubs) ---------- */

.simple {
  text-align: center;
  padding: 96px 0;
}

.simple h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.simple p {
  color: var(--body);
  margin: 0 auto 32px;
  max-width: 440px;
}

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

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.site-footer .links a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
}

.site-footer .links a:hover {
  color: var(--purple-deep);
}

.site-footer p {
  margin: 0;
}

.site-footer.centered {
  text-align: center;
}

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

@media (max-width: 560px) {
  .site-header .wrap {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  .home {
    padding: 56px 24px;
  }

  .home h1 {
    font-size: 27px;
  }

  .home .lede {
    font-size: 16px;
  }

  .legal {
    padding: 44px 0 64px;
  }

  .legal h1 {
    font-size: 27px;
  }
}
