/* Layout and Overrides */
* {
  box-sizing: border-box;
}
html {
  overflow: auto !important;
  height: auto !important;
}
body {
  font-family: "Manrope", sans-serif !important;
  color: #2a2a2a !important;
  background: linear-gradient(to bottom, #f7f9fc 0%, #ffffff 100%) !important;
  overflow: auto !important;
  margin: 0 !important;
  padding: 0 16px !important;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-x: none;
}

.container {
  max-width: 640px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.header-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5em;
}

.content {
  flex: 1;
}

.footer {
  margin-top: auto;
  padding-top: 3em;
  padding-bottom: 0;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.footer-text {
  margin: 0;
  font-size: 0.9em;
  color: #999;
  line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb {
  text-align: center;
  font-size: 0.9em;
  color: #999;
  padding-top: 1.5em;
  margin-top: auto;
}

.breadcrumb a {
  color: #d84315;
}

.breadcrumb span[aria-current="page"] {
  color: #666;
  font-weight: 600;
}

/* Typography */

h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #d84315;
  font-size: 2em;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  color: #333;
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 700;
  font-size: 1.4em;
  font-family: 'Manrope', sans-serif;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  color: #444;
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 600;
  font-size: 1.2em;
  font-family: 'Manrope', sans-serif;
}

h4 {
  color: #555;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-size: 1.1em;
  font-family: 'Manrope', sans-serif;
}

hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid #eee;
}

p {
  font-size: 1.05rem;
  margin-bottom: 1.5em;
  line-height: 1.75;
  color: #4a4a4a;
}

strong, b {
  font-weight: 700;
  color: #2a2a2a;
}

a {
  color: #d84315;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: #d84315;
}

ul, ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  color: #4a4a4a;
}

li {
  margin-bottom: 0.5em;
  line-height: 1.7;
  padding-left: 0.5em;
}

li::marker {
  color: #d84315;
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 0 !important;
    background: white !important;
  }
  
  .container {
    padding: 24px 20px;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    max-width: none;
  }

  h1 {
    font-size: 1.75em;
  }

  h2 {
    font-size: 1.3em;
    margin-top: 1.5em;
  }

  h3 {
    font-size: 1.15em;
    margin-top: 1.5em;
  }

  p, li {
    font-size: 1rem;
  }

  .footer {
    padding-top: 2em;
  }
}
