:root {
  --bg: #f6f4ee;
  --ink: #111;
  --muted: #666;
  --line: rgba(0,0,0,0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: relative; 
  z-index: 10;        
}

.brand {
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}

.brand span {
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.pill.primary {
  background: #111;
  color: #fff;
}

.pill.outline {
  border: 1px solid #111;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  margin-top: 20px;
  margin-bottom: 100px;
}

.hero-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image {
  height: 560px;
  background:
    linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)),
    url("/static/images/hero.jpg") center / cover no-repeat;
}

.hero-pill {
  position: absolute;
  top: 16px;
  left: 16px;
}

.hero-cta {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.why {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding-bottom: 120px;
}

.why-title {
  font-size: 72px;
  font-weight: 400;
  line-height: 0.95;
}

.why-text h3 {
  font-size: 28px;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.why-text p {
  max-width: 520px;
  margin: 0;
}

.auth {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.auth-box {
  width:
    100%;
  max-width: 400px;
  padding: 48px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.footer-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 64px 32px 48px;
}

.footer-brand .brand {
  font-size: 20px;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-links,
.footer-socials {
  display: flex;
  gap: 18px;
  font-size: 12px;
}

.footer-socials a {
  opacity: 0.85;
}

.footer-copy {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.footer.footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 64px 32px 48px;
}

.footer.footer-centered .footer-links,
.footer.footer-centered .footer-socials {
  display: inline-flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer.footer-centered .footer-socials a {
  opacity: 0.85;
}

.footer.footer-centered .footer-brand .brand {
  font-size: 20px;
}

.footer.footer-centered .footer-tagline {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.footer.footer-centered .footer-copy {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.newsletter {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.newsletter h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
}

.newsletter-muted {
  margin: 0 0 14px 0;
  font-size: 13px;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  max-width: 360px;
}

.newsletter-input {
  border: 0;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  width: 100%;
  font-size: 14px;
}

.newsletter-submit {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 999px;
}

.newsletter-form {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .why {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why-title {
    font-size: 48px;
  }

  .newsletter-form {
    max-width: 100%;
  }
}

.footer.footer-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 32px;
  background: transparent;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .brand {
  font-size: 20px;
}

.footer-tagline {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-links,
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.footer-socials a {
  opacity: 0.85;
}

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.footer-copy-top {
  display: flex;
  justify-content: flex-end;
}

.footer {
  border-top: 1px solid var(--line);
}


.footer-bottom-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-copy-top {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .footer.footer-split {
    padding: 44px 16px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-right {
    justify-content: flex-start;
  }
}





