/* ============================================================
   Orvaly — styles.css
   Design system: DESIGN.md | Build: CC-01R
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #191c1f;
  color: #8d969e;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout ------------------------------------------------- */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Typography -------------------------------------------- */

h1 {
  font-size: 1.75rem;   /* 28px */
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

h2 {
  font-size: 1.25rem;   /* 20px */
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

p {
  font-size: 0.875rem;  /* 14px */
  font-weight: 400;
  color: #8d969e;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Buttons ----------------------------------------------- */

.btn-primary {
  display: inline-block;
  background-color: #494fdf;
  color: #ffffff;
  font-size: 0.875rem;  /* 14px */
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

/* --- Sections ---------------------------------------------- */

section {
  padding: 64px 0;
}

.section-alt {
  background-color: #1e2126;
  border-top: 1px solid #2a2d31;
  border-bottom: 1px solid #2a2d31;
}

.section-content {
  padding: 32px 0;
}

/* --- Hero -------------------------------------------------- */

.hero {
  padding: 80px 0 64px;
  background-color: #191c1f;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 32px;
  max-width: 600px;
}

/* --- What We Do ------------------------------------------- */

.what-we-do h2 {
  margin-bottom: 28px;
}

.what-we-do p + p {
  margin-top: 16px;
}

/* --- Contact ---------------------------------------------- */

.contact h2 {
  margin-bottom: 16px;
}

.contact > .container > p {
  margin-bottom: 28px;
  max-width: 520px;
}

/* --- Footer ----------------------------------------------- */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid #2a2d31;
  background-color: #191c1f;
}

.site-footer p,
.site-footer a {
  font-size: 0.75rem;  /* 12px */
  font-weight: 400;
  color: #505a63;
}

.site-footer a:hover {
  color: #8d969e;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

/* --- Privacy page ------------------------------------------ */

.privacy-page {
  padding: 64px 0;
}

.privacy-page h1 {
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 32px;
  margin-bottom: 10px;
}

.privacy-page p {
  margin-bottom: 12px;
}

.privacy-page .back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #494fdf;
  margin-bottom: 40px;
}

.privacy-page .back-link:hover {
  filter: brightness(1.2);
}

.privacy-meta {
  margin-top: 40px;
  font-size: 0.75rem;
  color: #505a63;
}

/* --- Desktop overrides ------------------------------------- */

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  h1 {
    font-size: 2rem;
  }
}
