/* Pico CSS Color Palette Overrides */

@media (prefers-color-scheme: dark) {
  :root {
    --pico-background-color: #E4B87A;
  }
}


:root {
  /* --pico-background-color: #F5F5F7;
  --pico-background-color: #E4B87A;
  --pico-primary-background: #E4B87A;
  --pico-secondary-background: #C85B4D; */

  --background-color: color(srgb 0.992157 0.988235 0.968627);
  --text-color-primary: rgb(45, 62, 64);
  --text-color-secondary: rgb(253, 252, 247);
  --background-color-secondary: rgb(94, 125, 126);
  --background-color-tertiary: color(srgb 0.941177 0.933333 0.901961);
  --focus-outline-color: rgb(94, 125, 126);
  --focus-outline-width: 3px;
}

body {
  color: var(--text-color);
  background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color-primary);
  overflow-wrap: break-word;
}

p {
  color: var(--text-color-primary);
}

button,
a[role="button"] {
  color: var(--text-color-secondary);
  background-color: var(--background-color-secondary);
  border-radius: 2rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a[role="button"]:focus-visible,
a:focus-visible {
  outline: var(--focus-outline-width) solid var(--focus-outline-color);
  outline-offset: 2px;
}

button:hover,
a[role="button"]:hover {
  opacity: 0.9;
}

/* header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--pico-secondary);
} */

section {
  min-height: 100vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

section:nth-of-type(even) {
  background: #F0EEE6;
}

article {
  background: #FDFCF7;
  padding: 1rem;
  border-radius: 1rem;
  flex-direction: column;
  display: flex;
  gap: 1rem;
}

ol {
  list-style-type: decimal;

}

.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile */
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    /* desktop/tablet */
  }
}

/* Header Styles */
header nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  padding-top: 0;
  text-align: center;
  flex-direction: column;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Logo Sizes */
.logo {
  max-width: 260px;
}

.logo-medium {
  max-width: 100px;
}

.logo-small {
  max-width: 50px;
}

/* Typography */
.heading-hero {
  font-weight: 400;
  font-size: 4rem;
}

.heading-section {
  font-weight: 400;
  font-size: 4.2rem;
}

.heading-subtitle {
  font-weight: 300;
  font-size: 1.2rem;
}

.heading-card {
  font-weight: 400;
  font-size: 2rem;
}

.heading-step {
  font-weight: 400;
  font-size: 2rem;
}

.heading-step-title {
  font-weight: 400;
  font-size: 1.5rem;
  padding: 0;
  margin: 0;
}

.heading-contact {
  font-weight: 400;
  font-size: 3rem;
}

.heading-how-it-works {
  font-weight: 400;
  font-size: 3rem;
}

/* Buttons */
.btn-primary {
  width: 12rem;
}

.btn-primary-max {
  max-width: 12rem;
}

/* Flex Utilities */
.display-flex-column {
  display: flex;
  flex-direction: column;
}

.flex-row-center {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
}

.flex-column-gap {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

/* Step Items */
.step-item {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid #E4B87A;
  min-height: 10rem;
}

/* Contact Section */
.contact-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card {
  min-height: 30rem;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #FDFCF7;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
  align-items: center;
}

.contact-text {
  max-width: 30rem;
}

/* Footer */
footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
}

footer img {
  width: 3rem;
  /* height: 5rem; */
}

.footer-text {
  flex: 1;
  text-align: center;
  margin: 0
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Step List */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Iframe */
iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
iframe:focus-visible {
  outline: var(--focus-outline-width) solid var(--focus-outline-color);
  outline-offset: 2px;
}

/* Ensure sufficient color contrast */
a {
  color: var(--background-color-secondary);
}

a:hover,
a:focus {
  text-decoration: underline;
}



/* Thank You Page */
.thank-you-card {
  min-height: 30rem;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #FDFCF7;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
}

.heading-thank-you {
  font-weight: 400;
  font-size: 3rem;
  margin: 0;
}

.thank-you-text {
  max-width: 30rem;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.thank-you-actions {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  footer {
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  footer img {
    width: 3rem;
  }
}