/* ========================================
   Notiquely Website - Global Styles
   ======================================== */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: #faf7f2;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  background-color: #000;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 12px;
}

.skip-link:focus {
  top: 16px;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
  border-radius: 2px;
}

img {
  display: block;
  max-width: 100%;
}

/* ========================================
   Page Layout
   ======================================== */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========================================
   Header
   ======================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 47px;
  overflow: hidden;
}

.header-logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo img {
  height: 100%;
  width: auto;
}

.header-logo a {
  text-decoration: none;
}

.header-nav .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: #000;
  color: #fff;
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.btn-contact:hover {
  opacity: 0.85;
}

/* ========================================
   Hero (Home page - large logo)
   ======================================== */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
}

.hero-logo {
  width: 100%;
  max-width: 1152px;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

/* ========================================
   Content Section (Terms, Privacy, 404)
   ======================================== */

.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
}

.content-section h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.2px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.content-section p {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.1px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section a {
  text-decoration: underline;
}

.content-section a:hover {
  opacity: 0.7;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 0 64px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-company h2 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.48px;
  line-height: 1.45;
  color: #000;
}

.footer-company p {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 8px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 130px;
}

.footer-nav-header {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 1.45;
  color: #000;
  padding-bottom: 16px;
}

.footer-nav a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav a:hover {
  color: #000;
}

/* ========================================
   Tablet (max-width: 800px)
   ======================================== */

@media (max-width: 800px) {
  .header {
    padding: 24px 44px;
  }

  .hero {
    padding: 0 44px;
  }

  .content-section {
    padding: 0 44px;
  }

  .footer {
    padding: 0 44px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    width: 100%;
  }
}

/* ========================================
   Mobile (max-width: 480px)
   ======================================== */

@media (max-width: 480px) {
  .header {
    padding: 24px 24px;
  }

  .hero {
    padding: 0 24px;
  }

  .content-section {
    padding: 0 24px;
  }

  .content-section h1 {
    font-size: 32px;
  }

  .content-section p {
    font-size: 18px;
  }

  .footer {
    padding: 0 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
  }
}
